reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
3237 if (Imm->getOpcode() == ISD::Constant) { 3238 const ConstantInt *Val=cast<ConstantSDNode>(Imm)->getConstantIntValue(); 3239 Imm = CurDAG->getTargetConstant(*Val, SDLoc(NodeToMatch), 3240 Imm.getValueType()); 3241 } else if (Imm->getOpcode() == ISD::ConstantFP) { 3242 const ConstantFP *Val=cast<ConstantFPSDNode>(Imm)->getConstantFPValue(); 3243 Imm = CurDAG->getTargetConstantFP(*Val, SDLoc(NodeToMatch), 3244 Imm.getValueType()); 3247 RecordedNodes.push_back(std::make_pair(Imm, RecordedNodes[RecNo].second));