Searched refs:Ashr (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonOptimizeSZextends.cpp | 103 BinaryOperator *Ashr = dyn_cast<BinaryOperator>(&I); in runOnFunction() local 104 if (!(Ashr && Ashr->getOpcode() == Instruction::AShr)) in runOnFunction() 106 Value *AshrOp1 = Ashr->getOperand(1); in runOnFunction() 113 Instruction *Shl = dyn_cast<Instruction>(Ashr->getOperand(0)); in runOnFunction() 128 for (auto UI = Ashr->user_begin(), UE = Ashr->user_end(); in runOnFunction() 132 J->replaceUsesOfWith(Ashr, I); in runOnFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineNegator.cpp | 258 Value *Ashr = Builder.CreateAShr(X, FullShift); in visitImpl() local 259 return Builder.CreateSExt(Ashr, I->getType()); in visitImpl()
|
H A D | InstCombineCasts.cpp | 1493 Value *Ashr = Builder.CreateAShr(Y, XBitSize - SrcBitSize); in visitSExt() local 1494 return CastInst::CreateIntegerCast(Ashr, DestTy, /* isSigned */ true); in visitSExt() 1547 Value *Ashr = Builder.CreateAShr(Builder.CreateShl(X, ShlAmtC), AshrAmtC); in visitSExt() local 1548 return CastInst::CreateIntegerCast(Ashr, DestTy, /* isSigned */ true); in visitSExt()
|
H A D | InstCombineMulDivRem.cpp | 1624 Value *Ashr = Builder.CreateAShr(Op0, C, I.getName() + ".neg", true); in visitSDiv() local 1625 return BinaryOperator::CreateNSWNeg(Ashr); in visitSDiv()
|
H A D | InstCombineAddSub.cpp | 1726 if (Instruction *Ashr = foldAddToAshr(I)) in visitAdd() local 1727 return Ashr; in visitAdd()
|
H A D | InstCombineSelect.cpp | 698 const auto *Ashr = cast<Instruction>(FalseVal); in foldSelectICmpLshrAshr() local 700 bool IsExact = Ashr->isExact() && cast<Instruction>(TrueVal)->isExact(); in foldSelectICmpLshrAshr()
|