Home
last modified time | relevance | path

Searched refs:CalleeFI (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Analysis/
DInlineCost.cpp282 FunctionInfo *CalleeFI = &CachedFunctionInfo[Callee]; in getSpecializationBonus() local
285 if (CalleeFI->Metrics.NumBlocks == 0) in getSpecializationBonus()
286 CalleeFI->analyzeFunction(Callee, TD); in getSpecializationBonus()
299 Bonus -= CalleeFI->Metrics.NumCalls * InlineConstants::CallPenalty; in getSpecializationBonus()
372 FunctionInfo *CalleeFI = &CachedFunctionInfo[Callee]; in getInlineSize() local
375 if (CalleeFI->Metrics.NumBlocks == 0) in getInlineSize()
376 CalleeFI->analyzeFunction(Callee, TD); in getInlineSize()
397 InlineCost -= CalleeFI->ArgumentWeights[ArgNo].AllocaWeight; in getInlineSize()
403 InlineCost -= CalleeFI->ArgumentWeights[ArgNo].ConstantWeight; in getInlineSize()
415 InlineCost += CalleeFI->Metrics.NumCalls * InlineConstants::CallPenalty; in getInlineSize()
[all …]
/external/llvm/lib/Analysis/
DGlobalsModRef.cpp517 if (FunctionInfo *CalleeFI = getFunctionInfo(Callee)) { in AnalyzeCallGraph() local
519 FI.addFunctionInfo(*CalleeFI); in AnalyzeCallGraph()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DGlobalsModRef.cpp539 if (FunctionInfo *CalleeFI = getFunctionInfo(Callee)) { in AnalyzeCallGraph() local
541 FI.addFunctionInfo(*CalleeFI); in AnalyzeCallGraph()