Home
last modified time | relevance | path

Searched refs:AddInst (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp879 Instruction *AddInst = cast<Instruction>(Offsets); in tryCreateIncrementingWBGatScat() local
880 AddInst->replaceAllUsesWith(NewInduction); in tryCreateIncrementingWBGatScat()
881 AddInst->eraseFromParent(); in tryCreateIncrementingWBGatScat()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp962 Instruction *AddInst = cast<Instruction>(Add); in foldLShrOverflowBit() local
963 Builder.SetInsertPoint(AddInst); in foldLShrOverflowBit()
973 replaceInstUsesWith(*AddInst, Builder.CreateZExt(NarrowAdd, Ty)); in foldLShrOverflowBit()
974 eraseInstFromFunction(*AddInst); in foldLShrOverflowBit()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp2056 Value *AddInst, *AddOffset; in isRemOfLoopIncrementWithLoopInvariant() local
2060 AddInst = nullptr; in isRemOfLoopIncrementWithLoopInvariant()
2068 AddInst = Incr; in isRemOfLoopIncrementWithLoopInvariant()
2121 AddInstOut = AddInst; in isRemOfLoopIncrementWithLoopInvariant()
2141 Value *AddOffset, *RemAmt, *AddInst; in foldURemOfLoopIncrement() local
2143 if (!isRemOfLoopIncrementWithLoopInvariant(Rem, LI, RemAmt, AddInst, in foldURemOfLoopIncrement()
2168 if (AddInst) { in foldURemOfLoopIncrement()
2173 match(AddInst, m_NSWAdd(m_Value(), m_Value())), in foldURemOfLoopIncrement()
2206 if (AddInst) in foldURemOfLoopIncrement()
2207 FreshBBs.insert(cast<Instruction>(AddInst)->getParent()); in foldURemOfLoopIncrement()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCFrameLowering.cpp1591 const MCInstrDesc& AddInst = TII.get( isPPC64 ? PPC::ADD8 in emitEpilogue() local
1734 BuildMI(MBB, MBBI, dl, AddInst) in emitEpilogue()
1901 BuildMI(MBB, MBBI, dl, AddInst) in emitEpilogue()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp1666 auto *AddInst = cast<OverflowingBinaryOperator>(Op0->getOperand(0)); in simplifyAndOfICmpsWithAdd() local
1667 if (AddInst->getOperand(1) != Op1->getOperand(1)) in simplifyAndOfICmpsWithAdd()
1671 bool IsNSW = IIQ.hasNoSignedWrap(AddInst); in simplifyAndOfICmpsWithAdd()
1672 bool IsNUW = IIQ.hasNoUnsignedWrap(AddInst); in simplifyAndOfICmpsWithAdd()
1757 auto *AddInst = cast<BinaryOperator>(Op0->getOperand(0)); in simplifyOrOfICmpsWithAdd() local
1758 if (AddInst->getOperand(1) != Op1->getOperand(1)) in simplifyOrOfICmpsWithAdd()
1762 bool IsNSW = IIQ.hasNoSignedWrap(AddInst); in simplifyOrOfICmpsWithAdd()
1763 bool IsNUW = IIQ.hasNoUnsignedWrap(AddInst); in simplifyOrOfICmpsWithAdd()