Lines Matching defs:Immed
272 uint64_t Immed = cast<ConstantSDNode>(N.getNode())->getZExtValue();
275 if (Immed >> 12 == 0) {
277 } else if ((Immed & 0xfff) == 0 && Immed >> 24 == 0) {
279 Immed = Immed >> 12;
285 Val = CurDAG->getTargetConstant(Immed, dl, MVT::i32);
303 uint64_t Immed = cast<ConstantSDNode>(N.getNode())->getZExtValue();
308 if (Immed == 0)
312 Immed = ~((uint32_t)Immed) + 1;
314 Immed = ~Immed + 1ULL;
315 if (Immed & 0xFFFFFFFFFF000000ULL)
318 Immed &= 0xFFFFFFULL;
319 return SelectArithImmed(CurDAG->getConstant(Immed, SDLoc(N), MVT::i32), Val,
2691 uint64_t Immed = cast<ConstantSDNode>(N->getOperand(2))->getZExtValue();
2694 assert(Immed < 2 && "Bad imm");
2697 assert(Immed < 16 && "Bad imm");
2703 CurDAG->getTargetConstant(Immed, DL, MVT::i16),