Home
last modified time | relevance | path

Searched refs:FunctionToInstrCount (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DLegacyPassManager.cpp144 Module &M, StringMap<std::pair<unsigned, unsigned>> &FunctionToInstrCount) { in initSizeRemarkInfo() argument
158 FunctionToInstrCount[F.getName().str()] = in initSizeRemarkInfo()
167 StringMap<std::pair<unsigned, unsigned>> &FunctionToInstrCount, in emitInstrCountChangedRemark() argument
181 [&FunctionToInstrCount](Function &MaybeChangedFn) { in emitInstrCountChangedRemark()
184 auto It = FunctionToInstrCount.find(MaybeChangedFn.getName()); in emitInstrCountChangedRemark()
188 if (It == FunctionToInstrCount.end()) { in emitInstrCountChangedRemark()
189 FunctionToInstrCount[MaybeChangedFn.getName()] = in emitInstrCountChangedRemark()
241 auto EmitFunctionSizeChangedRemark = [&FunctionToInstrCount, &F, &BB, in emitInstrCountChangedRemark()
244 std::pair<unsigned, unsigned> &Change = FunctionToInstrCount[Fname]; in emitInstrCountChangedRemark()
280 std::for_each(FunctionToInstrCount.keys().begin(), in emitInstrCountChangedRemark()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineOutliner.cpp929 StringMap<unsigned> &FunctionToInstrCount);
935 const StringMap<unsigned> &FunctionToInstrCount);
1352 StringMap<unsigned> &FunctionToInstrCount) { in initSizeRemarkInfo() argument
1362 FunctionToInstrCount[F.getName().str()] = MF->getInstructionCount(); in initSizeRemarkInfo()
1368 const StringMap<unsigned> &FunctionToInstrCount) { in emitInstrCountChangedRemark() argument
1385 auto It = FunctionToInstrCount.find(Fname); in emitInstrCountChangedRemark()
1389 if (It != FunctionToInstrCount.end()) in emitInstrCountChangedRemark()
1471 StringMap<unsigned> FunctionToInstrCount; in doOutline() local
1473 initSizeRemarkInfo(M, MMI, FunctionToInstrCount); in doOutline()
1483 emitInstrCountChangedRemark(M, MMI, FunctionToInstrCount); in doOutline()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopPass.cpp199 StringMap<std::pair<unsigned, unsigned>> FunctionToInstrCount; in runOnFunction() local
203 InstrCount = initSizeRemarkInfo(M, FunctionToInstrCount); in runOnFunction()
236 FunctionToInstrCount, &F); in runOnFunction()
DCallGraphSCCPass.cpp134 StringMap<std::pair<unsigned, unsigned>> FunctionToInstrCount; in RunPassOnSCC() local
138 InstrCount = initSizeRemarkInfo(M, FunctionToInstrCount); in RunPassOnSCC()
150 FunctionToInstrCount); in RunPassOnSCC()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DLegacyPassManagers.h405 StringMap<std::pair<unsigned, unsigned>> &FunctionToInstrCount);
418 StringMap<std::pair<unsigned, unsigned>> &FunctionToInstrCount,