/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/CodeGen/ |
CodeGenAction.h | 47 std::unique_ptr<llvm::Module> TheModule;
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/clang/include/clang/CodeGen/ |
CodeGenAction.h | 47 std::unique_ptr<llvm::Module> TheModule;
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/clang/include/clang/CodeGen/ |
CodeGenAction.h | 47 std::unique_ptr<llvm::Module> TheModule;
|
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/clang/include/clang/CodeGen/ |
CodeGenAction.h | 47 std::unique_ptr<llvm::Module> TheModule;
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/CodeGen/ |
CodeGenAction.h | 47 std::unique_ptr<llvm::Module> TheModule;
|
/external/clang/lib/CodeGen/ |
CGCUDANV.cpp | 38 llvm::Module &TheModule; 86 TheModule(CGM.getModule()) { 184 llvm::GlobalValue::InternalLinkage, "__cuda_register_globals", &TheModule); 271 llvm::GlobalValue::InternalLinkage, "__cuda_module_ctor", &TheModule); 300 TheModule, FatbinWrapperTy, true, llvm::GlobalValue::InternalLinkage, 311 TheModule, VoidPtrPtrTy, false, llvm::GlobalValue::InternalLinkage, 349 llvm::GlobalValue::InternalLinkage, "__cuda_module_dtor", &TheModule);
|
CodeGenTypes.h | 124 llvm::Module &TheModule; 174 return TheModule.getDataLayout(); 180 llvm::LLVMContext &getLLVMContext() { return TheModule.getContext(); }
|
BackendUtil.cpp | 60 Module *TheModule; 96 PerFunctionPasses = new legacy::FunctionPassManager(TheModule); 128 TheModule(M), CodeGenerationTime("Code Generation Time"), 331 Triple TargetTriple(TheModule->getTargetTriple()); 528 std::string Triple = TheModule->getTargetTriple(); 654 llvm::Triple TargetTriple(TheModule->getTargetTriple()); 699 TheModule->setDataLayout(TM->createDataLayout()); 709 TheModule->getContext().diagnose(DI); 753 for (Function &F : *TheModule) 761 PerModulePasses->run(*TheModule); [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...] |
CodeGenAction.cpp | 665 TheModule.reset(); 682 TheModule = BEConsumer->takeModule(); 686 return std::move(TheModule); 806 TheModule = parseIR(MainFile->getMemBufferRef(), Err, *VMContext); 807 if (!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/llvm/lib/Transforms/IPO/ |
FunctionImport.cpp | 476 /// Fixup WeakForLinker linkages in \p TheModule based on summary analysis. 478 Module &TheModule, const GVSummaryMapTy &DefinedGlobals) { 495 for (auto &GV : TheModule) 497 for (auto &GV : TheModule.globals()) 499 for (auto &GV : TheModule.aliases()) 503 /// Run internalization on \p TheModule based on symmary analysis. 504 void llvm::thinLTOInternalizeModule(Module &TheModule, 510 Triple(TheModule.getTargetTriple()), TheModule.getModuleInlineAsm(), 536 TheModule.getSourceFileName()) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter3/ |
toy.cpp | 393 static std::unique_ptr<Module> TheModule; 437 Function *CalleeF = TheModule->getFunction(Callee); 462 Function::Create(FT, Function::ExternalLinkage, Name, TheModule.get()); 474 Function *TheFunction = TheModule->getFunction(Proto->getName()); 587 TheModule = llvm::make_unique<Module>("my cool jit", TheContext); 593 TheModule->dump();
|
/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/llvm/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 527 static std::unique_ptr<Module> TheModule; 540 if (auto *F = TheModule->getFunction(Name)) 761 Function::Create(FT, Function::ExternalLinkage, Name, TheModule.get()); 813 TheModule = llvm::make_unique<Module>("my cool jit", TheContext); 814 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout()); 817 TheFPM = llvm::make_unique<legacy::FunctionPassManager>(TheModule.get()); 836 TheJIT->addModule(std::move(TheModule)); 864 auto H = TheJIT->addModule(std::move(TheModule));
|
/external/spirv-llvm/lib/SPIRV/libSPIRV/ |
SPIRVEntry.cpp | 158 SPIRVEntry::setModule(SPIRVModule *TheModule) { 159 assert(TheModule && "Invalid module"); 160 if (TheModule == Module) 163 Module = TheModule; 415 SPIRVEntryPoint::SPIRVEntryPoint(SPIRVModule *TheModule, 418 :SPIRVAnnotation(TheModule->get<SPIRVFunction>(TheId), 523 SPIRVExtInstImport::SPIRVExtInstImport(SPIRVModule *TheModule, SPIRVId TheId, 525 SPIRVEntry(TheModule, 2 + getSizeInWords(TheStr), OC, TheId), Str(TheStr){
|
/external/swiftshader/third_party/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/include/llvm/CodeGen/ |
MachineModuleInfo.h | 115 /// TheModule - This is the LLVM Module being worked on. 116 const Module *TheModule; 222 void setModule(const Module *M) { TheModule = M; } 223 const Module *getModule() const { return TheModule; }
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
MachineModuleInfo.h | 102 /// TheModule - This is the LLVM Module being worked on. 103 const Module *TheModule; 193 void setModule(const Module *M) { TheModule = M; } 194 const Module *getModule() const { return TheModule; }
|
/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/lib/LTO/ |
LTOCodeGenerator.cpp | 364 Module &TheModule, 368 TheModule.getGlobalVariable("llvm.compiler.used")) { 374 llvm::Type *i8PTy = llvm::Type::getInt8PtrTy(TheModule.getContext()); 393 for (auto &GV : TheModule) 395 for (auto &GV : TheModule.globals()) 397 for (auto &GV : TheModule.aliases()) 405 TheModule, ATy, false, llvm::GlobalValue::AppendingLinkage,
|
/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/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/include/llvm/LTO/legacy/ |
LTOCodeGenerator.h | 194 Module &TheModule,
|
/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));
|