Searched refs:isLegalToPromote (Results 1 – 5 of 5) sorted by relevance
31 bool isLegalToPromote(const CallBase &CB, Function *Callee,
171 bool isLegalToPromote(Value *V);759 bool TypePromotionImpl::isLegalToPromote(Value *V) { in isLegalToPromote() function in TypePromotionImpl781 if (!isSupportedValue(V) || !shouldPromote(V) || !isLegalToPromote(V)) in TryToPromote()805 if (!isSupportedValue(V) || (shouldPromote(V) && !isLegalToPromote(V))) { in TryToPromote()
382 bool llvm::isLegalToPromote(const CallBase &CB, Function *Callee, in isLegalToPromote() function in llvm612 if (!isLegalToPromote(CB, DirectCallee)) in tryPromoteCall()
226 if (!isLegalToPromote(CB, TargetFunction, &Reason)) { in getPromotionCandidatesForCallSite()
959 R->getValue() != &F && isLegalToPromote(CI, R->getValue(), &Reason)) { in tryPromoteAndInlineCandidate()