Home
last modified time | relevance | path

Searched refs:DemandedElts (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp876 Value *InstCombiner::SimplifyDemandedVectorElts(Value *V, APInt DemandedElts, in SimplifyDemandedVectorElts() argument
881 assert((DemandedElts & ~EltMask) == 0 && "Invalid DemandedElts!"); in SimplifyDemandedVectorElts()
889 if (DemandedElts == 0) { // If nothing is demanded, provide undef. in SimplifyDemandedVectorElts()
900 if (DemandedElts.isAllOnesValue()) in SimplifyDemandedVectorElts()
908 if (!DemandedElts[i]) { // If not demanded, set to undef. in SimplifyDemandedVectorElts()
946 DemandedElts = EltMask; in SimplifyDemandedVectorElts()
965 TmpV = SimplifyDemandedVectorElts(I->getOperand(0), DemandedElts, in SimplifyDemandedVectorElts()
974 if (IdxNo >= VWidth || !DemandedElts[IdxNo]) { in SimplifyDemandedVectorElts()
981 APInt DemandedElts2 = DemandedElts; in SimplifyDemandedVectorElts()
997 if (DemandedElts[i]) { in SimplifyDemandedVectorElts()
[all …]
DInstCombineInternal.h530 Value *SimplifyDemandedVectorElts(Value *V, APInt DemandedElts,
DInstCombineCalls.cpp760 APInt DemandedElts = APInt::getLowBitsSet(Width, DemandedWidth); in visitCallInst() local
761 return SimplifyDemandedVectorElts(Op, DemandedElts, UndefElts); in visitCallInst()