Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp1005 Value *NarrowOp = Builder.CreateBinOp(Opcode, X, Y); in narrowUDivURem() local
1006 return new ZExtInst(NarrowOp, Ty); in narrowUDivURem()
1021 Value *NarrowOp = isa<Constant>(D) ? Builder.CreateBinOp(Opcode, X, TruncC) in narrowUDivURem() local
1023 return new ZExtInst(NarrowOp, Ty); in narrowUDivURem()
1155 Value *NarrowOp = Builder.CreateSDiv(Op0Src, NarrowDivisor); in visitSDiv() local
1156 return new SExtInst(NarrowOp, Ty); in visitSDiv()
H A DInstCombineCasts.cpp733 Value *NarrowOp = Builder.CreateTrunc(Shuf->getOperand(0), Trunc.getType()); in shrinkSplatShuffle() local
734 return new ShuffleVectorInst(NarrowOp, Shuf->getShuffleMask()); in shrinkSplatShuffle()
765 Value *NarrowOp = Builder.CreateCast(Opcode, ScalarOp, DestScalarTy); in shrinkInsertElt() local
766 return InsertElementInst::Create(NarrowUndef, NarrowOp, Index); in shrinkInsertElt()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp7828 SDValue NarrowOp = Op->getOperand(0); in calculateByteProvider() local
7829 unsigned NarrowBitWidth = NarrowOp.getScalarValueSizeInBits(); in calculateByteProvider()
7838 return calculateByteProvider(NarrowOp, Index, Depth + 1); in calculateByteProvider()