Searched refs:isPowerOf2_32 (Results 1 - 25 of 97) sorted by relevance

1234

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DXRayInstr.h47 assert(llvm::isPowerOf2_32(K));
54 assert(llvm::isPowerOf2_32(K));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalityPredicates.cpp118 return !isPowerOf2_32(QueryTy.getScalarSizeInBits());
125 return QueryTy.isScalar() && !isPowerOf2_32(QueryTy.getSizeInBits());
139 return !isPowerOf2_32(Query.MMODescrs[MMOIdx].SizeInBits / 8);
146 return QueryTy.isVector() && !isPowerOf2_32(QueryTy.getNumElements());
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.h40 assert(isPowerOf2_32(Alignment) && "Alignment must be power of 2");
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetTransformInfo.cpp24 assert(isPowerOf2_32(TyWidth) && "Ty width must be power of 2");
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandReductions.cpp128 if (!isPowerOf2_32(Vec->getType()->getVectorNumElements()))
149 if (!isPowerOf2_32(Vec->getType()->getVectorNumElements()))
H A DInterleavedAccessPass.cpp207 if (!isPowerOf2_32(LaneLen))
H A DTargetLoweringBase.cpp831 if (BitSize < 8 || !isPowerOf2_32(BitSize)) {
949 if (!isPowerOf2_32(NumElts)) {
971 if (!isPowerOf2_32(NewVTSize))
1278 if (isPowerOf2_32(NElts)) {
1404 if (!isPowerOf2_32(NumElts)) {
1429 if (!isPowerOf2_32(NewVTSize))
H A DExecutionDomainFix.cpp320 if (isPowerOf2_32(available)) {
H A DSafeStack.cpp542 assert(isPowerOf2_32(FrameAlignment));
665 assert(isPowerOf2_32(Align));
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DHeaderMap.cpp93 if (!llvm::isPowerOf2_32(NumBuckets))
216 assert(llvm::isPowerOf2_32(NumBuckets) && "Expected power of 2");
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64LegalizerInfo.cpp192 return isPowerOf2_32(Ty1.getSizeInBits()) &&
212 return isPowerOf2_32(Ty0.getSizeInBits()) &&
354 if (DstSize < 8 || DstSize > 128 || !isPowerOf2_32(DstSize))
367 if (SrcSize < 8 || !isPowerOf2_32(SrcSize))
476 if (!isPowerOf2_32(EltTy.getSizeInBits()))
504 return !isPowerOf2_32(Ty.getSizeInBits()) &&
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonStoreWidening.cpp322 assert(isPowerOf2_32(SizeAccum) && "First store size not a power of 2");
366 if (isPowerOf2_32(SizeAccum)) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.h144 assert(isPowerOf2_32(TyWidth) && "Ty width must be power of 2");
H A DSIShrinkInstructions.cpp332 if (isPowerOf2_32(~Imm)) {
340 if (isPowerOf2_32(Imm)) {
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSymbol.h346 assert((!Align || isPowerOf2_32(Align)) &&
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DFoldingSet.cpp271 assert(isPowerOf2_32(NewBucketCount) && "Bad bucket count!");
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DDemandedBits.cpp157 if (isPowerOf2_32(BitWidth))
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CallFrameOptimization.cpp245 assert(isPowerOf2_32(SlotSize) && "Expect power of 2 stack slot size");
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp73 if (!isPowerOf2_32(I.getType()->getScalarSizeInBits()))
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h265 return Alignment >= DataSize && isPowerOf2_32(DataSize);
272 return Alignment >= DataSize && isPowerOf2_32(DataSize);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp56 return isPowerOf2_32(Val) && Val <= VectorizerParams::MaxVectorWidth;
58 return isPowerOf2_32(Val) && Val <= MaxInterleaveFactor;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/Utils/
H A DX86ShuffleDecode.cpp138 assert(isPowerOf2_32(NumElts) && "NumElts should be power of 2");
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/
H A DMCAsmStreamer.cpp777 assert(isPowerOf2_32(ByteAlignment) && "Alignment must be a power of 2.");
826 assert(isPowerOf2_32(ByteAlign) && "alignment must be a power of 2");
1131 if (!isPowerOf2_32(ByteAlignment))
1142 if (isPowerOf2_32(ByteAlignment)) {
H A DXCOFFObjectWriter.cpp674 assert(isPowerOf2_32(Align) && "Alignment must be a power of 2.");
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp419 if (!isPowerOf2_32(NewLoadSize))

Completed in 157 milliseconds

1234