/external/clang/lib/CodeGen/ |
CodeGenAction.cpp | 50 OwningPtr<llvm::Module> TheModule, LinkModule; 74 llvm::Module *takeModule() { return TheModule.take(); } 89 TheModule.reset(Gen->GetModule()); 124 if (!TheModule) 133 TheModule.take(); 137 assert(TheModule.get() == M && 153 LLVMContext &Ctx = TheModule->getContext(); 160 TheModule.get(), Action, AsmOutStream); 274 TheModule.reset(); 291 TheModule.reset(BEConsumer->takeModule()) [all...] |
BackendUtil.cpp | 48 Module *TheModule; 60 CodeGenPasses->add(new TargetData(TheModule)); 68 PerModulePasses->add(new TargetData(TheModule)); 75 PerFunctionPasses = new FunctionPassManager(TheModule); 76 PerFunctionPasses->add(new TargetData(TheModule)); 95 TheModule(M), CodeGenerationTime("Code Generation Time"), 192 Triple TargetTriple(TheModule->getTargetTriple()); 248 std::string Triple = TheModule->getTargetTriple(); 464 for (Module::iterator I = TheModule->begin(), 465 E = TheModule->end(); I != E; ++I [all...] |
CodeGenTypes.h | 64 llvm::Module &TheModule; 117 llvm::LLVMContext &getLLVMContext() { return TheModule.getContext(); }
|
CGObjCGNU.cpp | 107 llvm::Module &TheModule; 185 llvm::Constant *ConstStr = TheModule.getGlobalVariable(name); 188 ConstStr = new llvm::GlobalVariable(TheModule, value->getType(), true, 202 return new llvm::GlobalVariable(TheModule, Ty, false, 214 return new llvm::GlobalVariable(TheModule, Ty, false, [all...] |
CodeGenModule.h | 221 llvm::Module &TheModule; 449 llvm::Module &getModule() const { return TheModule; } [all...] |
CodeGenModule.cpp | 67 : Context(C), LangOpts(C.getLangOpts()), CodeGenOpts(CGO), TheModule(M), 461 new llvm::GlobalVariable(TheModule, AT, false, [all...] |
CodeGenTypes.cpp | 32 TheModule(CGM.getModule()), TheTargetData(CGM.getTargetData()),
|
/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/lib/Target/CppBackend/ |
CPPBackend.cpp | 94 const Module *TheModule; 669 for (Module::const_global_iterator I = TheModule->global_begin(), 670 E = TheModule->global_end(); I != E; ++I) { 677 for (Module::const_iterator FI = TheModule->begin(), FE = TheModule->end(); [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/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/lib/Bitcode/Reader/ |
BitcodeReader.h | 126 Module *TheModule; 184 : Context(C), TheModule(0), Buffer(buffer), BufferOwned(false), 190 : Context(C), TheModule(0), Buffer(0), BufferOwned(false),
|
BitcodeReader.cpp | 837 NamedMDNode *NMD = TheModule->getOrInsertNamedMetadata(Name); 883 unsigned NewKind = TheModule->getMDKindID(Name.str()); [all...] |
/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...] |
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitcodeReader.h | 131 Module *TheModule; 190 : Context(C), TheModule(0), Buffer(buffer), BufferOwned(false),
|
BitcodeReader.cpp | [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
BitcodeReader.h | 131 Module *TheModule; 184 : Context(C), TheModule(0), Buffer(buffer), BufferOwned(false),
|
BitcodeReader.cpp | [all...] |
/external/llvm/lib/VMCore/ |
AsmWriter.cpp | 313 /// TheModule - The module for which we are holding slot numbers. 314 const Module* TheModule; 429 : TheModule(M), TheFunction(0), FunctionProcessed(false), 436 : TheModule(F ? F->getParent() : 0), TheFunction(F), FunctionProcessed(false), 441 if (TheModule) { 443 TheModule = 0; ///< Prevent re-processing next time we're called. 456 for (Module::const_global_iterator I = TheModule->global_begin(), 457 E = TheModule->global_end(); I != E; ++I) { 464 I = TheModule->named_metadata_begin(), 465 E = TheModule->named_metadata_end(); I != E; ++I) [all...] |
/external/llvm/lib/CodeGen/ |
MachineModuleInfo.cpp | 265 TheModule = 0;
|