Home
last modified time | relevance | path

Searched refs:ashr (Results 1 – 25 of 33) sorted by relevance

12

/third_party/boost/libs/spirit/example/qi/compiler_tutorial/conjure_samples/
Doperators.cnj69 int ashr(x, y)
101 int l = ashr(k, 3); // 8191
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/Utils/
DRISCVMatInt.cpp85 APInt Chunk = Val.ashr(ShiftVal).sextOrTrunc(PlatRegSize); in getIntMatCost()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/
Dtest_arith_ll.ll581 %result = ashr i32 %a, %b
589 %result.trunc = ashr i8 %a.trunc, %b.trunc
597 %result.trunc = ashr i16 %a.trunc, %b.trunc
605 %result = ashr i32 %a, %b
613 %result = ashr i64 %a, %b
621 %result = ashr <4 x i32> %a, %b
629 %result = ashr <8 x i16> %a, %b
637 %result = ashr <16 x i8> %a, %b
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp290 return getNonEmpty(APInt::getSignedMinValue(BitWidth).ashr(ShAmtUMax), in makeGuaranteedNoWrapRegion()
291 APInt::getSignedMaxValue(BitWidth).ashr(ShAmtUMax) + 1); in makeGuaranteedNoWrapRegion()
800 return ashr(Other); in binaryOp()
1250 ConstantRange::ashr(const ConstantRange &Other) const { in ashr() function in ConstantRange
1260 APInt PosMax = getSignedMax().ashr(Other.getUnsignedMin()) + 1; in ashr()
1267 APInt PosMin = getSignedMin().ashr(Other.getUnsignedMax()); in ashr()
1274 APInt NegMax = getSignedMax().ashr(Other.getUnsignedMax()) + 1; in ashr()
1281 APInt NegMin = getSignedMin().ashr(Other.getUnsignedMin()); in ashr()
DConstantFold.cpp1289 return ConstantInt::get(CI1->getContext(), C1V.ashr(C2V)); in ConstantFoldBinaryInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h840 APInt ashr(unsigned shiftAmt) const;
869 APInt ashr(const APInt &shiftAmt) const;
1885 inline APInt ashr(const APInt &LHS, unsigned shiftAmt) { in ashr() function
1886 return LHS.ashr(shiftAmt); in ashr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DGISelKnownBits.cpp328 Known.Zero = Known.Zero.ashr(Shift); in computeKnownBitsImpl()
329 Known.One = Known.One.ashr(Shift); in computeKnownBitsImpl()
DUtils.cpp355 return C1.ashr(C2); in ConstantFoldBinOp()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceInst.def50 X(Ashr, "ashr", 0) \
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstantRange.h423 ConstantRange ashr(const ConstantRange &Other) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPSInt.h142 return IsUnsigned ? APSInt(lshr(Amt), true) : APSInt(ashr(Amt), false);
DAPInt.h963 APInt ashr(unsigned ShiftAmt) const { in ashr() function
1024 APInt ashr(const APInt &ShiftAmt) const { in ashr() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1192 if (IsAShr && AP1 == AP2.ashr(Shift)) { in foldICmpShrConstConst()
2050 APInt ShiftedC = C.ashr(*ShiftAmt); in foldICmpShlConstant()
2054 C.ashr(*ShiftAmt).shl(*ShiftAmt) == C) { in foldICmpShlConstant()
2055 APInt ShiftedC = C.ashr(*ShiftAmt); in foldICmpShlConstant()
2064 APInt ShiftedC = (C - 1).ashr(*ShiftAmt) + 1; in foldICmpShlConstant()
2155 ConstantInt::get(TruncTy, C.ashr(*ShiftAmt).trunc(TypeBits - Amt)); in foldICmpShlConstant()
2201 if (ShiftedC.ashr(ShAmtVal) == C) in foldICmpShrConstant()
2208 (ShiftedC + 1).ashr(ShAmtVal) == (C + 1)) in foldICmpShrConstant()
2235 assert(((IsAShr && C.shl(ShAmtVal).ashr(ShAmtVal) == C) || in foldICmpShrConstant()
DInstCombineSimplifyDemanded.cpp959 (BitMask1.ashr(ShrAmt) << ShlAmt); in simplifyShrShlDemandedBits()
965 BitMask2.ashr(ShrAmt - ShlAmt); in simplifyShrShlDemandedBits()
/third_party/mesa3d/src/freedreno/ir3/
Ddisasm-a3xx.c237 OPC(2, OPC_ASHR_B, ashr.b),
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp1014 APInt APInt::ashr(const APInt &shiftAmt) const { in ashr() function in APInt
1015 return ashr((unsigned)shiftAmt.getLimitedValue(BitWidth)); in ashr()
1020 APInt APInt::ashr(unsigned shiftAmt) const { in ashr() function in APInt
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp1279 return KnownZero.ashr(ShiftAmt); in computeKnownBitsFromOperator()
1283 return KnownOne.ashr(ShiftAmt); in computeKnownBitsFromOperator()
5635 Lower = APInt::getSignedMinValue(Width).ashr(*C); in setLimitsForBinOp()
5636 Upper = APInt::getSignedMaxValue(Width).ashr(*C) + 1; in setLimitsForBinOp()
5644 Upper = C->ashr(ShiftAmount) + 1; in setLimitsForBinOp()
5647 Lower = C->ashr(ShiftAmount); in setLimitsForBinOp()
DBasicAliasAnalysis.cpp439 return (Offset << ShiftBits).ashr(ShiftBits); in adjustToPointerSize()
DConstantFolding.cpp2323 Rhs.sextOrSelf(ExtendedWidth)).ashr(Scale); in ConstantFoldScalarCall3()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreInstrInfo.td465 defm ASHR : FL3R_L2RBITP<0b000101100, 0b100101100, "ashr", sra>;
1285 // ashr X, 32 is equivalent to ashr X, 31 on the XCore.
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1257 Result.IntVal = valueToShift.ashr(getShiftAmount(shiftAmount, valueToShift)); in visitAShr()
1264 Dest.IntVal = valueToShift.ashr(getShiftAmount(shiftAmount, valueToShift)); in visitAShr()
2095 Dest.IntVal = Op0.IntVal.ashr(Op1.IntVal.getZExtValue()); in getConstantExprValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLLexer.cpp848 INSTKEYWORD(shl, Shl); INSTKEYWORD(lshr, LShr); INSTKEYWORD(ashr, AShr); in LexIdentifier()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp76 APInt Tmp = ImmVal.ashr(ShiftVal).sextOrTrunc(64); in getIntImmCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DREADME.txt1470 %conv1 = ashr i32 %sext, 24 ; <i32> [#uses=1]
1472 %conv4 = ashr i32 %sext6, 24 ; <i32> [#uses=1]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
DGenericOpcodes.td39 // into all bits above it. This is equivalent to a shl + ashr pair with an

12