Lines Matching refs:ExtInst
4228 const auto *ExtInst = cast<const Instruction>(*Inst->user_begin()); in canGetThrough() local
4229 if (ExtInst->hasOneUse()) { in canGetThrough()
4230 const auto *AndInst = dyn_cast<const Instruction>(*ExtInst->user_begin()); in canGetThrough()
4341 Instruction *ExtInst = dyn_cast<Instruction>(ExtVal); in promoteOperandForTruncAndAnyExt() local
4342 if (!ExtInst || ExtInst->getType() != ExtInst->getOperand(0)->getType()) { in promoteOperandForTruncAndAnyExt()
4343 if (ExtInst) { in promoteOperandForTruncAndAnyExt()
4345 Exts->push_back(ExtInst); in promoteOperandForTruncAndAnyExt()
4346 CreatedInstsCost = !TLI.isExtFree(ExtInst) && !HasMergedNonFreeExt; in promoteOperandForTruncAndAnyExt()
4353 Value *NextVal = ExtInst->getOperand(0); in promoteOperandForTruncAndAnyExt()
4354 TPT.eraseInstruction(ExtInst, NextVal); in promoteOperandForTruncAndAnyExt()
5799 for (auto *ExtInst : NewlyMovedExts) { in tryToPromoteExts() local
5800 Instruction *MovedExt = cast<Instruction>(ExtInst); in tryToPromoteExts()
7054 auto *ExtInst = CastInst::Create(ExtType, Cond, NewType); in optimizeSwitchType() local
7055 ExtInst->insertBefore(SI); in optimizeSwitchType()
7056 ExtInst->setDebugLoc(SI->getDebugLoc()); in optimizeSwitchType()
7057 SI->setCondition(ExtInst); in optimizeSwitchType()