reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

gen/lib/Target/SystemZ/SystemZGenDAGISel.inc
30120                                    APInt::getLowBitsSet(BitWidth, 8));
30130                                    APInt::getLowBitsSet(BitWidth, 8));
lib/Analysis/ConstantFolding.cpp
 1324                              APInt::getLowBitsSet(InWidth, PtrWidth));
lib/Analysis/DemandedBits.cpp
  146           AB = APInt::getLowBitsSet(BitWidth,
  180     AB = APInt::getLowBitsSet(BitWidth, AOut.getActiveBits());
  209           AB |= APInt::getLowBitsSet(BitWidth, ShiftAmt);
  229           AB |= APInt::getLowBitsSet(BitWidth, ShiftAmt);
lib/Analysis/InstructionSimplify.cpp
 2039       const APInt EffBitsY = APInt::getLowBitsSet(Width, EffWidthY);
 2040       const APInt EffBitsX = APInt::getLowBitsSet(Width, EffWidthX) << ShftCnt;
lib/Analysis/ScalarEvolution.cpp
 6268             APInt::getLowBitsSet(BitWidth, BitWidth - LZ - TZ).shl(TZ);
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
 3993     Src0Ty, APInt::getLowBitsSet(Src0Size, Src0Size - 1));
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 7831       APInt Mask = APInt::getLowBitsSet(OpSizeInBits, OpSizeInBits - ShiftAmt);
10694         APInt::getLowBitsSet(N0.getValueSizeInBits(), VT.getSizeInBits());
13991           DAG.getConstant(APInt::getLowBitsSet(STType.getSizeInBits(),
16195         APInt::getLowBitsSet(Value.getScalarValueSizeInBits(),
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
 2800     SDValue Mask = DAG.getConstant(APInt::getLowBitsSet(Bits, HalfBits), dl,
 3033         APInt::getLowBitsSet(NVTSize, VTSize - OverflowBits), dl, NVT);
 3066         APInt::getLowBitsSet(NVTSize, NVTSize - OverflowBits), dl, NVT);
lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
  698         APInt::getLowBitsSet(WideBits, SrcEltBits), dl, WideVT);
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 1137   APInt Imm = APInt::getLowBitsSet(BitWidth,
 2868     APInt InputDemandedBits = APInt::getLowBitsSet(BitWidth, EBits);
 3023     APInt InMask = APInt::getLowBitsSet(BitWidth, VT.getSizeInBits());
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 1291         if (!DemandedBits.intersects(APInt::getLowBitsSet(BitWidth, ShAmt))) {
 1588     APInt Mask = APInt::getLowBitsSet(BitWidth, ExVTBits);
 1790     APInt InMask = APInt::getLowBitsSet(BitWidth, ZVT.getSizeInBits());
 1926     APInt LoMask = APInt::getLowBitsSet(BitWidth, BitWidth - DemandedBitsLZ);
 3256           APInt newMask = APInt::getLowBitsSet(maskWidth, width);
 3365         APInt Imm = APInt::getLowBitsSet(ExtDstTyBits, ExtSrcTyBits);
 3373                           DAG.getConstant(C1 & APInt::getLowBitsSet(
 6783     APInt Imm = APInt::getLowBitsSet(IdxVT.getSizeInBits(),
 7058     SDValue LowMask = DAG.getConstant(APInt::getLowBitsSet(VTSize, Scale),
 7090   SDValue LowMask = DAG.getConstant(APInt::getLowBitsSet(VTSize, Scale - 1),
lib/IR/ConstantFold.cpp
 1138           APInt PossiblySetBits(APInt::getLowBitsSet(DstWidth, SrcWidth));
 1175             APInt BitsNotSet(APInt::getLowBitsSet(DstWidth, SrcWidth));
lib/IR/ConstantRange.cpp
  698                          APInt::getLowBitsSet(DstTySize, SrcTySize-1) + 1);
lib/Support/APInt.cpp
  571   APInt Result(getLowBitsSet(BitWidth, numBits));
lib/Target/AArch64/AArch64ISelLowering.cpp
10974   APInt DemandedMask = APInt::getLowBitsSet(64, 56);
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
 2777   APInt Demanded = APInt::getLowBitsSet(LHS.getValueSizeInBits(), 24);
lib/Target/ARM/ARMISelLowering.cpp
12445   FromMask = APInt::getLowBitsSet(ToMask.getBitWidth(), ToMask.countPopulation());
14470     APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 16);
14486     APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 16);
14494     APInt LowMask = APInt::getLowBitsSet(LowWidth, 16);
14506     APInt LowMask = APInt::getLowBitsSet(LowWidth, 16);
14523     APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 8);
lib/Target/Hexagon/HexagonConstPropagation.cpp
 1583   APInt Mask = APInt::getLowBitsSet(Width, Bits);
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 1535   auto *BMI = ConstantInt::get(P->getType(), APInt::getLowBitsSet(32, IC));
lib/Target/Mips/MipsSEISelLowering.cpp
 1631     APInt Mask = APInt::getLowBitsSet(EltTy.getSizeInBits(),
lib/Target/PowerPC/PPCISelLowering.cpp
12564                        DAG.getConstant(APInt::getLowBitsSet(
lib/Target/RISCV/RISCVISelLowering.cpp
  978     APInt LHSMask = APInt::getLowBitsSet(LHS.getValueSizeInBits(), 32);
  979     APInt RHSMask = APInt::getLowBitsSet(RHS.getValueSizeInBits(), 5);
lib/Target/X86/X86ISelDAGToDAG.cpp
 3246         V, APInt::getLowBitsSet(V.getSimpleValueType().getSizeInBits(),
 3809     APInt NeededMask = APInt::getLowBitsSet(NVT.getSizeInBits(),
lib/Target/X86/X86ISelLowering.cpp
20336   APInt Lg2Mask = APInt::getLowBitsSet(VT.getSizeInBits(), Lg2);
25130   APInt LowerBitsMask = APInt::getLowBitsSet(64, 32);
31462   APInt ZeroExtendMask = APInt::getLowBitsSet(Size, Width);
34298     APInt AmtElts = APInt::getLowBitsSet(NumAmtElts, NumAmtElts / 2);
34328       if (!DemandedElts.intersects(APInt::getLowBitsSet(NumElts, ShiftAmt))) {
34722     APInt DemandedMask = APInt::getLowBitsSet(64, 32);
35937     CmpC = DAG.getConstant(APInt::getLowBitsSet(CmpVT.getSizeInBits(), NumElts),
41038   APInt Mask = APInt::getLowBitsSet(InVT.getScalarSizeInBits(),
41782   APInt DemandedMask(APInt::getLowBitsSet(NumBits, 16));
42090   APInt DemandedMask = APInt::getLowBitsSet(BitWidth, Log2_32(BitWidth));
42927     APInt NotMask = APInt::getLowBitsSet(NumBits, NumElts);
43380                        : APInt::getLowBitsSet(BitWidth, MaskBits);
44189       DAG.getConstant(APInt::getLowBitsSet(ExtType.getScalarSizeInBits(),
lib/Target/XCore/XCoreISelLowering.cpp
 1604         APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 8);
 1620         APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 16);
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 1241       APInt Low = APInt::getLowBitsSet(BigBitSize, SmallBitSize);
lib/Transforms/InstCombine/InstCombineCalls.cpp
  586     MaxValue = APInt::getLowBitsSet(SrcScalarSizeInBits, DstScalarSizeInBits);
  888     APInt Mask = APInt::getLowBitsSet(64, Length).shl(Index);
 1878     APInt DemandedElts = APInt::getLowBitsSet(Width, DemandedWidth);
 2004     APInt Op2Demanded = APInt::getLowBitsSet(BitWidth, Log2_32_Ceil(BitWidth));
lib/Transforms/InstCombine/InstCombineCasts.cpp
 1134                                APInt::getLowBitsSet(DestBitSize, SrcBitsKept));
 1155       APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize));
 1162       APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize));
 1168       APInt AndValue(APInt::getLowBitsSet(DstSize, MidSize));
lib/Transforms/InstCombine/InstCombineCompares.cpp
 1281       CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth))
 2103         APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt->getZExtValue()));
 3052       APInt Mask1 = IsTrailing ? APInt::getLowBitsSet(BitWidth, Num + 1)
 3131       APInt Limit = APInt::getLowBitsSet(BitWidth, BitWidth - Num);
 3144       APInt Mask = APInt::getLowBitsSet(BitWidth, C.getLimitedValue() + 1);
 3153       APInt Mask = APInt::getLowBitsSet(BitWidth, C.getLimitedValue());
 3968               APInt::getLowBitsSet(C->getBitWidth(), C->getBitWidth() - TZs));
 4231       APInt AndVal = APInt::getLowBitsSet(TypeBits, TypeBits - ShAmt);
 4251           APInt::getLowBitsSet(ASize, Op0->getType()->getPrimitiveSizeInBits());
lib/Transforms/InstCombine/InstCombineShifts.cpp
  377     APInt Mask = APInt::getLowBitsSet(TypeWidth, OuterShAmt) << MaskShift;
  508                      ? APInt::getLowBitsSet(TypeWidth, TypeWidth - OuterShAmt)
  655       APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize));
 1012         APInt Mask(APInt::getLowBitsSet(BitWidth, BitWidth - ShAmt));
 1026         APInt Mask(APInt::getLowBitsSet(BitWidth, BitWidth - ShAmt));
 1031       APInt Mask(APInt::getLowBitsSet(BitWidth, BitWidth - ShAmt));
 1079         MaskedValueIsZero(Op0, APInt::getLowBitsSet(BitWidth, ShAmt), 0, &I)) {
 1233         MaskedValueIsZero(Op0, APInt::getLowBitsSet(BitWidth, ShAmt), 0, &I)) {
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  432     APInt DemandedFromOps(APInt::getLowBitsSet(BitWidth, BitWidth-NLZ));
tools/clang/lib/CodeGen/CGExpr.cpp
 1841       Val = Builder.CreateAnd(Val, llvm::APInt::getLowBitsSet(Info.StorageSize,
 2048                                  llvm::APInt::getLowBitsSet(Info.StorageSize,
tools/clang/lib/CodeGen/CGExprScalar.cpp
 1447           CGF.getLLVMContext(), APInt::getLowBitsSet(ResultWidth, SrcScale));
unittests/ADT/APIntTest.cpp
 2005   APInt i128lo64 = APInt::getLowBitsSet(128, 64);
 2339   APInt HugePrime = APInt::getLowBitsSet(BitWidth, 4423);
 2418   APInt i256(APInt::getLowBitsSet(256, 2));