/external/llvm/lib/IR/ |
H A D | AsmWriter.h | 68 const Module *TheModule; member in class:llvm::AssemblyWriter
|
H A D | AsmWriter.cpp | 308 /// TheModule - The module for which we are holding slot numbers. 309 const Module* TheModule; member in class:llvm::SlotTracker 440 : TheModule(M), TheFunction(nullptr), FunctionProcessed(false), 447 : TheModule(F ? F->getParent() : nullptr), TheFunction(F), 452 if (TheModule) { 454 TheModule = nullptr; ///< Prevent re-processing next time we're called. 467 for (Module::const_global_iterator I = TheModule->global_begin(), 468 E = TheModule->global_end(); I != E; ++I) { 475 I = TheModule->named_metadata_begin(), 476 E = TheModule [all...] |
/external/clang/include/clang/CodeGen/ |
H A D | CodeGenAction.h | 27 std::unique_ptr<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 119 llvm::LLVMContext &getLLVMContext() { return TheModule.getContext(); }
|
H A D | BackendUtil.cpp | 52 Module *TheModule; member in class:__anon17806::EmitAssemblyHelper 64 CodeGenPasses->add(new DataLayoutPass(TheModule)); 74 PerModulePasses->add(new DataLayoutPass(TheModule)); 83 PerFunctionPasses = new FunctionPassManager(TheModule); 84 PerFunctionPasses->add(new DataLayoutPass(TheModule)); 115 TheModule(M), CodeGenerationTime("Code Generation Time"), 296 Triple TargetTriple(TheModule->getTargetTriple()); 352 std::string Triple = TheModule->getTargetTriple(); 495 llvm::Triple TargetTriple(TheModule->getTargetTriple()); 572 for (Module::iterator I = TheModule [all...] |
H A D | CodeGenAction.cpp | 54 std::unique_ptr<llvm::Module> TheModule, LinkModule; member in class:clang::BackendConsumer 71 llvm::Module *takeModule() { return TheModule.release(); } 86 TheModule.reset(Gen->GetModule()); 134 if (!TheModule) 143 TheModule.release(); 147 assert(TheModule.get() == M && 163 LLVMContext &Ctx = TheModule->getContext(); 176 TheModule.get(), Action, AsmOutStream); 545 TheModule.reset(); 562 TheModule [all...] |
H A D | CodeGenModule.h | 275 llvm::Module &TheModule; member in class:clang::CodeGen::CodeGenModule 586 llvm::Module &getModule() const { return TheModule; }
|
H A D | CGObjCGNU.cpp | 106 llvm::Module &TheModule; member in class:__anon17845::CGObjCGNU 184 llvm::Constant *ConstStr = TheModule.getGlobalVariable(name); 187 ConstStr = new llvm::GlobalVariable(TheModule, value->getType(), true, 201 return new llvm::GlobalVariable(TheModule, Ty, false, 213 return new llvm::GlobalVariable(TheModule, Ty, false, 833 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(SymbolName); 836 ClassSymbol = new llvm::GlobalVariable(TheModule, LongTy, false, 865 if (TheModule.getGlobalVariable(symbolRef)) 868 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(symbolName); 870 ClassSymbol = new llvm::GlobalVariable(TheModule, LongT [all...] |
/external/llvm/tools/llvm-jitlistener/ |
H A D | llvm-jitlistener.cpp | 116 TheModule = ParseIRFile(IRFile, Err, Context); 117 if (!TheModule) { 137 Triple Tuple(TheModule->getTargetTriple()); 143 TheModule->setTargetTriple(Tuple.getTriple()); 148 TheJIT.reset(EngineBuilder(TheModule) 163 Module *TheModule; // Owned by ExecutionEngine. member in class:__anon26401::JitEventListenerTest
|
/external/llvm/lib/Transforms/ObjCARC/ |
H A D | ARCRuntimeEntryPoints.h | 46 ARCRuntimeEntryPoints() : TheModule(nullptr), 60 TheModule = M; 73 assert(TheModule != nullptr && "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 196 void setModule(const Module *M) { TheModule = M; } 197 const Module *getModule() const { return TheModule; }
|
/external/llvm/examples/Kaleidoscope/Chapter3/ |
H A D | toy.cpp | 350 static Module *TheModule; variable 386 Function *CalleeF = TheModule->getFunction(Callee); 410 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule); 417 F = TheModule->getFunction(Name); 556 TheModule = new Module("my cool jit", Context); 562 TheModule->dump();
|
/external/llvm/examples/Kaleidoscope/Chapter4/ |
H A D | toy.cpp | 357 static Module *TheModule; variable 394 Function *CalleeF = TheModule->getFunction(Callee); 418 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule); 425 F = TheModule->getFunction(Name); 575 TheModule = new Module("my cool jit", Context); 579 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create(); 585 FunctionPassManager OurFPM(TheModule); 589 TheModule->setDataLayout(TheExecutionEngine->getDataLayout()); 590 OurFPM.add(new DataLayoutPass(TheModule)); 613 TheModule [all...] |
/external/llvm/examples/Kaleidoscope/Chapter5/ |
H A D | toy.cpp | 458 static Module *TheModule; variable 495 Function *CalleeF = TheModule->getFunction(Callee); 663 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule); 670 F = TheModule->getFunction(Name); 820 TheModule = new Module("my cool jit", Context); 824 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create(); 830 FunctionPassManager OurFPM(TheModule); 834 TheModule->setDataLayout(TheExecutionEngine->getDataLayout()); 835 OurFPM.add(new DataLayoutPass(TheModule)); 858 TheModule [all...] |
/external/llvm/examples/Kaleidoscope/Chapter6/ |
H A D | toy.cpp | 543 static Module *TheModule; variable 564 Function *F = TheModule->getFunction(std::string("unary")+Opcode); 590 Function *F = TheModule->getFunction(std::string("binary")+Op); 599 Function *CalleeF = TheModule->getFunction(Callee); 767 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule); 774 F = TheModule->getFunction(Name); 938 TheModule = new Module("my cool jit", Context); 942 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create(); 948 FunctionPassManager OurFPM(TheModule); 952 TheModule [all...] |
/external/clang/lib/Frontend/ |
H A D | CompilerInstance.cpp | 1546 Module *TheModule = I->second; local 1547 const FileEntry *Entry = TheModule->getASTFile(); 1551 getPreprocessor().getIdentifierInfo(TheModule->Name), TriggerLoc)); 1554 loadModule(TheModule->DefinitionLoc, Path,
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
H A D | toy.cpp | 608 static Module *TheModule; variable 642 Function *F = TheModule->getFunction(std::string("unary")+Opcode); 686 Function *F = TheModule->getFunction(std::string("binary")+Op); 695 Function *CalleeF = TheModule->getFunction(Callee); 915 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule); 922 F = TheModule->getFunction(Name); 1102 TheModule = new Module("my cool jit", Context); 1106 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create(); 1112 FunctionPassManager OurFPM(TheModule); 1116 TheModule [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
H A D | toy-jit.cpp | 625 static Module *TheModule; variable 661 Function *F = TheModule->getFunction(std::string("unary")+Opcode); 710 Function *F = TheModule->getFunction(std::string("binary")+Op); 719 Function *CalleeF = TheModule->getFunction(Callee); 942 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule); 948 F = TheModule->getFunction(Name); 1157 TheModule = parseInputIR(InputIR); 1159 TheModule = new Module("my cool jit", Context); 1164 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create(); 1170 FunctionPassManager OurFPM(TheModule); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
H A D | toy.cpp | 804 TheModule = parseInputIR(InputIR, Context); 806 TheModule = new Module("my cool jit", Context); 811 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create(); 817 TheFPM = new FunctionPassManager(TheModule); 846 assert(TheModule); 847 return TheModule->getFunction(FnName); 851 assert(TheModule); 852 return TheModule; 875 assert(TheModule); 876 TheModule 880 Module *TheModule; member in class:JITHelper [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
H A D | toy-jit.cpp | 610 static Module *TheModule; variable 646 Function *F = TheModule->getFunction(std::string("unary")+Opcode); 692 Function *F = TheModule->getFunction(std::string("binary")+Op); 701 Function *CalleeF = TheModule->getFunction(Callee); 924 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule); 930 F = TheModule->getFunction(Name); 1120 TheModule = new Module("my cool jit", Context); 1124 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create(); 1130 FunctionPassManager OurFPM(TheModule); 1165 TheModule [all...] |
/external/llvm/lib/Target/CppBackend/ |
H A D | CPPBackend.cpp | 95 const Module *TheModule; member in class:__anon26007::CppWriter 690 for (Module::const_global_iterator I = TheModule->global_begin(), 691 E = TheModule->global_end(); I != E; ++I) { 698 for (Module::const_iterator FI = TheModule->begin(), FE = TheModule->end(); 947 for (Module::const_global_iterator I = TheModule->global_begin(), 948 E = TheModule->global_end(); I != E; ++I) 953 for (Module::const_iterator FI = TheModule->begin(), FE = TheModule->end(); 1864 const Function* F = TheModule [all...] |