Home | History | Annotate | Download | only in SelectionDAG

Lines Matching defs:depth

1563 bool SelectionDAG::SignBitIsZero(SDValue Op, unsigned Depth) const {
1569 return MaskedValueIsZero(Op, APInt::getSignBit(BitWidth), Depth);
1576 unsigned Depth) const {
1578 ComputeMaskedBits(Op, Mask, KnownZero, KnownOne, Depth);
1589 unsigned Depth) const {
1595 if (Depth == 6 || Mask == 0)
1596 return; // Limit search depth.
1608 ComputeMaskedBits(Op.getOperand(1), Mask, KnownZero, KnownOne, Depth+1);
1610 KnownZero2, KnownOne2, Depth+1);
1620 ComputeMaskedBits(Op.getOperand(1), Mask, KnownZero, KnownOne, Depth+1);
1622 KnownZero2, KnownOne2, Depth+1);
1632 ComputeMaskedBits(Op.getOperand(1), Mask, KnownZero, KnownOne, Depth+1);
1633 ComputeMaskedBits(Op.getOperand(0), Mask, KnownZero2, KnownOne2, Depth+1);
1646 ComputeMaskedBits(Op.getOperand(1), Mask2, KnownZero, KnownOne, Depth+1);
1647 ComputeMaskedBits(Op.getOperand(0), Mask2, KnownZero2, KnownOne2, Depth+1);
1675 AllOnes, KnownZero2, KnownOne2, Depth+1);
1681 AllOnes, KnownZero2, KnownOne2, Depth+1);
1691 ComputeMaskedBits(Op.getOperand(2), Mask, KnownZero, KnownOne, Depth+1);
1692 ComputeMaskedBits(Op.getOperand(1), Mask, KnownZero2, KnownOne2, Depth+1);
1701 ComputeMaskedBits(Op.getOperand(3), Mask, KnownZero, KnownOne, Depth+1);
1702 ComputeMaskedBits(Op.getOperand(2), Mask, KnownZero2, KnownOne2, Depth+1);
1735 KnownZero, KnownOne, Depth+1);
1753 KnownZero, KnownOne, Depth+1);
1778 Depth+1);
1812 KnownZero, KnownOne, Depth+1);
1853 ComputeMaskedBits(Op.getOperand(0), InMask, KnownZero, KnownOne, Depth+1);
1873 ComputeMaskedBits(Op.getOperand(0), InMask, KnownZero, KnownOne, Depth+1);
1904 ComputeMaskedBits(Op.getOperand(0), InMask, KnownZero, KnownOne, Depth+1);
1915 ComputeMaskedBits(Op.getOperand(0), InMask, KnownZero, KnownOne, Depth+1);
1925 KnownOne, Depth+1);
1944 Depth+1);
1965 ComputeMaskedBits(Op.getOperand(0), Mask2, KnownZero2, KnownOne2, Depth+1);
1969 ComputeMaskedBits(Op.getOperand(1), Mask2, KnownZero2, KnownOne2, Depth+1);
1993 ComputeMaskedBits(Op.getOperand(0), Mask2,KnownZero2,KnownOne2,Depth+1);
2023 ComputeMaskedBits(Op.getOperand(0), Mask2, KnownZero, KnownOne,Depth+1);
2033 Depth+1);
2035 Depth+1);
2061 Depth);
2071 unsigned SelectionDAG::ComputeNumSignBits(SDValue Op, unsigned Depth) const{
2078 if (Depth == 6)
2079 return 1; // Limit search depth.
2097 return ComputeNumSignBits(Op.getOperand(0), Depth+1) + Tmp;
2105 Tmp2 = ComputeNumSignBits(Op.getOperand(0), Depth+1);
2109 Tmp = ComputeNumSignBits(Op.getOperand(0), Depth+1);
2119 Tmp = ComputeNumSignBits(Op.getOperand(0), Depth+1);
2129 Tmp = ComputeNumSignBits(Op.getOperand(0), Depth+1);
2131 Tmp2 = ComputeNumSignBits(Op.getOperand(1), Depth+1);
2140 Tmp = ComputeNumSignBits(Op.getOperand(1), Depth+1);
2142 Tmp2 = ComputeNumSignBits(Op.getOperand(2), Depth+1);
2171 Tmp = ComputeNumSignBits(Op.getOperand(0), Depth+1);
2178 Tmp = ComputeNumSignBits(Op.getOperand(0), Depth+1);
2186 ComputeMaskedBits(Op.getOperand(0), Mask, KnownZero, KnownOne, Depth+1);
2199 Tmp2 = ComputeNumSignBits(Op.getOperand(1), Depth+1);
2205 Tmp2 = ComputeNumSignBits(Op.getOperand(1), Depth+1);
2213 ComputeMaskedBits(Op.getOperand(1), Mask, KnownZero, KnownOne, Depth+1);
2229 Tmp = ComputeNumSignBits(Op.getOperand(0), Depth+1);
2259 unsigned NumBits = TLI.ComputeNumSignBitsForTargetNode(Op, Depth);
2267 ComputeMaskedBits(Op, Mask, KnownZero, KnownOne, Depth);
5680 unsigned Depth) const {
5685 if (Depth == 0) return false;
5691 if (!getOperand(i).reachesChainWithoutSideEffects(Dest, Depth-1))
5699 return Ld->getChain().reachesChainWithoutSideEffects(Dest, Depth-1);
6247 const SelectionDAG *G, unsigned depth,
6250 if (depth == 0)
6257 if (depth < 1)
6265 printrWithDepthHelper(OS, N->getOperand(i).getNode(), G, depth-1, indent+2);
6270 unsigned depth) const {
6271 printrWithDepthHelper(OS, this, G, depth, 0);
6279 void SDNode::dumprWithDepth(const SelectionDAG *G, unsigned depth) const {
6280 printrWithDepth(dbgs(), G, depth);
6627 // If a node has already been visited on this depth-first walk, reject it as