Searched refs:shouldPromote (Results 1 – 2 of 2) sorted by relevance
160 bool shouldPromote(Value *V);380 bool TypePromotionImpl::shouldPromote(Value *V) { in shouldPromote() function in TypePromotionImpl782 if (!isSupportedValue(V) || !shouldPromote(V) || !isLegalToPromote(V)) in TryToPromote()806 if (!isSupportedValue(V) || (shouldPromote(V) && !isLegalToPromote(V))) { in TryToPromote()854 if (isSource(V) || shouldPromote(V)) { in TryToPromote()
7657 bool shouldPromote(const Instruction *ToBePromoted) const { in shouldPromote() function in __anon01de4a8e1811::VectorPromoteHelper7809 if (!VPH.canPromote(ToBePromoted) || !VPH.shouldPromote(ToBePromoted)) in optimizeExtractElementInst()