class MemorySSATest

Declaration

class MemorySSATest : public Test { /* full declaration omitted */ };

Description

There's a lot of common setup between these tests. This fixture helps reduce that. Tests should mock up a function, store it in F, and then call setupAnalyses().

Declared at: llvm/unittests/Analysis/MemorySSATest.cpp:27

Inherits from: Test

Member Variables

protected llvm::LLVMContext C
protected llvm::Module M
protected IRBuilder<> B
protected llvm::DataLayout DL
protected llvm::TargetLibraryInfoImpl TLII
protected llvm::TargetLibraryInfo TLI
protected llvm::Function* F
protected std::unique_ptr<TestAnalyses> Analyses

Method Overview

Methods

MemorySSATest()

Declared at: llvm/unittests/Analysis/MemorySSATest.cpp:67

void setupAnalyses()

Declared at: llvm/unittests/Analysis/MemorySSATest.cpp:61