Home
last modified time | relevance | path

Searched refs:collectUsedGlobalVariables (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DFunctionImportUtils.h116 collectUsedGlobalVariables(M, Vec, /*CompilerUsed=*/false); in FunctionImportGlobalProcessing()
118 collectUsedGlobalVariables(M, Vec, /*CompilerUsed=*/true); in FunctionImportGlobalProcessing()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DGlobalMerge.cpp181 void collectUsedGlobalVariables(Module &M, StringRef Name);
566 void GlobalMerge::collectUsedGlobalVariables(Module &M, StringRef Name) { in collectUsedGlobalVariables() function in GlobalMerge
581 collectUsedGlobalVariables(M, "llvm.used"); in setMustKeepGlobalVariables()
582 collectUsedGlobalVariables(M, "llvm.compiler.used"); in setMustKeepGlobalVariables()
H A DTargetLoweringObjectFileImpl.cpp299 collectUsedGlobalVariables(M, Vec, false); in getModuleMetadata()
/llvm-project-15.0.7/llvm/lib/Object/
H A DIRSymtab.cpp143 collectUsedGlobalVariables(*M, UsedV, /*CompilerUsed=*/false); in addModule()
144 collectUsedGlobalVariables(*M, UsedV, /*CompilerUsed=*/true); in addModule()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DInternalize.cpp191 collectUsedGlobalVariables(M, Used, false); in internalizeModule()
H A DMergeFunctions.cpp415 collectUsedGlobalVariables(M, UsedV, /*CompilerUsed=*/false); in runOnModule()
416 collectUsedGlobalVariables(M, UsedV, /*CompilerUsed=*/true); in runOnModule()
H A DThinLTOBitcodeWriter.cpp235 collectUsedGlobalVariables(SrcM, Used, CompilerUsed); in cloneUsedGlobalVariables()
H A DGlobalOpt.cpp2173 UsedV = collectUsedGlobalVariables(M, Vec, false); in LLVMUsed()
2176 CompilerUsedV = collectUsedGlobalVariables(M, Vec, true); in LLVMUsed()
H A DLowerTypeTests.cpp362 if (GlobalVariable *GV = collectUsedGlobalVariables(M, Used, false)) in ScopedSaveAliaseesAndUsed()
364 if (GlobalVariable *GV = collectUsedGlobalVariables(M, CompilerUsed, true)) in ScopedSaveAliaseesAndUsed()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp699 collectUsedGlobalVariables(M, Used, /*CompilerUsed=*/false); in buildModuleSummaryIndex()
701 collectUsedGlobalVariables(M, Used, /*CompilerUsed=*/true); in buildModuleSummaryIndex()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DModule.h967 GlobalVariable *collectUsedGlobalVariables(const Module &M,
/llvm-project-15.0.7/llvm/lib/IR/
H A DModule.cpp798 GlobalVariable *llvm::collectUsedGlobalVariables( in collectUsedGlobalVariables() function in llvm
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp4965 GlobalVariable *Used = collectUsedGlobalVariables(M, UsedGlobals, true); in embedBitcodeInModule()