Lines Matching refs:Immed
243 uint64_t Immed = cast<ConstantSDNode>(N.getNode())->getZExtValue(); in SelectArithImmed() local
246 if (Immed >> 12 == 0) { in SelectArithImmed()
248 } else if ((Immed & 0xfff) == 0 && Immed >> 24 == 0) { in SelectArithImmed()
250 Immed = Immed >> 12; in SelectArithImmed()
255 Val = CurDAG->getTargetConstant(Immed, MVT::i32); in SelectArithImmed()
273 uint64_t Immed = cast<ConstantSDNode>(N.getNode())->getZExtValue(); in SelectNegArithImmed() local
278 if (Immed == 0) in SelectNegArithImmed()
282 Immed = ~((uint32_t)Immed) + 1; in SelectNegArithImmed()
284 Immed = ~Immed + 1ULL; in SelectNegArithImmed()
285 if (Immed & 0xFFFFFFFFFF000000ULL) in SelectNegArithImmed()
288 Immed &= 0xFFFFFFULL; in SelectNegArithImmed()
289 return SelectArithImmed(CurDAG->getConstant(Immed, MVT::i32), Val, Shift); in SelectNegArithImmed()