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 | 253 Value *Ashr = Builder.CreateAShr(X, FullShift); in visitImpl() local 254 return Builder.CreateSExt(Ashr, I->getType()); in visitImpl()
|
H A D | InstCombineCasts.cpp | 1455 Value *Ashr = Builder.CreateAShr(Y, XBitSize - SrcBitSize); in visitSExt() local 1456 return CastInst::CreateIntegerCast(Ashr, DestTy, /* isSigned */ true); in visitSExt() 1509 Value *Ashr = Builder.CreateAShr(Builder.CreateShl(X, ShlAmtC), AshrAmtC); in visitSExt() local 1510 return CastInst::CreateIntegerCast(Ashr, DestTy, /* isSigned */ true); in visitSExt()
|
H A D | InstCombineMulDivRem.cpp | 1488 Value *Ashr = Builder.CreateAShr(Op0, C, I.getName() + ".neg", true); in visitSDiv() local 1489 return BinaryOperator::CreateNSWNeg(Ashr); in visitSDiv()
|
H A D | InstCombineAddSub.cpp | 1666 if (Instruction *Ashr = foldAddToAshr(I)) in visitAdd() local 1667 return Ashr; in visitAdd()
|
H A D | InstCombineSelect.cpp | 682 const auto *Ashr = cast<Instruction>(FalseVal); in foldSelectICmpLshrAshr() local 684 bool IsExact = Ashr->isExact() && cast<Instruction>(TrueVal)->isExact(); in foldSelectICmpLshrAshr()
|