/external/llvm/lib/IR/ |
H A D | AsmWriter.h | 67 const Module *TheModule; member in class:llvm::AssemblyWriter
|
H A D | AsmWriter.cpp | 305 /// TheModule - The module for which we are holding slot numbers. 306 const Module* TheModule; member in class:llvm::SlotTracker 437 : TheModule(M), TheFunction(0), FunctionProcessed(false), 444 : TheModule(F ? F->getParent() : 0), TheFunction(F), FunctionProcessed(false), 449 if (TheModule) { 451 TheModule = 0; ///< Prevent re-processing next time we're called. 464 for (Module::const_global_iterator I = TheModule->global_begin(), 465 E = TheModule->global_end(); I != E; ++I) { 472 I = TheModule->named_metadata_begin(), 473 E = TheModule [all...] |
/external/clang/include/clang/CodeGen/ |
H A D | CodeGenAction.h | 27 OwningPtr<llvm::Module> TheModule; member in class:clang::CodeGenAction
|
/external/clang/lib/CodeGen/ |
H A D | CodeGenTypes.h | 65 llvm::Module &TheModule; member in class:clang::CodeGen::CodeGenTypes 122 llvm::LLVMContext &getLLVMContext() { return TheModule.getContext(); }
|
H A D | BackendUtil.cpp | 49 Module *TheModule; member in class:__anon15178::EmitAssemblyHelper 61 CodeGenPasses->add(new DataLayout(TheModule)); 71 PerModulePasses->add(new DataLayout(TheModule)); 80 PerFunctionPasses = new FunctionPassManager(TheModule); 81 PerFunctionPasses->add(new DataLayout(TheModule)); 114 TheModule(M), CodeGenerationTime("Code Generation Time"), 269 Triple TargetTriple(TheModule->getTargetTriple()); 330 std::string Triple = TheModule->getTargetTriple(); 485 llvm::Triple TargetTriple(TheModule->getTargetTriple()); 561 for (Module::iterator I = TheModule [all...] |
H A D | CodeGenAction.cpp | 50 OwningPtr<llvm::Module> TheModule, LinkModule; member in class:clang::BackendConsumer 76 llvm::Module *takeModule() { return TheModule.take(); } 91 TheModule.reset(Gen->GetModule()); 126 if (!TheModule) 135 TheModule.take(); 139 assert(TheModule.get() == M && 155 LLVMContext &Ctx = TheModule->getContext(); 162 TheModule.get(), Action, AsmOutStream); 293 TheModule.reset(); 310 TheModule [all...] |
H A D | CodeGenModule.h | 235 llvm::Module &TheModule; member in class:clang::CodeGen::CodeGenModule 508 llvm::Module &getModule() const { return TheModule; }
|
H A D | CGObjCGNU.cpp | 105 llvm::Module &TheModule; member in class:__anon15214::CGObjCGNU 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, 857 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(SymbolName); 860 ClassSymbol = new llvm::GlobalVariable(TheModule, LongTy, false, 889 if (TheModule.getGlobalVariable(symbolRef)) 892 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(symbolName); 894 ClassSymbol = new llvm::GlobalVariable(TheModule, LongT [all...] |
/external/llvm/tools/llvm-jitlistener/ |
H A D | llvm-jitlistener.cpp | 117 TheModule = ParseIRFile(IRFile, Err, Context); 118 if (!TheModule) { 138 Triple Tuple(TheModule->getTargetTriple()); 144 TheModule->setTargetTriple(Tuple.getTriple()); 149 TheJIT.reset(EngineBuilder(TheModule) 164 Module *TheModule; // Owned by ExecutionEngine. member in class:__anon21748::JitEventListenerTest
|
/external/llvm/lib/Transforms/ObjCARC/ |
H A D | ARCRuntimeEntryPoints.h | 46 ARCRuntimeEntryPoints() : TheModule(0), 60 TheModule = M; 73 assert(TheModule != 0 && "Not initialized."); 105 Module *TheModule; member in class:llvm::objcarc::ARCRuntimeEntryPoints 131 LLVMContext &C = TheModule->getContext(); 138 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr); 147 LLVMContext &C = TheModule->getContext(); 157 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr); 165 LLVMContext &C = TheModule->getContext(); 178 return Decl = TheModule [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | MachineModuleInfo.h | 101 /// TheModule - This is the LLVM Module being worked on. 102 const Module *TheModule; member in class:llvm::MachineModuleInfo 193 void setModule(const Module *M) { TheModule = M; } 194 const Module *getModule() const { return TheModule; }
|
/external/llvm/examples/Kaleidoscope/Chapter3/ |
H A D | toy.cpp | 348 static Module *TheModule; variable 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/ |
H A D | toy.cpp | 355 static Module *TheModule; variable 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/examples/Kaleidoscope/Chapter5/ |
H A D | toy.cpp | 456 static Module *TheModule; variable 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/Chapter6/ |
H A D | toy.cpp | 541 static Module *TheModule; variable 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 [all...] |
/external/llvm/examples/Kaleidoscope/Chapter7/ |
H A D | toy.cpp | 606 static Module *TheModule; variable 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); 1139 TheModule [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
H A D | toy-jit.cpp | 624 static Module *TheModule; variable 660 Function *F = TheModule->getFunction(std::string("unary")+Opcode); 709 Function *F = TheModule->getFunction(std::string("binary")+Op); 718 Function *CalleeF = TheModule->getFunction(Callee); 941 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule); 947 F = TheModule->getFunction(Name); 1156 TheModule = parseInputIR(InputIR); 1158 TheModule = new Module("my cool jit", Context); 1163 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create(); 1169 FunctionPassManager OurFPM(TheModule); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
H A D | toy.cpp | 803 TheModule = parseInputIR(InputIR, Context); 805 TheModule = new Module("my cool jit", Context); 810 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create(); 816 TheFPM = new FunctionPassManager(TheModule); 845 assert(TheModule); 846 return TheModule->getFunction(FnName); 850 assert(TheModule); 851 return TheModule; 874 assert(TheModule); 875 TheModule 879 Module *TheModule; member in class:JITHelper [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
H A D | toy-jit.cpp | 609 static Module *TheModule; variable 645 Function *F = TheModule->getFunction(std::string("unary")+Opcode); 691 Function *F = TheModule->getFunction(std::string("binary")+Op); 700 Function *CalleeF = TheModule->getFunction(Callee); 923 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule); 929 F = TheModule->getFunction(Name); 1119 TheModule = new Module("my cool jit", Context); 1123 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create(); 1129 FunctionPassManager OurFPM(TheModule); 1164 TheModule [all...] |
/external/llvm/lib/Target/CppBackend/ |
H A D | CPPBackend.cpp | 94 const Module *TheModule; member in class:__anon21369::CppWriter 680 for (Module::const_global_iterator I = TheModule->global_begin(), 681 E = TheModule->global_end(); I != E; ++I) { 688 for (Module::const_iterator FI = TheModule->begin(), FE = TheModule->end(); 937 for (Module::const_global_iterator I = TheModule->global_begin(), 938 E = TheModule->global_end(); I != E; ++I) 943 for (Module::const_iterator FI = TheModule->begin(), FE = TheModule->end(); 1821 const Function* F = TheModule [all...] |