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

Declarations

include/llvm/CodeGen/SelectionDAG.h
 1543   unsigned ComputeNumSignBits(SDValue Op, unsigned Depth = 0) const;

References

gen/lib/Target/ARM/ARMGenDAGISel.inc
54116   return CurDAG->ComputeNumSignBits(SDValue(N,0)) >= 17;
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 2409   if (DAG.ComputeNumSignBits(N1.getOperand(0)) != VT.getScalarSizeInBits())
 7543   if (DAG.ComputeNumSignBits(N0) == OpSizeInBits)
 9442     unsigned NumSignBits = DAG.ComputeNumSignBits(Op);
10387   if (DAG.ComputeNumSignBits(N0) >= VTBits-EVTBits+1)
10404          (N00Bits - DAG.ComputeNumSignBits(N00)) < EVTBits) &&
10451         unsigned InSignBits = DAG.ComputeNumSignBits(N0.getOperand(0));
19434         DAG.ComputeNumSignBits(N0) == VT.getScalarSizeInBits())
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
 1261         OpL.getScalarValueSizeInBits() - DAG.ComputeNumSignBits(OpL) + 1;
 1263         OpR.getScalarValueSizeInBits() - DAG.ComputeNumSignBits(OpR) + 1;
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 3447       Tmp2 = ComputeNumSignBits(Op.getOperand(i), Depth + 1);
 3623     Tmp = ComputeNumSignBits(Op.getOperand(0), Depth + 1);
 3626     Tmp2 = ComputeNumSignBits(Op.getOperand(1), Depth + 1);
 3631     Tmp = ComputeNumSignBits(Op.getOperand(0), Depth + 1);
 3634     Tmp2 = ComputeNumSignBits(Op.getOperand(1), Depth + 1);
 3669       Tmp = ComputeNumSignBits(Op.getOperand(0), Depth+1);
 3677     Tmp = ComputeNumSignBits(Op.getOperand(0), Depth+1);
 3696     Tmp2 = ComputeNumSignBits(Op.getOperand(1), Depth+1);
 3701     Tmp2 = ComputeNumSignBits(Op.getOperand(1), Depth+1);
 3723     Tmp = ComputeNumSignBits(Op.getOperand(0), Depth+1);
 3728     unsigned SignBitsOp0 = ComputeNumSignBits(Op.getOperand(0), Depth + 1);
 3731     unsigned SignBitsOp1 = ComputeNumSignBits(Op.getOperand(1), Depth + 1);
 3741     unsigned NumSrcSignBits = ComputeNumSignBits(Op.getOperand(0), Depth + 1);
 3747     const int KnownSign = ComputeNumSignBits(Op.getOperand(0), Depth+1);
 3776         Tmp = ComputeNumSignBits(InVal, Depth + 1);
 3789       Tmp = ComputeNumSignBits(InVec, Depth + 1);
 3790       Tmp2 = ComputeNumSignBits(InVal, Depth + 1);
 3878     Tmp = ComputeNumSignBits(Sub, Depth + 1);
 3880     Tmp2 = ComputeNumSignBits(Src, Depth + 1);
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  771     unsigned NumSignBits = CurDAG->ComputeNumSignBits(Src);
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 1548       unsigned NumSignBits = TLO.DAG.ComputeNumSignBits(Op0);
 5609   unsigned LHSSB = DAG.ComputeNumSignBits(LHS);
 5610   unsigned RHSSB = DAG.ComputeNumSignBits(RHS);
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
   62   return VT.getSizeInBits() - DAG.ComputeNumSignBits(Op);
 1535   unsigned LHSSignBits = DAG.ComputeNumSignBits(LHS);
 1539   unsigned RHSSignBits = DAG.ComputeNumSignBits(RHS);
 1974       DAG.ComputeNumSignBits(LHS) > 32 &&
 1975       DAG.ComputeNumSignBits(RHS) > 32) {
 4007       unsigned OpSignBits = DAG.ComputeNumSignBits(BitsFrom);
 4549     unsigned Op0SignBits = DAG.ComputeNumSignBits(Op.getOperand(0), Depth + 1);
lib/Target/ARM/ARMISelLowering.cpp
 1793   return DAG.ComputeNumSignBits(Op) == 17;
lib/Target/PowerPC/PPCISelLowering.cpp
12048       if (DAG.ComputeNumSignBits(N->getOperand(0)) != OpBits ||
12049           DAG.ComputeNumSignBits(N->getOperand(1)) != OpBits)
12447            DAG.ComputeNumSignBits(Inputs[i].getOperand(0)) <
lib/Target/SystemZ/SystemZISelLowering.cpp
 3357   else if (DAG.ComputeNumSignBits(Op1) > 32)
lib/Target/X86/X86ISelLowering.cpp
10850     if ((N1.isUndef() || DAG.ComputeNumSignBits(VV1) > BitSize) &&
10851         (N2.isUndef() || DAG.ComputeNumSignBits(VV2) > BitSize)) {
17244     if (CondEltSize != DAG.ComputeNumSignBits(Cond))
19304       if (DAG.ComputeNumSignBits(In) < InVT.getScalarSizeInBits()) {
19354   if (DAG.ComputeNumSignBits(In) < InVT.getScalarSizeInBits()) {
19427   if ((InNumEltBits - NumPackedSignBits) < DAG.ComputeNumSignBits(In))
20164               In.getScalarValueSizeInBits() - DAG.ComputeNumSignBits(In) + 1;
20170               In.getScalarValueSizeInBits() - DAG.ComputeNumSignBits(In) + 1;
31683     unsigned Tmp = DAG.ComputeNumSignBits(Src, Depth + 1);
31746     unsigned Tmp0 = DAG.ComputeNumSignBits(Op.getOperand(0), Depth+1);
31748     unsigned Tmp1 = DAG.ComputeNumSignBits(Op.getOperand(1), Depth+1);
35895     if (DAG.ComputeNumSignBits(Match) != BitWidth)
36590   if (DAG.ComputeNumSignBits(Cond) != CondVT.getScalarSizeInBits())
37811     SignBits[i] = DAG.ComputeNumSignBits(Opd);
38084   if (Subtarget.hasSSE41() && DAG.ComputeNumSignBits(N0) > 32 &&
38085       DAG.ComputeNumSignBits(N1) > 32) {
38491     if ((IsSigned && DAG.ComputeNumSignBits(N0) > 8) ||
38908   if (EltBitWidth != DAG.ComputeNumSignBits(Op0))
39389          DAG.ComputeNumSignBits(Mask) == MaskVT.getScalarSizeInBits() &&
39460   if (!MaskVT.isInteger() || DAG.ComputeNumSignBits(Mask) != EltBits)
41155   unsigned NumSignBits = DAG.ComputeNumSignBits(In);
42979           DAG.ComputeNumSignBits(Index) > (IndexWidth - 32)) {
43008         DAG.ComputeNumSignBits(Index) > (IndexWidth - 32)) {
43238     unsigned NumSignBits = DAG.ComputeNumSignBits(Op0);
lib/Target/XCore/XCoreISelLowering.cpp
  656   unsigned LHSSB = DAG.ComputeNumSignBits(Mul.getOperand(0));
  657   unsigned RHSSB = DAG.ComputeNumSignBits(Mul.getOperand(1));