Lines Matching refs:TheModule
34 void findInModule(const Module &TheModule) { in findInModule() argument
35 initializeLibCalls(TheModule); in findInModule()
36 for (const Function &F : TheModule) in findInModule()
38 for (const GlobalVariable &GV : TheModule.globals()) in findInModule()
40 for (const GlobalAlias &GA : TheModule.aliases()) in findInModule()
59 void initializeLibCalls(const Module &TheModule) { in initializeLibCalls() argument
74 for (const Function &F : TheModule) { in initializeLibCalls()
115 void llvm::updateCompilerUsed(Module &TheModule, const TargetMachine &TM, in updateCompilerUsed() argument
119 .findInModule(TheModule); in updateCompilerUsed()
124 llvm::Type *i8PTy = llvm::Type::getInt8PtrTy(TheModule.getContext()); in updateCompilerUsed()
132 GlobalVariable *LLVMUsed = TheModule.getGlobalVariable("llvm.compiler.used"); in updateCompilerUsed()
142 TheModule, ATy, false, llvm::GlobalValue::AppendingLinkage, in updateCompilerUsed()