/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 935 unsigned MaskVal = Shuffle->getMaskValue(i); in SimplifyDemandedVectorElts() local 936 if (MaskVal != -1u) { in SimplifyDemandedVectorElts() 937 assert(MaskVal < LHSVWidth * 2 && in SimplifyDemandedVectorElts() 939 if (MaskVal < LHSVWidth) in SimplifyDemandedVectorElts() 940 LeftDemanded.setBit(MaskVal); in SimplifyDemandedVectorElts() 942 RightDemanded.setBit(MaskVal - LHSVWidth); in SimplifyDemandedVectorElts() 959 unsigned MaskVal = Shuffle->getMaskValue(i); in SimplifyDemandedVectorElts() local 960 if (MaskVal == -1u) { in SimplifyDemandedVectorElts() 965 } else if (MaskVal < LHSVWidth) { in SimplifyDemandedVectorElts() 966 if (UndefElts4[MaskVal]) { in SimplifyDemandedVectorElts() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 1028 unsigned MaskVal = Shuffle->getMaskValue(i); in SimplifyDemandedVectorElts() local 1029 if (MaskVal != -1u) { in SimplifyDemandedVectorElts() 1030 assert(MaskVal < LHSVWidth * 2 && in SimplifyDemandedVectorElts() 1032 if (MaskVal < LHSVWidth) in SimplifyDemandedVectorElts() 1033 LeftDemanded.setBit(MaskVal); in SimplifyDemandedVectorElts() 1035 RightDemanded.setBit(MaskVal - LHSVWidth); in SimplifyDemandedVectorElts() 1052 unsigned MaskVal = Shuffle->getMaskValue(i); in SimplifyDemandedVectorElts() local 1053 if (MaskVal == -1u) { in SimplifyDemandedVectorElts() 1058 } else if (MaskVal < LHSVWidth) { in SimplifyDemandedVectorElts() 1059 if (UndefElts4[MaskVal]) { in SimplifyDemandedVectorElts() [all …]
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTDC.cpp | 362 Value *MaskVal = ConstantInt::get(Type::getInt64Ty(Ctx), Mask); in runOnFunction() local 363 Instruction *TDC = IRB.CreateCall(TDCFunc, {V, MaskVal}); in runOnFunction()
|
D | SystemZISelLowering.cpp | 1981 uint64_t MaskVal; in adjustForTestUnderMask() local 1989 MaskVal = Mask->getZExtValue(); in adjustForTestUnderMask() 2009 MaskVal = -(CmpVal & -CmpVal); in adjustForTestUnderMask() 2012 if (!MaskVal) in adjustForTestUnderMask() 2023 MaskVal >> ShiftVal, in adjustForTestUnderMask() 2027 MaskVal >>= ShiftVal; in adjustForTestUnderMask() 2032 MaskVal << ShiftVal, in adjustForTestUnderMask() 2036 MaskVal <<= ShiftVal; in adjustForTestUnderMask() 2038 NewCCMask = getTestUnderMaskCond(BitSize, NewC.CCMask, MaskVal, CmpVal, in adjustForTestUnderMask() 2047 if (Mask && Mask->getZExtValue() == MaskVal) in adjustForTestUnderMask() [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelDAGToDAG.cpp | 1266 uint32_t MaskVal = Mask->getZExtValue(); in SelectS_BFE() local 1268 if (isMask_32(MaskVal)) { in SelectS_BFE() 1269 uint32_t WidthVal = countPopulation(MaskVal); in SelectS_BFE() 1288 uint32_t MaskVal = Mask->getZExtValue() >> ShiftVal; in SelectS_BFE() local 1290 if (isMask_32(MaskVal)) { in SelectS_BFE() 1291 uint32_t WidthVal = countPopulation(MaskVal); in SelectS_BFE()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXISelDAGToDAG.cpp | 4884 uint64_t MaskVal = Mask->getZExtValue(); in tryBFE() local 4885 if (!isMask_64(MaskVal)) { in tryBFE() 4893 uint64_t NumBits = countTrailingOnes(MaskVal); in tryBFE() 4950 uint64_t MaskVal = MaskCnst->getZExtValue(); in tryBFE() local 4953 if (isMask_64(MaskVal)) { in tryBFE() 4957 NumBits = countTrailingOnes(MaskVal) - ShiftAmt; in tryBFE() 4958 } else if (isShiftedMask_64(MaskVal)) { in tryBFE() 4959 NumZeros = countTrailingZeros(MaskVal); in tryBFE() 4960 unsigned NumOnes = countTrailingOnes(MaskVal >> NumZeros); in tryBFE()
|
D | NVPTXISelLowering.cpp | 3998 uint64_t MaskVal = MaskCnst->getZExtValue(); in PerformANDCombine() local 3999 if (MaskVal != 0xff) { in PerformANDCombine()
|
/external/llvm/unittests/ADT/ |
D | APIntTest.cpp | 1036 APInt MaskVal = One.shl(I) - 1; in TEST() local 1037 EXPECT_TRUE(APIntOps::isMask(MaskVal)); in TEST()
|
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 765 int MaskVal = ((int)Value << ShAmt) >> ShAmt; in get_VSPLTI_elt() local 768 if (MaskVal == 0) return SDValue(); in get_VSPLTI_elt() 771 if (((MaskVal << (32-5)) >> (32-5)) == MaskVal) in get_VSPLTI_elt() 772 return DAG.getTargetConstant(MaskVal, MVT::i32); in get_VSPLTI_elt()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelDAGToDAG.cpp | 1855 SDValue MaskVal = SDValue(getInt64(CurDAG, dl, Mask), 0); in Select64() local 1858 Res, MaskVal), 0); in Select64()
|
D | PPCISelLowering.cpp | 1695 int MaskVal = SignExtend32(Value, ByteSize * 8); in get_VSPLTI_elt() local 1698 if (MaskVal == 0) return SDValue(); in get_VSPLTI_elt() 1701 if (SignExtend32<5>(MaskVal) == MaskVal) in get_VSPLTI_elt() 1702 return DAG.getTargetConstant(MaskVal, SDLoc(N), MVT::i32); in get_VSPLTI_elt()
|