/llvm-project/libcxx/include/ |
H A D | cmath | 49 floating_point acos (arithmetic x); 53 floating_point asin (arithmetic x); 57 floating_point atan (arithmetic x); 61 floating_point atan2 (arithmetic y, arithmetic x); 65 floating_point ceil (arithmetic x); 69 floating_point cos (arithmetic x); 73 floating_point cosh (arithmetic x); 77 floating_point exp (arithmetic x); 81 floating_point fabs (arithmetic [all...] |
H A D | concepts | 37 // [concepts.arithmetic], arithmetic concepts 138 # include <__concepts/arithmetic.h>
|
/llvm-project/llvm/test/Transforms/Attributor/ |
H A D | nofpclass-arithmetic-fence.ll | 4 declare float @llvm.arithmetic.fence.f32(float) 9 ; CHECK-NEXT: [[CALL:%.*]] = call float @llvm.arithmetic.fence.f32(float [[ARG0]]) #[[ATTR2:[0-9… 12 %call = call float @llvm.arithmetic.fence.f32(float %arg0) 19 ; CHECK-NEXT: [[CALL:%.*]] = call nofpclass(inf) float @llvm.arithmetic.fence.f32(float nofpclas… 22 %call = call float @llvm.arithmetic.fence.f32(float %arg0) 29 ; CHECK-NEXT: [[CALL:%.*]] = call nofpclass(pinf) float @llvm.arithmetic.fence.f32(float nofpcla… 32 %call = call float @llvm.arithmetic.fence.f32(float %arg0) 39 ; CHECK-NEXT: [[CALL:%.*]] = call nofpclass(ninf) float @llvm.arithmetic.fence.f32(float nofpcla… 42 %call = call float @llvm.arithmetic.fence.f32(float %arg0) 49 ; CHECK-NEXT: [[CALL:%.*]] = call nofpclass(nan) float @llvm.arithmetic.fence.f32(float nofpclas… [all …]
|
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/ |
H A D | pro-bounds-pointer-arithmetic.rst | 1 .. title:: clang-tidy - cppcoreguidelines-pro-bounds-pointer-arithmetic 3 cppcoreguidelines-pro-bounds-pointer-arithmetic 6 This check flags all usage of pointer arithmetic, because it could lead to an 9 Pointers should only refer to single objects, and pointer arithmetic is fragile 14 <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Pro-bounds-arithmetic>`_
|
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/bugprone/ |
H A D | pointer-arithmetic-on-polymorphic-object.rst | 1 .. title:: clang-tidy - bugprone-pointer-arithmetic-on-polymorphic-object 3 bugprone-pointer-arithmetic-on-polymorphic-object 6 Finds pointer arithmetic performed on classes that contain a virtual function. 8 Pointer arithmetic on polymorphic objects where the pointer's static type is 30 // warning: pointer arithmetic on class that declares a virtual function can 36 return d[1].i; // warning due to pointer arithmetic on polymorphic object 67 `CTR56-CPP. Do not use pointer arithmetic on polymorphic objects 68 <https://wiki.sei.cmu.edu/confluence/display/cplusplus/CTR56-CPP.+Do+not+use+pointer+arithmetic+on+polymorphic+objects>`_.
|
H A D | misplaced-pointer-arithmetic-in-alloc.rst | 1 .. title:: clang-tidy - bugprone-misplaced-pointer-arithmetic-in-alloc 3 bugprone-misplaced-pointer-arithmetic-in-alloc
|
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/abseil/ |
H A D | upgrade-duration-conversions.rst | 6 Finds calls to ``absl::Duration`` arithmetic operators and factories whose 11 accept an argument of class type that is convertible to an arithmetic type. Such 17 type. Similar to the arithmetic operators, calls with an argument of class type 18 that is convertible to an arithmetic type go through the ``int64_t`` path. 20 These operators and factories will be changed to only accept arithmetic types to 23 convertible to an arithmetic type.
|
H A D | duration-division.rst | 6 ``absl::Duration`` arithmetic works like it does with integers. That means that 8 …d39c8805d0c32d56628a3/absl/time/time.h#L137>`_ for more information on arithmetic with ``absl::Dur…
|
/llvm-project/llvm/test/CodeGen/X86/ |
H A D | arithmetic_fence2.ll | 64 %t = call double @llvm.arithmetic.fence.f64(double %1) 103 %t = call <2 x float> @llvm.arithmetic.fence.v2f32(<2 x float> %1) 154 %t = call <8 x float> @llvm.arithmetic.fence.v8f32(<8 x float> %1) 171 %b = call half @llvm.arithmetic.fence.f16(half %a) 189 %b = call bfloat @llvm.arithmetic.fence.bf16(bfloat %a) 211 %b = call <2 x half> @llvm.arithmetic.fence.v2f16(<2 x half> %a) 251 %b = call <3 x bfloat> @llvm.arithmetic.fence.v3bf16(<3 x bfloat> %a) 305 %b = call <4 x bfloat> @llvm.arithmetic.fence.v4bf16(<4 x bfloat> %a) 309 declare half @llvm.arithmetic.fence.f16(half) 310 declare bfloat @llvm.arithmetic.fence.bf16(bfloat) [all …]
|
H A D | arithmetic_fence.ll | 50 %tmp = call float @llvm.arithmetic.fence.f32(float %mul) 114 %t = call double @llvm.arithmetic.fence.f64(double %1) 153 %t = call <2 x float> @llvm.arithmetic.fence.v2f32(<2 x float> %1) 206 %1 = tail call reassoc fp128 @llvm.arithmetic.fence.f128(fp128 %0) 210 declare fp128 @llvm.arithmetic.fence.f128(fp128) 211 declare float @llvm.arithmetic.fence.f32(float) 212 declare double @llvm.arithmetic.fence.f64(double) 213 declare <2 x float> @llvm.arithmetic.fence.v2f32(<2 x float>)
|
/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64SchedPredicates.td | 16 // Check the extension type in arithmetic instructions. 28 // Check for shifting in extended arithmetic instructions. 34 // Check for shifting in arithmetic and logic instructions. 52 // Check the shifting type in arithmetic and logic instructions. 93 // Identify arithmetic instructions with extend. 99 // Identify arithmetic immediate instructions. 103 // Identify arithmetic instructions with shift. 107 // Identify arithmetic instructions without shift. 132 // Identify arithmetic and logic immediate instructions. 136 // Identify arithmetic and logic instructions with shift. [all …]
|
H A D | AArch64SchedPredExynos.td | 16 // Check the shift in arithmetic and logic instructions. 32 // Identify arithmetic instructions without or with limited extension or shift. 135 // Identify cheap arithmetic and logic immediate instructions.
|
H A D | AArch64SchedFalkor.td | 43 def FalkorUnitX : ProcResource<1>; // Complex arithmetic 44 def FalkorUnitY : ProcResource<1>; // Simple arithmetic 45 def FalkorUnitZ : ProcResource<1>; // Simple arithmetic
|
/llvm-project/clang/test/SemaObjC/ |
H A D | sizeof-interface.m | 8 P = P+5; // expected-error {{arithmetic on a pointer to an incomplete type 'I0'}} 51 …P = P+5; // expected-error {{arithmetic on pointer to interface 'I0', which is not a constant siz… 52 …P = 5+P; // expected-error {{arithmetic on pointer to interface 'I0', which is not a constant siz… 53 …P = P-5; // expected-error {{arithmetic on pointer to interface 'I0', which is not a constant siz… 85 …++f; // expected-error {{arithmetic on pointer to interface 'Foo', which is not a constant size f… 86 …--f; // expected-error {{arithmetic on pointer to interface 'Foo', which is not a constant size f…
|
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/cert/ |
H A D | ctr56-cpp.rst | 3 :http-equiv=refresh: 5;URL=../bugprone/pointer-arithmetic-on-polymorphic-object.html 9 :doc:`bugprone-pointer-arithmetic-on-polymorphic-object 10 <../bugprone/pointer-arithmetic-on-polymorphic-object>` for more information.
|
/llvm-project/llvm/test/CodeGen/AArch64/ |
H A D | arithmetic_fence.ll | 35 %tmp = call float @llvm.arithmetic.fence.f32(float %mul) 75 %t = call double @llvm.arithmetic.fence.f64(double %1) 121 %t = call <2 x float> @llvm.arithmetic.fence.v2f32(<2 x float> %1) 127 declare float @llvm.arithmetic.fence.f32(float) 128 declare double @llvm.arithmetic.fence.f64(double) 129 declare <2 x float> @llvm.arithmetic.fence.v2f32(<2 x float>)
|
/llvm-project/llvm/test/MC/Mips/ |
H A D | mips64-alu-instructions.s | 3 # for arithmetic and logical instructions. 116 # Shortcuts for arithmetic instructions 143 # Did you know that GAS supports complex arithmetic expressions in assembly?
|
H A D | mips-alu-instructions.s | 3 # for arithmetic and logical instructions. 123 # Shortcuts for arithmetic instructions
|
/llvm-project/clang/test/SemaOpenCL/ |
H A D | amdgpu-buffer-rsrc.cl | 10 …)k; // expected-error {{operand of type '__amdgpu_buffer_rsrc_t' where arithmetic or pointer type … 11 …)k; // expected-error {{operand of type '__amdgpu_buffer_rsrc_t' where arithmetic or pointer type …
|
/llvm-project/llvm/test/CodeGen/SystemZ/ |
H A D | shift-15.ll | 2 ; Test 128-bit shift right arithmetic in vector registers on z13 6 ; Shift right arithmetic immediate (general case). 20 ; Shift right arithmetic immediate (< 8 bits). 33 ; Shift right arithmetic immediate (full bytes). 46 ; Shift right arithmetic variable.
|
/llvm-project/polly/lib/External/isl/imath/ |
H A D | README.md | 4 Arbitrary precision integer and rational arithmetic library. 7 arithmetic library. 34 arithmetic on integers and rational numbers of arbitrary precision. While many 53 To do basic integer arithmetic, you must declare variables of type `mpz_t` in
|
/llvm-project/libcxx/modules/std/ |
H A D | ratio.inc | 14 // [ratio.arithmetic], ratio arithmetic
|
H A D | concepts.inc | 28 // [concepts.arithmetic], arithmetic concepts
|
/llvm-project/llvm/test/CodeGen/Mips/ |
H A D | fneg.ll | 5 ; In 1985 mode, abs.[ds] are arithmetic (i.e. they raise invalid operation 6 ; exceptions when given NaN's). In 2008 mode, they are non-arithmetic (i.e.
|
/llvm-project/llvm/test/CodeGen/AMDGPU/ |
H A D | fneg-combines.legal.f16.ll | 124 ; arithmetic.fence tests 135 %fence = call half @llvm.arithmetic.fence.f16(half %a) 149 %fence = call half @llvm.arithmetic.fence.f16(half %mul) 156 declare half @llvm.arithmetic.fence.f16(half) #1
|