Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDemandedBits.cpp95 AB = AOut.reverseBits(); in determineLiveOperandBits()
512 APInt RBound = Bound.reverseBits(); in determineLiveOperandBitsAddCarry()
513 APInt RAOut = AOut.reverseBits(); in determineLiveOperandBitsAddCarry()
516 APInt ACarry = RACarry.reverseBits(); in determineLiveOperandBitsAddCarry()
H A DValueTracking.cpp1815 Known.Zero |= Known2.Zero.reverseBits(); in computeKnownBitsFromOperator()
1816 Known.One |= Known2.One.reverseBits(); in computeKnownBitsFromOperator()
1899 computeKnownBits(I->getOperand(0), DemandedElts.reverseBits(), Known, Q, in computeKnownBitsFromOperator()
3336 return isKnownNonZero(II->getArgOperand(0), DemandedElts.reverseBits(), in isKnownNonZeroFromOperator()
5118 II->getArgOperand(0), DemandedElts.reverseBits(), in computeKnownFPClass()
H A DConstantFolding.cpp2766 return ConstantInt::get(Ty->getContext(), Op->getValue().reverseBits()); in ConstantFoldScalarCall1()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h497 KnownBits reverseBits() const { in reverseBits() function
498 return KnownBits(Zero.reverseBits(), One.reverseBits()); in reverseBits()
H A DMathExtras.h123 template <typename T> constexpr T reverseBits(T Val) { in reverseBits() function
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/MCTargetDesc/
H A DM68kMCCodeEmitter.cpp210 Value = llvm::reverseBits<uint16_t>((uint16_t)Op.getImm()); in encodeInverseMoveMask()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp768 APInt APInt::reverseBits() const { in reverseBits() function in APInt
771 return APInt(BitWidth, llvm::reverseBits<uint64_t>(U.VAL)); in reverseBits()
773 return APInt(BitWidth, llvm::reverseBits<uint32_t>(U.VAL)); in reverseBits()
775 return APInt(BitWidth, llvm::reverseBits<uint16_t>(U.VAL)); in reverseBits()
777 return APInt(BitWidth, llvm::reverseBits<uint8_t>(U.VAL)); in reverseBits()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DInterpBuiltin.cpp668 pushInteger(S, Val.reverseBits(), Call->getType()); in interp__builtin_bitreverse()
1706 pushInteger(S, Val.reverseBits(), Call->getType()); in interp__builtin_elementwise_popcount()
1731 Arg.atIndex(I).deref<T>().toAPSInt().reverseBits().getZExtValue()); in interp__builtin_elementwise_popcount()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp221 ModifiedImm = reverseBits<int32_t>(SrcImm); in canModifyToInlineImmOp32()
H A DSIInstrInfo.cpp1365 ImmVal = static_cast<int64_t>(reverseBits<int32_t>(Src0.getImm())); in getConstValDefinedInReg()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h1706 LLVM_ABI APInt reverseBits() const;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelValueTracking.cpp577 Known = Known.reverseBits(); in computeKnownBitsImpl()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2363 APInt DemandedSrcBits = DemandedBits.reverseBits(); in SimplifyDemandedBits()
2367 Known.One = Known2.One.reverseBits(); in SimplifyDemandedBits()
2368 Known.Zero = Known2.Zero.reverseBits(); in SimplifyDemandedBits()
H A DSelectionDAG.cpp4289 Known = Known2.reverseBits(); in computeKnownBits()
6838 return getConstant(Val.reverseBits(), DL, VT, C->isTargetOpcode(), in FoldConstantArithmetic()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp2310 : RHSC->reverseBits())); in foldBitwiseLogicWithIntrinsics()
H A DInstCombineCompares.cpp3823 ConstantInt::get(Ty, C.reverseBits())); in foldICmpEqIntrinsicWithConstant()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp11516 APValue(APSInt(Elt.reverseBits(), in VisitCallExpr()
13076 return Success(Val.reverseBits(), E); in VisitBuiltinCallExpr()