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

References

lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 4286   if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Operand)) {
 4355   if (ConstantFPSDNode *C = dyn_cast<ConstantFPSDNode>(Operand)) {
 4421   if (BuildVectorSDNode *BV = dyn_cast<BuildVectorSDNode>(Operand)) {
 4450         SDValue Ops = { Operand };
 4458   unsigned OpOpcode = Operand.getNode()->getOpcode();
 4463     return Operand;         // Factor, merge or concat of one node?  No need.
 4466     SDValue Ops[] = {Operand};
 4474            Operand.getValueType().isFloatingPoint() && "Invalid FP cast!");
 4475     if (Operand.getValueType() == VT) return Operand;  // noop conversion.
 4475     if (Operand.getValueType() == VT) return Operand;  // noop conversion.
 4478             Operand.getValueType().getVectorNumElements()) &&
 4480     assert(Operand.getValueType().bitsLT(VT) &&
 4482     if (Operand.isUndef())
 4487     if (Operand.isUndef())
 4493     if (Operand.isUndef())
 4497     assert(VT.isInteger() && Operand.getValueType().isInteger() &&
 4499     assert(VT.isVector() == Operand.getValueType().isVector() &&
 4502     if (Operand.getValueType() == VT) return Operand;   // noop extension
 4502     if (Operand.getValueType() == VT) return Operand;   // noop extension
 4505             Operand.getValueType().getVectorNumElements()) &&
 4507     assert(Operand.getValueType().bitsLT(VT) &&
 4510       return getNode(OpOpcode, DL, VT, Operand.getOperand(0));
 4516     assert(VT.isInteger() && Operand.getValueType().isInteger() &&
 4518     assert(VT.isVector() == Operand.getValueType().isVector() &&
 4521     if (Operand.getValueType() == VT) return Operand;   // noop extension
 4521     if (Operand.getValueType() == VT) return Operand;   // noop extension
 4524             Operand.getValueType().getVectorNumElements()) &&
 4526     assert(Operand.getValueType().bitsLT(VT) &&
 4529       return getNode(ISD::ZERO_EXTEND, DL, VT, Operand.getOperand(0));
 4535     assert(VT.isInteger() && Operand.getValueType().isInteger() &&
 4537     assert(VT.isVector() == Operand.getValueType().isVector() &&
 4540     if (Operand.getValueType() == VT) return Operand;   // noop extension
 4540     if (Operand.getValueType() == VT) return Operand;   // noop extension
 4543             Operand.getValueType().getVectorNumElements()) &&
 4545     assert(Operand.getValueType().bitsLT(VT) &&
 4551       return getNode(OpOpcode, DL, VT, Operand.getOperand(0));
 4557       SDValue OpOp = Operand.getOperand(0);
 4559         transferDbgValues(Operand, OpOp);
 4565     assert(VT.isInteger() && Operand.getValueType().isInteger() &&
 4567     assert(VT.isVector() == Operand.getValueType().isVector() &&
 4570     if (Operand.getValueType() == VT) return Operand;   // noop truncate
 4570     if (Operand.getValueType() == VT) return Operand;   // noop truncate
 4573             Operand.getValueType().getVectorNumElements()) &&
 4575     assert(Operand.getValueType().bitsGT(VT) &&
 4578       return getNode(ISD::TRUNCATE, DL, VT, Operand.getOperand(0));
 4582       if (Operand.getOperand(0).getValueType().getScalarType()
 4584         return getNode(OpOpcode, DL, VT, Operand.getOperand(0));
 4585       if (Operand.getOperand(0).getValueType().bitsGT(VT))
 4586         return getNode(ISD::TRUNCATE, DL, VT, Operand.getOperand(0));
 4587       return Operand.getOperand(0);
 4596     assert(Operand.getValueType().bitsLE(VT) &&
 4599              Operand.getValueType().getVectorNumElements() &&
 4603     assert(VT.isInteger() && VT == Operand.getValueType() &&
 4609     assert(VT.isInteger() && VT == Operand.getValueType() &&
 4617     assert(VT.isInteger() && VT == Operand.getValueType() &&
 4624     assert(VT.getSizeInBits() == Operand.getValueSizeInBits() &&
 4626     if (VT == Operand.getValueType()) return Operand;  // noop conversion.
 4626     if (VT == Operand.getValueType()) return Operand;  // noop conversion.
 4628       return getNode(ISD::BITCAST, DL, VT, Operand.getOperand(0));
 4633     assert(VT.isVector() && !Operand.getValueType().isVector() &&
 4634            (VT.getVectorElementType() == Operand.getValueType() ||
 4636              Operand.getValueType().isInteger() &&
 4637              VT.getVectorElementType().bitsLE(Operand.getValueType()))) &&
 4643         isa<ConstantSDNode>(Operand.getOperand(1)) &&
 4644         Operand.getConstantOperandVal(1) == 0 &&
 4645         Operand.getOperand(0).getValueType() == VT)
 4646       return Operand.getOperand(0);
 4656       return getNode(ISD::FSUB, DL, VT, Operand.getOperand(1),
 4657                      Operand.getOperand(0), Flags);
 4659       return Operand.getOperand(0);
 4663       return getNode(ISD::FABS, DL, VT, Operand.getOperand(0));
 4669   SDValue Ops[] = {Operand};