Home | History | Annotate | Download | only in CellSPU

Lines Matching refs:CN

42   isI32IntS10Immediate(ConstantSDNode *CN)
44 return isInt<10>(CN->getSExtValue());
49 isI32IntU10Immediate(ConstantSDNode *CN)
51 return isUInt<10>(CN->getSExtValue());
56 isI16IntS10Immediate(ConstantSDNode *CN)
58 return isInt<10>(CN->getSExtValue());
63 isI16IntU10Immediate(ConstantSDNode *CN)
65 return isUInt<10>((short) CN->getZExtValue());
70 \arg CN The constant SelectionDAG node holding the value
73 This predicate tests the value in \a CN to see whether it can be
78 isIntS16Immediate(ConstantSDNode *CN, short &Imm)
80 EVT vt = CN->getValueType(0);
81 Imm = (short) CN->getZExtValue();
85 int32_t i_val = (int32_t) CN->getZExtValue();
88 int64_t i_val = (int64_t) CN->getZExtValue();
427 ConstantSDNode *CN = cast<ConstantSDNode>(Op1);
428 int32_t offset = int32_t(CN->getSExtValue());
448 ConstantSDNode *CN = cast<ConstantSDNode>(Op0);
449 int32_t offset = int32_t(CN->getSExtValue());
484 ConstantSDNode *CN = cast<ConstantSDNode>(Op1);
485 offset = int32_t(CN->getSExtValue());
488 ConstantSDNode *CN = cast<ConstantSDNode>(Op0);
489 offset = int32_t(CN->getSExtValue());
749 ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Op0.getOperand(1));
750 if (CN != 0) {
751 unsigned shift_amt = unsigned(CN->getZExtValue());
863 ConstantSDNode *CN = cast<ConstantSDNode>(Op1);
864 Op1 = CurDAG->getTargetConstant(CN->getSExtValue(), VT);
865 if (isInt<10>(CN->getSExtValue())) {
923 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(ShiftAmt)) {
924 unsigned bytes = unsigned(CN->getZExtValue()) >> 3;
925 unsigned bits = unsigned(CN->getZExtValue()) & 7;
982 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(ShiftAmt)) {
983 unsigned bytes = unsigned(CN->getZExtValue()) >> 3;
984 unsigned bits = unsigned(CN->getZExtValue()) & 7;
1072 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(ShiftAmt)) {
1073 unsigned bytes = unsigned(CN->getZExtValue()) >> 3;
1074 unsigned bits = unsigned(CN->getZExtValue()) & 7;
1113 ConstantSDNode *CN = cast<ConstantSDNode>(N);
1114 return SelectI64Constant(CN->getZExtValue(), OpVT, dl);