Home
last modified time | relevance | path

Searched refs:reverseBits (Results 1 – 15 of 15) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DDemandedBits.cpp97 AB = AOut.reverseBits(); in determineLiveOperandBits()
514 APInt RBound = Bound.reverseBits(); in determineLiveOperandBitsAddCarry()
515 APInt RAOut = AOut.reverseBits(); in determineLiveOperandBitsAddCarry()
518 APInt ACarry = RACarry.reverseBits(); in determineLiveOperandBitsAddCarry()
H A DConstantFolding.cpp2413 return ConstantInt::get(Ty->getContext(), Op->getValue().reverseBits()); in ConstantFoldScalarCall1()
H A DValueTracking.cpp1451 Known.Zero |= Known2.Zero.reverseBits(); in computeKnownBitsFromOperator()
1452 Known.One |= Known2.One.reverseBits(); in computeKnownBitsFromOperator()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h450 KnownBits reverseBits() const { in reverseBits() function
451 return KnownBits(Zero.reverseBits(), One.reverseBits()); in reverseBits()
H A DMathExtras.h104 template <typename T> T reverseBits(T Val) { in reverseBits() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp737 APInt APInt::reverseBits() const { in reverseBits() function in APInt
740 return APInt(BitWidth, llvm::reverseBits<uint64_t>(U.VAL)); in reverseBits()
742 return APInt(BitWidth, llvm::reverseBits<uint32_t>(U.VAL)); in reverseBits()
744 return APInt(BitWidth, llvm::reverseBits<uint16_t>(U.VAL)); in reverseBits()
746 return APInt(BitWidth, llvm::reverseBits<uint8_t>(U.VAL)); in reverseBits()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp528 Known = Known.reverseBits(); in computeKnownBitsImpl()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpBuiltin.cpp545 pushAPSInt(S, APSInt(Val.reverseBits(), /*IsUnsigned=*/true)); in interp__builtin_bitreverse()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp193 ReverseImm = reverseBits<int32_t>(static_cast<int32_t>(Src.getImm())); in isReverseInlineImm()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h1648 APInt reverseBits() const;
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2264 APInt DemandedSrcBits = DemandedBits.reverseBits(); in SimplifyDemandedBits()
2268 Known.One = Known2.One.reverseBits(); in SimplifyDemandedBits()
2269 Known.Zero = Known2.Zero.reverseBits(); in SimplifyDemandedBits()
H A DSelectionDAG.cpp3892 Known = Known2.reverseBits(); in computeKnownBits()
6102 return getConstant(Val.reverseBits(), DL, VT, C->isTargetOpcode(), in FoldConstantArithmetic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp2173 : RHSC->reverseBits())); in foldBitwiseLogicWithIntrinsics()
H A DInstCombineCompares.cpp3518 ConstantInt::get(Ty, C.reverseBits())); in foldICmpEqIntrinsicWithConstant()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp12262 return Success(Val.reverseBits(), E); in VisitBuiltinCallExpr()