Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp4209 if (ExtInst->hasOneUse()) { in canGetThrough()
4321 Instruction *ExtInst = dyn_cast<Instruction>(ExtVal); in promoteOperandForTruncAndAnyExt() local
4322 if (!ExtInst || ExtInst->getType() != ExtInst->getOperand(0)->getType()) { in promoteOperandForTruncAndAnyExt()
4323 if (ExtInst) { in promoteOperandForTruncAndAnyExt()
4325 Exts->push_back(ExtInst); in promoteOperandForTruncAndAnyExt()
4333 Value *NextVal = ExtInst->getOperand(0); in promoteOperandForTruncAndAnyExt()
4334 TPT.eraseInstruction(ExtInst, NextVal); in promoteOperandForTruncAndAnyExt()
5777 for (auto *ExtInst : NewlyMovedExts) { in tryToPromoteExts() local
7031 ExtInst->insertBefore(SI); in optimizeSwitchInst()
7032 ExtInst->setDebugLoc(SI->getDebugLoc()); in optimizeSwitchInst()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp1918 Instruction *ExtInst; in foldSelectExtConst() local
1919 if (!match(Sel.getTrueValue(), m_Instruction(ExtInst)) && in foldSelectExtConst()
1920 !match(Sel.getFalseValue(), m_Instruction(ExtInst))) in foldSelectExtConst()
1923 auto ExtOpcode = ExtInst->getOpcode(); in foldSelectExtConst()
1929 Value *X = ExtInst->getOperand(0); in foldSelectExtConst()
1942 if (ExtC == C && ExtInst->hasOneUse()) { in foldSelectExtConst()
1944 if (ExtInst == Sel.getFalseValue()) in foldSelectExtConst()
1956 if (ExtInst == Sel.getTrueValue()) { in foldSelectExtConst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp5455 MachineInstr *ExtInst = getDefIgnoringCopies(OffsetReg, MRI); in selectExtendedSHL() local
5456 auto Ext = getExtendTypeForInst(*ExtInst, MRI, true); in selectExtendedSHL()
5464 OffsetReg = ExtInst->getOperand(1).getReg(); in selectExtendedSHL()
6032 MachineInstr *ExtInst = MRI.getVRegDef(ExtReg); in selectArithExtendedRegister() local
6033 if (ExtInst && isDef32(*ExtInst)) in selectArithExtendedRegister()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp3219 auto *ExtInst = CastInst::CreateIntegerCast(Result, ITy, false, "zext", I); in recognizeBSwapOrBitReverseIdiom() local
3220 InsertedInsts.push_back(ExtInst); in recognizeBSwapOrBitReverseIdiom()