Searched refs:shouldPromote (Results 1 – 2 of 2) sorted by relevance
391 static bool shouldPromote(Value *V) { in shouldPromote() function590 if (shouldPromote(I)) { in PromoteTree()606 if (!shouldPromote(I) || SafeToPromote->count(I) || NewInsts.count(I)) in PromoteTree()915 if (!isSupportedValue(V) || !shouldPromote(V) || !isLegalToPromote(V)) in TryToPromote()939 if (!isSupportedValue(V) || (shouldPromote(V) && !isLegalToPromote(V))) { in TryToPromote()988 if (isSource(V) || shouldPromote(V)) { in TryToPromote()
6216 bool shouldPromote(const Instruction *ToBePromoted) const { in shouldPromote() function in __anon6227213d0c11::VectorPromoteHelper6368 if (!VPH.canPromote(ToBePromoted) || !VPH.shouldPromote(ToBePromoted)) in optimizeExtractElementInst()