/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
D | ThinLTOCodeGenerator.cpp | 88 static void saveTempBitcode(const Module &TheModule, StringRef TempDir, in saveTempBitcode() argument 99 WriteBitcodeToFile(TheModule, OS, /* ShouldPreserveUseListOrder */ true); in saveTempBitcode() 154 static void promoteModule(Module &TheModule, const ModuleSummaryIndex &Index) { in promoteModule() argument 155 if (renameModuleForThinLTO(TheModule, Index)) in promoteModule() 171 static void verifyLoadedModule(Module &TheModule) { in verifyLoadedModule() argument 173 if (verifyModule(TheModule, &dbgs(), &BrokenDebugInfo)) in verifyLoadedModule() 176 TheModule.getContext().diagnose(ThinLTODiagnosticInfo( in verifyLoadedModule() 178 StripDebugInfo(TheModule); in verifyLoadedModule() 206 crossImportIntoModule(Module &TheModule, const ModuleSummaryIndex &Index, in crossImportIntoModule() argument 211 return loadModuleFromInput(Input, TheModule.getContext(), in crossImportIntoModule() [all …]
|
D | UpdateCompilerUsed.cpp | 33 void findInModule(Module &TheModule) { in findInModule() argument 34 initializeLibCalls(TheModule); in findInModule() 35 for (Function &F : TheModule) in findInModule() 37 for (GlobalVariable &GV : TheModule.globals()) in findInModule() 39 for (GlobalAlias &GA : TheModule.aliases()) in findInModule() 58 void initializeLibCalls(const Module &TheModule) { in initializeLibCalls() argument 73 for (const Function &F : TheModule) { in initializeLibCalls() 122 void llvm::updateCompilerUsed(Module &TheModule, const TargetMachine &TM, in updateCompilerUsed() argument 126 .findInModule(TheModule); in updateCompilerUsed() 131 appendToCompilerUsed(TheModule, UsedValues); in updateCompilerUsed()
|
D | LTOCodeGenerator.cpp | 386 Module &TheModule, in preserveDiscardableGVs() argument 402 for (auto &GV : TheModule) in preserveDiscardableGVs() 404 for (auto &GV : TheModule.globals()) in preserveDiscardableGVs() 406 for (auto &GV : TheModule.aliases()) in preserveDiscardableGVs() 412 appendToCompilerUsed(TheModule, Used); in preserveDiscardableGVs()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86WinEHState.cpp | 84 Module *TheModule = nullptr; member in __anon59ee6ce70111::WinEHStatePass 122 TheModule = &M; in doInitialization() 127 assert(TheModule == &M); in doFinalization() 128 TheModule = nullptr; in doFinalization() 175 Type *Int8PtrType = Type::getInt8PtrTy(TheModule->getContext()); in runOnFunction() 176 SetJmp3 = TheModule->getOrInsertFunction( in runOnFunction() 178 Type::getInt32Ty(TheModule->getContext()), in runOnFunction() 179 {Int8PtrType, Type::getInt32Ty(TheModule->getContext())}, in runOnFunction() 212 LLVMContext &Context = TheModule->getContext(); in getEHLinkRegistrationType() 231 LLVMContext &Context = TheModule->getContext(); in getCXXEHRegistrationType() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | NameAnonGlobals.cpp | 27 Module &TheModule; member in __anon7b33b4090111::ModuleHasher 31 ModuleHasher(Module &M) : TheModule(M) {} in ModuleHasher() 40 for (auto &F : TheModule) { in get() 46 for (auto &GV : TheModule.globals()) { in get()
|
D | CloneFunction.cpp | 50 Module *TheModule = F ? F->getParent() : nullptr; in CloneBasicBlock() local 54 if (DIFinder && TheModule) in CloneBasicBlock() 55 DIFinder->processInstruction(*TheModule, I); in CloneBasicBlock()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/ |
D | ARCRuntimeEntryPoints.h | 60 TheModule = M; in init() 73 assert(TheModule != nullptr && "Not initialized."); in get() 105 Module *TheModule = nullptr; 138 return Decl = Intrinsic::getDeclaration(TheModule, IntID); in getIntrinsicEntryPoint()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/ |
D | Internalize.h | 63 bool internalizeModule(Module &TheModule, CallGraph *CG = nullptr); 70 internalizeModule(Module &TheModule, 74 .internalizeModule(TheModule, CG);
|
D | FunctionImport.h | 213 void thinLTOResolvePrevailingInModule(Module &TheModule, 218 void thinLTOInternalizeModule(Module &TheModule,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineModuleInfo.cpp | 234 TheModule = MMI.TheModule; in MachineModuleInfo() 360 MMI.TheModule = &M; in doInitialization() 375 MMI.TheModule = &M; in run()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | MachineModuleInfo.h | 88 const Module *TheModule; variable 164 const Module *getModule() const { return TheModule; } in getModule()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/legacy/ |
D | UpdateCompilerUsed.h | 27 void updateCompilerUsed(Module &TheModule, const TargetMachine &TM,
|
D | LTOCodeGenerator.h | 206 Module &TheModule,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | MetadataLoader.cpp | 426 Module &TheModule; member in MetadataLoader::MetadataLoaderImpl 499 if (NamedMDNode *CUNodes = TheModule.getNamedMetadata("llvm.dbg.cu")) in upgradeCUVariables() 513 for (auto &GV : TheModule.globals()) { in upgradeCUVariables() 635 MetadataLoaderImpl(BitstreamCursor &Stream, Module &TheModule, in MetadataLoaderImpl() argument 639 : MetadataList(TheModule.getContext(), Stream.SizeInBytes()), in MetadataLoaderImpl() 640 ValueList(ValueList), Stream(Stream), Context(TheModule.getContext()), in MetadataLoaderImpl() 641 TheModule(TheModule), getTypeByID(std::move(getTypeByID)), in MetadataLoaderImpl() 810 NamedMDNode *NMD = TheModule.getOrInsertNamedMetadata(Name); in lazyLoadModuleMetadataBlock() 1125 NamedMDNode *NMD = TheModule.getOrInsertNamedMetadata(Name); in parseOneMetadata() 2075 unsigned NewKind = TheModule.getMDKindID(Name.str()); in parseMetadataKindRecord() [all …]
|
D | MetadataLoader.h | 42 MetadataLoader(BitstreamCursor &Stream, Module &TheModule,
|
D | BitcodeReader.cpp | 485 Module *TheModule = nullptr; member in __anondfca2ef20411::BitcodeReader 2029 GO->setComdat(TheModule->getOrInsertComdat(V->getName())); in recordValue() 2151 Triple TT(TheModule->getTargetTriple()); in parseValueSymbolTable() 2926 if (Metadata *Val = TheModule->getModuleFlag("Linker Options")) { in materializeMetadata() 2928 TheModule->getOrInsertNamedMetadata("llvm.linker.options"); in materializeMetadata() 2970 for (Function &F : *TheModule) { in globalCleanup() 2984 for (GlobalVariable &GV : TheModule->globals()) in globalCleanup() 2989 TheModule->getGlobalList().push_back(Pair.second); in globalCleanup() 3075 Comdat *C = TheModule->getOrInsertComdat(Name); in parseComdatRecord() 3145 new GlobalVariable(*TheModule, Ty, isConstant, Linkage, nullptr, Name, in parseGlobalVarRecord() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | FunctionImport.cpp | 984 Module &TheModule, const GVSummaryMapTy &DefinedGlobals) { in thinLTOResolvePrevailingInModule() argument 1039 for (auto &GV : TheModule) in thinLTOResolvePrevailingInModule() 1041 for (auto &GV : TheModule.globals()) in thinLTOResolvePrevailingInModule() 1043 for (auto &GV : TheModule.aliases()) in thinLTOResolvePrevailingInModule() 1048 void llvm::thinLTOInternalizeModule(Module &TheModule, in thinLTOInternalizeModule() argument 1065 TheModule.getSourceFileName()); in thinLTOInternalizeModule() 1083 internalizeModule(TheModule, MustPreserveGV); in thinLTOInternalizeModule()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | AsmWriter.cpp | 680 const Module* TheModule; member in llvm::SlotTracker 902 : TheModule(M), ShouldInitializeAllMetadata(ShouldInitializeAllMetadata) {} in SlotTracker() 907 : TheModule(F ? F->getParent() : nullptr), TheFunction(F), in SlotTracker() 911 : TheModule(nullptr), ShouldInitializeAllMetadata(false), TheIndex(Index) {} in SlotTracker() 914 if (TheModule) { in initializeIfNeeded() 916 TheModule = nullptr; ///< Prevent re-processing next time we're called. in initializeIfNeeded() 936 for (const GlobalVariable &Var : TheModule->globals()) { in processModule() 945 for (const GlobalAlias &A : TheModule->aliases()) { in processModule() 950 for (const GlobalIFunc &I : TheModule->ifuncs()) { in processModule() 956 for (const NamedMDNode &NMD : TheModule->named_metadata()) { in processModule() [all …]
|
D | ConstantFold.cpp | 1175 if (Module *TheModule = GV->getParent()) { in ConstantFoldBinaryInstruction() local 1176 GVAlign = GV->getPointerAlignment(TheModule->getDataLayout()); in ConstantFoldBinaryInstruction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/ |
D | CoroInternal.h | 56 Module &TheModule; member
|
D | Coroutines.cpp | 96 : TheModule(M), Context(M.getContext()), in LowererBase() 111 auto *Fn = Intrinsic::getDeclaration(&TheModule, Intrinsic::coro_subfn_addr); in makeSubFnCall()
|
D | CoroEarly.cpp | 72 const DataLayout &DL = TheModule.getDataLayout(); in lowerCoroPromise()
|