| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | DemandedBits.cpp | 95 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 D | ValueTracking.cpp | 1815 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 D | ConstantFolding.cpp | 2766 return ConstantInt::get(Ty->getContext(), Op->getValue().reverseBits()); in ConstantFoldScalarCall1()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | KnownBits.h | 497 KnownBits reverseBits() const { in reverseBits() function 498 return KnownBits(Zero.reverseBits(), One.reverseBits()); in reverseBits()
|
| H A D | MathExtras.h | 123 template <typename T> constexpr T reverseBits(T Val) { in reverseBits() function
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/M68k/MCTargetDesc/ |
| H A D | M68kMCCodeEmitter.cpp | 210 Value = llvm::reverseBits<uint16_t>((uint16_t)Op.getImm()); in encodeInverseMoveMask()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APInt.cpp | 768 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 D | InterpBuiltin.cpp | 668 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 D | SIShrinkInstructions.cpp | 221 ModifiedImm = reverseBits<int32_t>(SrcImm); in canModifyToInlineImmOp32()
|
| H A D | SIInstrInfo.cpp | 1365 ImmVal = static_cast<int64_t>(reverseBits<int32_t>(Src0.getImm())); in getConstValDefinedInReg()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 1706 LLVM_ABI APInt reverseBits() const;
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | GISelValueTracking.cpp | 577 Known = Known.reverseBits(); in computeKnownBitsImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 2363 APInt DemandedSrcBits = DemandedBits.reverseBits(); in SimplifyDemandedBits() 2367 Known.One = Known2.One.reverseBits(); in SimplifyDemandedBits() 2368 Known.Zero = Known2.Zero.reverseBits(); in SimplifyDemandedBits()
|
| H A D | SelectionDAG.cpp | 4289 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 D | InstCombineAndOrXor.cpp | 2310 : RHSC->reverseBits())); in foldBitwiseLogicWithIntrinsics()
|
| H A D | InstCombineCompares.cpp | 3823 ConstantInt::get(Ty, C.reverseBits())); in foldICmpEqIntrinsicWithConstant()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 11516 APValue(APSInt(Elt.reverseBits(), in VisitCallExpr() 13076 return Success(Val.reverseBits(), E); in VisitBuiltinCallExpr()
|