Lines Matching defs:SExt
356 /// Keep track of SExt promoted.
4627 // SExt or Trunc instructions.
4641 Instruction *SExt, TypePromotionTransaction &TPT,
4645 // By construction, the operand of SExt is an instruction. Otherwise we cannot
4647 Instruction *SExtOpnd = cast<Instruction>(SExt->getOperand(0));
4648 Value *ExtVal = SExt;
4655 TPT.createZExt(SExt, SExtOpnd->getOperand(0), SExt->getType());
4656 TPT.replaceAllUsesWith(SExt, ZExt);
4657 TPT.eraseInstruction(SExt);
4662 TPT.setOperand(SExt, 0, SExtOpnd->getOperand(0));
5028 case Instruction::SExt:
5047 // SExt has been moved away.
6661 // If there is an unhandled SExt which has the same header, try to promote
6684 // as unhandled. Defer to promote this until we encounter another SExt
7446 // Some targets prefer SExt over ZExt.
7448 ExtType = Instruction::SExt;
7452 ExtType = Instruction::SExt;