Lines Matching refs:ExtInst
4463 const auto *ExtInst = cast<const Instruction>(*Inst->user_begin()); in canGetThrough() local
4464 if (ExtInst->hasOneUse()) { in canGetThrough()
4465 const auto *AndInst = dyn_cast<const Instruction>(*ExtInst->user_begin()); in canGetThrough()
4576 Instruction *ExtInst = dyn_cast<Instruction>(ExtVal); in promoteOperandForTruncAndAnyExt() local
4577 if (!ExtInst || ExtInst->getType() != ExtInst->getOperand(0)->getType()) { in promoteOperandForTruncAndAnyExt()
4578 if (ExtInst) { in promoteOperandForTruncAndAnyExt()
4580 Exts->push_back(ExtInst); in promoteOperandForTruncAndAnyExt()
4581 CreatedInstsCost = !TLI.isExtFree(ExtInst) && !HasMergedNonFreeExt; in promoteOperandForTruncAndAnyExt()
4588 Value *NextVal = ExtInst->getOperand(0); in promoteOperandForTruncAndAnyExt()
4589 TPT.eraseInstruction(ExtInst, NextVal); in promoteOperandForTruncAndAnyExt()
6039 for (auto *ExtInst : NewlyMovedExts) { in tryToPromoteExts() local
6040 Instruction *MovedExt = cast<Instruction>(ExtInst); in tryToPromoteExts()
7343 auto *ExtInst = CastInst::Create(ExtType, Cond, NewType); in optimizeSwitchType() local
7344 ExtInst->insertBefore(SI); in optimizeSwitchType()
7345 ExtInst->setDebugLoc(SI->getDebugLoc()); in optimizeSwitchType()
7346 SI->setCondition(ExtInst); in optimizeSwitchType()