Home
last modified time | relevance | path

Searched refs:getLowBitsSet (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm/lib/Analysis/
DDemandedBits.cpp127 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()
DValueTracking.cpp355 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()
DConstantFolding.cpp1042 APInt::getLowBitsSet(InWidth, PtrWidth)); in ConstantFoldInstOperands()
DScalarEvolution.cpp4599 APInt::getLowBitsSet(BitWidth, BitWidth - LZ - TZ).shl(TZ); in createSCEV()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp135 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()
DInstCombineSimplifyDemanded.cpp492 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()
DInstCombineCasts.cpp879 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()
DInstCombineCompares.cpp1695 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()
DInstCombineAndOrXor.cpp260 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()
DInstCombineCalls.cpp548 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/
DAPInt.h503 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/
DTargetLowering.cpp632 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 …]
DSelectionDAG.cpp1044 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()
DDAGCombiner.cpp4028 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/
DSystemZOperators.td505 APInt::getLowBitsSet(BitWidth, 8));
513 APInt::getLowBitsSet(BitWidth, 8));
/external/llvm/lib/IR/
DConstantRange.cpp519 APInt::getLowBitsSet(DstTySize, SrcTySize-1) + 1); in signExtend()
DConstantFold.cpp1043 APInt PossiblySetBits(APInt::getLowBitsSet(DstWidth, SrcWidth)); in ConstantFoldBinaryInstruction()
1061 APInt BitsNotSet(APInt::getLowBitsSet(DstWidth, SrcWidth)); in ConstantFoldBinaryInstruction()
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp1633 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 8); in PerformDAGCombine()
1650 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 16); in PerformDAGCombine()
/external/clang/lib/CodeGen/
DCGExpr.cpp1481 Val = Builder.CreateAnd(Val, llvm::APInt::getLowBitsSet(Info.StorageSize, in EmitLoadOfBitfieldLValue()
1681 llvm::APInt::getLowBitsSet(Info.StorageSize, in EmitStoreThroughBitfieldLValue()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp1007 APInt Mask(APInt::getLowBitsSet(DestWidth, SrcWidth)); in ConvertScalar_InsertValue()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp2322 APInt Demanded = APInt::getLowBitsSet(VT.getSizeInBits(), 24); in simplifyI24()
/external/llvm/lib/Target/Mips/
DMipsSEISelLowering.cpp1605 APInt Mask = APInt::getLowBitsSet(EltTy.getSizeInBits(), in lowerINTRINSIC_WO_CHAIN()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp13616 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/
DAArch64ISelLowering.cpp8761 APInt DemandedMask = APInt::getLowBitsSet(64, 56); in performTBISimplification()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp9985 DAG.getConstant(APInt::getLowBitsSet( in DAGCombineExtBoolTrunc()

12