Lines Matching refs:ExtInst
4558 const auto *ExtInst = cast<const Instruction>(*Inst->user_begin()); in canGetThrough() local
4559 if (ExtInst->hasOneUse()) { in canGetThrough()
4560 const auto *AndInst = dyn_cast<const Instruction>(*ExtInst->user_begin()); in canGetThrough()
4671 Instruction *ExtInst = dyn_cast<Instruction>(ExtVal); in promoteOperandForTruncAndAnyExt() local
4672 if (!ExtInst || ExtInst->getType() != ExtInst->getOperand(0)->getType()) { in promoteOperandForTruncAndAnyExt()
4673 if (ExtInst) { in promoteOperandForTruncAndAnyExt()
4675 Exts->push_back(ExtInst); in promoteOperandForTruncAndAnyExt()
4676 CreatedInstsCost = !TLI.isExtFree(ExtInst) && !HasMergedNonFreeExt; in promoteOperandForTruncAndAnyExt()
4683 Value *NextVal = ExtInst->getOperand(0); in promoteOperandForTruncAndAnyExt()
4684 TPT.eraseInstruction(ExtInst, NextVal); in promoteOperandForTruncAndAnyExt()
6155 for (auto *ExtInst : NewlyMovedExts) { in tryToPromoteExts() local
6156 Instruction *MovedExt = cast<Instruction>(ExtInst); in tryToPromoteExts()
7457 auto *ExtInst = CastInst::Create(ExtType, Cond, NewType); in optimizeSwitchType() local
7458 ExtInst->insertBefore(SI); in optimizeSwitchType()
7459 ExtInst->setDebugLoc(SI->getDebugLoc()); in optimizeSwitchType()
7460 SI->setCondition(ExtInst); in optimizeSwitchType()