Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:Imm

2858       // Convert from IMM/FPIMM to target version.
2861 SDValue Imm = RecordedNodes[RecNo].first;
2863 if (Imm->getOpcode() == ISD::Constant) {
2864 const ConstantInt *Val=cast<ConstantSDNode>(Imm)->getConstantIntValue();
2865 Imm = CurDAG->getConstant(*Val, Imm.getValueType(), true);
2866 } else if (Imm->getOpcode() == ISD::ConstantFP) {
2867 const ConstantFP *Val=cast<ConstantFPSDNode>(Imm)->getConstantFPValue();
2868 Imm = CurDAG->getConstantFP(*Val, Imm.getValueType(), true);
2871 RecordedNodes.push_back(std::make_pair(Imm, RecordedNodes[RecNo].second));