Home
last modified time | relevance | path

Searched refs:func (Results 1 – 25 of 2864) sorted by relevance

12345678910>>...115

/llvm-project-15.0.7/flang/test/Fir/
H A Dfir-types.fir13 func.func private @it1() -> !fir.int<4>
14 func.func private @it2() -> !fir.real<8>
15 func.func private @it3() -> !fir.complex<8>
16 func.func private @it4() -> !fir.logical<1>
17 func.func private @it5() -> !fir.char<1>
18 func.func private @it6() -> !fir.char<2,10>
19 func.func private @it7() -> !fir.char<4,?>
60 func.func private @mem1() -> !fir.ref<i32>
61 func.func private @mem2() -> !fir.ptr<i32>
62 func.func private @mem3() -> !fir.heap<i32>
[all …]
H A Dinvalid-types.fir5 func.func private @box3() -> !fir.boxproc<>
16 func.func private @box1() -> !fir.box<>
21 func.func private @box2() -> !fir.boxchar<>
26 func.func private @it6() -> !fir.char<>
31 func.func private @it6() -> !fir.char<2, >
36 func.func private @it3() -> !fir.complex<>
41 func.func private @mem3() -> !fir.heap<>
46 func.func private @it1() -> !fir.int<A>
56 func.func private @mem3() -> !fir.ptr<>
61 func.func private @mem3() -> !fir.real<>
[all …]
H A Dtypes-to-llvm.fir9 func.func private @foo0(%arg0: !fir.array<10x12xi64>)
12 func.func private @foo1(%arg0: !fir.array<?xf32>)
15 func.func private @foo2(%arg0: !fir.array<?x?xf128>)
18 func.func private @foo3(%arg0: !fir.array<*:i32>)
21 func.func private @foo4(%arg0: !fir.array<3x?xi32>)
41 func.func private @foo0(%arg0: !fir.ref<i32>)
70 func.func private @foo0(%arg0: !fir.ptr<i32>)
164 func.func private @foo0(%arg0: !fir.int<1>)
168 func.func private @foo1(%arg0: !fir.int<2>)
172 func.func private @foo2(%arg0: !fir.int<4>)
[all …]
/llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/
H A Dtypes.mlir26 func.func private @missing_count(!spv.array<f32>) -> ()
31 func.func private @missing_x(!spv.array<4 f32>) -> ()
36 func.func private @missing_element_type(!spv.array<4x>) -> ()
41 func.func private @cannot_parse_type(!spv.array<4xblabla>) -> ()
46 func.func private @more_than_one_dim(!spv.array<4x3xf32>) -> ()
61 func.func private @bf16_type(!spv.array<4xbf16>) -> ()
66 func.func private @i256_type(!spv.array<4xi256>) -> ()
71 func.func private @index_type(!spv.array<4xindex>) -> ()
95 func.func private @bool_ptr_type(!spv.ptr<i1, Uniform>) -> ()
248 func.func private @struct_type(!spv.struct<(f32)>) -> ()
[all …]
/llvm-project-15.0.7/mlir/test/Conversion/FuncToLLVM/
H A Dconvert-funcs.mlir3 //CHECK: llvm.func @second_order_arg(!llvm.ptr<func<void ()>>)
4 func.func private @second_order_arg(%arg0 : () -> ())
7 func.func private @second_order_result() -> (() -> ())
9 //CHECK: llvm.func @second_order_multi_result() -> !llvm.struct<(ptr<func<i32 ()>>, ptr<func<i64 ()…
12 //CHECK: llvm.func @third_order(!llvm.ptr<func<ptr<func<void ()>> (ptr<func<void ()>>)>>) -> !llvm.…
15 //CHECK: llvm.func @fifth_order_left(!llvm.ptr<func<void (ptr<func<void (ptr<func<void (ptr<func<vo…
18 //CHECK: llvm.func @fifth_order_right(!llvm.ptr<func<ptr<func<ptr<func<ptr<func<void ()>> ()>> ()>>…
23 func.func private @memref_call_conv(%arg0: memref<?xf32>)
44 func.func private @body(i32)
48 func.func @indirect_const_call(%arg0: i32) {
[all …]
/llvm-project-15.0.7/compiler-rt/lib/interception/
H A Dinterception.h168 extern FUNC_TYPE(func) PTR_TO_REAL(func); \
186 extern "C" ret_type func(__VA_ARGS__);
200 FUNC_TYPE(func) PTR_TO_REAL(func); \
203 # define DEFINE_REAL(ret_type, func, ...) argument
223 ret_type WRAP(func)(__VA_ARGS__)
234 INTERPOSER(func); \
241 INTERCEPTOR_ZZZ(__DARWIN_ALIAS_C(func), ret_type, func, __VA_ARGS__)
252 FUNC_TYPE(func) PTR_TO_REAL(func); \
278 # define INTERCEPT_FUNCTION(func) INTERCEPT_FUNCTION_LINUX_OR_FREEBSD(func) argument
283 # define INTERCEPT_FUNCTION(func) INTERCEPT_FUNCTION_MAC(func) argument
[all …]
/llvm-project-15.0.7/libc/AOR_v20.02/math/test/testcases/directed/
H A Dpow.tst7 func=pow op1=00000000.00000000 op2=00000000.00000000 result=3ff00000.00000000 errno=0
8 func=pow op1=00000000.00000000 op2=00000000.00000001 result=00000000.00000000 errno=0
9 func=pow op1=00000000.00000000 op2=00100000.00000000 result=00000000.00000000 errno=0
10 func=pow op1=00000000.00000000 op2=1fffffff.ffffffff result=00000000.00000000 errno=0
11 func=pow op1=00000000.00000000 op2=3bdfffff.ffffffff result=00000000.00000000 errno=0
12 func=pow op1=00000000.00000000 op2=3be00000.00000000 result=00000000.00000000 errno=0
13 func=pow op1=00000000.00000000 op2=3fe00000.00000000 result=00000000.00000000 errno=0
14 func=pow op1=00000000.00000000 op2=3ff00000.00000000 result=00000000.00000000 errno=0
15 func=pow op1=00000000.00000000 op2=40000000.00000000 result=00000000.00000000 errno=0
16 func=pow op1=00000000.00000000 op2=40080000.00000000 result=00000000.00000000 errno=0
[all …]
H A Dpowf.tst37 func=powf op1=7fc00001 op2=7fc00001 result=7fc00001 errno=0
38 func=powf op1=7fc00001 op2=ffc00001 result=7fc00001 errno=0
39 func=powf op1=7fc00001 op2=7f800000 result=7fc00001 errno=0
40 func=powf op1=7fc00001 op2=40800000 result=7fc00001 errno=0
41 func=powf op1=7fc00001 op2=40400000 result=7fc00001 errno=0
42 func=powf op1=7fc00001 op2=3f000000 result=7fc00001 errno=0
43 func=powf op1=7fc00001 op2=00000000 result=3f800000 errno=0
44 func=powf op1=7fc00001 op2=80000000 result=3f800000 errno=0
45 func=powf op1=7fc00001 op2=bf000000 result=7fc00001 errno=0
46 func=powf op1=7fc00001 op2=c0400000 result=7fc00001 errno=0
[all …]
H A Dlogf.tst7 func=logf op1=7fc00001 result=7fc00001 errno=0
8 func=logf op1=ffc00001 result=7fc00001 errno=0
12 func=logf op1=7f800000 result=7f800000 errno=0
14 func=logf op1=3f800000 result=00000000 errno=0
21 func=logf op1=3f781e49 result=bd0016d9.4ae error=0
22 func=logf op1=3f78e602 result=bce675e5.f31 error=0
23 func=logf op1=3f844a18 result=3d07030e.ae1 error=0
24 func=logf op1=3f79b55b result=bccbd88a.6cb error=0
25 func=logf op1=3f7e2f5f result=bbe92452.74a error=0
26 func=logf op1=3f7f1c03 result=bb6462c1.c2c error=0
[all …]
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dpgmath.h.inc96 PGMATH_USE_S(func, __##impl##s_##func##_1) \
97 PGMATH_USE_D(func, __##impl##d_##func##_1)
103 PGMATH_USE_C(func, __##impl##c_##func##_1) \
104 PGMATH_USE_Z(func, __##impl##z_##func##_1)
113 PGMATH_USE_S(func, __##impl##s_##func##_1) \
114 PGMATH_USE_D(func, __##impl##d_##func##_1)
121 PGMATH_USE_C(func, __##impl##c_##func##_1) \
122 PGMATH_USE_Z(func, __##impl##z_##func##_1)
135 #define PGMATH_FAST_REAL(func) PGMATH_REAL_IMPL(f, func)
226 PGMATH_USE_S(func, __mth_i_##func) \
[all …]
/llvm-project-15.0.7/libc/test/src/math/
H A DCeilTest.h24 void testSpecialNumbers(CeilFunc func) { in testSpecialNumbers() argument
25 EXPECT_FP_EQ(zero, func(zero)); in testSpecialNumbers()
28 EXPECT_FP_EQ(inf, func(inf)); in testSpecialNumbers()
29 EXPECT_FP_EQ(neg_inf, func(neg_inf)); in testSpecialNumbers()
31 EXPECT_FP_EQ(aNaN, func(aNaN)); in testSpecialNumbers()
35 EXPECT_FP_EQ(T(1.0), func(T(1.0))); in testRoundedNumbers()
43 void testFractions(CeilFunc func) { in testFractions() argument
44 EXPECT_FP_EQ(T(1.0), func(T(0.5))); in testFractions()
50 EXPECT_FP_EQ(T(2.0), func(T(1.3))); in testFractions()
52 EXPECT_FP_EQ(T(2.0), func(T(1.5))); in testFractions()
[all …]
H A DFloorTest.h25 EXPECT_FP_EQ(zero, func(zero)); in testSpecialNumbers()
28 EXPECT_FP_EQ(inf, func(inf)); in testSpecialNumbers()
29 EXPECT_FP_EQ(neg_inf, func(neg_inf)); in testSpecialNumbers()
31 EXPECT_FP_EQ(aNaN, func(aNaN)); in testSpecialNumbers()
35 EXPECT_FP_EQ(T(1.0), func(T(1.0))); in testRoundedNumbers()
36 EXPECT_FP_EQ(T(-1.0), func(T(-1.0))); in testRoundedNumbers()
43 void testFractions(FloorFunc func) { in testFractions() argument
44 EXPECT_FP_EQ(T(0.0), func(T(0.5))); in testFractions()
50 EXPECT_FP_EQ(T(1.0), func(T(1.3))); in testFractions()
52 EXPECT_FP_EQ(T(1.0), func(T(1.5))); in testFractions()
[all …]
H A DRoundTest.h25 EXPECT_FP_EQ(zero, func(zero)); in testSpecialNumbers()
28 EXPECT_FP_EQ(inf, func(inf)); in testSpecialNumbers()
29 EXPECT_FP_EQ(neg_inf, func(neg_inf)); in testSpecialNumbers()
31 EXPECT_FP_EQ(aNaN, func(aNaN)); in testSpecialNumbers()
35 EXPECT_FP_EQ(T(1.0), func(T(1.0))); in testRoundedNumbers()
36 EXPECT_FP_EQ(T(-1.0), func(T(-1.0))); in testRoundedNumbers()
43 void testFractions(RoundFunc func) { in testFractions() argument
44 EXPECT_FP_EQ(T(1.0), func(T(0.5))); in testFractions()
50 EXPECT_FP_EQ(T(1.0), func(T(1.3))); in testFractions()
52 EXPECT_FP_EQ(T(2.0), func(T(1.5))); in testFractions()
[all …]
H A DTruncTest.h25 EXPECT_FP_EQ(zero, func(zero)); in testSpecialNumbers()
28 EXPECT_FP_EQ(inf, func(inf)); in testSpecialNumbers()
29 EXPECT_FP_EQ(neg_inf, func(neg_inf)); in testSpecialNumbers()
31 EXPECT_FP_EQ(aNaN, func(aNaN)); in testSpecialNumbers()
35 EXPECT_FP_EQ(T(1.0), func(T(1.0))); in testRoundedNumbers()
36 EXPECT_FP_EQ(T(-1.0), func(T(-1.0))); in testRoundedNumbers()
43 void testFractions(TruncFunc func) { in testFractions() argument
44 EXPECT_FP_EQ(T(0.0), func(T(0.5))); in testFractions()
50 EXPECT_FP_EQ(T(1.0), func(T(1.3))); in testFractions()
52 EXPECT_FP_EQ(T(1.0), func(T(1.5))); in testFractions()
[all …]
H A DLogbTest.h29 ASSERT_FP_EQ(aNaN, func(aNaN)); in testSpecialNumbers()
30 ASSERT_FP_EQ(inf, func(inf)); in testSpecialNumbers()
31 ASSERT_FP_EQ(inf, func(neg_inf)); in testSpecialNumbers()
32 ASSERT_FP_EQ(neg_inf, func(0.0)); in testSpecialNumbers()
33 ASSERT_FP_EQ(neg_inf, func(-0.0)); in testSpecialNumbers()
36 void testPowersOfTwo(LogbFunc func) { in testPowersOfTwo() argument
37 EXPECT_FP_EQ(T(0.0), func(T(1.0))); in testPowersOfTwo()
40 EXPECT_FP_EQ(T(1.0), func(T(2.0))); in testPowersOfTwo()
43 EXPECT_FP_EQ(T(2.0), func(T(4.0))); in testPowersOfTwo()
46 EXPECT_FP_EQ(T(3.0), func(T(8.0))); in testPowersOfTwo()
[all …]
/llvm-project-15.0.7/mlir/test/IR/
H A Dinvalid-builtin-types.mlir3 func.func @illegaltype(i) // expected-error {{expected non-function type}}
7 func.func @illegaltype() {
117 func.func @zero_vector_type() -> vector<0xi32>
122 func.func @zero_in_vector_type() -> vector<1x0xi32>
127 func.func @negative_vector_size() -> vector<-1xi32>
132 func.func @negative_in_vector_size() -> vector<1x-1xi32>
137 func.func @negative_memref_size() -> memref<-1xi32>
147 func.func @negative_tensor_size() -> tensor<-1xi32>
157 func.func @bad_complex(complex<memref<2x4xi8>>)
162 func.func @bad_complex(complex memref<2x4xi8>>)
[all …]
H A Dinvalid-builtin-attributes.mlir105 func.func @mi() {
231 func.func @large_bound() {
241 func.func @large_bound() {
251 func.func @large_bound() {
261 func.func @large_bound() {
271 func.func @large_bound() {
281 func.func @large_bound() {
291 func.func @large_bound() {
301 func.func @large_bound() {
311 func.func @large_bound() {
[all …]
H A Dinvalid.mlir5 func.func @bad_branch() {
12 func.func @block_redef() {
70 func.func @no_return() {
122 func.func @test() {
130 func.func @redef() {
139 func.func @undef() {
152 func.func @argError() {
220 func.func @undef() {
228 func.func @undef() {
330 func.func @n(){^b(
[all …]
H A Dinvalid-func-op.mlir5 func.func @func_op() {
7 func.func missingsigil() -> (i1, index, f32)
13 func.func @func_op() {
23 func.func @func_op() {
33 func.func @func_op() {
35 func.func @mixed_named_arguments(f32) {
44 func.func @func_op() {
46 func.func @mixed_named_arguments(f32) {
56 func.func @f() -> (foo
61 func.func @f() -> (i1 {)
[all …]
/llvm-project-15.0.7/mlir/test/Dialect/Arithmetic/
H A Dops.mlir5 func.func @test_addi(%arg0 : i64, %arg1 : i64) -> i64 {
365 func.func @test_negf(%arg0 : f64) -> f64 {
509 func.func @test_extui(%arg0 : i32) -> i64 {
533 func.func @test_extsi(%arg0 : i32) -> i64 {
557 func.func @test_extf(%arg0 : f32) -> f64 {
581 func.func @test_trunci(%arg0 : i32) -> i16 {
629 func.func @test_uitofp(%arg0 : i32) -> f32 {
653 func.func @test_sitofp(%arg0 : i16) -> f64 {
677 func.func @test_fptoui(%arg0 : bf16) -> i8 {
893 func.func @bitcast(%arg : f32) -> i32 {
[all …]
/llvm-project-15.0.7/mlir/test/Conversion/FuncToSPIRV/
H A Dtypes-to-spirv.mlir196 func.func @int_vector(
205 func.func @float_vector(
225 func.func @int_vector(
234 func.func @float_vector(
276 func.func @memref_mem_space(
291 func.func @memref_1bit_type(
545 func.func @memref_64bit_Input(
686 func.func @memref_vector(
732 func.func @int_tensor_types(
743 func.func @float_tensor_types(
[all …]
/llvm-project-15.0.7/mlir/test/Dialect/LLVMIR/
H A Dfunc.mlir6 // GENERIC: "llvm.func"
11 "llvm.func"() ({
14 // GENERIC: "llvm.func"
19 "llvm.func"() ({
22 // GENERIC: "llvm.func"
24 "llvm.func"() ({
37 "llvm.func"() ({
42 llvm.func @roundtrip1()
201 "llvm.func"() ({
211 "llvm.func"() ({
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/NVPTX/
H A Dpacked-aggr.ll16 ; CHECK: .extern .func func
32 ; CHECK-SAME: 0xFF(func), 0xFF00(func), 0xFF0000(func), 0xFF000000(func),
33 ; CHECK64-SAME: 0xFF00000000(func), 0xFF0000000000(func), 0xFF000000000000(func), 0xFF0000000000000…
50 ; CHECK-SAME: 0xFF(func), 0xFF00(func), 0xFF0000(func), 0xFF000000(func),
51 ; CHECK64-SAME: 0xFF00000000(func), 0xFF0000000000(func), 0xFF000000000000(func), 0xFF0000000000000…
65 ; CHECK-SAME: 0xFF(func), 0xFF00(func), 0xFF0000(func), 0xFF000000(func),
66 ; CHECK64-SAME: 0xFF00000000(func), 0xFF0000000000(func), 0xFF000000000000(func), 0xFF0000000000000…
87 ; CHECK32-SAME: 0xFF(func), 0xFF00(func), 0xFF0000(func), 0xFF000000(func), 5, 0,
88 ; CHECK32-SAME: 0xFF(func), 0xFF00(func), 0xFF0000(func), 0xFF000000(func), 9, 0};
90 ; CHECK64-SAME: 0xFF(func), 0xFF00(func), 0xFF0000(func), 0xFF000000(func),
[all …]
/llvm-project-15.0.7/mlir/test/Transforms/
H A Dinlining-dce.mlir7 func.func private @dead_function() {
13 func.func @dead_function_b() {
18 func.func @live_function() {
26 func.func @live_function_b() {
30 func.func private @dead_function_c() {
35 func.func private @dead_function_d() {
41 func.func @live_function_c() {
49 func.func private @live_function_d() {
61 func.func @live_function_e() {
66 func.func private @dead_function_e() -> () {
[all …]
/llvm-project-15.0.7/mlir/test/Conversion/MathToLLVM/
H A Dmath-to-llvm.mlir20 func.func @log1p(%arg0 : f32) {
45 func.func @expm1(%arg0 : f32) {
57 func.func @rsqrt(%arg0 : f32) {
69 func.func @sine(%arg0 : f32) {
79 func.func @ctlz(%arg0 : i32) {
90 func.func @cttz(%arg0 : i32) {
101 func.func @cttz_vec(%arg0 : vector<4xi32>) {
112 func.func @ctpop(%arg0 : i32) {
132 func.func @rsqrt_double(%arg0 : f64) {
169 func.func @powf(%arg0 : f64) {
[all …]

12345678910>>...115