Lines Matching refs:ExtInst
3611 const Instruction *ExtInst = in canGetThrough() local
3613 if (ExtInst->hasOneUse()) { in canGetThrough()
3615 dyn_cast<const Instruction>(*ExtInst->user_begin()); in canGetThrough()
3726 Instruction *ExtInst = dyn_cast<Instruction>(ExtVal); in promoteOperandForTruncAndAnyExt() local
3727 if (!ExtInst || ExtInst->getType() != ExtInst->getOperand(0)->getType()) { in promoteOperandForTruncAndAnyExt()
3728 if (ExtInst) { in promoteOperandForTruncAndAnyExt()
3730 Exts->push_back(ExtInst); in promoteOperandForTruncAndAnyExt()
3731 CreatedInstsCost = !TLI.isExtFree(ExtInst) && !HasMergedNonFreeExt; in promoteOperandForTruncAndAnyExt()
3738 Value *NextVal = ExtInst->getOperand(0); in promoteOperandForTruncAndAnyExt()
3739 TPT.eraseInstruction(ExtInst, NextVal); in promoteOperandForTruncAndAnyExt()
5011 for (auto ExtInst : NewlyMovedExts) { in tryToPromoteExts() local
5012 Instruction *MovedExt = cast<Instruction>(ExtInst); in tryToPromoteExts()
5991 auto *ExtInst = CastInst::Create(ExtType, Cond, NewType); in optimizeSwitchInst() local
5992 ExtInst->insertBefore(SI); in optimizeSwitchInst()
5993 ExtInst->setDebugLoc(SI->getDebugLoc()); in optimizeSwitchInst()
5994 SI->setCondition(ExtInst); in optimizeSwitchInst()