Home
last modified time | relevance | path

Searched refs:float3 (Results 1 – 25 of 41) sorted by relevance

12

/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dx86-method-vector-values.m16 typedef __attribute__((__ext_vector_type__(3))) float float3; typedef
40 -(void)takeVector:(float3)v { argument
48 -(float3)retVector { // expected-error {{'float3' (vector of 3 'float' values) return type is unsup…
51 -(void)takeVector2:(float3)v AVAILABLE_MACOS_10_10 { // expected-error {{'float3' (vector of 3 'flo… argument
54 -(void)takeVector3:(float3)v AVAILABLE_MACOS_10_11 { // expected-error {{'float3' (vector of 3 'flo… argument
57 -(void)takeVector4:(float3)v AVAILABLE_IOS_8 { // expected-error {{'float3' (vector of 3 'float' va… argument
60 -(void)takeVector5:(float3)v AVAILABLE_IOS_9 { // expected-error {{'float3' (vector of 3 'float' va… argument
73 -(void)takeVector:(float3)v { argument
76 -(float3)retVector {
88 -(void)takeVector2:(float3)v AVAILABLE_MACOS_10_10 { argument
[all …]
H A Dunsafe-perform-selector.m40 typedef __attribute__((__ext_vector_type__(3))) float float3; typedef
49 - (float3)returnsExtVector; // expected-note {{method 'returnsExtVector' that returns 'float3' (vec…
/llvm-project-15.0.7/clang/test/CodeGen/PowerPC/
H A Dppc64le-aggregates.c245 struct v3f1 { float3 v[1]; };
246 struct v3f2 { float3 v[2]; };
247 struct v3f3 { float3 v[3]; };
248 struct v3f4 { float3 v[4]; };
249 struct v3f5 { float3 v[5]; };
250 struct v3f6 { float3 v[6]; };
251 struct v3f7 { float3 v[7]; };
252 struct v3f8 { float3 v[8]; };
253 struct v3f9 { float3 v[9]; };
255 struct v3fab { float3 a; float3 b; };
[all …]
/llvm-project-15.0.7/clang/test/SemaHLSL/BuiltIns/
H A Dvector-constructors-erros.hlsl4 typedef float float3 __attribute__((ext_vector_type(3)));
13float3 NormieVec = float3(LilVec, 3.0, 4.0); // expected-error{{excess elements in vector initiali…
14float3 BrokenNormie = float3(3.0, 4.0); // expected-error{{too few elements in vector initializati…
15float3 OverwhemledNormie = float3(3.0, 4.0, 5.0, 6.0); // expected-error{{excess elements in vecto…
/llvm-project-15.0.7/llvm/test/CodeGen/NVPTX/
H A Dbug22322.ll7 %class.float3 = type { float, float, float }
11 define void @some_kernel(%class.float3* nocapture %dst) #0 {
31 %12 = getelementptr inbounds %class.float3, %class.float3* %dst, i64 %5, i32 0
33 %13 = getelementptr inbounds %class.float3, %class.float3* %dst, i64 %5, i32 1
35 %14 = getelementptr inbounds %class.float3, %class.float3* %dst, i64 %5, i32 2
62 !0 = !{void (%class.float3*)* @some_kernel, !"kernel", i32 1}
H A Db52037.ll18 %float3 = type { float, float, float }
34 declare %float3 @bar_2(float, float) local_unnamed_addr
36 declare %float3 @zot() local_unnamed_addr
85 %8 = bitcast %float3* %tmp54.i.i to i32*
99 %tmp13.i.i.peel = tail call %float3 @zot() #1
170 %tmp13.i.i = tail call %float3 @zot() #1
171 %tmp15.i.i = extractvalue %float3 %tmp13.i.i, 0
173 %tmp17.i.i = extractvalue %float3 %tmp13.i.i, 2
176 %tmp28.i.elt.i = extractvalue %float3 %tmp28.i.i, 0
178 %tmp28.i.elt2.i = extractvalue %float3 %tmp28.i.i, 1
[all …]
/llvm-project-15.0.7/clang/test/Parser/
H A Dopencl-astype.cl9 typedef __attribute__(( ext_vector_type(3) )) float float3;
16 // Verify int4->float3, float3->int4 works.
18 float3 f3 = __builtin_astype(i4, float3);
/llvm-project-15.0.7/clang/test/Sema/
H A Dext_vector_components.c4 typedef __attribute__(( ext_vector_type(3) )) float float3; typedef
12 float3 vec3; in test()
71 float2 lo(float3 x) { return x.lo; } in lo()
72 float2 hi(float3 x) { return x.hi; } in hi()
73 float2 ev(float3 x) { return x.even; } in ev()
74 float2 od(float3 x) { return x.odd; } in od()
H A Dvector-init.c33 typedef float __attribute__((ext_vector_type (3))) float3; typedef
34 int test2[sizeof(float3) == sizeof(float4) ? 1 : -1];
H A Dext_vector_casts.c6 typedef __attribute__(( ext_vector_type(3) )) float float3; typedef
17 float3 vec3; in test()
/llvm-project-15.0.7/libclc/generic/include/clc/geometric/
H A Dcross.h1 _CLC_OVERLOAD _CLC_DECL float3 cross(float3 p0, float3 p1);
/llvm-project-15.0.7/libclc/generic/lib/geometric/
H A Dcross.cl3 _CLC_OVERLOAD _CLC_DEF float3 cross(float3 p0, float3 p1) {
4 return (float3)(p0.y*p1.z - p0.z*p1.y, p0.z*p1.x - p0.x*p1.z,
H A Dnormalize.cl49 _CLC_OVERLOAD _CLC_DEF float3 normalize(float3 p) {
50 if (all(p == (float3)0.0F))
62 p = copysign(select((float3)0.0F, (float3)1.0F, isinf(p)), p);
H A Ddot.cl11 _CLC_OVERLOAD _CLC_DEF float dot(float3 p0, float3 p1) {
/llvm-project-15.0.7/clang/test/AST/HLSL/
H A Dvector-constructors.hlsl4 typedef float float3 __attribute__((ext_vector_type(3)));
9 float3 Vec3 = float3(Vec2, 3.0);
10 float3 Vec3b = float3(1.0, 2.0, 3.0);
26 // CHECK: VarDecl 0x{{[0-9a-fA-F]+}} <col:3, col:33> col:10 Vec3 'float3':'float __attribute__((ext…
27 … 0x{{[0-9a-fA-F]+}} <col:17, col:33> 'float3':'float __attribute__((ext_vector_type(3)))' function…
28 // CHECK-NEXT: InitListExpr 0x{{[0-9a-fA-F]+}} <col:24, col:30> 'float3':'float __attribute__((ext_…
40 // CHECK: VarDecl 0x{{[0-9a-fA-F]+}} <col:3, col:38> col:10 Vec3b 'float3':'float __attribute__((ex…
41 … 0x{{[0-9a-fA-F]+}} <col:18, col:38> 'float3':'float __attribute__((ext_vector_type(3)))' function…
42 // CHECK-NEXT: InitListExpr 0x{{[0-9a-fA-F]+}} <col:25, col:35> 'float3':'float __attribute__((ext_…
/llvm-project-15.0.7/libclc/generic/include/math/
H A Dternary_intrin.inc3 _CLC_OVERLOAD float3 __CLC_FUNCTION(float3, float3, float3) __asm(__CLC_INTRINSIC ".v3f32");
H A Dbinary_intrin.inc3 _CLC_OVERLOAD float3 __CLC_FUNCTION(float3, float3) __asm(__CLC_INTRINSIC ".v3f32");
H A Dunary_intrin.inc3 _CLC_OVERLOAD float3 __CLC_FUNCTION(float3 f) __asm(__CLC_INTRINSIC ".v3f32");
/llvm-project-15.0.7/clang/test/CodeGenOpenCL/
H A Dpreserve_vec3.cl7 typedef float float3 __attribute__((ext_vector_type(3)));
10 void kernel foo(global float3 *a, global float3 *b) {
17 void kernel float4_to_float3(global float3 *a, global float4 *b) {
22 *a = __builtin_astype(*b, float3);
25 void kernel float3_to_float4(global float3 *a, global float4 *b) {
33 void kernel float3_to_double2(global float3 *a, global double2 *b) {
/llvm-project-15.0.7/clang/test/Index/
H A Dusrs.cpp98 typedef __attribute__((__ext_vector_type__(3))) float float3; typedef
102 float3 vectorOverload(float3 f);
/llvm-project-15.0.7/clang/lib/Headers/
H A Dopencl-c.h7126 float3 __ovld __cnfn fma(float3, float3, float3);
7268 float3 __ovld fract(float3, float3 *);
7792 float3 __ovld __cnfn mad(float3, float3, float3);
7877 float3 __ovld modf(float3, float3 *);
8364 float3 __ovld sincos(float3, float3 *);
10025 float3 __ovld __cnfn clamp(float3, float3, float3);
10181 float3 __ovld __cnfn mix(float3, float3, float3);
10300 float3 __ovld __cnfn smoothstep(float3, float3, float3);
10995 float3 __ovld __cnfn bitselect(float3, float3, float3);
18202 float3 __ovld amd_max3(float3 src0, float3 src1, float3 src2);
[all …]
/llvm-project-15.0.7/libclc/generic/lib/relational/
H A Disequal.cl10 _CLC_DEFINE_ISEQUAL(int3, isequal, float3, float3)
/llvm-project-15.0.7/clang/test/CodeGen/X86/
H A Davx512fp16-abi.c164 struct float3 { struct
170 float pr51813_2(struct float3 s) { in pr51813_2() argument
/llvm-project-15.0.7/clang/test/CodeGen/
H A D64bit-swiftcall.c76 typedef float float3 __attribute__((ext_vector_type(3))); typedef
1025 float3 f3;
1042 float3 fv2;
/llvm-project-15.0.7/clang/lib/Headers/hlsl/
H A Dhlsl_basic_types.h58 typedef vector<float, 3> float3; typedef

12