Home
last modified time | relevance | path

Searched refs:ExtInst (Results 1 – 3 of 3) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp3611 const Instruction *ExtInst = in canGetThrough() local
3613 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() local
5992 ExtInst->insertBefore(SI); in optimizeSwitchInst()
5993 ExtInst->setDebugLoc(SI->getDebugLoc()); in optimizeSwitchInst()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp1287 Instruction *ExtInst; in foldSelectExtConst() local
1288 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()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DLocal.cpp2808 auto *ExtInst = CastInst::Create(Instruction::ZExt, CI, ITy, "zext", I); in recognizeBSwapOrBitReverseIdiom() local
2809 InsertedInsts.push_back(ExtInst); in recognizeBSwapOrBitReverseIdiom()