Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h394 KnownBits reverseBits() { in reverseBits() function
395 return KnownBits(Zero.reverseBits(), One.reverseBits()); in reverseBits()
H A DMathExtras.h305 T reverseBits(T Val) {
317 inline uint8_t reverseBits<uint8_t>(uint8_t Val) {
324 inline uint16_t reverseBits<uint16_t>(uint16_t Val) {
331 inline uint32_t reverseBits<uint32_t>(uint32_t Val) {
338 inline uint64_t reverseBits<uint64_t>(uint64_t Val) {
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DDemandedBits.cpp129 AB = AOut.reverseBits(); in determineLiveOperandBits()
558 APInt RBound = Bound.reverseBits(); in determineLiveOperandBitsAddCarry()
559 APInt RAOut = AOut.reverseBits(); in determineLiveOperandBitsAddCarry()
562 APInt ACarry = RACarry.reverseBits(); in determineLiveOperandBitsAddCarry()
H A DConstantFolding.cpp2321 return ConstantInt::get(Ty->getContext(), Op->getValue().reverseBits()); in ConstantFoldScalarCall1()
H A DValueTracking.cpp1569 Known.Zero |= Known2.Zero.reverseBits(); in computeKnownBitsFromOperator()
1570 Known.One |= Known2.One.reverseBits(); in computeKnownBitsFromOperator()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCCodeEmitter.cpp339 return reverseBits(Imm | RegBits) >> 22; in getSPE8DisEncoding()
354 return reverseBits(Imm | RegBits) >> 22; in getSPE4DisEncoding()
369 return reverseBits(Imm | RegBits) >> 22; in getSPE2DisEncoding()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp695 APInt APInt::reverseBits() const { in reverseBits() function in APInt
698 return APInt(BitWidth, llvm::reverseBits<uint64_t>(U.VAL)); in reverseBits()
700 return APInt(BitWidth, llvm::reverseBits<uint32_t>(U.VAL)); in reverseBits()
702 return APInt(BitWidth, llvm::reverseBits<uint16_t>(U.VAL)); in reverseBits()
704 return APInt(BitWidth, llvm::reverseBits<uint8_t>(U.VAL)); in reverseBits()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp510 Known = Known.reverseBits(); in computeKnownBitsImpl()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp153 ReverseImm = reverseBits<int32_t>(static_cast<int32_t>(Src.getImm())); in isReverseInlineImm()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h1761 APInt reverseBits() const;
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp1762 APInt DemandedSrcBits = DemandedBits.reverseBits(); in SimplifyDemandedBits()
1766 Known.One = Known2.One.reverseBits(); in SimplifyDemandedBits()
1767 Known.Zero = Known2.Zero.reverseBits(); in SimplifyDemandedBits()
H A DSelectionDAG.cpp3458 Known = Known2.reverseBits(); in computeKnownBits()
4699 return getConstant(Val.reverseBits(), DL, VT, C->isTargetOpcode(), in getNode()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp11633 return Success(Val.reverseBits(), E); in VisitBuiltinCallExpr()