reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1646 assert(A.Value.getNode() && B.Value.getNode()); 1646 assert(A.Value.getNode() && B.Value.getNode()); 1691 if (!HaveConst && SeparateConst && isa<ConstantSDNode>(L.Value)) { 1693 cast<ConstantSDNode>(L.Value)->getSExtValue() == 1) 1696 cast<ConstantSDNode>(L.Value)->getSExtValue() == 0) 1731 const SDValue &Val = L.Value; 1736 if (!Result.Value.getNode() || Result.Weight > L.Weight || 1744 if (Result.Value.getNode()) { 1758 const SDValue &Val = L.Value; 1763 if (!Result.Value.getNode() || Result.Weight > L.Weight || 1771 if (Result.Value.getNode()) { 1983 if (!Mul1.Value.getNode()) { 2005 if (isTargetConstant(Child) && !GA.Value.getNode()) 2046 if (CanFactorize && (willShiftRightEliminate(Mul1.Value, MaxPowerOf2) || 2047 willShiftRightEliminate(Mul2.Value, MaxPowerOf2))) { 2050 int Height = std::max(NodeHeights[Mul1.Value], NodeHeights[Mul2.Value]) + 1; 2050 int Height = std::max(NodeHeights[Mul1.Value], NodeHeights[Mul2.Value]) + 1; 2051 SDValue Mul1Factored = factorOutPowerOf2(Mul1.Value, MaxPowerOf2); 2052 SDValue Mul2Factored = factorOutPowerOf2(Mul2.Value, MaxPowerOf2); 2053 SDValue Sum = CurDAG->getNode(ISD::ADD, SDLoc(N), Mul1.Value.getValueType(), 2056 Mul1.Value.getValueType()); 2057 SDValue New = CurDAG->getNode(ISD::SHL, SDLoc(N), Mul1.Value.getValueType(), 2061 } else if (Mul1.Value.getNode()) { 2065 if (Mul2.Value.getNode()) 2074 if (NOpcode == ISD::ADD && GA.Value.getNode() && Leaves.hasConst() && 2075 GA.Value.hasOneUse() && N->use_size() < 3) { 2077 cast<GlobalAddressSDNode>(GA.Value.getOperand(0)); 2078 ConstantSDNode *Offset = cast<ConstantSDNode>(Leaves.top().Value); 2087 CurDAG->getTargetGlobalAddress(GANode->getGlobal(), SDLoc(GA.Value), 2090 GA.Value = CurDAG->getNode(GA.Value.getOpcode(), SDLoc(GA.Value), 2090 GA.Value = CurDAG->getNode(GA.Value.getOpcode(), SDLoc(GA.Value), 2090 GA.Value = CurDAG->getNode(GA.Value.getOpcode(), SDLoc(GA.Value), 2091 GA.Value.getValueType(), NewTGA); 2094 NodeHeights[GA.Value] = getHeight(GA.Value.getNode()); 2094 NodeHeights[GA.Value] = getHeight(GA.Value.getNode()); 2110 if (NOpcode == ISD::ADD && GA.Value.getNode()) { 2112 if (SHL.Value.getNode()) { 2113 int Height = std::max(NodeHeights[GA.Value], NodeHeights[SHL.Value]) + 1; 2113 int Height = std::max(NodeHeights[GA.Value], NodeHeights[SHL.Value]) + 1; 2114 GA.Value = CurDAG->getNode(ISD::ADD, SDLoc(GA.Value), 2114 GA.Value = CurDAG->getNode(ISD::ADD, SDLoc(GA.Value), 2115 GA.Value.getValueType(), 2116 GA.Value, SHL.Value); 2116 GA.Value, SHL.Value); 2118 NodeHeights[GA.Value] = Height; 2122 if (GA.Value.getNode()) 2142 if (!L1.Value.getNode()) 2147 SDValue V0 = L0.Value; 2149 SDValue V1 = L1.Value; 2195 SDValue NewRoot = Leaves.top().Value;