/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 1289 unsigned MaskVal = Shuffle->getMaskValue(i); in SimplifyDemandedVectorElts() local 1290 if (MaskVal != -1u) { in SimplifyDemandedVectorElts() 1291 assert(MaskVal < OpWidth * 2 && in SimplifyDemandedVectorElts() 1293 if (MaskVal < OpWidth) in SimplifyDemandedVectorElts() 1294 LeftDemanded.setBit(MaskVal); in SimplifyDemandedVectorElts() 1296 RightDemanded.setBit(MaskVal - OpWidth); in SimplifyDemandedVectorElts() 1321 unsigned MaskVal = Shuffle->getMaskValue(i); in SimplifyDemandedVectorElts() local 1322 if (DemandedElts[i] && i != MaskVal) { in SimplifyDemandedVectorElts() 1337 unsigned MaskVal = Shuffle->getMaskValue(i); in SimplifyDemandedVectorElts() local 1338 if (MaskVal == -1u) { in SimplifyDemandedVectorElts() [all …]
|
D | InstCombineVectorOps.cpp | 279 unsigned MaskVal = Shuffle->getMaskValue(i); in findDemandedEltsBySingleUser() local 280 if (MaskVal == -1u || MaskVal >= 2 * VWidth) in findDemandedEltsBySingleUser() 282 if (Shuffle->getOperand(0) == V && (MaskVal < VWidth)) in findDemandedEltsBySingleUser() 283 UsedElts.setBit(MaskVal); in findDemandedEltsBySingleUser() 285 ((MaskVal >= VWidth) && (MaskVal < 2 * VWidth))) in findDemandedEltsBySingleUser() 286 UsedElts.setBit(MaskVal - VWidth); in findDemandedEltsBySingleUser()
|
D | InstCombineAndOrXor.cpp | 238 unsigned MaskVal = 0; in getMaskedICmpType() local 241 MaskVal |= (IsEq ? (Mask_AllZeros | AMask_Mixed | BMask_Mixed) in getMaskedICmpType() 244 MaskVal |= (IsEq ? (AMask_NotAllOnes | AMask_NotMixed) in getMaskedICmpType() 247 MaskVal |= (IsEq ? (BMask_NotAllOnes | BMask_NotMixed) in getMaskedICmpType() 249 return MaskVal; in getMaskedICmpType() 253 MaskVal |= (IsEq ? (AMask_AllOnes | AMask_Mixed) in getMaskedICmpType() 256 MaskVal |= (IsEq ? (Mask_NotAllZeros | AMask_NotMixed) in getMaskedICmpType() 259 MaskVal |= (IsEq ? AMask_Mixed : AMask_NotMixed); in getMaskedICmpType() 263 MaskVal |= (IsEq ? (BMask_AllOnes | BMask_Mixed) in getMaskedICmpType() 266 MaskVal |= (IsEq ? (Mask_NotAllZeros | BMask_NotMixed) in getMaskedICmpType() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/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 | 2387 uint64_t MaskVal; in adjustForTestUnderMask() local 2395 MaskVal = Mask->getZExtValue(); in adjustForTestUnderMask() 2415 MaskVal = -(CmpVal & -CmpVal); in adjustForTestUnderMask() 2418 if (!MaskVal) in adjustForTestUnderMask() 2428 (MaskVal >> ShiftVal != 0) && in adjustForTestUnderMask() 2431 MaskVal >> ShiftVal, in adjustForTestUnderMask() 2435 MaskVal >>= ShiftVal; in adjustForTestUnderMask() 2439 (MaskVal << ShiftVal != 0) && in adjustForTestUnderMask() 2442 MaskVal << ShiftVal, in adjustForTestUnderMask() 2446 MaskVal <<= ShiftVal; in adjustForTestUnderMask() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXISelDAGToDAG.cpp | 3400 uint64_t MaskVal = Mask->getZExtValue(); in tryBFE() local 3401 if (!isMask_64(MaskVal)) { in tryBFE() 3409 uint64_t NumBits = countTrailingOnes(MaskVal); in tryBFE() 3466 uint64_t MaskVal = MaskCnst->getZExtValue(); in tryBFE() local 3469 if (isMask_64(MaskVal)) { in tryBFE() 3473 NumBits = countTrailingOnes(MaskVal) - ShiftAmt; in tryBFE() 3474 } else if (isShiftedMask_64(MaskVal)) { in tryBFE() 3475 NumZeros = countTrailingZeros(MaskVal); in tryBFE() 3476 unsigned NumOnes = countTrailingOnes(MaskVal >> NumZeros); in tryBFE()
|
D | NVPTXISelLowering.cpp | 4498 uint64_t MaskVal = MaskCnst->getZExtValue(); in PerformANDCombine() local 4499 if (MaskVal != 0xff) { in PerformANDCombine()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/AsmParser/ |
D | SparcAsmParser.cpp | 772 unsigned MaskVal = StringSwitch<unsigned>(Parser.getTok().getString()) in parseMembarTag() local 784 if (!MaskVal) { in parseMembarTag() 789 ImmVal |= MaskVal; in parseMembarTag()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LowerMatrixIntrinsics.cpp | 654 Value *MaskVal = ConstantVector::get(Mask); in insertVector() local 656 return Builder.CreateShuffleVector(Col, Block, MaskVal); in insertVector()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelDAGToDAG.cpp | 1965 uint32_t MaskVal = Mask->getZExtValue(); in SelectS_BFE() local 1967 if (isMask_32(MaskVal)) { in SelectS_BFE() 1968 uint32_t WidthVal = countPopulation(MaskVal); in SelectS_BFE() 1987 uint32_t MaskVal = Mask->getZExtValue() >> ShiftVal; in SelectS_BFE() local 1989 if (isMask_32(MaskVal)) { in SelectS_BFE() 1990 uint32_t WidthVal = countPopulation(MaskVal); in SelectS_BFE()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 3968 APInt MaskVal = And1C->getAPIntValue(); in shrinkAndImmediate() local 3969 unsigned MaskLZ = MaskVal.countLeadingZeros(); in shrinkAndImmediate() 3976 MaskVal = MaskVal.trunc(32); in shrinkAndImmediate() 3980 APInt HighZeros = APInt::getHighBitsSet(MaskVal.getBitWidth(), MaskLZ); in shrinkAndImmediate() 3981 APInt NegMaskVal = MaskVal | HighZeros; in shrinkAndImmediate() 3986 if (MinWidth > 32 || (MinWidth > 8 && MaskVal.getMinSignedBits() <= 32)) in shrinkAndImmediate() 3990 if (VT == MVT::i64 && MaskVal.getBitWidth() < 64) { in shrinkAndImmediate()
|
D | X86ISelLowering.cpp | 39481 APInt MaskVal = AndC->getAPIntValue(); in combineShiftRightLogical() local 39484 if (MaskVal.isMask()) { in combineShiftRightLogical() 39485 unsigned TO = MaskVal.countTrailingOnes(); in combineShiftRightLogical() 39490 APInt NewMaskVal = MaskVal.lshr(ShiftC->getAPIntValue()); in combineShiftRightLogical() 39491 unsigned OldMaskSize = MaskVal.getMinSignedBits(); in combineShiftRightLogical()
|
/third_party/gstreamer/gstplugins_bad/sys/d3d11/ |
D | gstd3d11screencapture.cpp | 1432 UINT MaskVal = 0xFF000000 & Buffer32[(Col + SkipX) + ((Row + SkipY) * in ProcessMonoMask() local 1434 if (MaskVal) { in ProcessMonoMask()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyISelLowering.cpp | 1540 uint64_t MaskVal = LaneT.getSizeInBits() - 1; in unrollVectorShift() local 1545 DAG.getConstant(MaskVal, DL, ShiftVal.getValueType()) // mask operand in unrollVectorShift()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 4372 int MaskVal, Value *RootVec, in foldIdentityShuffles() argument 4379 if (MaskVal == -1) in foldIdentityShuffles() 4384 int RootElt = MaskVal; in foldIdentityShuffles() 4386 if (MaskVal >= InVecNumElts) { in foldIdentityShuffles() 4387 RootElt = MaskVal - InVecNumElts; in foldIdentityShuffles()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 1882 unsigned MaskVal[16]; // Width is never greater than 16 in isNByteElemShuffleMask() local 1884 MaskVal[0] = N->getMaskElt(i * Width); in isNByteElemShuffleMask() 1885 if ((StepLen == 1) && (MaskVal[0] % Width)) { in isNByteElemShuffleMask() 1887 } else if ((StepLen == -1) && ((MaskVal[0] + 1) % Width)) { in isNByteElemShuffleMask() 1892 MaskVal[j] = N->getMaskElt(i * Width + j); in isNByteElemShuffleMask() 1893 if (MaskVal[j] != MaskVal[j-1] + StepLen) { in isNByteElemShuffleMask() 2235 int MaskVal = SignExtend32(Value, ByteSize * 8); in get_VSPLTI_elt() local 2238 if (MaskVal == 0) return SDValue(); in get_VSPLTI_elt() 2241 if (SignExtend32<5>(MaskVal) == MaskVal) in get_VSPLTI_elt() 2242 return DAG.getTargetConstant(MaskVal, SDLoc(N), MVT::i32); in get_VSPLTI_elt() [all …]
|
D | PPCISelDAGToDAG.cpp | 2365 SDValue MaskVal = SDValue(selectI64Imm(CurDAG, dl, Mask), 0); in Select64() local 2368 ExtendToInt64(Res, dl), MaskVal), 0); in Select64()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | LegalizerHelper.cpp | 4344 APInt MaskVal = ~APInt::getBitsSet(DstTy.getSizeInBits(), Offset, in lowerInsert() local 4347 auto Mask = MIRBuilder.buildConstant(IntDstTy, MaskVal); in lowerInsert()
|