Home
last modified time | relevance | path

Searched refs:scaled (Results 1 – 25 of 74) sorted by relevance

123

/llvm-project-15.0.7/llvm/test/Transforms/LoopReroll/
H A Dextra_instr.ll165 %iv.scaled.div5 = udiv i32 %iv.scaled, 5
168 %iv.scaled.add1 = add nuw nsw i32 %iv.scaled, 1
172 %iv.scaled.add2 = add nuw nsw i32 %iv.scaled, 2
179 %iv.scaled.add4 = add nuw nsw i32 %iv.scaled, 4
183 %iv.scaled.add5 = add nuw nsw i32 %iv.scaled, 5
187 %iv.scaled.add6 = add nuw nsw i32 %iv.scaled, 6
231 %iv.scaled.div5 = udiv i32 %iv.scaled, 5
234 %iv.scaled.add1 = add nuw nsw i32 %iv.scaled, 1
238 %iv.scaled.add2 = add nuw nsw i32 %iv.scaled, 2
245 %iv.scaled.add4 = add nuw nsw i32 %iv.scaled, 4
[all …]
/llvm-project-15.0.7/third-party/benchmark/src/
H A Dstring_util.cc54 double scaled = val; in ToExponentAndMantissa() local
56 scaled /= one_k; in ToExponentAndMantissa()
57 if (scaled <= big_threshold) { in ToExponentAndMantissa()
58 mantissa_stream << scaled; in ToExponentAndMantissa()
69 double scaled = val; in ToExponentAndMantissa() local
71 scaled *= one_k; in ToExponentAndMantissa()
72 if (scaled >= small_threshold) { in ToExponentAndMantissa()
73 mantissa_stream << scaled; in ToExponentAndMantissa()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Quant/
H A DUniformSupport.h109 APFloat scaled = (expressedValue / scale); in quantizeFloatToInt() local
110 scaled.roundToIntegral(roundMode); in quantizeFloatToInt()
111 scaled.add(zeroPoint, roundMode); in quantizeFloatToInt()
112 APFloat fixedpoint = llvm::minimum(scaled, clampMax); in quantizeFloatToInt()
138 const double scaled = realValue / scaleDouble + zeroPointDouble; in quantizeF32ToInt8() local
140 const double scaledRounded = std::round(scaled); in quantizeF32ToInt8()
/llvm-project-15.0.7/mlir/docs/
H A DQuantization.md33 We will call the result of the divided real the *scaled value*.
35 $$ real\\_value = scaled\\_value * scale $$
38 scaled values. For example, if the scale is $ \pi $, then fixed point values
45 Multiplication can be performed on scaled values with different scales, using
46 the same algorithm as multiplication of real values (note that product scaled
48 \mbox{ } operand} $$). Addition can be performed on scaled values, so long as
50 This makes it convenient to represent scaled values on a computer as signed
52 will be correct scaled values.
59 scaled value:
63 Essentially, affine values are a shift of the scaled values by some constant
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-objdump/MachO/
H A Dbad-bind.test37 RUN: not llvm-objdump --macho --bind %p/Inputs/macho-bind-add-addr-imm-scaled 2>&1 | FileCheck --ch…
38 ADD-ADDR-IMM-SCALED: macho-bind-add-addr-imm-scaled': truncated or malformed object (for BIND_OPCOD…
55 RUN: not llvm-objdump --macho --lazy-bind %p/Inputs/macho-lazy-do-bind-add-addr-imm-scaled 2>&1 | F…
56 LAZY-DO-BIND-ADD-ADDR-IMM-SCALED: macho-lazy-do-bind-add-addr-imm-scaled': truncated or malformed o…
85 RUN: not llvm-objdump --macho --rebase %p/Inputs/macho-rebase-add-addr-imm-scaled 2>&1 | FileCheck …
86 REBASE-ADD-ADDR-IMM-SCALED: macho-rebase-add-addr-imm-scaled': truncated or malformed object (for R…
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64Schedule.td48 def WriteLDIdx : SchedWrite; // Load from a register index (maybe scaled).
49 def WriteSTIdx : SchedWrite; // Store to a register index (maybe scaled).
H A DAArch64SchedPredExynos.td98 // with a scaled non-extended register.
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dsve-intrinsics-gather-loads-64bit-scaled-offset.ll5 ; LD1H, LD1W, LD1D: base + 64-bit scaled offset
56 ; LD1SH, LD1SW: base + 64-bit scaled offset
85 ; LD1H, LD1W, LD1D: base + 64-bit sxtw'd scaled offset
148 ; LD1SH, LD1SW: base + 64-bit sxtw'd scaled offset
183 ; LD1H, LD1W, LD1D: base + 64-bit sxtw'd scaled offset
246 ; LD1SH, LD1SW: base + 64-bit uxtw'd scaled offset
H A Dsve-intrinsics-ff-gather-loads-64bit-scaled-offset.ll5 ; LDFF1H, LDFF1W, LDFF1D: base + 64-bit scaled offset
56 ; LDFF1SH, LDFF1SW: base + 64-bit scaled offset
H A Darm64-scvt.ll73 ; 1. load with scaled imm to float.
74 ; 2. load with scaled register to float.
75 ; 3. load with scaled imm to double.
76 ; 4. load with scaled register to double.
81 ; ********* 1. load with scaled imm to float. *********
143 ; ********* 2. load with scaled register to float. *********
206 ; ********* 3. load with scaled imm to double. *********
267 ; ********* 4. load with scaled register to double. *********
463 ; ********* 1s. load with scaled imm to float. *********
542 ; ********* 2s. load with scaled register to float. *********
[all …]
H A Dldp-stp-scaled-unscaled-pairs.ll105 ; Pair an unscaled store with a scaled store where the scaled store has a
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/abseil/
H A Dduration-factory-scale.rst7 scaled internally and could be changed to a different factory function. This
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dlsr-scale-addr-mode.ll2 ; Should use scaled addressing mode.
/llvm-project-15.0.7/polly/lib/External/isl/
H A Disl_schedule_band.c1151 isl_multi_union_pw_aff *scaled; in isl_schedule_band_point() local
1165 scaled = isl_schedule_band_get_partial_schedule(tile); in isl_schedule_band_point()
1167 scaled = isl_multi_union_pw_aff_scale_multi_val(scaled, sizes); in isl_schedule_band_point()
1170 band->mupa = isl_multi_union_pw_aff_sub(band->mupa, scaled); in isl_schedule_band_point()
/llvm-project-15.0.7/llvm/test/CodeGen/Thumb/
H A Daddr-modes.ll15 ; Test case 01: %n is scaled by 4 (size of i32).
/llvm-project-15.0.7/llvm/test/Analysis/BlockFrequencyInfo/
H A Dbad_input.ll35 ; Check that the infinite loop is arbitrarily scaled to max out at 4096,
/llvm-project-15.0.7/openmp/runtime/doc/doxygen/
H A Dheader.tex34 \usepackage[scaled=.90]{helvet}
/llvm-project-15.0.7/llvm/test/Transforms/LoopStrengthReduce/
H A D2011-10-06-ReusePhi.ll4 ; Verify that scaled GEPs are not reused. rdar://5064068
/llvm-project-15.0.7/llvm/test/Transforms/LoopStrengthReduce/X86/
H A Dlsr-filtering-scaledreg.ll1 ; RUN: opt < %s -loop-reduce -lsr-filter-same-scaled-reg=true -mtriple=x86_64-unknown-linux-gnu -S …
/llvm-project-15.0.7/llvm/test/Transforms/Inline/
H A Dfunction-count-update-3.ll3 ; This tests that the function count of a function gets properly scaled after
/llvm-project-15.0.7/mlir/lib/Conversion/TosaToLinalg/
H A DTosaToLinalgNamed.cpp919 auto scaled = in matchAndRewrite() local
931 loc, b.getIntegerAttr(scaled.getType(), in matchAndRewrite()
933 scaled = rewriter.create<arith::AddIOp>(loc, scaled, outputZp) in matchAndRewrite()
947 loc, scaled, min, max, arith::CmpIPredicate::slt, rewriter); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Utils/
H A DUtils.cpp575 Value scaled = in normalizeLoop() local
581 ? scaled in normalizeLoop()
582 : insideLoopBuilder.create<arith::AddIOp>(loc, scaled, lowerBound); in normalizeLoop()
584 SmallPtrSet<Operation *, 2> preserve{scaled.getDefiningOp(), in normalizeLoop()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DREADME-Thumb.txt218 Thumb load / store address mode offsets are scaled. The values kept in the
234 Thumb1 immediate field sometimes keep pre-scaled values. See
/llvm-project-15.0.7/llvm/test/Transforms/SampleProfile/
H A Dnorepeated-icp-4.ll9 ; call in _Z3goov and _Z3foov need to be scaled. The test is to make sure
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dreal.cpp292 Real scaled; in SQRT() local
294 scaled.Normalize(false, expo - 2 * adjust + exponentBias, GetFraction()); in SQRT()
295 result = scaled.SQRT(rounding); in SQRT()

123