Lines Matching refs:CN
957 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(OpVal)) {
958 Value = CN->getZExtValue();
959 } else if (ConstantFPSDNode *CN = dyn_cast<ConstantFPSDNode>(OpVal)) {
960 assert(CN->getValueType(0) == MVT::f32 && "Only one legal FP vector type!");
961 Value = FloatToBits(CN->getValueAPF().convertToFloat());
1156 } else if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(N)) {
1162 if (isIntS16Immediate(CN, Imm) && (!Aligned || (Imm & 3) == 0)) {
1163 Disp = DAG.getTargetConstant(Imm, CN->getValueType(0));
1165 CN->getValueType(0));
1170 if ((CN->getValueType(0) == MVT::i32 ||
1171 (int64_t)CN->getZExtValue() == (int)CN->getZExtValue()) &&
1172 (!Aligned || (CN->getZExtValue() & 3) == 0)) {
1173 int Addr = (int)CN->getZExtValue();
1179 unsigned Opc = CN->getValueType(0) == MVT::i32 ? PPC::LIS : PPC::LIS8;
1180 Base = SDValue(DAG.getMachineNode(Opc, dl, CN->getValueType(0), Base), 0);