| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/ |
| H A D | ARCRuntimeEntryPoints.h | 46 ARCRuntimeEntryPoints() : TheModule(nullptr), in ARCRuntimeEntryPoints() 60 TheModule = M; in Initialize() 73 assert(TheModule != nullptr && "Not initialized."); in get() 105 Module *TheModule; 131 LLVMContext &C = TheModule->getContext(); in getVoidRetI8XEntryPoint() 138 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr); in getVoidRetI8XEntryPoint() 147 LLVMContext &C = TheModule->getContext(); 157 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr); 165 LLVMContext &C = TheModule->getContext(); in getI8XRetI8XXI8XEntryPoint() 178 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr); in getI8XRetI8XXI8XEntryPoint()
|
| /minix3/external/bsd/llvm/dist/llvm/tools/llvm-jitlistener/ |
| H A D | llvm-jitlistener.cpp | 116 std::unique_ptr<Module> TheModule(parseIRFile(IRFile, Err, Context)); in InitEE() local 117 if (!TheModule) { in InitEE() 129 Triple Tuple(TheModule->getTargetTriple()); in InitEE() 135 TheModule->setTargetTriple(Tuple.getTriple()); in InitEE() 140 TheJIT.reset(EngineBuilder(std::move(TheModule)) in InitEE()
|
| /minix3/external/bsd/llvm/dist/clang/lib/CodeGen/ |
| H A D | CodeGenAction.cpp | 56 std::unique_ptr<llvm::Module> TheModule, LinkModule; member in clang::BackendConsumer 75 std::unique_ptr<llvm::Module> takeModule() { return std::move(TheModule); } in takeModule() 90 TheModule.reset(Gen->GetModule()); in Initialize() 138 if (!TheModule) in HandleTranslationUnit() 147 TheModule.release(); in HandleTranslationUnit() 151 assert(TheModule.get() == M && in HandleTranslationUnit() 164 LLVMContext &Ctx = TheModule->getContext(); in HandleTranslationUnit() 177 TheModule.get(), Action, AsmOutStream); in HandleTranslationUnit() 576 TheModule.reset(); in ~CodeGenAction() 593 TheModule = BEConsumer->takeModule(); in EndSourceFileAction() [all …]
|
| H A D | BackendUtil.cpp | 54 Module *TheModule; member in __anonfbf255770111::EmitAssemblyHelper 85 PerFunctionPasses = new FunctionPassManager(TheModule); in getPerFunctionPasses() 117 TheModule(M), CodeGenerationTime("Code Generation Time"), in EmitAssemblyHelper() 333 Triple TargetTriple(TheModule->getTargetTriple()); in CreatePasses() 395 std::string Triple = TheModule->getTargetTriple(); in CreateTargetMachine() 545 llvm::Triple TargetTriple(TheModule->getTargetTriple()); in AddEmitPasses() 619 for (Module::iterator I = TheModule->begin(), in EmitAssembly() 620 E = TheModule->end(); I != E; ++I) in EmitAssembly() 628 PerModulePasses->run(*TheModule); in EmitAssembly() 633 CodeGenPasses->run(*TheModule); in EmitAssembly()
|
| H A D | CGObjCGNU.cpp | 106 llvm::Module &TheModule; member in __anon9c1d04830111::CGObjCGNU 184 llvm::Constant *ConstStr = TheModule.getGlobalVariable(name); in ExportUniqueString() 187 ConstStr = new llvm::GlobalVariable(TheModule, value->getType(), true, in ExportUniqueString() 201 return new llvm::GlobalVariable(TheModule, Ty, false, in MakeGlobal() 213 return new llvm::GlobalVariable(TheModule, Ty, false, in MakeGlobal() 833 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(SymbolName); in GetClassNamed() 836 ClassSymbol = new llvm::GlobalVariable(TheModule, LongTy, false, in GetClassNamed() 865 if (TheModule.getGlobalVariable(symbolRef)) in EmitClassRef() 868 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(symbolName); in EmitClassRef() 870 ClassSymbol = new llvm::GlobalVariable(TheModule, LongTy, false, in EmitClassRef() [all …]
|
| H A D | CodeGenTypes.h | 121 llvm::Module &TheModule; variable 175 llvm::LLVMContext &getLLVMContext() { return TheModule.getContext(); } in getLLVMContext()
|
| H A D | CGDeclCXX.cpp | 264 TheModule, InitFunc->getType(), /*isConstant=*/true, in EmitPointerToInitFunc() 275 C = TheModule.getOrInsertComdat(GV->getName()); in EmitPointerToInitFunc()
|
| H A D | CodeGenModule.h | 282 llvm::Module &TheModule; variable 603 llvm::Module &getModule() const { return TheModule; } in getModule()
|
| /minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter4/ |
| H A D | toy.cpp | 387 static Module *TheModule; variable 432 Function *CalleeF = TheModule->getFunction(Callee); in Codegen() 458 Function::Create(FT, Function::ExternalLinkage, Name, TheModule); in Codegen() 465 F = TheModule->getFunction(Name); in Codegen() 627 TheModule = Owner.get(); in main() 641 FunctionPassManager OurFPM(TheModule); in main() 645 TheModule->setDataLayout(TheExecutionEngine->getDataLayout()); in main() 669 TheModule->dump(); in main()
|
| /minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter3/ |
| H A D | toy.cpp | 350 static Module *TheModule; variable 386 Function *CalleeF = TheModule->getFunction(Callee); in Codegen() 410 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule); in Codegen() 417 F = TheModule->getFunction(Name); in Codegen() 556 TheModule = new Module("my cool jit", Context); in main() 562 TheModule->dump(); in main()
|
| /minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter6/ |
| H A D | toy.cpp | 594 static Module *TheModule; variable 619 Function *F = TheModule->getFunction(std::string("unary") + Opcode); in Codegen() 650 Function *F = TheModule->getFunction(std::string("binary") + Op); in Codegen() 659 Function *CalleeF = TheModule->getFunction(Callee); in Codegen() 836 Function::Create(FT, Function::ExternalLinkage, Name, TheModule); in Codegen() 843 F = TheModule->getFunction(Name); in Codegen() 1018 TheModule = Owner.get(); in main() 1032 FunctionPassManager OurFPM(TheModule); in main() 1036 TheModule->setDataLayout(TheExecutionEngine->getDataLayout()); in main() 1060 TheModule->dump(); in main()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/CppBackend/ |
| H A D | CPPBackend.cpp | 95 const Module *TheModule; member in __anon96e0fc1e0111::CppWriter 690 for (Module::const_global_iterator I = TheModule->global_begin(), in printTypes() 691 E = TheModule->global_end(); I != E; ++I) { in printTypes() 698 for (Module::const_iterator FI = TheModule->begin(), FE = TheModule->end(); in printTypes() 947 for (Module::const_global_iterator I = TheModule->global_begin(), in printConstants() 948 E = TheModule->global_end(); I != E; ++I) in printConstants() 953 for (Module::const_iterator FI = TheModule->begin(), FE = TheModule->end(); in printConstants() 1864 const Function* F = TheModule->getFunction(func); in printInline() 1894 printTypes(TheModule); in printModuleBody() 1899 for (Module::const_iterator I = TheModule->begin(), E = TheModule->end(); in printModuleBody() [all …]
|
| /minix3/external/bsd/llvm/dist/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); in Codegen() 709 Function *F = TheModule->getFunction(std::string("binary")+Op); in Codegen() 718 Function *CalleeF = TheModule->getFunction(Callee); in Codegen() 941 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule); in Codegen() 947 F = TheModule->getFunction(Name); in Codegen() 1156 TheModule = parseInputIR(InputIR); in main() 1158 TheModule = new Module("my cool jit", Context); in main() 1163 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create(); in main() 1169 FunctionPassManager OurFPM(TheModule); in main() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter5/ |
| H A D | toy.cpp | 506 static Module *TheModule; variable 551 Function *CalleeF = TheModule->getFunction(Callee); in Codegen() 728 Function::Create(FT, Function::ExternalLinkage, Name, TheModule); in Codegen() 735 F = TheModule->getFunction(Name); in Codegen() 897 TheModule = Owner.get(); in main() 911 FunctionPassManager OurFPM(TheModule); in main() 915 TheModule->setDataLayout(TheExecutionEngine->getDataLayout()); in main() 939 TheModule->dump(); in main()
|
| /minix3/external/bsd/llvm/dist/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); in Codegen() 691 Function *F = TheModule->getFunction(std::string("binary")+Op); in Codegen() 700 Function *CalleeF = TheModule->getFunction(Callee); in Codegen() 923 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule); in Codegen() 929 F = TheModule->getFunction(Name); in Codegen() 1119 TheModule = new Module("my cool jit", Context); in main() 1123 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create(); in main() 1129 FunctionPassManager OurFPM(TheModule); in main() 1164 TheModule->dump(); in main()
|
| /minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter7/ |
| H A D | toy.cpp | 665 static Module *TheModule; variable 704 Function *F = TheModule->getFunction(std::string("unary") + Opcode); in Codegen() 755 Function *F = TheModule->getFunction(std::string("binary") + Op); in Codegen() 764 Function *CalleeF = TheModule->getFunction(Callee); in Codegen() 994 Function::Create(FT, Function::ExternalLinkage, Name, TheModule); in Codegen() 1001 F = TheModule->getFunction(Name); in Codegen() 1192 TheModule = Owner.get(); in main() 1206 FunctionPassManager OurFPM(TheModule); in main() 1210 TheModule->setDataLayout(TheExecutionEngine->getDataLayout()); in main() 1236 TheModule->dump(); in main()
|
| /minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter8/ |
| H A D | toy.cpp | 856 static Module *TheModule; variable 896 Function *F = TheModule->getFunction(std::string("unary") + Opcode); in Codegen() 950 Function *F = TheModule->getFunction(std::string("binary") + Op); in Codegen() 961 Function *CalleeF = TheModule->getFunction(Callee); in Codegen() 1197 Function::Create(FT, Function::ExternalLinkage, Name, TheModule); in Codegen() 1204 F = TheModule->getFunction(Name); in Codegen() 1426 TheModule = Owner.get(); in main() 1429 TheModule->addModuleFlag(Module::Warning, "Debug Info Version", in main() 1434 TheModule->addModuleFlag(llvm::Module::Warning, "Dwarf Version", 2); in main() 1437 DBuilder = new DIBuilder(*TheModule); in main() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | MachineModuleInfo.h | 102 const Module *TheModule; variable 203 void setModule(const Module *M) { TheModule = M; } in setModule() 204 const Module *getModule() const { return TheModule; } in getModule()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/IR/ |
| H A D | AsmWriter.cpp | 523 const Module* TheModule; member in llvm::SlotTracker 649 : TheModule(M), TheFunction(nullptr), FunctionProcessed(false), mNext(0), in SlotTracker() 655 : TheModule(F ? F->getParent() : nullptr), TheFunction(F), in SlotTracker() 659 if (TheModule) { in initialize() 661 TheModule = nullptr; ///< Prevent re-processing next time we're called. in initialize() 674 for (Module::const_global_iterator I = TheModule->global_begin(), in processModule() 675 E = TheModule->global_end(); I != E; ++I) { in processModule() 682 I = TheModule->named_metadata_begin(), in processModule() 683 E = TheModule->named_metadata_end(); I != E; ++I) { in processModule() 689 for (Module::const_iterator I = TheModule->begin(), E = TheModule->end(); in processModule() [all …]
|
| H A D | AsmWriter.h | 69 const Module *TheModule; variable
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/CodeGen/ |
| H A D | CodeGenAction.h | 27 std::unique_ptr<llvm::Module> TheModule; variable
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 79 TheModule(nullptr), Buffer(buffer), LazyStreamer(nullptr), in BitcodeReader() 87 TheModule(nullptr), Buffer(nullptr), LazyStreamer(streamer), in BitcodeReader() 1194 NamedMDNode *NMD = TheModule->getOrInsertNamedMetadata(Name); in ParseMetadata() 1310 unsigned NewKind = TheModule->getMDKindID(Name.str()); in ParseMetadata() 1948 for (Module::iterator FI = TheModule->begin(), FE = TheModule->end(); in GlobalCleanup() 1957 GI = TheModule->global_begin(), GE = TheModule->global_end(); in GlobalCleanup() 2087 TheModule->setTargetTriple(S); in ParseModule() 2094 TheModule->setDataLayout(S); in ParseModule() 2101 TheModule->setModuleInlineAsm(S); in ParseModule() 2135 Comdat *C = TheModule->getOrInsertComdat(ComdatName); in ParseModule() [all …]
|
| H A D | BitcodeReader.h | 138 Module *TheModule; variable
|
| /minix3/external/bsd/llvm/dist/llvm/docs/tutorial/ |
| H A D | LangImpl3.rst | 77 static Module *TheModule; 81 The static variables will be used during code generation. ``TheModule`` 203 Function *CalleeF = TheModule->getFunction(Callee); 259 Function *F = Function::Create(FT, Function::ExternalLinkage, Name, TheModule); 282 specified: since "``TheModule``" is specified, this name is registered 283 in "``TheModule``"s symbol table, which is used by the function call 293 F = TheModule->getFunction(Name);
|
| /minix3/external/bsd/llvm/dist/clang/lib/Frontend/ |
| H A D | CompilerInstance.cpp | 1655 Module *TheModule = I->second; in loadGlobalModuleIndex() local 1656 const FileEntry *Entry = TheModule->getASTFile(); in loadGlobalModuleIndex() 1660 getPreprocessor().getIdentifierInfo(TheModule->Name), TriggerLoc)); in loadGlobalModuleIndex() 1663 loadModule(TheModule->DefinitionLoc, Path, in loadGlobalModuleIndex()
|