Searched refs:shouldPromote (Results 1 – 2 of 2) sorted by relevance
167 bool shouldPromote(Value *V);390 bool TypePromotion::shouldPromote(Value *V) { in shouldPromote() function in TypePromotion817 if (!isSupportedValue(V) || !shouldPromote(V) || !isLegalToPromote(V)) in TryToPromote()841 if (!isSupportedValue(V) || (shouldPromote(V) && !isLegalToPromote(V))) { in TryToPromote()889 if (isSource(V) || shouldPromote(V)) { in TryToPromote()
7231 bool shouldPromote(const Instruction *ToBePromoted) const { in shouldPromote() function in __anon7f6d13e31711::VectorPromoteHelper7383 if (!VPH.canPromote(ToBePromoted) || !VPH.shouldPromote(ToBePromoted)) in optimizeExtractElementInst()