Home
last modified time | relevance | path

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

/freebsd/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 DValueTracking.cpp1640 Known.Zero |= Known2.Zero.reverseBits(); in computeKnownBitsFromOperator()
1641 Known.One |= Known2.One.reverseBits(); in computeKnownBitsFromOperator()
1724 computeKnownBits(I->getOperand(0), DemandedElts.reverseBits(), Known, in computeKnownBitsFromOperator()
3109 return isKnownNonZero(II->getArgOperand(0), DemandedElts.reverseBits(), in isKnownNonZeroFromOperator()
5286 II->getArgOperand(0), DemandedElts.reverseBits(), in computeKnownFPClass()
H A DConstantFolding.cpp2456 return ConstantInt::get(Ty->getContext(), Op->getValue().reverseBits()); in ConstantFoldScalarCall1()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h460 KnownBits reverseBits() const { in reverseBits() function
461 return KnownBits(Zero.reverseBits(), One.reverseBits()); in reverseBits()
H A DMathExtras.h122 template <typename T> T reverseBits(T Val) { in reverseBits() function
/freebsd/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/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp536 Known = Known.reverseBits(); in computeKnownBitsImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp210 ModifiedImm = reverseBits<int32_t>(SrcImm); in canModifyToInlineImmOp32()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h1664 APInt reverseBits() const;
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpBuiltin.cpp534 pushInteger(S, Val.reverseBits(), Call->getType()); in interp__builtin_bitreverse()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2295 APInt DemandedSrcBits = DemandedBits.reverseBits(); in SimplifyDemandedBits()
2299 Known.One = Known2.One.reverseBits(); in SimplifyDemandedBits()
2300 Known.Zero = Known2.Zero.reverseBits(); in SimplifyDemandedBits()
H A DSelectionDAG.cpp4052 Known = Known2.reverseBits(); in computeKnownBits()
6424 return getConstant(Val.reverseBits(), DL, VT, C->isTargetOpcode(), in FoldConstantArithmetic()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp2254 : RHSC->reverseBits())); in foldBitwiseLogicWithIntrinsics()
H A DInstCombineCompares.cpp3630 ConstantInt::get(Ty, C.reverseBits())); in foldICmpEqIntrinsicWithConstant()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp12519 return Success(Val.reverseBits(), E); in VisitBuiltinCallExpr()