Searched refs:shouldPromote (Results 1 – 2 of 2) sorted by relevance
164 bool shouldPromote(Value *V);387 bool TypePromotion::shouldPromote(Value *V) { in shouldPromote() function in TypePromotion814 if (!isSupportedValue(V) || !shouldPromote(V) || !isLegalToPromote(V)) in TryToPromote()838 if (!isSupportedValue(V) || (shouldPromote(V) && !isLegalToPromote(V))) { in TryToPromote()886 if (isSource(V) || shouldPromote(V)) { in TryToPromote()
7261 bool shouldPromote(const Instruction *ToBePromoted) const { in shouldPromote() function in __anon5386100c1711::VectorPromoteHelper7413 if (!VPH.canPromote(ToBePromoted) || !VPH.shouldPromote(ToBePromoted)) in optimizeExtractElementInst()