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

References

lib/Analysis/CmpInstAnalysis.cpp
   82     Mask = APInt::getSignMask(C->getBitWidth());
   89     Mask = APInt::getSignMask(C->getBitWidth());
   96     Mask = APInt::getSignMask(C->getBitWidth());
  103     Mask = APInt::getSignMask(C->getBitWidth());
lib/CodeGen/GlobalISel/GISelKnownBits.cpp
   81   return maskedValueIsZero(R, APInt::getSignMask(BitWidth));
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
 3922   APInt TwoPExpInt = APInt::getSignMask(DstTy.getSizeInBits());
 3990     Src0Ty, APInt::getSignMask(Src0Size));
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 2910     if (DAG.MaskedValueIsZero(N1, ~APInt::getSignMask(BitWidth))) {
10917     SignMask = ~APInt::getSignMask(SourceVT.getScalarSizeInBits());
10921     SignMask = APInt::getSignMask(SourceVT.getScalarSizeInBits());
10925     SignMask = APInt::getSignMask(SourceVT.getScalarSizeInBits());
11044           APInt::getSignMask(VT.getSizeInBits() / 2), SDLoc(N0), MVT::i64);
11064     APInt SignBit = APInt::getSignMask(VT.getSizeInBits());
11112         APInt SignBit = APInt::getSignMask(VT.getSizeInBits() / 2);
11133       APInt SignBit = APInt::getSignMask(VT.getSizeInBits());
13181         SignMask = APInt::getSignMask(N0.getScalarValueSizeInBits());
13185         SignMask = APInt::getSignMask(IntVT.getSizeInBits());
13279         SignMask = ~APInt::getSignMask(N0.getScalarValueSizeInBits());
13283         SignMask = ~APInt::getSignMask(IntVT.getSizeInBits());
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
 1447     State.SignMask = APInt::getSignMask(NumBits);
lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
  486     APInt SignMask = APInt::getSignMask(NVT.getSizeInBits());
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 2210   return MaskedValueIsZero(Op, APInt::getSignMask(BitWidth), Depth);
 2867     APInt InSignMask = APInt::getSignMask(EBits);
 3237       Known.Zero = APInt::getSignMask(BitWidth);
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 1834         DemandedBits == APInt::getSignMask(Op.getValueSizeInBits()) &&
 5907   SDValue SignMask = DAG.getConstant(APInt::getSignMask(SrcEltBits), dl, IntVT);
 5973   APInt SignMask = APInt::getSignMask(DstVT.getScalarSizeInBits());
lib/Target/RISCV/RISCVISelLowering.cpp
  961     APInt SignBit = APInt::getSignMask(32);
 1006     APInt SignBit = APInt::getSignMask(32).sext(64);
lib/Target/X86/X86ISelLowering.cpp
18984                            DAG.getConstant(APInt::getSignMask(64),
19778                            APInt::getSignMask(EltBits);
19837       APFloat(Sem, APInt::getSignMask(EltSizeInBits)), dl, LogicVT);
20927     SDValue SM = DAG.getConstant(APInt::getSignMask(EltVT.getSizeInBits()), dl,
25816     SDValue S = DAG.getConstant(APInt::getSignMask(64), dl, VT);
34937       APInt SignMask = APInt::getSignMask(BitWidth * 2);
34976     if (SimplifyDemandedBits(Src, APInt::getSignMask(SrcBits), DemandedElts,
36779   APInt DemandedMask(APInt::getSignMask(BitWidth));
40471     APInt DemandedMask(APInt::getSignMask(VT.getScalarSizeInBits()));
42949     APInt DemandedMask(APInt::getSignMask(Mask.getScalarValueSizeInBits()));
43060     APInt DemandedMask(APInt::getSignMask(Mask.getScalarValueSizeInBits()));
lib/Transforms/InstCombine/InstCombineCompares.cpp
 2278   APInt SignMask = APInt::getSignMask(Ty->getScalarSizeInBits());
 4766     return APInt::getSignMask(BitWidth);
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
 1117   APInt Mask(APInt::getSignMask(I.getType()->getScalarSizeInBits()));
 1424   APInt Mask(APInt::getSignMask(I.getType()->getScalarSizeInBits()));
lib/Transforms/InstCombine/InstCombineShifts.cpp
  962         ConstantInt::get(Ty, APInt::getSignMask(BitWidth)), X);
 1243   if (MaskedValueIsZero(Op0, APInt::getSignMask(BitWidth), 0, &I))
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  612         APInt Mask2 = LowBits | APInt::getSignMask(BitWidth);
tools/lldb/source/Utility/Scalar.cpp
 2690         llvm::APInt sign_bit = llvm::APInt::getSignMask(sign_bit_pos + 1);