Searched refs:CalledValue (Results 1 – 4 of 4) sorted by relevance
317 Value *CalledValue = C; in getSpecializationBonus() local318 while (isa<ConstantExpr>(CalledValue) && in getSpecializationBonus()319 cast<ConstantExpr>(CalledValue)->isCast()) in getSpecializationBonus()320 CalledValue = cast<User>(CalledValue)->getOperand(0); in getSpecializationBonus()321 Function *CalledFunction = dyn_cast<Function>(CalledValue); in getSpecializationBonus()
315 auto *CalledValue = CB->getCalledOperand(); in computeFunctionSummary() local317 if (CalledValue && !CalledFunction) { in computeFunctionSummary()318 CalledValue = CalledValue->stripPointerCasts(); in computeFunctionSummary()320 CalledFunction = dyn_cast<Function>(CalledValue); in computeFunctionSummary()324 if (auto *GA = dyn_cast<GlobalAlias>(CalledValue)) { in computeFunctionSummary()350 cast<GlobalValue>(CalledValue))]; in computeFunctionSummary()364 if (!CalledValue || isa<Constant>(CalledValue)) in computeFunctionSummary()
57 auto CalledValue = Call->getCalledOperand()->stripPointerCasts(); in findCalles() local58 if (auto DirectCall = dyn_cast<Function>(CalledValue)) in findCalles()
1444 auto *CalledValue = CB->getCalledOperand(); in simplifySuspendPoint() local1448 if (CalledValue != SubFn && CalledValue->user_empty()) in simplifySuspendPoint()1449 if (auto *I = dyn_cast<Instruction>(CalledValue)) in simplifySuspendPoint()