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

References

lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  295       unsigned BitWidth = Op.getScalarValueSizeInBits();
  859   unsigned BitWidth = N.getScalarValueSizeInBits();
 2141           X.getScalarValueSizeInBits() == 1) {
 2465       N0.getOperand(0).getScalarValueSizeInBits() == 1 &&
 3089       N1.getOperand(0).getScalarValueSizeInBits() == 1 &&
 3141         ShAmtC->getAPIntValue() == (N1.getScalarValueSizeInBits() - 1)) {
 3970                        DAG.getConstant(N0.getScalarValueSizeInBits() - 1, DL,
 5051       return DAG.getConstant(APInt::getNullValue(N0.getScalarValueSizeInBits()),
 5055       return DAG.getConstant(APInt::getNullValue(N1.getScalarValueSizeInBits()),
 5106     Mask = Mask.trunc(N0Op0.getScalarValueSizeInBits());
 5129        N0.getValueSizeInBits() == N0.getOperand(0).getScalarValueSizeInBits() &&
 5270           SubRHS.getOperand(0).getScalarValueSizeInBits() == 1)
 5273           SubRHS.getOperand(0).getScalarValueSizeInBits() == 1)
 5292     unsigned ExtBitSize = N1.getScalarValueSizeInBits();
 6375     unsigned NarrowBitWidth = NarrowOp.getScalarValueSizeInBits();
 7097     if ((*ShiftAmtVal + C1Val).uge(V.getScalarValueSizeInBits()))
 7236     APInt ModuloMask(N1.getScalarValueSizeInBits(), Bitsize - 1);
 7948             N2, APInt(N2.getScalarValueSizeInBits(), BitWidth - 1)))
 7989     APInt ModuloBits(N2.getScalarValueSizeInBits(), BitWidth - 1);
 8201     SDValue ShAmtC = DAG.getConstant(X.getScalarValueSizeInBits() - 1, DL, VT);
 8208     SDValue ShAmtC = DAG.getConstant(X.getScalarValueSizeInBits() - 1, DL, VT);
 8622   if (!Cond.hasOneUse() || Cond.getScalarValueSizeInBits() != 1 ||
 9439     unsigned OpBits   = Op.getScalarValueSizeInBits();
 9440     unsigned MidBits  = N0.getScalarValueSizeInBits();
 9582     unsigned SetCCWidth = N0.getScalarValueSizeInBits();
 9719       (Op.getScalarValueSizeInBits() == N0.getScalarValueSizeInBits()) ?
 9719       (Op.getScalarValueSizeInBits() == N0.getScalarValueSizeInBits()) ?
 9720       APInt(Op.getScalarValueSizeInBits(), 0) :
 9721       APInt::getBitsSet(Op.getScalarValueSizeInBits(),
 9722                         N0.getScalarValueSizeInBits(),
 9723                         std::min(Op.getScalarValueSizeInBits(),
10402     unsigned N00Bits = N00.getScalarValueSizeInBits();
10413       N0.getOperand(0).getScalarValueSizeInBits() == EVTBits) {
10424     if (N00.getScalarValueSizeInBits() == EVTBits &&
13181         SignMask = APInt::getSignMask(N0.getScalarValueSizeInBits());
13279         SignMask = ~APInt::getSignMask(N0.getScalarValueSizeInBits());
16195         APInt::getLowBitsSet(Value.getScalarValueSizeInBits(),
18648   unsigned ExtSrcSizeInBits = N00.getScalarValueSizeInBits();
18649   unsigned ExtDstSizeInBits = N0.getScalarValueSizeInBits();
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
  657   unsigned OldBits = Op1.getScalarValueSizeInBits();
 1261         OpL.getScalarValueSizeInBits() - DAG.ComputeNumSignBits(OpL) + 1;
 1263         OpR.getScalarValueSizeInBits() - DAG.ComputeNumSignBits(OpR) + 1;
 1264     if (OpLEffectiveBits <= NewLHS.getScalarValueSizeInBits() &&
 1265         OpREffectiveBits <= NewRHS.getScalarValueSizeInBits()) {
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
  725   assert(Result.getValueSizeInBits() >= Op.getScalarValueSizeInBits() &&
  849   unsigned EltWidth = Op.getScalarValueSizeInBits();
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 1136   unsigned BitWidth = Op.getScalarValueSizeInBits();
 2191     unsigned SrcBitWidth = Src.getScalarValueSizeInBits();
 2209   unsigned BitWidth = Op.getScalarValueSizeInBits();
 2385   unsigned BitWidth = V.getScalarValueSizeInBits();
 2398   unsigned BitWidth = V.getScalarValueSizeInBits();
 2434   unsigned BitWidth = Op.getScalarValueSizeInBits();
 3540     Tmp = VTBits - Op.getOperand(0).getScalarValueSizeInBits();
 3740     unsigned NumSrcBits = Op.getOperand(0).getScalarValueSizeInBits();
 3774         if (InVal.getScalarValueSizeInBits() != VTBits)
 3801     const unsigned EltBitWidth = Op.getOperand(0).getScalarValueSizeInBits();
 7147     return !Val || Val->getAPIntValue().uge(X.getScalarValueSizeInBits());
 8712   unsigned NumBits = V.getScalarValueSizeInBits();
 8804   unsigned BitWidth = N.getScalarValueSizeInBits();
 8811   unsigned BitWidth = N.getScalarValueSizeInBits();
lib/CodeGen/SelectionDAG/TargetLowering.cpp
  758   assert(Op.getScalarValueSizeInBits() == BitWidth &&
  816     unsigned SrcBitWidth = Src.getScalarValueSizeInBits();
  855     unsigned NumSclBits = Scl.getScalarValueSizeInBits();
 1253         Op0.getScalarValueSizeInBits() == BitWidth &&
 1731     unsigned OperandBitWidth = Src.getScalarValueSizeInBits();
 1803     unsigned EltBitWidth = Src.getScalarValueSizeInBits();
 2236       } else if (EltSizeInBits == SrcOp.getScalarValueSizeInBits() &&
 6923   unsigned BitWidth = LHS.getScalarValueSizeInBits();
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
 2081     unsigned Bitwidth = Op.getScalarValueSizeInBits();
lib/Target/ARM/ARMISelLowering.cpp
 8089   if (Op.getValueType() == MVT::i32 && Vec.getScalarValueSizeInBits() < 32) {
13196   unsigned EltSize = Op.getScalarValueSizeInBits();
lib/Target/Mips/MipsSEISelLowering.cpp
 1513   SDValue ConstValue = DAG.getConstant(Vec.getScalarValueSizeInBits() - 1,
lib/Target/PowerPC/PPCISelLowering.cpp
13782                                       .zext(Add.getScalarValueSizeInBits()))) {
lib/Target/SystemZ/SystemZISelLowering.cpp
 6401   unsigned SrcBitWidth = Op.getOperand(OpNo).getScalarValueSizeInBits();
 6451       Tmp += VTBits - PackedOp.getScalarValueSizeInBits();
lib/Target/X86/X86ISelDAGToDAG.cpp
  856           N->getOperand(0).getScalarValueSizeInBits() == 1)
lib/Target/X86/X86ISelLowering.cpp
 5559          (WideSizeInBits % Vec.getScalarValueSizeInBits()) == 0 &&
 5561   unsigned WideNumElts = WideSizeInBits / Vec.getScalarValueSizeInBits();
 6295   if (getTargetConstantBitsFromNode(Op, Op.getScalarValueSizeInBits(),
 7770       unsigned SrcSizeInBits = Src.getScalarValueSizeInBits();
 7771       unsigned DstSizeInBits = Elt.getScalarValueSizeInBits();
 8483          Op.getScalarValueSizeInBits() == 1 &&
12546       int EltBitWidth = VOuter.getScalarValueSizeInBits();
12566   bool BitCastSrc = V.getScalarValueSizeInBits() != NumEltBits;
12628     assert((BitOffset % V.getScalarValueSizeInBits()) == 0 &&
12632     unsigned ExtractIdx = BitOffset / V.getScalarValueSizeInBits();
17215   unsigned CondEltSize = Cond.getScalarValueSizeInBits();
20164               In.getScalarValueSizeInBits() - DAG.ComputeNumSignBits(In) + 1;
20170               In.getScalarValueSizeInBits() - DAG.ComputeNumSignBits(In) + 1;
25681     unsigned Ratio = 64 / Amt.getScalarValueSizeInBits();
31681     unsigned NumSrcBits = Src.getScalarValueSizeInBits();
31695     unsigned SrcBits = Op.getOperand(0).getScalarValueSizeInBits();
33568         N0.getOperand(0).getScalarValueSizeInBits() == EltSizeInBits) {
34072     if (HOp.getScalarValueSizeInBits() == 64 && HOp.getValueType() == VT) {
34424           APInt::getAllOnesValue(N0.getScalarValueSizeInBits());
34916       unsigned NumSclBits = Scl.getScalarValueSizeInBits();
35845   if (Match.getScalarValueSizeInBits() != BitWidth)
36067     unsigned SrcBCWidth = SrcBC.getScalarValueSizeInBits();
36738   unsigned BitWidth = Cond.getScalarValueSizeInBits();
38045        N0.getOperand(0).getScalarValueSizeInBits() <= 8) &&
38047        N1.getOperand(0).getScalarValueSizeInBits() <= 8))
38425   assert(N0.getScalarValueSizeInBits() == SrcBitsPerElt &&
38426          N1.getScalarValueSizeInBits() == SrcBitsPerElt &&
39856       ShiftAmt->getAPIntValue() != (Shift.getScalarValueSizeInBits() - 1))
39929   unsigned NumSrcBits = In.getScalarValueSizeInBits();
40470   if (Mask.getScalarValueSizeInBits() != 1) {
40955         Op.getOperand(0).getScalarValueSizeInBits() <= TruncSizeInBits)
42633       VT.getScalarSizeInBits() == N0.getOperand(0).getScalarValueSizeInBits()) {
42636     unsigned NumSrcEltBits = N00.getScalarValueSizeInBits();
42729         unsigned OrigSize = OrigX.getScalarValueSizeInBits();
42920       Src.getOperand(0).getScalarValueSizeInBits() == EltWidth)
42947   if (Mask.getScalarValueSizeInBits() != 1) {
42949     APInt DemandedMask(APInt::getSignMask(Mask.getScalarValueSizeInBits()));
42968     unsigned IndexWidth = Index.getScalarValueSizeInBits();
43007         Index.getOperand(0).getScalarValueSizeInBits() <= 32 &&
43031     unsigned IndexWidth = Index.getScalarValueSizeInBits();
43058   if (Mask.getScalarValueSizeInBits() != 1) {
43060     APInt DemandedMask(APInt::getSignMask(Mask.getScalarValueSizeInBits()));
44777       Src.getOperand(0).getScalarValueSizeInBits() <= 32)