/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandReductions.cpp | 81 if (!isPowerOf2_32( in expandReductions() 102 if (!isPowerOf2_32(NumElts)) in expandReductions() 128 if (!isPowerOf2_32( in expandReductions() 140 if (!isPowerOf2_32( in expandReductions()
|
H A D | TargetLoweringBase.cpp | 950 if (BitSize < 8 || !isPowerOf2_32(BitSize)) { in getTypeConversion() 1075 if (VT.isScalableVector() && !isPowerOf2_32(EC.getKnownMinValue())) in getVectorTypeBreakdownMVT() 1081 if (!isPowerOf2_32(EC.getKnownMinValue())) { in getVectorTypeBreakdownMVT() 1416 if (isPowerOf2_32(EC.getKnownMinValue())) { in computeRegisterProperties() 1571 if (!isPowerOf2_32(EltCnt.getKnownMinValue())) { in getVectorTypeBreakdown()
|
H A D | ExecutionDomainFix.cpp | 320 if (isPowerOf2_32(available)) { in visitSoftInstr()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/ |
H A D | RISCVTargetParser.h | 73 return isPowerOf2_32(SEW) && SEW >= 8 && SEW <= 64; in isValidSEW() 78 return isPowerOf2_32(LMUL) && LMUL <= 8 && (!Fractional || LMUL != 1); in isValidLMUL()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalityPredicates.cpp | 152 return !isPowerOf2_32(QueryTy.getScalarSizeInBits()); in scalarOrEltSizeNotPow2() 204 return QueryTy.isVector() && !isPowerOf2_32(QueryTy.getNumElements()); in numElementsNotPow2()
|
H A D | LegalizerHelper.cpp | 3286 if (!isPowerOf2_32(NewEltSize / OldEltSize)) in bitcastExtractVectorElt() 3387 if (!isPowerOf2_32(NewEltSize / OldEltSize)) in bitcastInsertVectorElt() 3541 if (!isPowerOf2_32(MemSizeInBits)) { in lowerLoad() 3660 if (!isPowerOf2_32(MemSizeInBits)) { in lowerStore() 4153 if (isPowerOf2_32(NElts)) { in clampVectorIndex() 4920 if (!isPowerOf2_32(DstTy.getNumElements())) in fewerElementsVectorShuffle() 5070 if (isPowerOf2_32(NumParts)) { in fewerElementsVectorReductions() 5109 if (isPowerOf2_32(SrcTy.getNumElements()) && in fewerElementsVectorReductions() 5110 isPowerOf2_32(NarrowTy.getNumElements())) { in fewerElementsVectorReductions() 6591 if (!isPowerOf2_32(BW)) in lowerFunnelShiftWithInverse() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | XRayInstr.h | 49 assert(llvm::isPowerOf2_32(K)); in has()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyTargetTransformInfo.cpp | 24 assert(isPowerOf2_32(TyWidth) && "Ty width must be power of 2"); in getPopcntSupport()
|
/freebsd/contrib/llvm-project/clang/lib/Support/ |
H A D | RISCVVIntrinsicUtils.cpp | 127 return (V <= 64 && isPowerOf2_32(V)); in verifyType() 130 return (V <= 32 && isPowerOf2_32(V)); in verifyType() 133 return (V <= 16 && isPowerOf2_32(V)); in verifyType() 136 return (V <= 8 && isPowerOf2_32(V)); in verifyType()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchISelDAGToDAG.cpp | 242 assert(isPowerOf2_32(ShiftWidth) && "Unexpected max shift amount!"); in selectShiftMask() 260 assert(isPowerOf2_32(ShiftWidth) && "Unexpected max shift amount!"); in selectShiftMask()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86PartialReduction.cpp | 315 assert(isPowerOf2_32(NumSplits) && "Expected power of 2 splits"); in trySADReplacement() 370 if (!isPowerOf2_32(NumElems)) in matchAddReduction()
|
H A D | X86CallFrameOptimization.cpp | 245 assert(isPowerOf2_32(SlotSize) && "Expect power of 2 stack slot size"); in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonStoreWidening.cpp | 322 assert(isPowerOf2_32(SizeAccum) && "First store size not a power of 2"); in selectStores() 366 if (isPowerOf2_32(SizeAccum)) { in selectStores()
|
H A D | HexagonVectorCombine.cpp | 1628 if (isPowerOf2_32(Bits)) in getNumSignificantBits() 1630 else if (Bits > 1 && isPowerOf2_32(Bits - 1)) in getNumSignificantBits() 1748 if (Width <= 32 && !isPowerOf2_32(Width)) { in processFxpMul() 1827 assert(Width >= 32 || isPowerOf2_32(Width)); // Width <= 32 => Width is 2^n in processFxpMulChopped() 2644 assert(isPowerOf2_32(ToWidth) && isPowerOf2_32(FromWidth)); in splitVectorElements() 2699 assert(isPowerOf2_32(Width) && isPowerOf2_32(ToWidth)); in joinVectorElements()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVTargetMachine.cpp | 203 isPowerOf2_32(RVVBitsMin))) && in getSubtargetImpl() 211 isPowerOf2_32(RVVBitsMax))) && in getSubtargetImpl()
|
H A D | RISCVInstrInfoZb.td | 88 return !isInt<12>(Imm) && isPowerOf2_32(~Imm); 95 return !isInt<12>(Imm) && isPowerOf2_32(Imm); 168 return Subtarget->is64Bit() ? isPowerOf2_64(~I) : isPowerOf2_32(~I); 751 return !isInt<12>(Imm) && isPowerOf2_32(~Imm); 754 return !isInt<12>(Imm) && isPowerOf2_32(Imm);
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | ARM.cpp | 659 if (!llvm::isPowerOf2_32(NumElements) && NumElements != 3) in isIllegalVectorType() 666 if (!llvm::isPowerOf2_32(NumElements)) in isIllegalVectorType() 709 if (!llvm::isPowerOf2_32(NumElts)) in isLegalVectorType()
|
H A D | AArch64.cpp | 474 if (!llvm::isPowerOf2_32(NumElements)) in isIllegalVectorType() 492 if (!llvm::isPowerOf2_32(NumElts)) in isLegalVectorType()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUTargetTransformInfo.h | 116 assert(isPowerOf2_32(TyWidth) && "Ty width must be power of 2"); in getPopcntSupport()
|
H A D | SIShrinkInstructions.cpp | 525 if (isPowerOf2_32(~Imm)) { in shrinkScalarLogicOp() 533 if (isPowerOf2_32(Imm)) { in shrinkScalarLogicOp()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | FoldingSet.cpp | 228 assert(isPowerOf2_32(NewBucketCount) && "Bad bucket count!"); in GrowBucketCount()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LowerMemIntrinsics.cpp | 164 if (isPowerOf2_32(OpSizeVal)) in getRuntimeLoopCount() 174 if (isPowerOf2_32(OpSizeVal)) in getRuntimeLoopRemainder()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoadStoreVectorizer.cpp | 701 assert(isPowerOf2_32(DL.getTypeSizeInBits(Ty)) && in splitChainByAlignment() 1361 if ((!VecTy && !isPowerOf2_32(DL.getTypeSizeInBits(Ty))) || in collectEquivalenceClasses() 1362 (VecTy && !isPowerOf2_32(DL.getTypeSizeInBits(VecTy->getScalarType())))) in collectEquivalenceClasses()
|
H A D | LoopVectorizationLegality.cpp | 89 return isPowerOf2_32(Val) && Val <= VectorizerParams::MaxVectorWidth; in validate() 91 return isPowerOf2_32(Val) && Val <= MaxInterleaveFactor; in validate()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.h | 427 if (ScalarMemTy->isIntegerTy(8) && isPowerOf2_32(VF) && VF >= 4) in getStoreMinimumVF()
|