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

References

lib/Analysis/ScalarEvolution.cpp
 1197   APInt DivFactor = APInt::getOneBitSet(CalculationBits, T);
 4539                              APInt::getOneBitSet(BitWidth, SA->getZExtValue()));
 6270           const SCEV *MulCount = getConstant(APInt::getOneBitSet(BitWidth, TZ));
 6278               APInt DivAmt = APInt::getOneBitSet(BitWidth, TZ - GCD);
 6386             getContext(), APInt::getOneBitSet(BitWidth, SA->getZExtValue()));
 6433             APInt Mul = APInt::getOneBitSet(BitWidth - AShrAmt,
 8428   const SCEV *D = SE.getConstant(APInt::getOneBitSet(BW, Mult2));
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
 1469           APInt::getOneBitSet(WideTy.getSizeInBits(), CurTy.getSizeInBits());
lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
  194       Value *Mask = Builder.getInt(APInt::getOneBitSet(VectorWidth, Idx));
  325       Value *Mask = Builder.getInt(APInt::getOneBitSet(VectorWidth, Idx));
  444       Value *Mask = Builder.getInt(APInt::getOneBitSet(VectorWidth, Idx));
  565       Value *Mask = Builder.getInt(APInt::getOneBitSet(VectorWidth, Idx));
  655       Value *Mask = Builder.getInt(APInt::getOneBitSet(VectorWidth, Idx));
  761       Value *Mask = Builder.getInt(APInt::getOneBitSet(VectorWidth, Idx));
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 5027       APInt::getOneBitSet(VTBitWidth, ShiftAmt.getZExtValue()), DL, VT);
 5972     const APInt ExtractDiv = APInt::getOneBitSet(ExtractFromAmt.getBitWidth(),
10430   if (DAG.MaskedValueIsZero(N0, APInt::getOneBitSet(VTBits, EVTBits - 1)))
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
 1483   State.SignMask = APInt::getOneBitSet(LoadTy.getSizeInBits(), 7);
 4149       auto TopBit = APInt::getOneBitSet(NVT.getSizeInBits(),
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
  458     auto TopBit = APInt::getOneBitSet(NVT.getScalarSizeInBits(),
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 3165       APInt DemandedElt = APInt::getOneBitSet(NumSrcElts, Idx);
 3196       APInt VectorElts = DemandedElts & ~(APInt::getOneBitSet(NumElts, EltIdx));
 3816           APInt::getOneBitSet(NumSrcElts, ConstEltNo->getZExtValue());
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 1809         DemandedSrcElts = APInt::getOneBitSet(NumSrcElts, CIdx->getZExtValue());
 4796         DAG.getConstant(SelNPQ ? APInt::getOneBitSet(EltBits, EltBits - 1)
 5185     APInt Q = (2 * A).udiv(APInt::getOneBitSet(W, K));
lib/FuzzMutate/OpDescriptor.cpp
   22     Cs.push_back(ConstantInt::get(IntTy, APInt::getOneBitSet(W, W / 2)));
lib/IR/ConstantRange.cpp
  680                          APInt::getOneBitSet(DstTySize, SrcTySize));
lib/Support/APInt.cpp
 2907   APInt R = APInt::getOneBitSet(CoeffWidth, RangeWidth);
lib/Target/ARM/ARMISelLowering.cpp
15451     APInt DemandedElt = APInt::getOneBitSet(NumSrcElts, Idx);
lib/Target/X86/X86ISelLowering.cpp
31511     APInt DemandedElt = APInt::getOneBitSet(SrcVT.getVectorNumElements(),
34503     APInt SrcElts = APInt::getOneBitSet(SrcVT.getVectorNumElements(), 0);
34876       APInt DemandedVecElts = APInt::getOneBitSet(NumVecElts, Idx);
35043         IdentityOp &= APInt::getOneBitSet(NumOps, Op);
36499           APInt MaskBit = APInt::getOneBitSet(NumSrcElts, MaskIdx);
lib/Transforms/InstCombine/InstCombineCalls.cpp
 3319     if (SimplifyDemandedBits(II, CarryOp, APInt::getOneBitSet(32, 29),
lib/Transforms/InstCombine/InstCombineCompares.cpp
 2115         APInt::getOneBitSet(TypeBits, TypeBits - ShiftAmt->getZExtValue() - 1));
 3055         ? APInt::getOneBitSet(BitWidth, Num)
 3056         : APInt::getOneBitSet(BitWidth, BitWidth - Num - 1);
 3122       APInt Limit = APInt::getOneBitSet(BitWidth, BitWidth - Num - 1);
 4219       APInt CmpVal = APInt::getOneBitSet(TypeBits, ShAmt);
 4642       APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth);
 4665       APInt MaxVal = APInt::getOneBitSet(CI->getBitWidth(), MulWidth);
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  737       APInt C1Shifted = APInt::getOneBitSet(
lib/Transforms/InstCombine/InstCombineSelect.cpp
  658     APInt C1 = APInt::getOneBitSet(V->getType()->getScalarSizeInBits(), C1Log);
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
  269       UsedElts = APInt::getOneBitSet(VWidth, EEIIndexC->getZExtValue());
lib/Transforms/Scalar/Reassociate.cpp
  354     APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth));
lib/Transforms/Utils/SimplifyIndVar.cpp
  142                            APInt::getOneBitSet(BitWidth, D->getZExtValue()));
unittests/ADT/APFloatTest.cpp
   43   APInt payload = APInt::getOneBitSet(4, 2);
unittests/ADT/APIntTest.cpp
 1835       APInt X = APInt::getOneBitSet(N, I);
 1836       APInt Y = APInt::getOneBitSet(N, N - (I + 1));
 2505   APInt i128 = APInt::getOneBitSet(128, 64);
 2511   APInt i96 = APInt::getOneBitSet(96, 64);