Home
last modified time | relevance | path

Searched refs:getHighBitsSet (Results 1 – 25 of 27) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDemandedBits.cpp137 AB = APInt::getHighBitsSet(BitWidth, in determineLiveOperandBits()
194 AB |= APInt::getHighBitsSet(BitWidth, ShiftAmt+1); in determineLiveOperandBits()
196 AB |= APInt::getHighBitsSet(BitWidth, ShiftAmt); in determineLiveOperandBits()
223 if ((AOut & APInt::getHighBitsSet(BitWidth, ShiftAmt)) in determineLiveOperandBits()
275 if ((AOut & APInt::getHighBitsSet(AOut.getBitWidth(), in determineLiveOperandBits()
DValueTracking.cpp460 APInt Mask = APInt::getHighBitsSet(BitWidth, CommonPrefixBits); in computeKnownBitsFromRangeMetadata()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp500 APInt::getHighBitsSet(OrigBitWidth, OrigBitWidth-BitWidth)) && in canEvaluateShifted()
589 : APInt::getHighBitsSet(TypeWidth, TypeWidth - OuterShAmt); in foldShiftedShift()
781 APInt Bits = APInt::getHighBitsSet(TypeBits, TypeBits - Op1Val); in FoldShiftByConstant()
816 APInt Bits = APInt::getHighBitsSet(TypeBits, TypeBits - Op1Val); in FoldShiftByConstant()
955 MaskedValueIsZero(X, APInt::getHighBitsSet(SrcWidth, ShAmt), 0, &I)) in visitShl()
961 APInt Mask(APInt::getHighBitsSet(BitWidth, BitWidth - ShAmt)); in visitShl()
998 MaskedValueIsZero(Op0, APInt::getHighBitsSet(BitWidth, ShAmt), 0, &I)) { in visitShl()
DInstCombineSimplifyDemanded.cpp589 APInt HighBits(APInt::getHighBitsSet( in SimplifyDemandedUseBits()
620 APInt::getHighBitsSet(BitWidth, BitWidth - RHSTrailingZeros); in SimplifyDemandedUseBits()
682 Known.Zero = APInt::getHighBitsSet(BitWidth, Leaders) & DemandedMask; in SimplifyDemandedUseBits()
DInstCombineCasts.cpp560 APInt HiBitMask = APInt::getHighBitsSet(WideWidth, WideWidth - NarrowWidth); in narrowRotate()
1018 APInt::getHighBitsSet(VSize, BitsToClear), in canEvaluateZExtd()
1128 APInt::getHighBitsSet(DestBitSize, in visitZExt()
DInstCombineCompares.cpp1552 NewRHS |= Known.One & APInt::getHighBitsSet(SrcBits, SrcBits - DstBits); in foldICmpTruncConstant()
2247 APInt Val(APInt::getHighBitsSet(TypeBits, TypeBits - ShAmtVal)); in foldICmpShrConstant()
3053 : APInt::getHighBitsSet(BitWidth, Num + 1); in foldICmpEqIntrinsicWithConstant()
DInstCombineAddSub.cpp1247 APInt Mask = APInt::getHighBitsSet(TySizeBits, ExtendAmt); in visitAdd()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp656 APInt HighMask = APInt::getHighBitsSet(64, 32); in TryExpandADDWithMul()
1658 APInt Mask = APInt::getHighBitsSet(VT.getSizeInBits(), in PerformDAGCombine()
1680 APInt Mask = APInt::getHighBitsSet(VT.getSizeInBits(), in PerformDAGCombine()
1695 APInt Mask = APInt::getHighBitsSet(VT.getSizeInBits(), in PerformDAGCombine()
1753 APInt HighMask = APInt::getHighBitsSet(64, 32); in PerformDAGCombine()
1828 Known.Zero = APInt::getHighBitsSet(Known.getBitWidth(), in computeKnownBitsForTargetNode()
1838 Known.Zero = APInt::getHighBitsSet(Known.getBitWidth(), in computeKnownBitsForTargetNode()
1844 Known.Zero = APInt::getHighBitsSet(Known.getBitWidth(), in computeKnownBitsForTargetNode()
1849 Known.Zero = APInt::getHighBitsSet(Known.getBitWidth(), in computeKnownBitsForTargetNode()
1854 Known.Zero = APInt::getHighBitsSet(Known.getBitWidth(), in computeKnownBitsForTargetNode()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonGenExtract.cpp200 APInt C = APInt::getHighBitsSet(BW, BW-U); in INITIALIZE_PASS_DEPENDENCY()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h508 getHighBitsSet(numBits, numBits - loBit); in getBitsSet()
518 static APInt getHighBitsSet(unsigned numBits, unsigned hiBitsSet) { in getHighBitsSet() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h652 static APInt getHighBitsSet(unsigned numBits, unsigned hiBitsSet) { in getHighBitsSet() function
1522 APInt Keep = getHighBitsSet(BitWidth, BitWidth - loBits); in clearLowBits()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp1657 if (DAG.MaskedValueIsZero(RHS, APInt::getHighBitsSet(64, 32)) && in LowerUDIVREM64()
1658 DAG.MaskedValueIsZero(LHS, APInt::getHighBitsSet(64, 32))) { in LowerUDIVREM64()
4437 Known.Zero = APInt::getHighBitsSet(32, 31); in computeKnownBitsForTargetNode()
4450 Known.Zero = APInt::getHighBitsSet(32, 32 - Width); in computeKnownBitsForTargetNode()
4459 Known.Zero = APInt::getHighBitsSet(BitWidth, BitWidth - 16); in computeKnownBitsForTargetNode()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1446 APInt::getHighBitsSet(BitWidth, ShAmt))) { in SimplifyDemandedBits()
1820 APInt::getHighBitsSet(OperandBitWidth, OperandBitWidth - BitWidth); in SimplifyDemandedBits()
2034 APInt HighMask = APInt::getHighBitsSet(BitWidth, DemandedBitsLZ); in SimplifyDemandedBits()
3367 if (C1.intersects(APInt::getHighBitsSet(C1.getBitWidth(), in SimplifySetCC()
3474 APInt::getHighBitsSet(BitWidth, in SimplifySetCC()
5790 APInt HighMask = APInt::getHighBitsSet(OuterBitSize, InnerBitSize); in expandMUL_LOHI()
7306 DAG.getConstant(APInt::getHighBitsSet(VTSize, VTSize - Scale + 1), in expandFixedPointMul()
DLegalizeIntegerTypes.cpp2051 APInt HighBitMask = APInt::getHighBitsSet(ShBits, ShBits - Log2_32(NVTBits)); in ExpandShiftWithKnownAmountBit()
3181 APInt::getHighBitsSet(NVTSize, OverflowBits - NVTSize), dl, NVT); in ExpandIntRes_MULFIX()
3214 APInt::getHighBitsSet(NVTSize, OverflowBits), dl, NVT); in ExpandIntRes_MULFIX()
DSelectionDAG.cpp2904 Known.Zero = APInt::getHighBitsSet(BitWidth, Known.countMinLeadingZeros()); in computeKnownBits()
2959 APInt NewBits = APInt::getHighBitsSet(BitWidth, BitWidth - EBits); in computeKnownBits()
DDAGCombiner.cpp4697 APInt Mask = APInt::getHighBitsSet(VT.getSizeInBits(), in visitANDLike()
5407 APInt ExtBits = APInt::getHighBitsSet(ExtBitSize, ExtBitSize - MemBitSize); in visitAND()
5536 N10, APInt::getHighBitsSet(OpSizeInBits, OpSizeInBits - 16))) in MatchBSwapHWordLow()
7636 APInt Mask = APInt::getHighBitsSet(OpSizeInBits, OpSizeInBits - c1); in visitSHL()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp697 return ConstantRange(APInt::getHighBitsSet(DstTySize,DstTySize-SrcTySize+1), in signExtend()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp1814 APInt::getHighBitsSet(X.getSimpleValueType().getSizeInBits(), MaskLZ); in foldMaskAndShiftToScale()
2214 APInt HighZeros = APInt::getHighBitsSet(Shl.getValueSizeInBits(), in matchAddressRecursively()
3980 APInt HighZeros = APInt::getHighBitsSet(MaskVal.getBitWidth(), MaskLZ); in shrinkAndImmediate()
DX86ISelLowering.cpp7398 APInt ZeroMask = APInt::getHighBitsSet(2 * NumBitsPerElt, NumBitsPerElt); in getFauxShuffleMask()
11040 APInt ZeroMask = APInt::getHighBitsSet(BitSize * 2, BitSize); in matchShuffleWithPACK()
20881 DAG.MaskedValueIsZero(Op0, APInt::getHighBitsSet(64, 32))) { in EmitCmp()
22045 return DAG.MaskedValueIsZero(VOp0, APInt::getHighBitsSet(InBits,InBits-Bits)); in isTruncWithZeroHighBitsInput()
25993 APInt UpperBitsMask = APInt::getHighBitsSet(64, 32); in LowerMUL()
26442 APInt Mask = APInt::getHighBitsSet(8, 8 - ShiftAmt); in LowerScalarImmediateShift()
35470 if (!DemandedElts.intersects(APInt::getHighBitsSet(NumElts, ShiftAmt))) { in SimplifyDemandedVectorEltsForTargetNode()
39141 APInt Mask17 = APInt::getHighBitsSet(32, 17); in combineMulToPMADDWD()
39186 APInt Mask = APInt::getHighBitsSet(64, 32); in combineMulToPMULDQ()
39584 DAG.MaskedValueIsZero(N0, APInt::getHighBitsSet(16, 8)))) { in combineVectorPack()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp11852 APInt Mask = APInt::getHighBitsSet(C2Int.getBitWidth(), in PerformSHLSimplify()
13952 APInt::getHighBitsSet(32, 16))) in PerformShiftCombine()
14678 APInt DemandedMask = APInt::getHighBitsSet(BitWidth, 16); in PerformDAGCombine()
14697 APInt HighMask = APInt::getHighBitsSet(HighWidth, 16); in PerformDAGCombine()
14705 APInt HighMask = APInt::getHighBitsSet(HighWidth, 16); in PerformDAGCombine()
14715 APInt DemandedMask = APInt::getHighBitsSet(BitWidth, 16); in PerformDAGCombine()
15670 Known.Zero |= APInt::getHighBitsSet(BitWidth, BitWidth - 1); in computeKnownBitsForTargetNode()
15695 Known.Zero |= APInt::getHighBitsSet(BitWidth, BitWidth - MemBits); in computeKnownBitsForTargetNode()
DARMInstrThumb2.td2824 CurDAG->MaskedValueIsZero(SDValue(N,0), APInt::getHighBitsSet(32, 16));
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp1122 Known.Zero = APInt::getHighBitsSet(64, 32); in computeKnownBitsForTargetNode()
1135 Known.Zero |= APInt::getHighBitsSet(BitWidth, BitWidth - MemBits); in computeKnownBitsForTargetNode()
1157 APInt Mask = APInt::getHighBitsSet(BitWidth, BitWidth - 8); in computeKnownBitsForTargetNode()
1161 APInt Mask = APInt::getHighBitsSet(BitWidth, BitWidth - 16); in computeKnownBitsForTargetNode()
10335 DAG.MaskedValueIsZero(N00, APInt::getHighBitsSet(32, 16))) in performSRLCombine()
10338 DAG.MaskedValueIsZero(N00, APInt::getHighBitsSet(64, 32))) in performSRLCombine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp9904 auto HighBits = APInt::getHighBitsSet(32, 32 - MemVT.getSizeInBits()); in LowerATOMIC_CMP_SWAP()
12369 APInt::getHighBitsSet(OpBits, OpBits-1)) || in DAGCombineTruncBoolExt()
12371 APInt::getHighBitsSet(OpBits, OpBits-1))) in DAGCombineTruncBoolExt()
12760 APInt::getHighBitsSet(OpBits, in DAGCombineExtBoolTrunc()
DPPCISelDAGToDAG.cpp5388 Op0, APInt::getHighBitsSet(Bits, Bits - (b + 1) * 8))) in combineToCMPB()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsSEISelLowering.cpp1617 APInt Mask = APInt::getHighBitsSet(EltTy.getSizeInBits(), in lowerINTRINSIC_WO_CHAIN()

12