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

Declarations

include/llvm/CodeGen/SelectionDAG.h
 1553   unsigned ComputeNumSignBits(SDValue Op, const APInt &DemandedElts,

References

lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 3407   return ComputeNumSignBits(Op, DemandedElts, Depth);
 3481       Tmp = ComputeNumSignBits(Op.getOperand(0), DemandedLHS, Depth + 1);
 3483       Tmp2 = ComputeNumSignBits(Op.getOperand(1), DemandedRHS, Depth + 1);
 3504       return ComputeNumSignBits(N0, DemandedElts, Depth + 1);
 3519       Tmp = ComputeNumSignBits(N0, SrcDemandedElts, Depth + 1);
 3541     return ComputeNumSignBits(Op.getOperand(0), DemandedElts, Depth+1) + Tmp;
 3546     Tmp2 = ComputeNumSignBits(Op.getOperand(0), DemandedElts, Depth+1);
 3553     return ComputeNumSignBits(Src, DemandedSrcElts, Depth+1) + Tmp;
 3557     Tmp = ComputeNumSignBits(Op.getOperand(0), DemandedElts, Depth+1);
 3570       Tmp = ComputeNumSignBits(Op.getOperand(0), DemandedElts, Depth+1);
 3580     Tmp = ComputeNumSignBits(Op.getOperand(0), DemandedElts, Depth+1);
 3582       Tmp2 = ComputeNumSignBits(Op.getOperand(1), DemandedElts, Depth+1);
 3592     Tmp = ComputeNumSignBits(Op.getOperand(1), DemandedElts, Depth+1);
 3594     Tmp2 = ComputeNumSignBits(Op.getOperand(2), DemandedElts, Depth+1);
 3597     Tmp = ComputeNumSignBits(Op.getOperand(2), DemandedElts, Depth+1);
 3599     Tmp2 = ComputeNumSignBits(Op.getOperand(3), DemandedElts, Depth+1);
 3784         Tmp2 = ComputeNumSignBits(InVec, VectorElts, Depth + 1);
 3818     return ComputeNumSignBits(InVec, DemandedSrcElts, Depth + 1);
 3832     return ComputeNumSignBits(Src, DemandedSrc, Depth + 1);
 3846       Tmp2 = ComputeNumSignBits(Op.getOperand(i), DemandedSub, Depth + 1);
 3864         Tmp = ComputeNumSignBits(Sub, DemandedSubElts, Depth + 1);
 3870         Tmp2 = ComputeNumSignBits(Src, DemandedSrcElts, Depth + 1);
lib/Target/SystemZ/SystemZISelLowering.cpp
 6395   unsigned LHS = DAG.ComputeNumSignBits(Op.getOperand(OpNo), Src0DemE, Depth + 1);
 6398   unsigned RHS = DAG.ComputeNumSignBits(Op.getOperand(OpNo + 1), Src1DemE, Depth + 1);
 6448       unsigned Tmp = DAG.ComputeNumSignBits(PackedOp, SrcDemE, Depth + 1);
lib/Target/X86/X86ISelLowering.cpp
 7125            DAG.ComputeNumSignBits(N0, EltsLHS, Depth + 1) <= NumBitsPerElt) ||
 7127            DAG.ComputeNumSignBits(N1, EltsRHS, Depth + 1) <= NumBitsPerElt))
31698       Tmp0 = DAG.ComputeNumSignBits(Op.getOperand(0), DemandedLHS, Depth + 1);
31700       Tmp1 = DAG.ComputeNumSignBits(Op.getOperand(1), DemandedRHS, Depth + 1);
31712     unsigned Tmp = DAG.ComputeNumSignBits(Src, DemandedElts, Depth + 1);
31723     unsigned Tmp = DAG.ComputeNumSignBits(Src, DemandedElts, Depth + 1);
31738         DAG.ComputeNumSignBits(Op.getOperand(0), DemandedElts, Depth + 1);
31741         DAG.ComputeNumSignBits(Op.getOperand(1), DemandedElts, Depth + 1);
31793               DAG.ComputeNumSignBits(Ops[i], DemandedOps[i], Depth + 1);
34827             TLO.DAG.ComputeNumSignBits(Op00, OriginalDemandedElts);
unittests/CodeGen/AArch64SelectionDAGTest.cpp
  121   EXPECT_EQ(DAG->ComputeNumSignBits(Op, DemandedElts), 15u);
  135   EXPECT_EQ(DAG->ComputeNumSignBits(Op, DemandedElts), 7u);