| /external/llvm/examples/Kaleidoscope/Chapter6/ |
| toy.cpp | 618 static std::unique_ptr<Module> TheModule; 631 if (auto *F = TheModule->getFunction(Name)) 872 Function::Create(FT, Function::ExternalLinkage, Name, TheModule.get()); 931 TheModule = llvm::make_unique<Module>("my cool jit", TheContext); 932 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); 935 TheFPM = llvm::make_unique<legacy::FunctionPassManager>(TheModule.get()); 954 TheJIT->addModule(std::move(TheModule)); 982 auto H = TheJIT->addModule(std::move(TheModule));
|
| /external/llvm/examples/Kaleidoscope/Chapter7/ |
| toy.cpp | 689 static std::unique_ptr<Module> TheModule; 702 if (auto *F = TheModule->getFunction(Name)) 1030 Function::Create(FT, Function::ExternalLinkage, Name, TheModule.get()); 1097 TheModule = llvm::make_unique<Module>("my cool jit", TheContext); 1098 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); 1101 TheFPM = llvm::make_unique<legacy::FunctionPassManager>(TheModule.get()); 1120 TheJIT->addModule(std::move(TheModule)); 1148 auto H = TheJIT->addModule(std::move(TheModule)); [all...] |
| /external/llvm/examples/Kaleidoscope/Chapter8/ |
| toy.cpp | 686 static std::unique_ptr<Module> TheModule; 697 if (auto *F = TheModule->getFunction(Name)) 1025 Function::Create(FT, Function::ExternalLinkage, Name, TheModule.get()); 1089 TheModule = llvm::make_unique<Module>("my cool jit", TheContext); [all...] |
| /external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
| toy-jit.cpp | 624 static Module *TheModule; 660 Function *F = TheModule->getFunction(std::string("unary")+Opcode); 708 Function *F = TheModule->getFunction(std::string("binary")+Op); 717 Function *CalleeF = TheModule->getFunction(Callee); 937 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule); 943 F = TheModule->getFunction(Name); [all...] |
| /external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
| toy-jit.cpp | 609 static Module *TheModule; 645 Function *F = TheModule->getFunction(std::string("unary")+Opcode); 690 Function *F = TheModule->getFunction(std::string("binary")+Op); 699 Function *CalleeF = TheModule->getFunction(Callee); 919 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule); 925 F = TheModule->getFunction(Name); 1115 TheModule = new Module("my cool jit", Context); 1119 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create(); 1125 FunctionPassManager OurFPM(TheModule); [all...] |
| /external/swiftshader/third_party/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/swiftshader/third_party/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/swiftshader/third_party/LLVM/lib/Target/CppBackend/ |
| CPPBackend.cpp | 93 const Module *TheModule; 637 for (Module::const_global_iterator I = TheModule->global_begin(), 638 E = TheModule->global_end(); I != E; ++I) { 645 for (Module::const_iterator FI = TheModule->begin(), FE = TheModule->end(); 885 for (Module::const_global_iterator I = TheModule->global_begin(), 886 E = TheModule->global_end(); I != E; ++I) [all...] |
| /external/swiftshader/third_party/LLVM/lib/VMCore/ |
| AsmWriter.cpp | 307 /// TheModule - The module for which we are holding slot numbers. 308 const Module* TheModule; 423 : TheModule(M), TheFunction(0), FunctionProcessed(false), 430 : TheModule(F ? F->getParent() : 0), TheFunction(F), FunctionProcessed(false), 435 if (TheModule) { 437 TheModule = 0; ///< Prevent re-processing next time we're called. 450 for (Module::const_global_iterator I = TheModule->global_begin(), 451 E = TheModule->global_end(); I != E; ++I) { 458 I = TheModule->named_metadata_begin(), 459 E = TheModule->named_metadata_end(); I != E; ++I) [all...] |
| /external/clang/lib/CodeGen/ |
| CodeGenModule.h | 270 llvm::Module &TheModule; 607 llvm::Module &getModule() const { return TheModule; } 610 return TheModule.getDataLayout(); [all...] |
| CGObjCGNU.cpp | 99 llvm::Module &TheModule; 180 auto *ConstStr = TheModule.getGlobalVariable(name); 183 ConstStr = new llvm::GlobalVariable(TheModule, value->getType(), true, 200 auto GV = new llvm::GlobalVariable(TheModule, Ty, false, 216 auto GV = new llvm::GlobalVariable(TheModule, Ty, false, [all...] |
| /external/llvm/examples/Kaleidoscope/Chapter9/ |
| toy.cpp | 859 static std::unique_ptr<Module> TheModule; 871 if (auto *F = TheModule->getFunction(Name)) [all...] |
| /external/swiftshader/third_party/LLVM/lib/Target/CBackend/ |
| CBackend.cpp | 83 const Module *TheModule; 106 TheModule(0), TAsm(0), MRI(0), MOFI(0), TCtx(0), TD(0), [all...] |
| /external/llvm/lib/IR/ |
| AsmWriter.cpp | 586 /// TheModule - The module for which we are holding slot numbers. 587 const Module* TheModule; 774 : TheModule(M), TheFunction(nullptr), FunctionProcessed(false), 781 : TheModule(F ? F->getParent() : nullptr), TheFunction(F), 787 if (TheModule) { 789 TheModule = nullptr; ///< Prevent re-processing next time we're called. 802 for (const GlobalVariable &Var : TheModule->globals()) { 808 for (const GlobalAlias &A : TheModule->aliases()) { 813 for (const GlobalIFunc &I : TheModule->ifuncs()) { 819 for (const NamedMDNode &NMD : TheModule->named_metadata()) [all...] |