Searched refs:ExtInst (Results 1 – 3 of 3) sorted by relevance
3611 const Instruction *ExtInst = in canGetThrough() local3613 if (ExtInst->hasOneUse()) { in canGetThrough()3727 if (!ExtInst || ExtInst->getType() != ExtInst->getOperand(0)->getType()) { in promoteOperandForTruncAndAnyExt()3728 if (ExtInst) { in promoteOperandForTruncAndAnyExt()3730 Exts->push_back(ExtInst); in promoteOperandForTruncAndAnyExt()3738 Value *NextVal = ExtInst->getOperand(0); in promoteOperandForTruncAndAnyExt()3739 TPT.eraseInstruction(ExtInst, NextVal); in promoteOperandForTruncAndAnyExt()5011 for (auto ExtInst : NewlyMovedExts) { in tryToPromoteExts() local5992 ExtInst->insertBefore(SI); in optimizeSwitchInst()5993 ExtInst->setDebugLoc(SI->getDebugLoc()); in optimizeSwitchInst()[all …]
1287 Instruction *ExtInst; in foldSelectExtConst() local1288 if (!match(Sel.getTrueValue(), m_Instruction(ExtInst)) && in foldSelectExtConst()1289 !match(Sel.getFalseValue(), m_Instruction(ExtInst))) in foldSelectExtConst()1292 auto ExtOpcode = ExtInst->getOpcode(); in foldSelectExtConst()1298 Value *X = ExtInst->getOperand(0); in foldSelectExtConst()1313 if (ExtInst == Sel.getFalseValue()) in foldSelectExtConst()1325 if (ExtInst == Sel.getTrueValue()) { in foldSelectExtConst()
2808 auto *ExtInst = CastInst::Create(Instruction::ZExt, CI, ITy, "zext", I); in recognizeBSwapOrBitReverseIdiom() local2809 InsertedInsts.push_back(ExtInst); in recognizeBSwapOrBitReverseIdiom()