/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 691 APInt DemandedElts = DemandedMask.zextOrTrunc(ArgWidth); in SimplifyDemandedUseBits() local 692 if (DemandedElts.isNullValue()) in SimplifyDemandedUseBits() 925 APInt DemandedElts, in simplifyAMDGCNMemoryIntrinsicDemanded() argument 936 DemandedElts = (1 << DemandedElts.getActiveBits()) - 1; in simplifyAMDGCNMemoryIntrinsicDemanded() 945 DemandedElts &= (1 << countPopulation(DMaskVal)) - 1; in simplifyAMDGCNMemoryIntrinsicDemanded() 952 if (!!DemandedElts[OrigLoadIdx]) in simplifyAMDGCNMemoryIntrinsicDemanded() 963 unsigned NewNumElts = PowerOf2Ceil(DemandedElts.countPopulation()); in simplifyAMDGCNMemoryIntrinsicDemanded() 967 if (NewNumElts >= VWidth && DemandedElts.isMask()) { in simplifyAMDGCNMemoryIntrinsicDemanded() 1009 DemandedElts.countTrailingZeros()); in simplifyAMDGCNMemoryIntrinsicDemanded() 1015 if (!!DemandedElts[OrigLoadIdx]) in simplifyAMDGCNMemoryIntrinsicDemanded() [all …]
|
D | InstCombineInternal.h | 765 APInt DemandedElts, 768 Value *SimplifyDemandedVectorElts(Value *V, APInt DemandedElts,
|
/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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 2162 const APInt &DemandedElts) { in isConstOrDemandedConstSplat() argument 2170 assert(DemandedElts.getBitWidth() == NumElts && "Unexpected vector size"); in isConstOrDemandedConstSplat() 2172 if (!DemandedElts[i]) in isConstOrDemandedConstSplat() 2201 APInt DemandedElts = VT.isVector() in computeKnownBits() local 2204 computeKnownBits(Op, Known, DemandedElts, Depth); in computeKnownBits() 2211 const APInt &DemandedElts, in computeKnownBits() argument 2234 unsigned NumElts = DemandedElts.getBitWidth(); in computeKnownBits() 2236 if (!DemandedElts) in computeKnownBits() 2247 if (!DemandedElts[i]) in computeKnownBits() 2277 if (!DemandedElts[i]) in computeKnownBits() [all …]
|
D | TargetLowering.cpp | 1284 const APInt &DemandedElts, in SimplifyDemandedVectorElts() argument 1293 SimplifyDemandedVectorElts(Op, DemandedElts, KnownUndef, KnownZero, TLO); in SimplifyDemandedVectorElts() 1304 APInt DemandedElts = DemandedEltMask; in SimplifyDemandedVectorElts() local 1305 unsigned NumElts = DemandedElts.getBitWidth(); in SimplifyDemandedVectorElts() 1320 DemandedElts.setAllBits(); in SimplifyDemandedVectorElts() 1323 if (DemandedElts == 0) { in SimplifyDemandedVectorElts() 1337 if (!DemandedElts[0]) { in SimplifyDemandedVectorElts() 1356 return SimplifyDemandedVectorElts(Src, DemandedElts, KnownUndef, in SimplifyDemandedVectorElts() 1367 if (DemandedElts[i]) in SimplifyDemandedVectorElts() 1392 if (DemandedElts[i]) in SimplifyDemandedVectorElts() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/ |
D | extract-subvector-equal-length.ll | 5 ; with DemandedElts already as wide as the source vector.
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/ |
D | LanaiISelLowering.h | 109 const APInt &DemandedElts,
|
D | LanaiISelLowering.cpp | 1489 const SDValue Op, KnownBits &Known, const APInt &DemandedElts, in computeKnownBitsForTargetNode() argument
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.h | 241 const APInt &DemandedElts, 245 unsigned ComputeNumSignBitsForTargetNode(SDValue Op, const APInt &DemandedElts,
|
D | SIISelLowering.h | 320 const APInt &DemandedElts,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.h | 511 const APInt &DemandedElts, 517 const APInt &DemandedElts,
|
D | SystemZISelLowering.cpp | 5691 static APInt getDemandedSrcElements(SDValue Op, const APInt &DemandedElts, in getDemandedSrcElements() argument 5713 SrcDemE = DemandedElts; in getDemandedSrcElements() 5726 SrcDemE.insertBits(DemandedElts, 0); in getDemandedSrcElements() 5735 SrcDemE.insertBits(DemandedElts, NumElts); in getDemandedSrcElements() 5740 if (!DemandedElts[OpNo - 1]) in getDemandedSrcElements() 5756 APInt DemEls = DemandedElts.trunc(NumSrc0Els); in getDemandedSrcElements() 5759 APInt DemEls = DemandedElts.lshr(NumSrc0Els); in getDemandedSrcElements() 5778 SrcDemE = DemandedElts; in getDemandedSrcElements() 5789 const APInt &DemandedElts, in computeKnownBitsBinOp() argument 5792 APInt Src0DemE = getDemandedSrcElements(Op, DemandedElts, OpNo); in computeKnownBitsBinOp() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.h | 205 const APInt &DemandedElts,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/ |
D | SparcISelLowering.h | 70 const APInt &DemandedElts,
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | TargetLowering.h | 2830 bool SimplifyDemandedVectorElts(SDValue Op, const APInt &DemandedElts, 2840 const APInt &DemandedElts, 2849 const APInt &DemandedElts, 2858 const APInt &DemandedElts, 2868 SDValue Op, const APInt &DemandedElts, APInt &KnownUndef,
|
D | SelectionDAG.h | 1439 void computeKnownBits(SDValue Op, KnownBits &Known, const APInt &DemandedElts, 1477 unsigned ComputeNumSignBits(SDValue Op, const APInt &DemandedElts,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.h | 859 const APInt &DemandedElts, 865 const APInt &DemandedElts,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.h | 254 const APInt &DemandedElts,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.h | 388 const APInt &DemandedElts,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.h | 675 const APInt &DemandedElts,
|