/external/clang/lib/CodeGen/ |
CodeGenAction.cpp | 45 llvm::OwningPtr<llvm::Module> TheModule; 66 llvm::Module *takeModule() { return TheModule.take(); } 76 TheModule.reset(Gen->GetModule()); 109 if (!TheModule) 118 TheModule.take(); 122 assert(TheModule.get() == M && 127 LLVMContext &Ctx = TheModule->getContext(); 134 TheModule.get(), Action, AsmOutStream); 236 TheModule.reset(); 249 TheModule.reset(BEConsumer->takeModule()) [all...] |
BackendUtil.cpp | 44 Module *TheModule; 56 CodeGenPasses->add(new TargetData(TheModule)); 64 PerModulePasses->add(new TargetData(TheModule)); 71 PerFunctionPasses = new FunctionPassManager(TheModule); 72 PerFunctionPasses->add(new TargetData(TheModule)); 90 TheModule(M), CodeGenerationTime("Code Generation Time"), 142 Triple TargetTriple(TheModule->getTargetTriple()); 194 std::string Triple = TheModule->getTargetTriple(); 373 for (Module::iterator I = TheModule->begin(), 374 E = TheModule->end(); I != E; ++I [all...] |
CodeGenTypes.h | 61 llvm::Module &TheModule; 115 llvm::LLVMContext &getLLVMContext() { return TheModule.getContext(); }
|
CGObjCGNU.cpp | 111 llvm::Module &TheModule; 183 llvm::Constant *ConstStr = TheModule.getGlobalVariable(name); 186 ConstStr = new llvm::GlobalVariable(TheModule, value->getType(), true, 200 return new llvm::GlobalVariable(TheModule, Ty, false, 212 return new llvm::GlobalVariable(TheModule, Ty, false, 641 if (TheModule.getGlobalVariable(symbolRef)) 644 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(symbolName); 646 ClassSymbol = new llvm::GlobalVariable(TheModule, LongTy, false, 649 new llvm::GlobalVariable(TheModule, ClassSymbol->getType(), true, 665 : CGM(cgm), TheModule(CGM.getModule()), VMContext(cgm.getLLVMContext()) [all...] |
CodeGenModule.h | 212 llvm::Module &TheModule; 369 llvm::Module &getModule() const { return TheModule; }
|
CodeGenModule.cpp | 62 : Context(C), Features(C.getLangOptions()), CodeGenOpts(CGO), TheModule(M), 376 new llvm::GlobalVariable(TheModule, AT, false, 393 new llvm::GlobalVariable(TheModule, Array->getType(), false, [all...] |
CodeGenTypes.cpp | 32 : Context(Ctx), Target(Ctx.Target), TheModule(M), TheTargetData(TD),
|
/external/clang/include/clang/CodeGen/ |
CodeGenAction.h | 27 llvm::OwningPtr<llvm::Module> TheModule;
|
/external/llvm/include/llvm/CodeGen/ |
MachineModuleInfo.h | 102 /// TheModule - This is the LLVM Module being worked on. 103 const Module *TheModule; 192 void setModule(const Module *M) { TheModule = M; } 193 const Module *getModule() const { return TheModule; }
|
/external/llvm/examples/Kaleidoscope/Chapter3/ |
toy.cpp | 348 static Module *TheModule; 384 Function *CalleeF = TheModule->getFunction(Callee); 408 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule); 415 F = TheModule->getFunction(Name); 554 TheModule = new Module("my cool jit", Context); 560 TheModule->dump();
|
/external/llvm/examples/Kaleidoscope/Chapter4/ |
toy.cpp | 355 static Module *TheModule; 392 Function *CalleeF = TheModule->getFunction(Callee); 416 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule); 423 F = TheModule->getFunction(Name); 573 TheModule = new Module("my cool jit", Context); 577 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create(); 583 FunctionPassManager OurFPM(TheModule); 610 TheModule->dump();
|
/external/llvm/lib/Analysis/ |
ProfileInfoLoader.cpp | 87 Module &TheModule) : 89 M(TheModule), Warned(false) {
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
toy.cpp | 541 static Module *TheModule; 562 Function *F = TheModule->getFunction(std::string("unary")+Opcode); 588 Function *F = TheModule->getFunction(std::string("binary")+Op); 597 Function *CalleeF = TheModule->getFunction(Callee); 765 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule); 772 F = TheModule->getFunction(Name); 936 TheModule = new Module("my cool jit", Context); 940 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create(); 946 FunctionPassManager OurFPM(TheModule); 973 TheModule->dump() [all...] |
/external/llvm/lib/Target/CppBackend/ |
CPPBackend.cpp | 103 const Module *TheModule; 630 for (Module::const_global_iterator I = TheModule->global_begin(), 631 E = TheModule->global_end(); I != E; ++I) { 638 for (Module::const_iterator FI = TheModule->begin(), FE = TheModule->end(); 880 for (Module::const_global_iterator I = TheModule->global_begin(), 881 E = TheModule->global_end(); I != E; ++I) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 456 static Module *TheModule; 493 Function *CalleeF = TheModule->getFunction(Callee); 661 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule); 668 F = TheModule->getFunction(Name); 818 TheModule = new Module("my cool jit", Context); 822 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create(); 828 FunctionPassManager OurFPM(TheModule); 855 TheModule->dump();
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
toy.cpp | 606 static Module *TheModule; 640 Function *F = TheModule->getFunction(std::string("unary")+Opcode); 684 Function *F = TheModule->getFunction(std::string("binary")+Op); 693 Function *CalleeF = TheModule->getFunction(Callee); 913 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule); 920 F = TheModule->getFunction(Name); 1100 TheModule = new Module("my cool jit", Context); 1104 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create(); 1110 FunctionPassManager OurFPM(TheModule); [all...] |
/external/llvm/lib/Bitcode/Reader/ |
BitcodeReader.h | 126 Module *TheModule; 179 : Context(C), TheModule(0), Buffer(buffer), BufferOwned(false),
|
BitcodeReader.cpp | [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitcodeReader.h | 131 Module *TheModule; 190 : Context(C), TheModule(0), Buffer(buffer), BufferOwned(false),
|
BitcodeReader.cpp | [all...] |
/external/llvm/lib/VMCore/ |
AsmWriter.cpp | 307 /// TheModule - The module for which we are holding slot numbers. 308 const Module* TheModule; 422 : TheModule(M), TheFunction(0), FunctionProcessed(false), 429 : TheModule(F ? F->getParent() : 0), TheFunction(F), FunctionProcessed(false), 434 if (TheModule) { 436 TheModule = 0; ///< Prevent re-processing next time we're called. 449 for (Module::const_global_iterator I = TheModule->global_begin(), 450 E = TheModule->global_end(); I != E; ++I) { 457 I = TheModule->named_metadata_begin(), 458 E = TheModule->named_metadata_end(); I != E; ++I) [all...] |
/external/llvm/lib/Target/CBackend/ |
CBackend.cpp | 93 const Module *TheModule; 116 TheModule(0), TAsm(0), MRI(0), MOFI(0), TCtx(0), TD(0), [all...] |
/external/llvm/lib/CodeGen/ |
MachineModuleInfo.cpp | 267 TheModule = 0;
|