Lines Matching defs:ExtInst
4845 const auto *ExtInst = cast<const Instruction>(*Inst->user_begin());
4846 if (ExtInst->hasOneUse()) {
4847 const auto *AndInst = dyn_cast<const Instruction>(*ExtInst->user_begin());
4958 Instruction *ExtInst = dyn_cast<Instruction>(ExtVal);
4959 if (!ExtInst || ExtInst->getType() != ExtInst->getOperand(0)->getType()) {
4960 if (ExtInst) {
4962 Exts->push_back(ExtInst);
4963 CreatedInstsCost = !TLI.isExtFree(ExtInst) && !HasMergedNonFreeExt;
4969 // Reassign the uses of ExtInst to the opnd and remove ExtInst.
4970 Value *NextVal = ExtInst->getOperand(0);
4971 TPT.eraseInstruction(ExtInst, NextVal);
6440 for (auto *ExtInst : NewlyMovedExts) {
6441 Instruction *MovedExt = cast<Instruction>(ExtInst);
7746 auto *ExtInst = CastInst::Create(ExtType, Cond, NewType);
7747 ExtInst->insertBefore(SI->getIterator());
7748 ExtInst->setDebugLoc(SI->getDebugLoc());
7749 SI->setCondition(ExtInst);