| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | omit-urem-of-power-of-two-or-zero-when-comparing-with-zero.ll | 6 ; Iff C is not a power of two (those should not get to here though), 20 %t0 = and i32 %x, 128 ; clearly a power-of-two or zero 21 %t1 = urem i32 %t0, 6 ; '6' is clearly not a power of two 32 %t0 = and i32 %x, 128 ; clearly a power-of-two or zero 33 %t1 = or i32 %y, 6 ; two bits set, clearly not a power of two 47 %t0 = and i32 %x, 1 ; clearly a power-of-two or zero 49 %t2 = urem i32 %t1, 3 ; '3' is clearly not a power of two 62 %t0 = and i32 %x, 2 ; clearly a power-of-two or zero 64 %t2 = urem i32 %t1, 3 ; '3' is clearly not a power of two 147 %t0 = and i32 %x, 3 ; up to two bits set, not power-of-two [all …]
|
| H A D | udiv-pow2-vscale-inseltpoison.ll | 3 ; This vscale udiv with a power-of-2 spalt on the rhs should not crash opt 15 ; This fixed width udiv with a power-of-2 splat on the rhs should also not
|
| H A D | udiv-pow2-vscale.ll | 3 ; This vscale udiv with a power-of-2 spalt on the rhs should not crash opt 15 ; This fixed width udiv with a power-of-2 splat on the rhs should also not
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | int-power.h | 20 const INT &power, 26 } else if (power.IsZero()) { 31 bool negativePower{power.IsNegative()}; 32 INT absPower{power.ABS().value}; 53 ValueWithRealFlags<REAL> IntPower(const REAL &base, const INT &power, 56 return TimesIntPowerOf(one, base, power, rounding);
|
| /llvm-project-15.0.7/llvm/test/Transforms/FunctionSpecialization/ |
| H A D | specialize-multiple-arguments.ll | 10 ; FnSpecialization: FormalArg = binop1, ActualArg = power 17 ; FnSpecialization: FormalArg = binop2, ActualArg = power 24 …:%.*]] = call i64 @compute(i64 [[X:%.*]], i64 [[Y:%.*]], i64 (i64, i64)* @power, i64 (i64, i64)* @… 31 …MP3:%.*]] = call i64 @compute(i64 [[TMP2]], i64 42, i64 (i64, i64)* @minus, i64 (i64, i64)* @power) 45 …MP3:%.*]] = call i64 @compute(i64 [[TMP2]], i64 42, i64 (i64, i64)* @minus, i64 (i64, i64)* @power) 59 …3:%.*]] = call i64 @compute.2(i64 [[TMP2]], i64 42, i64 (i64, i64)* @minus, i64 (i64, i64)* @power) 80 %tmp0 = call i64 @compute(i64 %x, i64 %y, i64 (i64, i64)* @power, i64 (i64, i64)* @mul) 89 %tmp3 = call i64 @compute(i64 %tmp2, i64 42, i64 (i64, i64)* @minus, i64 (i64, i64)* @power) 109 ; THREE-NEXT: [[TMP1:%.+]] = call i64 @power(i64 %x, i64 %y) 119 ; THREE-NEXT: [[TMP0:%.+]] = call i64 @power(i64 %x, i64 %y) [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/XCore/ |
| H A D | float-intrinsics.ll | 109 define double @pow(double %F, double %power) { 112 %result = call double @llvm.pow.f64(double %F, double %power) 118 define float @powf(float %F, float %power) { 121 %result = call float @llvm.pow.f32(float %F, float %power) 125 define double @powi(double %F, i32 %power) { 128 %result = call double @llvm.powi.f64.i32(double %F, i32 %power) 134 define float @powif(float %F, i32 %power) { 137 %result = call float @llvm.powi.f32.i32(float %F, i32 %power)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | omit-urem-of-power-of-two-or-zero-when-comparing-with-zero.ll | 8 ; Iff C is not a power of two (those should not get to here though), 22 %t0 = and i32 %x, 128 ; clearly a power-of-two or zero 23 %t1 = urem i32 %t0, 6 ; '6' is clearly not a power of two 34 %t0 = and i32 %x, 128 ; clearly a power-of-two or zero 35 %t1 = or i32 %y, 6 ; two bits set, clearly not a power of two 52 %t0 = and i32 %x, 1 ; clearly a power-of-two or zero 54 %t2 = urem i32 %t1, 3 ; '3' is clearly not a power of two 70 %t0 = and i32 %x, 2 ; clearly a power-of-two or zero 72 %t2 = urem i32 %t1, 3 ; '3' is clearly not a power of two 369 %t0 = and i32 %x, 3 ; up to two bits set, not power-of-two [all …]
|
| /llvm-project-15.0.7/flang/unittests/Evaluate/ |
| H A D | real.cpp | 311 template <typename FLT = float> FLT ToIntPower(FLT x, int power) { in ToIntPower() argument 312 if (power == 0) { in ToIntPower() 315 bool negative{power < 0}; in ToIntPower() 317 power = -power; in ToIntPower() 320 while (power > 0) { in ToIntPower() 321 if (power & 1) { in ToIntPower() 325 power >>= 1; in ToIntPower() 334 FLT TimesIntPowerOfTen(FLT x, int power) { in TimesIntPowerOfTen() argument 335 if (power > decimalDigits || power < -decimalDigits) { in TimesIntPowerOfTen() 338 auto big{ToIntPower<FLT>(maxExactPowerOfTen, power / decimalDigits)}; in TimesIntPowerOfTen() [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Mips/ |
| H A D | pr36061.ll | 9 define double @powi(double %value, i32 %power) { 33 %1 = tail call double @llvm.powi.f64.i32(double %value, i32 %power) 39 define float @powfi(float %value, i32 %power) { 63 %1 = tail call float @llvm.powi.f32.i32(float %value, i32 %power)
|
| H A D | powif64_16.ll | 3 declare float @llvm.powi.f32.i32(float %Val, i32 %power) 4 declare double @llvm.powi.f64.i32(double %Val, i32 %power)
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/ |
| H A D | nested.pass.cpp | 26 struct power struct 50 auto g = std::bind(power(), 2, _1); in main() argument
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | pragma-options.c | 12 #pragma options align=power 22 #pragma align=power
|
| /llvm-project-15.0.7/llvm/test/MC/AsmParser/ |
| H A D | directive_align.s | 15 # CHECK-WARN: error: alignment must be a power of 2 32 # CHECK-WARN: error: alignment must be a power of 2
|
| /llvm-project-15.0.7/llvm/test/Analysis/ValueTracking/ |
| H A D | known-power-of-two.ll | 4 ; An arithmetic shift right of a power of two is not a power
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | vcvt_combine.ll | 23 ; Test which should not fold due to non-power of 2. 35 ; Test which should not fold due to power of 2 out of range. 46 ; Test which case where const is max power of 2 (i.e., 2^32).
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | power-sched-no-cycle.mir | 2 # RUN: llc -march=amdgcn -mcpu=gfx90a -run-pass=postmisched %s -o - -amdgpu-enable-power-sched=true… 3 # This test represents a pattern which caused power-sched to introduce cycles into the Scheduling g…
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/X86/ |
| H A D | fp80-widest-type.ll | 7 ; Make sure non-power-of-2 types are handled correctly, i.e., MaxVF is still a power-of-2.
|
| /llvm-project-15.0.7/lld/test/ELF/linkerscript/ |
| H A D | align1.test | 37 ## Test we fail gracefully when alignment value is not a power of 2 (#1). 44 # ERR: {{.*}}.script:1: alignment must be power of 2
|
| H A D | subalign.s | 37 ## Test we fail gracefully when alignment value is not a power of 2. 40 # ERR2: {{.*}}.script:1: alignment must be power of 2
|
| /llvm-project-15.0.7/flang/lib/Decimal/ |
| H A D | big-radix-floating-point.h | 35 static constexpr std::uint64_t TenToThe(int power) { in TenToThe() argument 36 return power <= 0 ? 1 : 10 * TenToThe(power - 1); in TenToThe()
|
| /llvm-project-15.0.7/llvm/test/Assembler/ |
| H A D | datalayout-invalid-stack-natural-alignment.ll | 3 ; CHECK: error: Alignment is neither 0 nor a power of 2
|
| H A D | datalayout-invalid-function-ptr-alignment.ll | 3 ; CHECK: error: Alignment is neither 0 nor a power of 2
|
| H A D | invalid-datalayout23.ll | 5 ; CHECK: Invalid ABI alignment, must be a power of 2
|
| H A D | invalid-datalayout20.ll | 5 ; CHECK: Pointer ABI alignment must be a power of 2
|
| H A D | invalid-datalayout21.ll | 5 ; CHECK: Pointer preferred alignment must be a power of 2
|