Lines Matching refs:ExtInst
4208 const auto *ExtInst = cast<const Instruction>(*Inst->user_begin()); in canGetThrough() local
4209 if (ExtInst->hasOneUse()) { in canGetThrough()
4210 const auto *AndInst = dyn_cast<const Instruction>(*ExtInst->user_begin()); in canGetThrough()
4321 Instruction *ExtInst = dyn_cast<Instruction>(ExtVal); in promoteOperandForTruncAndAnyExt() local
4322 if (!ExtInst || ExtInst->getType() != ExtInst->getOperand(0)->getType()) { in promoteOperandForTruncAndAnyExt()
4323 if (ExtInst) { in promoteOperandForTruncAndAnyExt()
4325 Exts->push_back(ExtInst); in promoteOperandForTruncAndAnyExt()
4326 CreatedInstsCost = !TLI.isExtFree(ExtInst) && !HasMergedNonFreeExt; in promoteOperandForTruncAndAnyExt()
4333 Value *NextVal = ExtInst->getOperand(0); in promoteOperandForTruncAndAnyExt()
4334 TPT.eraseInstruction(ExtInst, NextVal); in promoteOperandForTruncAndAnyExt()
5777 for (auto *ExtInst : NewlyMovedExts) { in tryToPromoteExts() local
5778 Instruction *MovedExt = cast<Instruction>(ExtInst); in tryToPromoteExts()
7030 auto *ExtInst = CastInst::Create(ExtType, Cond, NewType); in optimizeSwitchInst() local
7031 ExtInst->insertBefore(SI); in optimizeSwitchInst()
7032 ExtInst->setDebugLoc(SI->getDebugLoc()); in optimizeSwitchInst()
7033 SI->setCondition(ExtInst); in optimizeSwitchInst()