forked from OSchip/llvm-project
parent
bc24962566
commit
5daf090a1a
|
@ -141,7 +141,8 @@ void InlineCostAnalyzer::FunctionInfo::analyzeFunction(Function *F) {
|
|||
// getInlineCost - The heuristic used to determine if we should inline the
|
||||
// function call or not.
|
||||
//
|
||||
int InlineCostAnalyzer::getInlineCost(CallSite CS, SmallPtrSet<const Function *, 16> &NeverInline) {
|
||||
int InlineCostAnalyzer::getInlineCost(CallSite CS,
|
||||
SmallPtrSet<const Function *, 16> &NeverInline) {
|
||||
Instruction *TheCall = CS.getInstruction();
|
||||
Function *Callee = CS.getCalledFunction();
|
||||
const Function *Caller = TheCall->getParent()->getParent();
|
||||
|
|
Loading…
Reference in New Issue