Home
last modified time | relevance | path

Searched refs:MaskBits (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ShuffleDecodeConstantPool.cpp80 APInt MaskBits(CstSizeInBits, 0); in extractConstantMask() local
93 MaskBits.insertBits(cast<ConstantInt>(COp)->getValue(), BitOffset); in extractConstantMask()
109 APInt EltBits = MaskBits.extractBits(MaskEltSizeInBits, BitOffset); in extractConstantMask()
H A DX86ISelLowering.cpp3562 unsigned MaskBits = in preferedOpcodeForCmpEqPiecesOfOperand() local
3564 PreferRotate = (MaskBits != 8) && (MaskBits != 16) && (MaskBits != 32); in preferedOpcodeForCmpEqPiecesOfOperand()
5027 APInt MaskBits(SizeInBits, 0); in getTargetConstantBitsFromNode() local
5033 MaskBits.insertBits(SrcEltBits[i], BitOffset); in getTargetConstantBitsFromNode()
5057 EltBits[i] = MaskBits.extractBits(EltSizeInBits, BitOffset); in getTargetConstantBitsFromNode()
23048 auto MaskBits = [&](SDValue Src) { in LowerVectorAllEqual() local
23062 auto SplitLHS = DAG.SplitScalar(DAG.getBitcast(IntVT, MaskBits(LHS)), DL, in LowerVectorAllEqual()
23064 auto SplitRHS = DAG.SplitScalar(DAG.getBitcast(IntVT, MaskBits(RHS)), DL, in LowerVectorAllEqual()
23075 DAG.getBitcast(IntVT, MaskBits(LHS)), in LowerVectorAllEqual()
23076 DAG.getBitcast(IntVT, MaskBits(RHS))); in LowerVectorAllEqual()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp692 int MaskBits; in replaceFloatIVWithIntegerIV() local
694 MaskBits = (int)SE->getSignedRange(IV).getMinSignedBits(); in replaceFloatIVWithIntegerIV()
696 MaskBits = (int)SE->getUnsignedRange(IV).getActiveBits(); in replaceFloatIVWithIntegerIV()
698 if (MaskBits <= DestNumSigBits) { in replaceFloatIVWithIntegerIV()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerLowering.cpp88 unsigned MaskBits = APInt(32, NumElts * 2).logBase2(); in getExtMask() local
89 APInt ExpectedElt = APInt(MaskBits, *FirstRealElt + 1, false, true); in getExtMask()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp521 unsigned MaskBits = ST->getWavefrontSizeLog2(); in simplifyDemandedLaneMaskArg() local
522 APInt DemandedMask(32, maskTrailingOnes<unsigned>(MaskBits)); in simplifyDemandedLaneMaskArg()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp2811 auto SkipImpliedMask = [](SDValue MaskOp, uint64_t MaskBits) { in LowerShift() argument
2822 MaskVal == MaskBits) in LowerShift()
2829 if (ConstantRHS && ConstantRHS->getAPIntValue() == MaskBits) in LowerShift()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp1902 Value *MaskBits = in VisitShuffleVectorExpr() local
1904 Mask = Builder.CreateAnd(Mask, MaskBits, "mask"); in VisitShuffleVectorExpr()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp13374 unsigned MaskBits = APInt(32, NumElts * 2).logBase2(); in isEXTMask() local
13375 APInt ExpectedElt = APInt(MaskBits, *FirstRealElt + 1, /*isSigned=*/false, in isEXTMask()
24723 unsigned MaskBits = 0; in performCONDCombine() local
24735 MaskBits = 8; in performCONDCombine()
24737 MaskBits = 16; in performCONDCombine()
24740 if (!MaskBits) in performCONDCombine()
24763 if (!checkValueWidth(SubsInputValue, MaskBits, ExtType) || in performCONDCombine()
24764 !checkValueWidth(AddInputValue2, MaskBits, ExtType) || in performCONDCombine()
24765 !checkValueWidth(AddInputValue1, MaskBits, ExtType) ) in performCONDCombine()
24768 if(!isEquivalentMaskless(CC, MaskBits, ExtType, in performCONDCombine()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h2435 enum { MaskBits = 2, Mask = 0x03 }; enumerator