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

/freebsd-11.0-release/contrib/llvm/lib/Transforms/ObjCARC/
H A DARCRuntimeEntryPoints.h46 ARCRuntimeEntryPoints() : TheModule(nullptr),
58 TheModule = M;
71 assert(TheModule != nullptr && "Not initialized.");
103 Module *TheModule; member in class:llvm::objcarc::ARCRuntimeEntryPoints
129 LLVMContext &C = TheModule->getContext();
136 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
145 LLVMContext &C = TheModule->getContext();
155 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
163 LLVMContext &C = TheModule->getContext();
176 return Decl = TheModule
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/X86/
H A DX86WinEHState.cpp83 Module *TheModule = nullptr; member in class:__anon3094::WinEHStatePass
118 TheModule = &M;
119 FrameEscape = Intrinsic::getDeclaration(TheModule, Intrinsic::localescape);
120 FrameRecover = Intrinsic::getDeclaration(TheModule, Intrinsic::localrecover);
121 FrameAddress = Intrinsic::getDeclaration(TheModule, Intrinsic::frameaddress);
126 assert(TheModule == &M);
127 TheModule = nullptr;
198 LLVMContext &Context = TheModule->getContext();
217 LLVMContext &Context = TheModule->getContext();
239 LLVMContext &Context = TheModule
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenAction.cpp56 std::unique_ptr<llvm::Module> TheModule; member in class:clang::BackendConsumer
84 std::unique_ptr<llvm::Module> takeModule() { return std::move(TheModule); }
104 TheModule.reset(Gen->GetModule());
152 if (!TheModule)
161 TheModule.release();
165 assert(TheModule.get() == M &&
170 LLVMContext &Ctx = TheModule->getContext();
191 TheModule.get(), Action, AsmOutStream);
631 TheModule.reset();
648 TheModule
[all...]
H A DCGCUDANV.cpp38 llvm::Module &TheModule; member in class:__anon3759::CGNVCUDARuntime
81 TheModule(CGM.getModule()) {
173 llvm::GlobalValue::InternalLinkage, "__cuda_register_kernels", &TheModule);
230 llvm::GlobalValue::InternalLinkage, "__cuda_module_ctor", &TheModule);
259 TheModule, FatbinWrapperTy, true, llvm::GlobalValue::InternalLinkage,
268 TheModule, VoidPtrPtrTy, false, llvm::GlobalValue::InternalLinkage,
301 llvm::GlobalValue::InternalLinkage, "__cuda_module_dtor", &TheModule);
H A DCodeGenTypes.h124 llvm::Module &TheModule; member in class:clang::CodeGen::CodeGenTypes
170 return TheModule.getDataLayout();
176 llvm::LLVMContext &getLLVMContext() { return TheModule.getContext(); }
H A DBackendUtil.cpp57 Module *TheModule; member in class:__anon3751::EmitAssemblyHelper
93 PerFunctionPasses = new legacy::FunctionPassManager(TheModule);
122 TheModule(M), CodeGenerationTime("Code Generation Time"),
297 Triple TargetTriple(TheModule->getTargetTriple());
448 std::string Triple = TheModule->getTargetTriple();
599 llvm::Triple TargetTriple(TheModule->getTargetTriple());
642 TheModule->setDataLayout(TM->createDataLayout());
652 TheModule->getContext().diagnose(DI);
695 for (Function &F : *TheModule)
703 PerModulePasses->run(*TheModule);
[all...]
H A DCGObjCGNU.cpp101 llvm::Module &TheModule; member in class:__anon3800::CGObjCGNU
180 auto *ConstStr = TheModule.getGlobalVariable(name);
183 ConstStr = new llvm::GlobalVariable(TheModule, value->getType(), true,
199 auto GV = new llvm::GlobalVariable(TheModule, Ty, false,
214 auto GV = new llvm::GlobalVariable(TheModule, Ty, false,
843 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(SymbolName);
846 ClassSymbol = new llvm::GlobalVariable(TheModule, LongTy, false,
875 if (TheModule.getGlobalVariable(symbolRef))
878 llvm::GlobalVariable *ClassSymbol = TheModule.getGlobalVariable(symbolName);
880 ClassSymbol = new llvm::GlobalVariable(TheModule, LongT
[all...]
H A DCodeGenModule.h265 llvm::Module &TheModule; member in class:clang::CodeGen::CodeGenModule
601 llvm::Module &getModule() const { return TheModule; }
604 return TheModule.getDataLayout();
H A DCodeGenModule.cpp87 PreprocessorOpts(PPO), CodeGenOpts(CGO), TheModule(M), Diags(diags),
721 new llvm::GlobalVariable(TheModule, AT, false,
1446 GV->setComdat(TheModule.getOrInsertComdat(GV->getName()));
2129 GV->setComdat(TheModule.getOrInsertComdat(GV->getName()));
2259 GO.setComdat(TheModule.getOrInsertComdat(GO.getName()));
3365 GV->setComdat(TheModule.getOrInsertComdat(GV->getName()));
3843 TheModule.getOrInsertNamedMetadata("llvm.ident");
3845 llvm::LLVMContext &Ctx = TheModule.getContext();
3868 if (llvm::NamedMDNode *CUNode = TheModule.getNamedMetadata("llvm.dbg.cu")) {
3869 llvm::NamedMDNode *GCov = TheModule
[all...]
H A DCGDeclCXX.cpp293 TheModule, InitFunc->getType(), /*isConstant=*/true,
H A DCodeGenTypes.cpp33 : CGM(cgm), Context(cgm.getContext()), TheModule(cgm.getModule()),
H A DCGDecl.cpp217 GV->setComdat(TheModule.getOrInsertComdat(GV->getName()));
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/CodeGen/
H A DCodeGenAction.h27 std::unique_ptr<llvm::Module> TheModule; member in class:clang::CodeGenAction
/freebsd-11.0-release/contrib/llvm/include/llvm/CodeGen/
H A DMachineModuleInfo.h115 /// TheModule - This is the LLVM Module being worked on.
116 const Module *TheModule; member in class:llvm::MachineModuleInfo
222 void setModule(const Module *M) { TheModule = M; }
223 const Module *getModule() const { return TheModule; }
/freebsd-11.0-release/contrib/llvm/lib/Target/CppBackend/
H A DCPPBackend.cpp97 const Module *TheModule; member in class:__anon2821::CppWriter
692 for (Module::const_global_iterator I = TheModule->global_begin(),
693 E = TheModule->global_end(); I != E; ++I) {
700 for (Module::const_iterator FI = TheModule->begin(), FE = TheModule->end();
949 for (Module::const_global_iterator I = TheModule->global_begin(),
950 E = TheModule->global_end(); I != E; ++I)
955 for (Module::const_iterator FI = TheModule->begin(), FE = TheModule->end();
1855 const Function* F = TheModule
[all...]
/freebsd-11.0-release/contrib/llvm/lib/IR/
H A DAsmWriter.cpp569 /// TheModule - The module for which we are holding slot numbers.
570 const Module* TheModule; member in class:llvm::SlotTracker
740 : TheModule(M), TheFunction(nullptr), FunctionProcessed(false),
747 : TheModule(F ? F->getParent() : nullptr), TheFunction(F),
753 if (TheModule) {
755 TheModule = nullptr; ///< Prevent re-processing next time we're called.
768 for (const GlobalVariable &Var : TheModule->globals()) {
773 for (const GlobalAlias &A : TheModule->aliases()) {
779 for (const NamedMDNode &NMD : TheModule->named_metadata()) {
784 for (const Function &F : *TheModule) {
2004 const Module *TheModule; member in class:__anon2590::AssemblyWriter
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp135 Module *TheModule = nullptr;
1724 GO->setComdat(TheModule->getOrInsertComdat(V->getName()));
1773 Triple TT(TheModule->getTargetTriple());
1858 unsigned NewKind = TheModule->getMDKindID(Name.str());
1946 NamedMDNode *NMD = TheModule->getOrInsertNamedMetadata(Name);
3129 for (Function &F : *TheModule) {
3136 for (GlobalVariable &GV : TheModule->globals())
3403 TheModule->setTargetTriple(S);
3410 TheModule->setDataLayout(S);
3417 TheModule
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Frontend/
H A DCompilerInstance.cpp1682 Module *TheModule = I->second; local
1683 const FileEntry *Entry = TheModule->getASTFile();
1687 getPreprocessor().getIdentifierInfo(TheModule->Name), TriggerLoc));
1690 loadModule(TheModule->DefinitionLoc, Path, Module::Hidden, false);
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/
H A DMachineModuleInfo.cpp216 TheModule = nullptr;

Completed in 399 milliseconds