/external/llvm/tools/llvm-jitlistener/ |
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.
|
/external/clang/lib/CodeGen/ |
CodeGenAction.cpp | 50 OwningPtr<llvm::Module> TheModule, LinkModule; 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); 276 TheModule.reset(); 293 TheModule.reset(BEConsumer->takeModule()) [all...] |
BackendUtil.cpp | 49 Module *TheModule; 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"), 267 Triple TargetTriple(TheModule->getTargetTriple()); 328 std::string Triple = TheModule->getTargetTriple(); 487 llvm::Triple TargetTriple(TheModule->getTargetTriple()); 561 for (Module::iterator I = TheModule->begin() [all...] |
CodeGenTypes.h | 65 llvm::Module &TheModule; 119 llvm::LLVMContext &getLLVMContext() { return TheModule.getContext(); }
|
CGObjCGNU.cpp | 105 llvm::Module &TheModule; 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, [all...] |
CodeGenModule.h | 234 llvm::Module &TheModule; 479 llvm::Module &getModule() const { return TheModule; } [all...] |
CodeGenTypes.cpp | 33 TheModule(CGM.getModule()), TheDataLayout(CGM.getDataLayout()),
|
CodeGenModule.cpp | 77 TheModule(M), TheDataLayout(TD), TheTargetCodeGenInfo(0), Diags(diags), 485 new llvm::GlobalVariable(TheModule, AT, false, [all...] |
/external/llvm/examples/Kaleidoscope/Chapter3/ |
toy.cpp | 348 static Module *TheModule; 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/ |
toy.cpp | 355 static Module *TheModule; 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/clang/include/clang/CodeGen/ |
CodeGenAction.h | 27 OwningPtr<llvm::Module> TheModule;
|
/external/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/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/lib/Target/CppBackend/ |
CPPBackend.cpp | 94 const Module *TheModule; 681 for (Module::const_global_iterator I = TheModule->global_begin(), 682 E = TheModule->global_end(); I != E; ++I) { 689 for (Module::const_iterator FI = TheModule->begin(), FE = TheModule->end(); [all...] |
/external/llvm/include/llvm/CodeGen/ |
MachineModuleInfo.h | 101 /// TheModule - This is the LLVM Module being worked on. 102 const Module *TheModule; 193 void setModule(const Module *M) { TheModule = M; } 194 const Module *getModule() const { return TheModule; }
|
/external/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/lib/Bitcode/Reader/ |
BitcodeReader.h | 126 Module *TheModule; 196 : Context(C), TheModule(0), Buffer(buffer), BufferOwned(false), 202 : Context(C), TheModule(0), Buffer(0), BufferOwned(false),
|
BitcodeReader.cpp | 907 NamedMDNode *NMD = TheModule->getOrInsertNamedMetadata(Name); 953 unsigned NewKind = TheModule->getMDKindID(Name.str()); [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitcodeReader.h | 131 Module *TheModule; 197 : Context(C), TheModule(0), Buffer(buffer), BufferOwned(false),
|
BitcodeReader.cpp | [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
BitcodeReader.h | 131 Module *TheModule; 191 : Context(C), TheModule(0), Buffer(buffer), BufferOwned(false),
|
BitcodeReader.cpp | [all...] |
/external/llvm/lib/IR/ |
AsmWriter.cpp | 332 /// TheModule - The module for which we are holding slot numbers. 333 const Module* TheModule; 463 : TheModule(M), TheFunction(0), FunctionProcessed(false), 470 : TheModule(F ? F->getParent() : 0), TheFunction(F), FunctionProcessed(false), 475 if (TheModule) { 477 TheModule = 0; ///< Prevent re-processing next time we're called. 490 for (Module::const_global_iterator I = TheModule->global_begin(), 491 E = TheModule->global_end(); I != E; ++I) { 498 I = TheModule->named_metadata_begin(), 499 E = TheModule->named_metadata_end(); I != E; ++I) [all...] |
/external/llvm/lib/CodeGen/ |
MachineModuleInfo.cpp | 282 TheModule = 0;
|