Searched refs:shouldPromote (Results 1 – 2 of 2) sorted by relevance
160 bool shouldPromote(Value *V);382 bool TypePromotionImpl::shouldPromote(Value *V) { in shouldPromote() function in TypePromotionImpl781 if (!isSupportedValue(V) || !shouldPromote(V) || !isLegalToPromote(V)) in TryToPromote()805 if (!isSupportedValue(V) || (shouldPromote(V) && !isLegalToPromote(V))) { in TryToPromote()853 if (isSource(V) || shouldPromote(V)) { in TryToPromote()
7495 bool shouldPromote(const Instruction *ToBePromoted) const { in shouldPromote() function in __anon88ab83af1711::VectorPromoteHelper7647 if (!VPH.canPromote(ToBePromoted) || !VPH.shouldPromote(ToBePromoted)) in optimizeExtractElementInst()