Home
last modified time | relevance | path

Searched refs:shouldPromote (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTypePromotion.cpp157 bool shouldPromote(Value *V);
371 bool TypePromotion::shouldPromote(Value *V) { in shouldPromote() function in TypePromotion
765 if (!isSupportedValue(V) || !shouldPromote(V) || !isLegalToPromote(V)) in TryToPromote()
789 if (!isSupportedValue(V) || (shouldPromote(V) && !isLegalToPromote(V))) { in TryToPromote()
837 if (isSource(V) || shouldPromote(V)) { in TryToPromote()
H A DCodeGenPrepare.cpp7368 bool shouldPromote(const Instruction *ToBePromoted) const { in shouldPromote() function in __anon78e22a881711::VectorPromoteHelper
7520 if (!VPH.canPromote(ToBePromoted) || !VPH.shouldPromote(ToBePromoted)) in optimizeExtractElementInst()