Searched refs:TheModule (Results 1 - 16 of 16) sorted by relevance

/freebsd-10.3-release/contrib/llvm/lib/Transforms/ObjCARC/
H A DARCRuntimeEntryPoints.h46 ARCRuntimeEntryPoints() : TheModule(0),
60 TheModule = M;
73 assert(TheModule != 0 && "Not initialized.");
105 Module *TheModule; member in class:llvm::objcarc::ARCRuntimeEntryPoints
131 LLVMContext &C = TheModule->getContext();
138 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
147 LLVMContext &C = TheModule->getContext();
157 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
165 LLVMContext &C = TheModule->getContext();
178 return Decl = TheModule
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenAction.cpp50 OwningPtr<llvm::Module> TheModule, LinkModule; member in class:clang::BackendConsumer
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);
293 TheModule.reset();
310 TheModule
[all...]
H A DBackendUtil.cpp49 Module *TheModule; member in class:__anon3199::EmitAssemblyHelper
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"),
297 Triple TargetTriple(TheModule->getTargetTriple());
358 std::string Triple = TheModule->getTargetTriple();
513 llvm::Triple TargetTriple(TheModule->getTargetTriple());
589 for (Module::iterator I = TheModule
[all...]
H A DCGObjCGNU.cpp105 llvm::Module &TheModule; member in class:__anon3236::CGObjCGNU
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,
856 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(SymbolName);
859 ClassSymbol = new llvm::GlobalVariable(TheModule, LongTy, false,
888 if (TheModule.getGlobalVariable(symbolRef))
891 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(symbolName);
893 ClassSymbol = new llvm::GlobalVariable(TheModule, LongT
[all...]
H A DCodeGenTypes.h65 llvm::Module &TheModule; member in class:clang::CodeGen::CodeGenTypes
119 llvm::LLVMContext &getLLVMContext() { return TheModule.getContext(); }
H A DCodeGenModule.h235 llvm::Module &TheModule; member in class:clang::CodeGen::CodeGenModule
524 llvm::Module &getModule() const { return TheModule; }
H A DCodeGenModule.cpp75 : Context(C), LangOpts(C.getLangOpts()), CodeGenOpts(CGO), TheModule(M),
573 new llvm::GlobalVariable(TheModule, AT, false,
3150 TheModule.getOrInsertNamedMetadata("llvm.ident");
3152 llvm::LLVMContext &Ctx = TheModule.getContext();
3162 if (llvm::NamedMDNode *CUNode = TheModule.getNamedMetadata("llvm.dbg.cu")) {
3163 llvm::NamedMDNode *GCov = TheModule.getOrInsertNamedMetadata("llvm.gcov");
3164 llvm::LLVMContext &Ctx = TheModule.getContext();
H A DCodeGenTypes.cpp33 : CGM(cgm), Context(cgm.getContext()), TheModule(cgm.getModule()),
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/CodeGen/
H A DCodeGenAction.h27 OwningPtr<llvm::Module> TheModule; member in class:clang::CodeGenAction
/freebsd-10.3-release/contrib/llvm/lib/IR/
H A DAsmWriter.h67 const Module *TheModule; member in class:llvm::AssemblyWriter
H A DAsmWriter.cpp307 /// TheModule - The module for which we are holding slot numbers.
308 const Module* TheModule; member in class:llvm::SlotTracker
439 : TheModule(M), TheFunction(0), FunctionProcessed(false),
446 : TheModule(F ? F->getParent() : 0), TheFunction(F), FunctionProcessed(false),
451 if (TheModule) {
453 TheModule = 0; ///< Prevent re-processing next time we're called.
466 for (Module::const_global_iterator I = TheModule->global_begin(),
467 E = TheModule->global_end(); I != E; ++I) {
474 I = TheModule->named_metadata_begin(),
475 E = TheModule
[all...]
/freebsd-10.3-release/contrib/llvm/lib/Target/CppBackend/
H A DCPPBackend.cpp95 const Module *TheModule; member in class:__anon2493::CppWriter
680 for (Module::const_global_iterator I = TheModule->global_begin(),
681 E = TheModule->global_end(); I != E; ++I) {
688 for (Module::const_iterator FI = TheModule->begin(), FE = TheModule->end();
937 for (Module::const_global_iterator I = TheModule->global_begin(),
938 E = TheModule->global_end(); I != E; ++I)
943 for (Module::const_iterator FI = TheModule->begin(), FE = TheModule->end();
1834 const Function* F = TheModule
[all...]
/freebsd-10.3-release/contrib/llvm/include/llvm/CodeGen/
H A DMachineModuleInfo.h101 /// TheModule - This is the LLVM Module being worked on.
102 const Module *TheModule; member in class:llvm::MachineModuleInfo
193 void setModule(const Module *M) { TheModule = M; }
194 const Module *getModule() const { return TheModule; }
/freebsd-10.3-release/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.h127 Module *TheModule;
227 : Context(C), TheModule(0), Buffer(buffer), BufferOwned(false),
233 : Context(C), TheModule(0), Buffer(0), BufferOwned(false),
H A DBitcodeReader.cpp1007 NamedMDNode *NMD = TheModule->getOrInsertNamedMetadata(Name);
1054 unsigned NewKind = TheModule->getMDKindID(Name.str());
1621 for (Module::iterator FI = TheModule->begin(), FE = TheModule->end();
1630 GI = TheModule->global_begin(), GE = TheModule->global_end();
1757 TheModule->setTargetTriple(S);
1764 TheModule->setDataLayout(S);
1771 TheModule->setModuleInlineAsm(S);
1836 new GlobalVariable(*TheModule, T
[all...]
/freebsd-10.3-release/contrib/llvm/lib/CodeGen/
H A DMachineModuleInfo.cpp281 TheModule = 0;

Completed in 218 milliseconds