Home
last modified time | relevance | path

Searched refs:floating (Results 1 – 25 of 680) sorted by relevance

12345678910>>...28

/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Dimplicit-bool-conversion.cpp64 float floating = boolean / 0.3f; in implicitConversionFromBoolInSingleBoolExpressions() local
182 float floating = 0.0f; in implicitConversionToBoolSimpleCases() local
183 functionTaking<bool>(floating); in implicitConversionToBoolSimpleCases()
214 float floating = 10.0f; in implicitConversionToBoolInSingleExpressions() local
239 float floating = 0.2f; in implicitConversionToBoolInComplexExpressions() local
256 float floating = 10.0f; in implicitConversionInNegationExpressions() local
283 float floating = 0.3f; in implicitConversionToBoolInControlStatements() local
284 while (floating) {} in implicitConversionToBoolInControlStatements()
295 float floating = 1.0f; in implicitConversionToBoolInReturnValue() local
296 return floating; in implicitConversionToBoolInReturnValue()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVSchedule.td50 def WriteFDiv16 : SchedWrite; // 16-bit floating point divide
51 def WriteFDiv32 : SchedWrite; // 32-bit floating point divide
52 def WriteFDiv64 : SchedWrite; // 64-bit floating point divide
53 def WriteFSqrt16 : SchedWrite; // 16-bit floating point sqrt
54 def WriteFSqrt32 : SchedWrite; // 32-bit floating point sqrt
55 def WriteFSqrt64 : SchedWrite; // 64-bit floating point sqrt
142 def ReadFDiv16 : SchedRead; // 16-bit floating point divide
143 def ReadFDiv32 : SchedRead; // 32-bit floating point divide
145 def ReadFSqrt16 : SchedRead; // 16-bit floating point sqrt
146 def ReadFSqrt32 : SchedRead; // 32-bit floating point sqrt
[all …]
/llvm-project-15.0.7/clang/test/PCH/
H A Dexprs.c15 double floating; variable
27 floating_literal *double_ptr = &floating;
52 array_subscript *double_ptr1_5 = &floating;
55 call_returning_double *double_ptr2 = &floating;
58 member_ref_double *double_ptr3 = &floating;
69 conditional_operator *double_ptr4 = &floating;
79 ext_vector_element *double_ptr5 = &floating;
102 generic_selection_expr *double_ptr6 = &floating;
/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/data-formatter-script/
H A Dmain.cpp8 float floating; member
11 integer(I), floating(F), character(C) {} in i_am_cool()
12 i_am_cool() : integer(1), floating(2), character('3') {} in i_am_cool()
20 float floating; member
25 floating((F1 + F2)/2) {} in i_am_cooler()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVCLOps.td124 floating-point values.
154 floating-point values.
186 floating-point values.
218 floating-point values.
248 floating-point values.
279 floating-point values.
314 floating-point values.
340 floating-point values.
370 floating-point values.
404 floating-point values.
[all …]
H A DSPIRVCastOps.td98 Convert value numerically from floating point to signed integer, with
105 Float Value must be a scalar or vector of floating-point type. It must
130 Convert value numerically from floating point to unsigned integer, with
138 Float Value must be a scalar or vector of floating-point type. It must
166 Convert value numerically from signed integer to floating point.
170 Result Type must be a scalar or vector of floating-point type.
200 Convert value numerically from unsigned integer to floating point.
204 Result Type must be a scalar or vector of floating-point type.
234 Convert value numerically from one floating-point width to another
239 Result Type must be a scalar or vector of floating-point type.
[all …]
/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/data-formatter-cpp/
H A Dmain.cpp36 ShowMyGuts floating; member
39 integer(I), floating(F), character(C) {} in i_am_cool()
40 i_am_cool() : integer(1), floating(2), character('3') {} in i_am_cool()
48 ShowMyGuts floating; member
53 floating((F1 + F2)/2) {} in i_am_cooler()
97 cool_array[3].floating = 5.25; in main()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Math/IR/
H A DMathOps.td35 // Base class for unary math operations on floating point types. Require an
36 // operand and result of the same type. This type can be a floating point type,
46 // Base class for binary math operations on floating point types. Require two
47 // operands and one result of the same type. This type can be a floating point
58 // one result of the same type. This type can be a floating point type, vector
73 let summary = "floating point absolute-value operation";
412 The `expm1` operation takes one operand of floating point type (i.e.,
456 let summary = "floating point fused multipy-add operation";
577 let summary = "floating point raised to the power of operation";
585 The `powf` operation takes two operands of floating point type (i.e.,
[all …]
/llvm-project-15.0.7/llvm/test/MC/ARM/
H A Dfp-const-errors.s3 @ Test for floating point constants that are out of the 8-bit encoded value range
12 @ CHECK: error: invalid floating point immediate
15 @ CHECK: error: invalid floating point immediate
19 @ CHECK: error: invalid floating point immediate
22 @ CHECK: error: invalid floating point immediate
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Dmagic-numbers.rst6 Detects magic numbers, integer or floating point literals that are embedded in
65 For floating point literals by default the `0.0` floating point value is
66 accepted without a warning. The set of ignored floating point literals can
69 floating-point value representation used by the target architecture. If a
70 floating-point literal value compares equal to one of the converted values,
71 then that literal is not diagnosed by this check. Because floating-point
73 be aware of the details of floating-point representations for any values that
81 Alternatively, the check for the floating point numbers can be disabled for
82 all floating point values by enabling the
105 Semicolon-separated list of magic positive floating point values that will
[all …]
H A Dimplicit-bool-conversion.rst40 float floating;
41 bool boolean = floating;
42 // ^ propose replacement: bool boolean = floating != 0.0f;
73 - floating expression/literal to boolean,
80 - boolean expression/literal to floating.
87 - ``bool boolean = floating;`` is changed to
88 ``bool boolean = floating == 0.0f;``,
/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/data-formatter-advanced/
H A Dmain.cpp8 float floating; member
11 integer(I), floating(F), character(C) {} in i_am_cool()
12 i_am_cool() : integer(1), floating(2), character('3') {} in i_am_cool()
20 float floating; member
25 floating((F1 + F2)/2) {} in i_am_cooler()
142 cool_array[3].floating = 5.25; in main()
/llvm-project-15.0.7/lld/test/ELF/
H A Dmips-fp-flags-err.test4 # files with incompatible floating point ABI flags.
26 # DBLFP64: {{.*}}fp64.o: floating point ABI '-mgp32 -mfp64' is incompatible with target floating po…
27 # SGLFP64OLD: {{.*}}fp64old.o: floating point ABI '-mgp32 -mfp64 (old)' is incompatible with target…
28 # SOFTFP64A: {{.*}}fp64a.o: floating point ABI '-mgp32 -mfp64 -mno-odd-spreg' is incompatible with…
29 # SGLFPXX: {{.*}}fpxx.o: floating point ABI '-mfpxx' is incompatible with target floating point ABI…
/llvm-project-15.0.7/llvm/test/MC/AsmParser/
H A Dfloating-literals.s107 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one exponent digit
110 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one exponent digit
113 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one exponent digit
116 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one significand digit
119 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one significand digit
122 # CHECK-ERROR: error: invalid hexadecimal floating-point constant: expected exponent part 'p'
/llvm-project-15.0.7/clang/test/Lexer/
H A Dopencl-half-literal.cl7 constant half b = 1.0hh; // expected-error{{invalid suffix 'hh' on floating constant}}
8 constant half c = 1.0fh; // expected-error{{invalid suffix 'fh' on floating constant}}
9 constant half d = 1.0lh; // expected-error{{invalid suffix 'lh' on floating constant}}
10 constant half e = 1.0hf; // expected-error{{invalid suffix 'hf' on floating constant}}
/llvm-project-15.0.7/compiler-rt/lib/xray/
H A Dxray_trampoline_arm.S15 @ Assume that "q" part of the floating-point registers is not used
22 @ Save floating-point parameters of the instrumented function
36 @ Restore floating-point parameters of the instrumented function
46 @ Assume that "q" part of the floating-point registers is not used for the
53 @ Save the floating-point return value of the instrumented function
68 @ Restore the floating-point return value of the instrumented function
78 @ Assume that "q" part of the floating-point registers is not used
85 @ Save floating-point parameters of the instrumented function
101 @ Restore floating-point parameters of the instrumented function
/llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/
H A Dmixed-precision-remarks.ll3 ; CHECK: remark: mixed-precision.c:3:26: floating point conversion changes vector width. Mixed floa…
24 ; CHECK: remark: mixed-precision.c:8:8: floating point conversion changes vector width. Mixed float…
25 ; CHECK: remark: mixed-precision.c:7:16: floating point conversion changes vector width. Mixed floa…
26 ; CHECK-NOT: remark: mixed-precision.c:7:16: floating point conversion changes vector width. Mixed
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Arithmetic/IR/
H A DArithmeticOps.td101 // Cast from a floating point type to another floating point type.
602 floating point tensor.
633 floating point tensor.
673 // Scalar floating-point maximum.
717 // Scalar floating-point minimum.
753 floating point tensor.
858 let summary = "cast from floating-point to wider floating-point";
860 Cast a floating-point value to a larger floating-point-typed value.
899 let summary = "cast from floating-point to narrower floating-point";
901 Truncate a floating-point value to a smaller floating-point-typed value.
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/abseil/
H A Dduration-factory-float.rst6 Checks for cases where the floating-point overloads of various
11 floating point values or non-literals. It will suggest removing
18 // Original - Providing a floating-point literal.
25 // Original - Explicitly casting to a floating-point type.
H A Dduration-comparison.rst7 of the floating point or integer domains.
10 compared against a floating-point value, truncation during the ``Duration``
18 // Original - Comparison in the floating point domain
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/
H A Dnarrowing-conversions.rst18 - an integer to a narrower floating-point (e.g. ``uint64_t`` to ``float``)
20 - a floating-point to an integer (e.g. ``double`` to ``int``),
21 - a floating-point to a narrower floating-point (e.g. ``double`` to ``float``)
42 When `true`, the check will warn on narrowing integer to floating-point
47 When `true`, the check will warn on narrowing floating point conversion
72 When `true`, the check will warn on assigning a floating point constant
73 to an integer value even if the floating point value is exactly
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cert/
H A Dflp30-c.rst7 floating-point type.
10 `FLP30-C. Do not use floating-point variables as loop counters
11 <https://www.securecoding.cert.org/confluence/display/c/FLP30-C.+Do+not+use+floating-point+variable…
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZInstrDFP.td9 // The instructions in this file implement SystemZ decimal floating-point
12 // ever supports decimal floating-point types (_Decimal64 etc.), they can
32 // Convert floating-point values to narrower representations. The destination
39 // Extend floating-point values to wider representations.
45 // Convert a signed integer value to a floating-point one.
57 // Convert an unsigned integer value to a floating-point one.
65 // Convert a floating-point value to a signed integer value.
77 // Convert a floating-point value to an unsigned integer value.
87 // Convert a packed value to a floating-point one.
93 // Convert a floating-point value to a packed value.
[all …]
/llvm-project-15.0.7/llvm/test/MC/Disassembler/Hexagon/
H A Dxtype_fp.txt8 # Classify floating-point value
14 # Compare floating-point value
32 # Convert floating-point value to other format
38 # Convert integer to floating-point value
56 # Convert floating-point value to integer
118 # Create floating-point constant
/llvm-project-15.0.7/llvm/test/Transforms/SLPVectorizer/X86/
H A Dslp-fma-loss.ll4 ; This test checks for a case when a horizontal reduction of floating-point
6 ; floating-point FMAs that would be more profitable.
44 ; floating-point adds, or vectorizing a tree of floating-point multiplies,
46 ; of floating-point FMAs that would be more profitable.

12345678910>>...28