Searched refs:DemandedElts (Results 1 – 6 of 6) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 790 APInt DemandedElts = DemandedMask.zextOrTrunc(ArgWidth); in SimplifyDemandedUseBits() local 791 if (DemandedElts == 0) in SimplifyDemandedUseBits() 906 Value *InstCombiner::SimplifyDemandedVectorElts(Value *V, APInt DemandedElts, in SimplifyDemandedVectorElts() argument 911 assert((DemandedElts & ~EltMask) == 0 && "Invalid DemandedElts!"); in SimplifyDemandedVectorElts() 919 if (DemandedElts == 0) { // If nothing is demanded, provide undef. in SimplifyDemandedVectorElts() 930 if (DemandedElts.isAllOnesValue()) in SimplifyDemandedVectorElts() 938 if (!DemandedElts[i]) { // If not demanded, set to undef. in SimplifyDemandedVectorElts() 976 DemandedElts = EltMask; in SimplifyDemandedVectorElts() 995 TmpV = SimplifyDemandedVectorElts(I->getOperand(0), DemandedElts, in SimplifyDemandedVectorElts() 1004 if (IdxNo >= VWidth || !DemandedElts[IdxNo]) { in SimplifyDemandedVectorElts() [all …]
|
D | InstCombineInternal.h | 536 Value *SimplifyDemandedVectorElts(Value *V, APInt DemandedElts,
|
D | InstCombineCalls.cpp | 1323 APInt DemandedElts = APInt::getLowBitsSet(Width, DemandedWidth); in visitCallInst() local 1324 return SimplifyDemandedVectorElts(Op, DemandedElts, UndefElts); in visitCallInst() 1329 APInt DemandedElts = APInt::getHighBitsSet(Width, DemandedWidth); in visitCallInst() local 1330 return SimplifyDemandedVectorElts(Op, DemandedElts, UndefElts); in visitCallInst()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 806 Value *InstCombiner::SimplifyDemandedVectorElts(Value *V, APInt DemandedElts, in SimplifyDemandedVectorElts() argument 811 assert((DemandedElts & ~EltMask) == 0 && "Invalid DemandedElts!"); in SimplifyDemandedVectorElts() 819 if (DemandedElts == 0) { // If nothing is demanded, provide undef. in SimplifyDemandedVectorElts() 831 if (!DemandedElts[i]) { // If not demanded, set to undef. in SimplifyDemandedVectorElts() 852 if (DemandedElts.isAllOnesValue()) in SimplifyDemandedVectorElts() 860 Constant *Elt = DemandedElts[i] ? Zero : Undef; in SimplifyDemandedVectorElts() 863 UndefElts = DemandedElts ^ EltMask; in SimplifyDemandedVectorElts() 883 DemandedElts = EltMask; in SimplifyDemandedVectorElts() 902 TmpV = SimplifyDemandedVectorElts(I->getOperand(0), DemandedElts, in SimplifyDemandedVectorElts() 911 if (IdxNo >= VWidth || !DemandedElts[IdxNo]) { in SimplifyDemandedVectorElts() [all …]
|
D | InstCombine.h | 330 Value *SimplifyDemandedVectorElts(Value *V, APInt DemandedElts,
|
D | InstCombineCalls.cpp | 590 APInt DemandedElts(VWidth, 1); in visitCallInst() local 593 DemandedElts, UndefElts)) { in visitCallInst()
|