Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp4464 if (ExtInst->hasOneUse()) { in canGetThrough()
4576 Instruction *ExtInst = dyn_cast<Instruction>(ExtVal); in promoteOperandForTruncAndAnyExt() local
4577 if (!ExtInst || ExtInst->getType() != ExtInst->getOperand(0)->getType()) { in promoteOperandForTruncAndAnyExt()
4578 if (ExtInst) { in promoteOperandForTruncAndAnyExt()
4580 Exts->push_back(ExtInst); in promoteOperandForTruncAndAnyExt()
4588 Value *NextVal = ExtInst->getOperand(0); in promoteOperandForTruncAndAnyExt()
4589 TPT.eraseInstruction(ExtInst, NextVal); in promoteOperandForTruncAndAnyExt()
6039 for (auto *ExtInst : NewlyMovedExts) { in tryToPromoteExts() local
7344 ExtInst->insertBefore(SI); in optimizeSwitchType()
7345 ExtInst->setDebugLoc(SI->getDebugLoc()); in optimizeSwitchType()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp2075 Instruction *ExtInst; in foldSelectExtConst() local
2076 if (!match(Sel.getTrueValue(), m_Instruction(ExtInst)) && in foldSelectExtConst()
2077 !match(Sel.getFalseValue(), m_Instruction(ExtInst))) in foldSelectExtConst()
2080 auto ExtOpcode = ExtInst->getOpcode(); in foldSelectExtConst()
2086 Value *X = ExtInst->getOperand(0); in foldSelectExtConst()
2098 if (TruncC && ExtInst->hasOneUse()) { in foldSelectExtConst()
2100 if (ExtInst == Sel.getFalseValue()) in foldSelectExtConst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp7015 MachineInstr *ExtInst = getDefIgnoringCopies(OffsetReg, MRI); in selectExtendedSHL() local
7016 auto Ext = getExtendTypeForInst(*ExtInst, MRI, true); in selectExtendedSHL()
7024 OffsetReg = ExtInst->getOperand(1).getReg(); in selectExtendedSHL()
7581 MachineInstr *ExtInst = MRI.getVRegDef(ExtReg); in selectArithExtendedRegister() local
7582 if (isDef32(*ExtInst)) in selectArithExtendedRegister()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp3991 auto *ExtInst = CastInst::CreateIntegerCast(Result, ITy, false, "zext", I); in recognizeBSwapOrBitReverseIdiom() local
3992 InsertedInsts.push_back(ExtInst); in recognizeBSwapOrBitReverseIdiom()