Home
last modified time | relevance | path

Searched refs:has_single_bit (Results 1 – 25 of 31) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalityPredicates.cpp168 !llvm::has_single_bit<uint32_t>(QueryTy.getSizeInBits()); in sizeNotPow2()
188 return !llvm::has_single_bit<uint32_t>( in memSizeInBytesNotPow2()
197 !llvm::has_single_bit<uint32_t>(MemTy.getSizeInBytes()); in memSizeNotByteSizePow2()
H A DIRTranslator.cpp1101 !llvm::has_single_bit<uint32_t>(MaskTy.getSizeInBits())) in emitBitTestHeader()
H A DCombinerHelper.cpp576 if (!llvm::has_single_bit<uint32_t>(LoadValueTy.getSizeInBits())) in matchCombineExtendingLoads()
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dbit27 constexpr bool has_single_bit(T x) noexcept; // C++20
75 #include <__bit/has_single_bit.h>
H A Dlibcxx.imp256 { include: [ "<__bit/has_single_bit.h>", "private", "<bit>", "public" ] },
H A Dmodule.modulemap.in1117 module std_private_bit_has_single_bit [system] { header "__bit/has_single_bit.h" }
/freebsd-14.2/contrib/llvm-project/libcxx/include/__bit/
H A Dhas_single_bit.h27 _LIBCPP_NODISCARD_EXT _LIBCPP_HIDE_FROM_ABI constexpr bool has_single_bit(_Tp __t) noexcept { in has_single_bit() function
/freebsd-14.2/contrib/llvm-project/libcxx/modules/std/
H A Dbit.inc23 using std::has_single_bit;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVSubtarget.cpp177 llvm::has_single_bit<uint32_t>(RVVVectorLMULMax) && in getMaxLMULForFixedLengthVectors()
H A DRISCVInstrInfo.cpp3074 if (llvm::has_single_bit<uint32_t>(NumOfVReg)) { in getVLENFactoredAmount()
3110 } else if (llvm::has_single_bit<uint32_t>(NumOfVReg - 1)) { in getVLENFactoredAmount()
3121 } else if (llvm::has_single_bit<uint32_t>(NumOfVReg + 1)) { in getVLENFactoredAmount()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DMathExtras.h265 return llvm::has_single_bit(Value); in isPowerOf2_32()
270 return llvm::has_single_bit(Value); in isPowerOf2_64()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A Dbit.h146 [[nodiscard]] constexpr inline bool has_single_bit(T Value) noexcept { in has_single_bit() function
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelMatcherGen.cpp342 if (!llvm::has_single_bit<uint32_t>( in EmitOperatorMatchCode()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGNonTrivialStruct.cpp522 !llvm::has_single_bit<uint32_t>(Size.getQuantity())) { in flushTrivialFields()
/freebsd-14.2/lib/libc++/
H A DMakefile553 BIT_HEADERS+= has_single_bit.h
H A Dmodule.modulemap1117 module std_private_bit_has_single_bit [system] { header "__bit/has_single_bit.h" }
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp1677 if (!llvm::has_single_bit<uint32_t>(NewVTSize.getKnownMinValue())) in getVectorTypeBreakdown()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp450 llvm::has_single_bit<uint32_t>(getImm()); in isCRBitMask()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRISelLowering.cpp285 assert(llvm::has_single_bit<uint32_t>(VT.getSizeInBits()) && in LowerShifts()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2596 if ((has_single_bit(TyAllocSize) && in visitGetElementPtrInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp6970 if (llvm::has_single_bit(CaseValue)) in simplifySwitchOfPowersOfTwo()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp14244 if (llvm::has_single_bit<uint32_t>(MulAmt - 1)) { in PerformMULCombine()
14252 } else if (llvm::has_single_bit<uint32_t>(MulAmt + 1)) { in PerformMULCombine()
14264 if (llvm::has_single_bit<uint32_t>(MulAmtAbs + 1)) { in PerformMULCombine()
14272 } else if (llvm::has_single_bit<uint32_t>(MulAmtAbs - 1)) { in PerformMULCombine()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp1842 if (!llvm::has_single_bit<uint32_t>(EltTy.getSizeInBits())) in AMDGPULegalizerInfo()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/
H A DStdSymbolMap.inc1454 SYMBOL(has_single_bit, std::, <bit>)
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp6995 if (!llvm::has_single_bit<uint32_t>(ImmVal)) in selectExtendedSHL()

12