Lines Matching defs:ExtInst
4558 const auto *ExtInst = cast<const Instruction>(*Inst->user_begin());
4559 if (ExtInst->hasOneUse()) {
4560 const auto *AndInst = dyn_cast<const Instruction>(*ExtInst->user_begin());
4671 Instruction *ExtInst = dyn_cast<Instruction>(ExtVal);
4672 if (!ExtInst || ExtInst->getType() != ExtInst->getOperand(0)->getType()) {
4673 if (ExtInst) {
4675 Exts->push_back(ExtInst);
4676 CreatedInstsCost = !TLI.isExtFree(ExtInst) && !HasMergedNonFreeExt;
4682 // Reassign the uses of ExtInst to the opnd and remove ExtInst.
4683 Value *NextVal = ExtInst->getOperand(0);
4684 TPT.eraseInstruction(ExtInst, NextVal);
6155 for (auto *ExtInst : NewlyMovedExts) {
6156 Instruction *MovedExt = cast<Instruction>(ExtInst);
7457 auto *ExtInst = CastInst::Create(ExtType, Cond, NewType);
7458 ExtInst->insertBefore(SI);
7459 ExtInst->setDebugLoc(SI->getDebugLoc());
7460 SI->setCondition(ExtInst);