/external/llvm-project/llvm/test/TableGen/ |
D | directive2.td | 3 …tblgen -gen-directive-gen -I %p/../../include %s | FileCheck -match-full-lines %s -check-prefix=GEN 138 // GEN: #ifdef GEN_FLANG_DIRECTIVE_CLAUSE_SETS 139 // GEN-NEXT: #undef GEN_FLANG_DIRECTIVE_CLAUSE_SETS 140 // GEN-EMPTY: 141 // GEN-NEXT: namespace llvm { 142 // GEN-NEXT: namespace tdl { 143 // GEN-EMPTY: 144 // GEN-NEXT: // Sets for dira 145 // GEN-EMPTY: 146 // GEN-NEXT: static allowedClauses_TDLD_dira { [all …]
|
D | directive1.td | 3 …tblgen -gen-directive-gen -I %p/../../include %s | FileCheck -match-full-lines %s -check-prefix=GEN 171 // GEN: #ifdef GEN_FLANG_DIRECTIVE_CLAUSE_SETS 172 // GEN-NEXT: #undef GEN_FLANG_DIRECTIVE_CLAUSE_SETS 173 // GEN-EMPTY: 174 // GEN-NEXT: namespace llvm { 175 // GEN-NEXT: namespace tdl { 176 // GEN-EMPTY: 177 // GEN-NEXT: // Sets for dira 178 // GEN-EMPTY: 179 // GEN-NEXT: static allowedClauses_TDLD_dira { [all …]
|
/external/igt-gpu-tools/assembler/ |
D | gram.y | 44 #define GEN(i) (&(i)->insn.gen) macro 266 return GEN(insn)->header.access_mode; in access_mode() 274 return GEN(insn)->header.execution_size; in exec_size() 282 GEN(insn)->header.execution_size = execsize; in set_execsize() 810 GEN(&$$)->header.thread_control |= BRW_THREAD_SWITCH; 811 GEN(&$$)->bits1.da1.dest_horiz_stride = 1; 812 GEN(&$$)->bits1.da1.src1_reg_file = BRW_ARCHITECTURE_REGISTER_FILE; 813 GEN(&$$)->bits1.da1.src1_reg_type = BRW_REGISTER_TYPE_UD; 836 GEN(&$$)->header.thread_control |= BRW_THREAD_SWITCH; 867 GEN(&$$)->header.thread_control |= BRW_THREAD_SWITCH; [all …]
|
/external/llvm/test/Transforms/PGOProfile/ |
D | branch1.ll | 1 ; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN --check-prefix=GEN-COMDAT 2 …_64-apple-darwin -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN --check-prefix=GEN-DARWIN-LIN… 5 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN --check-prefix=GEN-COMDAT 6 …le-darwin -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN --check-prefix=GEN-DARWIN-LIN… 16 ; GEN-DARWIN-LINKONCE: target triple = "x86_64-apple-darwin" 18 ; GEN-COMDAT: $__llvm_profile_raw_version = comdat any 19 ; GEN-COMDAT: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat 20 ; GEN-LINKONCE: @__llvm_profile_raw_version = linkonce constant i64 {{[0-9]+}} 21 ; GEN: @__profn_test_br_1 = private constant [9 x i8] c"test_br_1" 27 ; GEN: entry: [all …]
|
D | switch.ll | 1 ; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 2 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 9 ; GEN: $__llvm_profile_raw_version = comdat any 10 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat 11 ; GEN: @__profn_test_switch = private constant [11 x i8] c"test_switch" 15 ; GEN: entry: 16 ; GEN-NOT: call void @llvm.instrprof.increment 27 ; GEN: sw.bb: 28 ; GEN: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @__pro… 32 ; GEN: sw.bb1: [all …]
|
D | criticaledge.ll | 1 ; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 2 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 9 ; GEN: $__llvm_profile_raw_version = comdat any 10 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat 11 ; GEN: @__profn_test_criticalEdge = private constant [17 x i8] c"test_criticalEdge" 12 ; GEN: @__profn__stdin__bar = private constant [11 x i8] c"<stdin>:bar" 17 ; GEN-NOT: call void @llvm.instrprof.increment 31 ; GEN: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @__p… 35 ; GEN: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @__p… 39 ; GEN: sw.bb: [all …]
|
D | landingpad.ll | 1 ; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 2 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 11 ; GEN: $__llvm_profile_raw_version = comdat any 12 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat 13 ; GEN: @__profn_bar = private constant [3 x i8] c"bar" 14 ; GEN: @__profn_foo = private constant [3 x i8] c"foo" 18 ; GEN: entry: 19 ; GEN-NOT: call void @llvm.instrprof.increment 27 ; GEN: if.then: 28 ; GEN: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @__profn… [all …]
|
D | loop2.ll | 1 ; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 2 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 9 ; GEN: $__llvm_profile_raw_version = comdat any 10 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat 11 ; GEN: @__profn_test_nested_for = private constant [15 x i8] c"test_nested_for" 15 ; GEN: entry: 16 ; GEN-NOT: call void @llvm.instrprof.increment 20 ; GEN: for.cond.outer: 21 ; GEN-NOT: call void @llvm.instrprof.increment 30 ; GEN: for.body.outer: [all …]
|
D | loop1.ll | 1 ; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 2 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 9 ; GEN: $__llvm_profile_raw_version = comdat any 10 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat 11 ; GEN: @__profn_test_simple_for = private constant [15 x i8] c"test_simple_for" 15 ; GEN: entry: 16 ; GEN-NOT: call void @llvm.instrprof.increment 20 ; GEN: for.cond: 21 ; GEN-NOT: call void @llvm.instrprof.increment 31 ; GEN: for.body: [all …]
|
D | branch2.ll | 1 ; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 2 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 9 ; GEN: $__llvm_profile_raw_version = comdat any 10 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat 11 ; GEN: @__profn_test_br_2 = private constant [9 x i8] c"test_br_2" 15 ; GEN: entry: 16 ; GEN-NOT: llvm.instrprof.increment 24 ; GEN: if.then: 25 ; GEN: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @__profn… 30 ; GEN: if.else: [all …]
|
D | single_bb.ll | 1 ; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 2 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 6 ; GEN: $__llvm_profile_raw_version = comdat any 7 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat 8 ; GEN: @__profn_single_bb = private constant [9 x i8] c"single_bb" 12 ; GEN: entry: 13 ; GEN: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @__profn…
|
D | indirect_call_profile.ll | 1 ; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 2 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 11 ; GEN: @__profn_foo = private constant [3 x i8] c"foo" 15 ; GEN: entry: 16 ; GEN-NEXT: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @__… 18 ; GEN: [[ICALL_TARGET:%[0-9]+]] = ptrtoint void ()* %tmp to i64 19 ; GEN-NEXT: call void @llvm.instrprof.value.profile(i8* getelementptr inbounds ([3 x i8], [3 x i8]*… 32 ; GEN: [[ICALL_TARGET2:%[0-9]+]] = ptrtoint void ()* %tmp2 to i64 33 ; GEN-NEXT: call void @llvm.instrprof.value.profile(i8* getelementptr inbounds ([4 x i8], [4 x i8]*…
|
/external/llvm-project/llvm/test/Transforms/PGOProfile/ |
D | landingpad.ll | 1 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixes=GEN,N… 2 …s -passes=pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixes=GEN,NOTENTRY 7 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes=GEN,EN… 8 … < %s -passes=pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes=GEN,ENTRY 17 ; GEN: $__llvm_profile_raw_version = comdat any 18 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat 19 ; GEN: @__profn_bar = private constant [3 x i8] c"bar" 20 ; GEN: @__profn_foo = private constant [3 x i8] c"foo" 24 ; GEN: entry: 25 ; GEN: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @__profn… [all …]
|
D | branch1.ll | 1 ; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN --check-prefix=GEN-COMDAT 2 …_64-apple-darwin -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN --check-prefix=GEN-DARWIN-LIN… 5 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN --check-prefix=GEN-COMDAT 6 …le-darwin -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN --check-prefix=GEN-DARWIN-LIN… 23 ; GEN-DARWIN-LINKONCE: target triple = "x86_64-apple-darwin" 25 ; GEN-COMDAT: $__llvm_profile_raw_version = comdat any 26 ; GEN-COMDAT: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat 27 ; GEN-LINKONCE: @__llvm_profile_raw_version = linkonce constant i64 {{[0-9]+}} 28 ; GEN: @__profn_test_br_1 = private constant [9 x i8] c"test_br_1" 34 ; GEN: entry: [all …]
|
D | criticaledge.ll | 1 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefix=GEN 2 …UN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefix=GEN 7 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefix=GEN 8 …RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefix=GEN 15 ; GEN: $__llvm_profile_raw_version = comdat any 16 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat 17 ; GEN: @__profn_test_criticalEdge = private constant [17 x i8] c"test_criticalEdge" 18 ; GEN: @__profn__stdin__bar = private constant [11 x i8] c"<stdin>:bar" 48 ; GEN: sw.bb: 49 ; GEN: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @__pro… [all …]
|
D | loop2.ll | 1 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixes=GEN,N… 2 …s -passes=pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixes=GEN,NOTENTRY 6 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes=GEN,EN… 7 … < %s -passes=pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes=GEN,ENTRY 14 ; GEN: $__llvm_profile_raw_version = comdat any 15 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat 16 ; GEN: @__profn_test_nested_for = private constant [15 x i8] c"test_nested_for" 20 ; GEN: entry: 26 ; GEN: for.cond.outer: 27 ; GEN-NOT: call void @llvm.instrprof.increment [all …]
|
D | switch.ll | 1 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixes=GEN,N… 2 …s -passes=pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixes=GEN,NOTENTRY 6 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes=GEN,EN… 7 … < %s -passes=pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes=GEN,ENTRY 14 ; GEN: $__llvm_profile_raw_version = comdat any 15 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat 16 ; GEN: @__profn_test_switch = private constant [11 x i8] c"test_switch" 20 ; GEN: entry: 33 ; GEN: sw.bb: 34 ; GEN: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @__pro… [all …]
|
D | loop1.ll | 1 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixes=GEN,N… 2 …s -passes=pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixes=GEN,NOTENTRY 6 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes=GEN,EN… 7 … < %s -passes=pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes=GEN,ENTRY 15 ; GEN: $__llvm_profile_raw_version = comdat any 16 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat 17 ; GEN: @__profn_test_simple_for = private constant [15 x i8] c"test_simple_for" 21 ; GEN: entry: 27 ; GEN: for.cond: 28 ; GEN-NOT: call void @llvm.instrprof.increment [all …]
|
D | instr_entry_bb.ll | 1 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry -S | FileCheck %s --check-prefix=GEN 2 ; RUN: opt < %s -passes=pgo-instr-gen -pgo-instrument-entry -S | FileCheck %s --check-prefix=GEN 12 ; GEN: $__llvm_profile_raw_version = comdat any 13 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat 14 ; GEN: @__profn_test_br_2 = private constant [9 x i8] c"test_br_2" 18 ; GEN: entry: 19 ; GEN: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @__profn… 29 ; GEN: if.then: 30 ; GEN-NOT: llvm.instrprof.increment 35 ; GEN: if.else: [all …]
|
D | PR41279.ll | 2 ; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 3 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 29 ; GEN: 6: 30 ; GEN: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @__prof… 39 ; GEN: 7: 40 ; GEN-NOT: call void @llvm.instrprof.increment 46 ; GEN: 11: 47 ; GEN-NOT: call void @llvm.instrprof.increment 52 ; GEN: 12: 53 ; GEN: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @__prof… [all …]
|
D | branch2.ll | 1 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixes=GEN,N… 2 …s -passes=pgo-instr-gen -pgo-instrument-entry=false -S | FileCheck %s --check-prefixes=GEN,NOTENTRY 7 ; RUN: opt < %s -pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes=GEN,EN… 8 …< %s -passes=pgo-instr-gen -pgo-instrument-entry=true -S | FileCheck %s --check-prefixes=GEN,ENTRY 15 ; GEN: $__llvm_profile_raw_version = comdat any 16 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat 17 ; GEN: @__profn_test_br_2 = private constant [9 x i8] c"test_br_2" 21 ; GEN: entry: 31 ; GEN: if.then: 38 ; GEN: if.else: [all …]
|
D | single_bb.ll | 1 ; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 2 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 6 ; GEN: $__llvm_profile_raw_version = comdat any 7 ; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat 8 ; GEN: @__profn_single_bb = private constant [9 x i8] c"single_bb" 12 ; GEN: entry: 13 ; GEN: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @__profn…
|
D | indirect_call_profile.ll | 1 ; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 2 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 11 ; GEN: @__profn_foo = private constant [3 x i8] c"foo" 15 ; GEN: entry: 16 ; GEN-NEXT: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @__… 18 ; GEN: [[ICALL_TARGET:%[0-9]+]] = ptrtoint void ()* %tmp to i64 19 ; GEN-NEXT: call void @llvm.instrprof.value.profile(i8* getelementptr inbounds ([3 x i8], [3 x i8]*… 32 ; GEN: [[ICALL_TARGET2:%[0-9]+]] = ptrtoint void ()* %tmp2 to i64 33 ; GEN-NEXT: call void @llvm.instrprof.value.profile(i8* getelementptr inbounds ([4 x i8], [4 x i8]*…
|
D | PR41279_2.ll | 2 ; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 3 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN 32 ;GEN: _except1: 33 ;GEN: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @__pro… 44 ; GEN: catch.dispatch4: 45 ; GEN-NOT: call void @llvm.instrprof.increment 61 ;GEN: invoke.cont3: 62 ;GEN: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @__profn…
|
D | preinline.ll | 1 ; RUN: opt < %s -O2 -pgo-kind=pgo-instr-gen-pipeline -S | FileCheck %s --check-prefix=GEN 2 …-pgo-kind=pgo-instr-gen-pipeline -profile-file=default.profraw -S | FileCheck %s --check-prefix=GEN 8 ; GEN: %pgocount = load i64, i64* getelementptr inbounds ([1 x i64], [1 x i64]* @__profc_foo 9 ; GEN-NOT: %pgocount.i = load i64, i64* getelementptr inbounds ([1 x i64], [1 x i64]* @__profc__std… 17 ; GEN-NOT: define internal i32 @bar
|