| /llvm-project-15.0.7/llvm/test/Transforms/FunctionSpecialization/ |
| H A D | remove-dead-recursive-function.ll | 8 %tmp0 = call i64 @compute(i64 %x, i64 (i64)* @plus) 12 %tmp1 = call i64 @compute(i64 %x, i64 (i64)* @minus) 20 ; CHECK-NOT: define internal i64 @compute( 22 ; CHECK-LABEL: define internal i64 @compute.1(i64 %n, i64 (i64)* %binop) { 24 ; CHECK: [[TMP1:%.+]] = call i64 @compute.1(i64 [[TMP2:%.+]], i64 (i64)* @plus) 27 ; CHECK-LABEL: define internal i64 @compute.2(i64 %n, i64 (i64)* %binop) { 29 ; CHECK: [[TMP1:%.+]] = call i64 @compute.2(i64 [[TMP2:%.+]], i64 (i64)* @minus) 32 define internal i64 @compute(i64 %n, i64 (i64)* %binop) { 40 %call1 = call i64 @compute(i64 %sub, i64 (i64)* %binop)
|
| H A D | function-specialization.ll | 9 ; CHECK-NEXT: [[TMP0:%.+]] = call i64 @compute.1(i64 %x, i64 (i64)* @plus) 12 ; CHECK-NEXT: [[TMP1:%.+]] = call i64 @compute.2(i64 %x, i64 (i64)* @minus) 23 %tmp0 = call i64 @compute(i64 %x, i64 (i64)* @plus) 27 %tmp1 = call i64 @compute(i64 %x, i64 (i64)* @minus) 35 ; CHECK-NOT: define internal i64 @compute( 37 ; CHECK-LABEL: define internal i64 @compute.1(i64 %x, i64 (i64)* %binop) { 43 ; CHECK-LABEL: define internal i64 @compute.2(i64 %x, i64 (i64)* %binop) { 49 define internal i64 @compute(i64 %x, i64 (i64)* %binop) {
|
| H A D | specialize-multiple-arguments.ll | 8 ; FnSpecialization: Specializations for function compute 27 ; NONE-NEXT: [[TMP1:%.*]] = call i64 @compute(i64 [[X]], i64 [[Y]], i64 (i64, i64)* @plus, i64 (… 31 ; NONE-NEXT: [[TMP3:%.*]] = call i64 @compute(i64 [[TMP2]], i64 42, i64 (i64, i64)* @minus, i64 … 80 %tmp0 = call i64 @compute(i64 %x, i64 %y, i64 (i64, i64)* @power, i64 (i64, i64)* @mul) 84 %tmp1 = call i64 @compute(i64 %x, i64 %y, i64 (i64, i64)* @plus, i64 (i64, i64)* @minus) 89 %tmp3 = call i64 @compute(i64 %tmp2, i64 42, i64 (i64, i64)* @minus, i64 (i64, i64)* @power) 93 ; THREE-NOT: define internal i64 @compute 95 ; THREE-LABEL: define internal i64 @compute.1(i64 %x, i64 %y, i64 (i64, i64)* %binop1, i64 (i64, i6… 106 ; THREE-LABEL: define internal i64 @compute.2(i64 %x, i64 %y, i64 (i64, i64)* %binop1, i64 (i64, i6… 117 ; THREE-LABEL: define internal i64 @compute.3(i64 %x, i64 %y, i64 (i64, i64)* %binop1, i64 (i64, i6… [all …]
|
| H A D | function-specialization-minsize.ll | 3 ; CHECK-NOT: @compute.1 4 ; CHECK-NOT: @compute.2 11 %tmp0 = call i64 @compute(i64 %x, i64 (i64)* @plus) 15 %tmp1 = call i64 @compute(i64 %x, i64 (i64)* @minus) 23 define internal i64 @compute(i64 %x, i64 (i64)* %binop) minsize {
|
| H A D | function-specialization-minsize2.ll | 6 ; CHECK-NOT: @compute.1 7 ; CHECK-NOT: @compute.2 14 %tmp0 = call i64 @compute(i64 %x, i64 (i64)* @plus) #0 18 %tmp1 = call i64 @compute(i64 %x, i64 (i64)* @minus) #0 26 define internal i64 @compute(i64 %x, i64 (i64)* %binop) {
|
| H A D | function-specialization-minsize3.ll | 7 ; CHECK: %tmp0 = call i64 @compute.1(i64 %x, i64 (i64)* @plus) 10 ; CHECK: %tmp1 = call i64 @compute(i64 %x, i64 (i64)* @minus) #0 18 %tmp0 = call i64 @compute(i64 %x, i64 (i64)* @plus) 22 %tmp1 = call i64 @compute(i64 %x, i64 (i64)* @minus) #0 30 define internal i64 @compute(i64 %x, i64 (i64)* %binop) {
|
| H A D | function-specialization-stats.ll | 11 %tmp0 = call i64 @compute(i64 %x, i64 (i64)* @plus) 15 %tmp1 = call i64 @compute(i64 %x, i64 (i64)* @minus) 23 define internal i64 @compute(i64 %x, i64 (i64)* %binop) {
|
| /llvm-project-15.0.7/llvm/test/CodeGen/MIR/X86/ |
| H A D | register-mask-operands.mir | 6 define i32 @compute(i32 %a) #0 { 14 %b = call i32 @compute(i32 %a) 22 name: compute 34 …; CHECK-NEXT: CALL64pcrel32 @compute, csr_64, implicit $rsp, implicit $edi, implicit-def $rsp, imp… 36 … CALL64pcrel32 @compute, csr_64, implicit $rsp, implicit $edi, implicit-def $rsp, implicit-def $eax
|
| H A D | undef-register-flag.mir | 7 define i32 @compute(i32 %a) #0 { 15 %b = call i32 @compute(i32 %a) 23 name: compute 35 … CALL64pcrel32 @compute, csr_64, implicit $rsp, implicit $edi, implicit-def $rsp, implicit-def $eax
|
| H A D | frame-setup-instruction-flag.mir | 6 define i32 @compute(i32 %a) { 14 %b = call i32 @compute(i32 %a) 20 name: compute 32 … CALL64pcrel32 @compute, csr_64, implicit $rsp, implicit $edi, implicit-def $rsp, implicit-def $eax
|
| H A D | expected-named-register-in-callee-saved-register.mir | 5 define i32 @compute(i32 %a) { 22 %d = call i32 @compute(i32 %c) 33 name: compute 78 … CALL64pcrel32 @compute, csr_64, implicit $rsp, implicit $edi, implicit-def $rsp, implicit-def $eax
|
| H A D | callee-saved-info.mir | 7 define i32 @compute(i32 %a) { 24 %d = call i32 @compute(i32 %c) 35 name: compute 86 … CALL64pcrel32 @compute, csr_64, implicit $rsp, implicit $edi, implicit-def $rsp, implicit-def $eax
|
| /llvm-project-15.0.7/clang/test/SemaHLSL/ |
| H A D | shader_type_attr.hlsl | 10 [shader("compute")] 31 [shader("compute")] 43 [shader("compute")] 60 [shader("compute")] 66 [shader("compute")] 70 [shader("compute")]
|
| H A D | num_threads.hlsl | 1 // RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -ast-dump -o - %s | FileCheck %s 9 // RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -ast-dump -o - %s -DFAIL -verify 10 // RUN: %clang_cc1 -triple dxil-pc-shadermodel5.0-compute -x hlsl -ast-dump -o - %s -DFAIL -verify 11 // RUN: %clang_cc1 -triple dxil-pc-shadermodel4.0-compute -x hlsl -ast-dump -o - %s -DFAIL -verify
|
| /llvm-project-15.0.7/clang/test/Analysis/inlining/ |
| H A D | eager-reclamation-path-notes.c | 10 int compute(void) { in compute() function 21 use(p, compute()); in testSimple() 33 use2(p, compute()); in passThrough()
|
| /llvm-project-15.0.7/llvm/test/Transforms/LowerMatrixIntrinsics/ |
| H A D | remarks-inlining.ll | 50 ; CHECK-LABEL: remark: load.h:41:43: Lowered with 0 stores, 10 loads, 0 compute ops, 0 exposed tran… 53 ; CHECK-LABEL: remark: load.h:41:43: Lowered with 0 stores, 10 loads, 0 compute ops, 0 exposed tran… 56 ; CHECK-LABEL: remark: load.h:41:11: Lowered with 0 stores, 1 loads, 0 compute ops, 0 exposed trans… 59 ; CHECK-LABEL: remark: assign.h:32:43: Lowered with 0 stores, 10 loads, 0 compute ops, 0 exposed tr… 62 ; CHECK-LABEL: remark: assign.h:32:43: Lowered with 0 stores, 10 loads, 0 compute ops, 0 exposed tr… 65 ; CHECK-LABEL: remark: toplevel.c:410:0: Lowered with 10 stores, 20 loads, 10 compute ops, 0 expose… 72 ; CHECK-LABEL: remark: toplevel.c:510:0: Lowered with 2 stores, 1 loads, 4 compute ops, 1 exposed t… 77 ; CHECK-LABEL: remark: add.h:66:11: Lowered with 0 stores, 0 loads, 10 compute ops, 0 exposed trans… 82 ; CHECK-LABEL: remark: store.h:10:11: Lowered with 10 stores, 0 loads, 0 compute ops, 0 exposed tra… 87 ; CHECK-LABEL: remark: store.h:66:11: Lowered with 2 stores, 0 loads, 0 compute ops, 0 exposed tran… [all …]
|
| H A D | remarks.ll | 7 ; CHECK-LABEL: remark: test.h:40:20: Lowered with 6 stores, 6 loads, 24 compute ops 18 ; CHECK-LABEL: remark: test.h:50:20: Lowered with 2 stores, 12 loads, 22 compute ops 32 ; CHECK-LABEL: remark: test.h:60:20: Lowered with 6 stores, 6 loads, 0 compute ops 42 ; CHECK-LABEL: remark: test.h:70:20: Lowered with 6 stores, 6 loads, 0 compute ops 53 ; CHECK-LABEL: remark: test.h:80:20: Lowered with 6 stores, 6 loads, 12 compute ops 71 ; CHECK-LABEL: remark: test.h:90:20: Lowered with 6 stores, 6 loads, 12 compute ops 80 ; CHECK-NEXT: remark: test.h:90:20: Lowered with 2 stores, 12 loads, 22 compute ops 101 ; CHECK-LABEL: remark: test.h:100:20: Lowered with 6 stores, 6 loads, 12 compute ops 118 ; CHECK-LABEL: remark: test.h:30:20: Lowered with 10 stores, 9 loads, 30 compute ops
|
| H A D | remarks-shared-subtrees.ll | 20 ; YAML-NEXT: - String: ' compute ops, ' 29 ; YAML-NEXT: - String: ' compute ops' 50 ; YAML-NEXT: - String: ' compute ops, ' 59 ; YAML-NEXT: - String: ' compute ops' 73 ; STDERR-LABEL: remark: test.cpp:35:71: Lowered with 4 stores, 0 loads, 0 compute ops, 74 ; STDERR-NEXT: additionally 0 stores, 4 loads, 16 compute ops are shared with other expressions 81 ; STDERR-LABEL: remark: test.cpp:35:45: Lowered with 30 stores, 45 loads, 120 compute ops, 82 ; STDERR-NEXT: additionally 0 stores, 4 loads, 16 compute ops are shared with other expressions
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | no-hsa-graphics-shaders.ll | 3 ; CHECK: in function pixel_s{{.*}}: unsupported non-compute shaders with HSA 8 ; CHECK: in function vertex_s{{.*}}: unsupported non-compute shaders with HSA 13 ; CHECK: in function geometry_s{{.*}}: unsupported non-compute shaders with HSA
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | DivergenceAnalysisTest.cpp | 94 DA.compute(); in TEST_F() 104 DA.compute(); in TEST_F() 148 DA.compute(); in TEST_F() 202 DA.compute(); in TEST_F() 294 DA.compute(); in TEST_F() 418 DA.compute(); in TEST_F()
|
| /llvm-project-15.0.7/flang/test/Semantics/OpenMP/ |
| H A D | omp-do04.f90 | 39 call compute() 41 subroutine compute() subroutine
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | unused-nonnull.ll | 21 %1 = call i32 @compute(i8* %ptr, i32 %argc) 38 define i32 @compute(i8* noundef nonnull %ptr, i32 %x) #1 { 39 ; CHECK-LABEL: define {{[^@]+}}@compute
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/AArch64/ |
| H A D | predication_costs.ll | 14 ; This test checks that we correctly compute the cost of the predicated udiv 15 ; instruction. If we assume the block probability is 50%, we compute the cost 55 ; This test checks that we correctly compute the cost of the predicated store 56 ; instruction. If we assume the block probability is 50%, we compute the cost 126 ; This test checks that we correctly compute the cost of the predicated udiv 129 ; compute the cost as: 171 ; This test checks that we correctly compute the cost of the predicated store 174 ; compute the cost as: 212 ; This test checks that we correctly compute the cost of multiple predicated 217 ; compute the cost as:
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | CycleAnalysis.cpp | 25 CI.compute(F); in run() 69 CI.compute(Func); in runOnFunction()
|
| /llvm-project-15.0.7/mlir/test/Dialect/OpenACC/ |
| H A D | invalid.mlir | 118 // expected-error@+1 {{'acc.init' op cannot be nested in a compute operation}} 126 // expected-error@+1 {{'acc.init' op cannot be nested in a compute operation}} 134 // expected-error@+1 {{'acc.shutdown' op cannot be nested in a compute operation}} 142 // expected-error@+1 {{'acc.shutdown' op cannot be nested in a compute operation}} 151 // expected-error@+1 {{'acc.shutdown' op cannot be nested in a compute operation}}
|