Searched refs:isLegalToPromote (Results 1 – 6 of 6) sorted by relevance
29 bool isLegalToPromote(CallSite CS, Function *Callee,
39 if (Callee && isLegalToPromote(CS, Callee)) { in visitCallSite()
152 bool isLegalToPromote(Value *V);867 bool ARMCodeGenPrepare::isLegalToPromote(Value *V) { in isLegalToPromote() function in ARMCodeGenPrepare915 if (!isSupportedValue(V) || !shouldPromote(V) || !isLegalToPromote(V)) in TryToPromote()939 if (!isSupportedValue(V) || (shouldPromote(V) && !isLegalToPromote(V))) { in TryToPromote()
320 bool llvm::isLegalToPromote(CallSite CS, Function *Callee, in isLegalToPromote() function in llvm
279 if (!isLegalToPromote(CallSite(Inst), TargetFunction, &Reason)) { in getPromotionCandidatesForCallSite()
831 isLegalToPromote(CallSite(I), R->getValue(), &Reason)) { in inlineHotFunctions()