/external/llvm/lib/Analysis/ |
D | DemandedBits.cpp | 127 AB = APInt::getLowBitsSet(BitWidth, in determineLiveOperandBits() 139 AB = APInt::getLowBitsSet(BitWidth, AOut.getActiveBits()); in determineLiveOperandBits() 167 AB |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in determineLiveOperandBits() 186 AB |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in determineLiveOperandBits()
|
D | ValueTracking.cpp | 355 KnownZero = APInt::getLowBitsSet(BitWidth, TrailZ) | in computeKnownBitsMul() 1094 KnownZero |= APInt::getLowBitsSet(BitWidth, 1); in computeKnownBitsFromOperator() 1216 APInt::getLowBitsSet(BitWidth, ShiftAmt); // Low bits known 0. in computeKnownBitsFromOperator() 1344 KnownZero = APInt::getLowBitsSet(BitWidth, countTrailingZeros(Align)); in computeKnownBitsFromOperator() 1392 KnownZero = APInt::getLowBitsSet(BitWidth, TrailZ); in computeKnownBitsFromOperator() 1433 KnownZero = APInt::getLowBitsSet(BitWidth, in computeKnownBitsFromOperator() 1681 KnownZero |= APInt::getLowBitsSet(BitWidth, countTrailingZeros(Align)); in computeKnownBits()
|
D | ConstantFolding.cpp | 1042 APInt::getLowBitsSet(InWidth, PtrWidth)); in ConstantFoldInstOperands()
|
D | ScalarEvolution.cpp | 4599 APInt::getLowBitsSet(BitWidth, BitWidth - LZ - TZ).shl(TZ); in createSCEV()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 135 APInt::getLowBitsSet(TypeWidth, NumBits) << LowBits, in CanEvaluateShifted() 160 APInt::getLowBitsSet(TypeWidth, NumBits) << LowBits, in CanEvaluateShifted() 241 APInt Mask(APInt::getLowBitsSet(TypeWidth, TypeWidth - NumBits)); in GetShiftedValue() 390 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize)); in FoldShiftByConstant() 588 APInt Mask(APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt1)); in FoldShiftByConstant() 624 APInt Mask(APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt2)); in FoldShiftByConstant() 672 APInt Mask(APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt2)); in FoldShiftByConstant() 771 MaskedValueIsZero(Op0, APInt::getLowBitsSet(Op1C->getBitWidth(), ShAmt), in visitLShr() 816 MaskedValueIsZero(Op0,APInt::getLowBitsSet(Op1C->getBitWidth(),ShAmt), in visitAShr()
|
D | InstCombineSimplifyDemanded.cpp | 492 APInt::getLowBitsSet(BitWidth, SrcBitWidth); in SimplifyDemandedUseBits() 533 APInt DemandedFromOps(APInt::getLowBitsSet(BitWidth, BitWidth-NLZ)); in SimplifyDemandedUseBits() 585 KnownZero |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in SimplifyDemandedUseBits() 599 DemandedMaskIn |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in SimplifyDemandedUseBits() 644 DemandedMaskIn |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in SimplifyDemandedUseBits()
|
D | InstCombineCasts.cpp | 879 APInt::getLowBitsSet(DestBitSize, SrcBitsKept)); in visitZExt() 900 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt() 907 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt() 913 APInt AndValue(APInt::getLowBitsSet(DstSize, MidSize)); in visitZExt()
|
D | InstCombineCompares.cpp | 1695 Constant *Mask = Builder->getInt(APInt::getLowBitsSet(TypeBits, in visitICmpInstWithInstAndIntCst() 2160 CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth)) in ProcessUGT_ADDCST_ADD() 2567 APInt lowBitsSet = APInt::getLowBitsSet(BitWidth, trailingOnes); in DemandedBitsLHSMask() 2575 APInt lowBitsSet = APInt::getLowBitsSet(BitWidth, trailingZeros); in DemandedBitsLHSMask() 3583 APInt::getLowBitsSet(AP.getBitWidth(), in visitICmpInst() 3774 APInt AndVal = APInt::getLowBitsSet(TypeBits, TypeBits - ShAmt); in visitICmpInst() 3796 APInt::getLowBitsSet(ASize, Op0->getType()->getPrimitiveSizeInBits()); in visitICmpInst()
|
D | InstCombineAndOrXor.cpp | 260 APInt ShrMask(APInt::getLowBitsSet(BitWidth, BitWidth - OpRHSVal)); in OptAndOp() 280 APInt ShrMask(APInt::getLowBitsSet(BitWidth, BitWidth - OpRHSVal)); in OptAndOp() 393 APInt Mask(APInt::getLowBitsSet(BitWidth, MB-1)); in FoldLogicalPlusAnd() 956 APInt Low = APInt::getLowBitsSet(BigBitSize, SmallBitSize); in FoldAndOfICmps() 1329 APInt Mask = APInt::getLowBitsSet(BitWidth, BitWidth - Zeros); in visitAnd()
|
D | InstCombineCalls.cpp | 548 APInt Mask = APInt::getLowBitsSet(64, Length).shl(Index); in SimplifyX86insertq() 760 APInt DemandedElts = APInt::getLowBitsSet(Width, DemandedWidth); in visitCallInst() 826 APInt Mask(APInt::getLowBitsSet(BitWidth, TrailingZeros)); in visitCallInst()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 503 return getLowBitsSet(numBits, hiBit) | in getBitsSet() 505 return getLowBitsSet(numBits, hiBit - loBit).shl(loBit); in getBitsSet() 532 static APInt getLowBitsSet(unsigned numBits, unsigned loBitsSet) { in getLowBitsSet() function 1770 APIVal == APInt::getLowBitsSet(APIVal.getBitWidth(), numBits); in isMask()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 632 if (ShAmt && (NewMask & APInt::getLowBitsSet(BitWidth, ShAmt)) == 0) { in SimplifyDemandedBits() 702 KnownZero |= APInt::getLowBitsSet(BitWidth, SA->getZExtValue()); in SimplifyDemandedBits() 721 InDemandedMask |= APInt::getLowBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits() 779 InDemandedMask |= APInt::getLowBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits() 863 APInt::getLowBitsSet(BitWidth, in SimplifyDemandedBits() 943 APInt InMask = APInt::getLowBitsSet(BitWidth, InBits); in SimplifyDemandedBits() 1055 APInt InMask = APInt::getLowBitsSet(BitWidth, in SimplifyDemandedBits() 1098 APInt LoMask = APInt::getLowBitsSet(BitWidth, in SimplifyDemandedBits() 1415 APInt newMask = APInt::getLowBitsSet(maskWidth, width); in SimplifySetCC() 1521 APInt Imm = APInt::getLowBitsSet(ExtDstTyBits, ExtSrcTyBits); in SimplifySetCC() [all …]
|
D | SelectionDAG.cpp | 1044 APInt Imm = APInt::getLowBitsSet(BitWidth, in getZeroExtendInReg() 2112 KnownZero = APInt::getLowBitsSet(BitWidth, TrailZ) | in computeKnownBits() 2187 KnownZero |= APInt::getLowBitsSet(BitWidth, ShAmt); in computeKnownBits() 2243 APInt InputDemandedBits = APInt::getLowBitsSet(BitWidth, EBits); in computeKnownBits() 2349 APInt InMask = APInt::getLowBitsSet(BitWidth, VT.getSizeInBits()); in computeKnownBits() 2403 KnownZero |= APInt::getLowBitsSet(BitWidth, KnownZeroLow); in computeKnownBits() 2498 KnownZero = APInt::getLowBitsSet(BitWidth, Log2_32(Align)); in computeKnownBits()
|
D | DAGCombiner.cpp | 4028 APInt RHSBits = APInt::getLowBitsSet(EltSizeInBits, LShVal); in MatchRotate() 7132 GetDemandedBits(N0, APInt::getLowBitsSet(N0.getValueSizeInBits(), in visitTRUNCATE() 11921 APInt::getLowBitsSet( in visitSTORE() 11932 APInt::getLowBitsSet( in visitSTORE()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZOperators.td | 505 APInt::getLowBitsSet(BitWidth, 8)); 513 APInt::getLowBitsSet(BitWidth, 8));
|
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 519 APInt::getLowBitsSet(DstTySize, SrcTySize-1) + 1); in signExtend()
|
D | ConstantFold.cpp | 1043 APInt PossiblySetBits(APInt::getLowBitsSet(DstWidth, SrcWidth)); in ConstantFoldBinaryInstruction() 1061 APInt BitsNotSet(APInt::getLowBitsSet(DstWidth, SrcWidth)); in ConstantFoldBinaryInstruction()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 1633 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 8); in PerformDAGCombine() 1650 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 16); in PerformDAGCombine()
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 1481 Val = Builder.CreateAnd(Val, llvm::APInt::getLowBitsSet(Info.StorageSize, in EmitLoadOfBitfieldLValue() 1681 llvm::APInt::getLowBitsSet(Info.StorageSize, in EmitStoreThroughBitfieldLValue()
|
/external/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 1007 APInt Mask(APInt::getLowBitsSet(DestWidth, SrcWidth)); in ConvertScalar_InsertValue()
|
/external/llvm/lib/Target/Mips/ |
D | MipsSEISelLowering.cpp | 1605 APInt Mask = APInt::getLowBitsSet(EltTy.getSizeInBits(), in lowerINTRINSIC_WO_CHAIN()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 2322 APInt Demanded = APInt::getLowBitsSet(VT.getSizeInBits(), 24); in simplifyI24()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 13616 APFloat(Sem, APInt::getLowBitsSet(SizeInBits, SizeInBits - 1))); in LowerFCOPYSIGN() 13893 : APInt::getLowBitsSet(BitWidth, BitWidth - ShAmt); in EmitTest() 26896 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, Log2_32(BitWidth)); in PerformBTCombine()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 8761 APInt DemandedMask = APInt::getLowBitsSet(64, 56); in performTBISimplification()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 9985 DAG.getConstant(APInt::getLowBitsSet( in DAGCombineExtBoolTrunc()
|