Home
last modified time | relevance | path

Searched refs:switch (Results 1 – 25 of 929) sorted by relevance

12345678910>>...38

/external/llvm/test/Transforms/SimplifyCFG/X86/
Dswitch_to_lookup_table.ll7 ; CHECK: @switch.table = private unnamed_addr constant [7 x i32] [i32 55, i32 123, i32 0, i32 -1, i…
10 ; CHECK: @switch.table.1 = private unnamed_addr constant [4 x float] [float 0x40091EB860000000, flo…
13 ; CHECK: @switch.table.2 = private unnamed_addr constant [4 x i8*] [i8* getelementptr inbounds ([4 …
16 ; CHECK: @switch.table.3 = private unnamed_addr constant [4 x i32] [i32 42, i32 9, i32 88, i32 5]
19 ; CHECK: @switch.table.4 = private unnamed_addr constant [199 x i32] [i32 1, i32 4, i32 9,
22 ; CHECK: @switch.table.5 = private unnamed_addr constant [7 x i32] [i32 5, i32 42, i32 126, i32 -45…
25 ; CHECK: @switch.table.6 = private unnamed_addr constant [9 x i32] [i32 0, i32 0, i32 0, i32 2, i32…
27 ; A simple int-to-int selection switch.
34 switch i32 %c, label %sw.default [
57 ; CHECK-NEXT: %switch.tableidx = sub i32 %c, 42
[all …]
Dswitch-table-bug.ll10 ; CHECK-NEXT: zext i2 %switch.tableidx to i3
11 ; CHECK-NEXT: getelementptr inbounds [4 x i64], [4 x i64]* @switch.table, i32 0, i3 %switch.tableid…
12 ; CHECK-NEXT: load i64, i64* %switch.gep
13 ; CHECK-NEXT: ret i64 %switch.load
16 switch i2 %0, label %1 [
/external/deqp/data/gles3/shaders/
Dswitch.test12 switch ()
34 switch (c)
56 switch (c)
78 switch (c)
102 switch (c)
124 switch (c)
147 switch (c)
170 switch (c)
191 switch (1)
213 switch (1)
[all …]
/external/llvm/test/Transforms/SimplifyCFG/
Dswitch-to-select-two-case.ll4 ; switch(a) {
15 ; CHECK: %switch.selectcmp = icmp eq i32 %a, 20
16 ; CHECK-NEXT: %switch.select = select i1 %switch.selectcmp, i32 2, i32 4
17 ; CHECK-NEXT: %switch.selectcmp1 = icmp eq i32 %a, 10
18 ; CHECK-NEXT: %switch.select2 = select i1 %switch.selectcmp1, i32 10, i32 %switch.select
20 switch i32 %a, label %sw.epilog [
Dswitch-range-to-icmp.ll8 ; CHECK: %switch = icmp ult i32 %x.off, 3
9 ; CHECK: br i1 %switch, label %a, label %default
12 switch i32 %x, label %default [
29 ; CHECK: %switch = icmp ult i32 %x.off, 3
30 ; CHECK: br i1 %switch, label %a, label %b
33 switch i32 %x, label %unreachable [
56 ; CHECK: %switch = icmp ult i32 %x.off, 3
57 ; CHECK: br i1 %switch, label %a, label %b
61 ; would prevent switch-to-icmp here.
62 switch i32 %x, label %unreachable [
D2003-08-17-FoldSwitch.ll3 ; CHECK-NOT: switch
7 switch i32 5, label %Default [
27 switch i32 3, label %Default [
49 switch i32 3, label %TheDest [
59 ; Test folding switch -> branch
61 switch i32 %C, label %L1 [
72 switch i32 %C, label %L1 [
Dswitch-to-select-multiple-edge-per-block-phi.ll11 ; Checking that we handle correctly the case when we have a switch
20 ; CHECK: %switch.selectcmp1 = icmp eq i32 %1, 5
21 ; CHECK: %switch.select2 = select i1 %switch.selectcmp1, i32 5, i32 %switch.select
29 switch i32 %1, label %if.end3 [
Dswitch_switch_fold.ll2 ; RUN: grep switch | count 1
4 ; Test that a switch going to a switch on the same value can be merged. All
16 switch i32 %V, label %F [
23 switch i32 %V, label %F [
38 switch i32 %V, label %F [
DCoveredLookupTable.ll10 ; CHECK-NEXT: zext i3 %switch.tableidx to i24
11 ; CHECK-NEXT: mul i24 %switch.cast, 3
12 ; CHECK-NEXT: lshr i24 7507338, %switch.shiftamt
13 ; CHECK-NEXT: trunc i24 %switch.downshift to i3
14 ; CHECK-NEXT: ret i3 %switch.masked
18 switch i3 %input, label %bb8 [
Dswitch_thread.ll4 ; Test that we can thread a simple known condition through switch statements.
13 switch i32 %V, label %A [
21 ;; This switch is always statically determined.
22 switch i32 %V, label %A2 [
51 switch i32 %V, label %A [
59 ;; This switch is always statically determined.
60 switch i32 %V, label %E [
Dpreserve-branchweights.ll85 switch i32 %N, label %sw2 [
91 ; CHECK: switch i32 %N, label %sw2 [
112 ;; test6 - Some cases of the second switch are pruned during optimization.
113 ;; Then the second switch will be converted to a branch, finally, the first
114 ;; switch and the branch will be merged into a single switch.
117 switch i32 %N, label %sw2 [
123 ; CHECK: switch i32 %N, label %sw.epilog
138 ;; Here "case 2" is invalidated since the default case of the first switch
140 switch i32 %N, label %sw.epilog [
203 switch i32 %qux, label %bees [
[all …]
Dswitch-on-const-select.ll8 br i1 %eq, label %b, label %switch
9 switch:
13 switch i32 %qux, label %bees [
22 ; CHECK-NEXT: %retval = phi i32 [ 0, %switch ], [ 2, %entry ]
24 %retval = phi i32 [0, %switch], [0, %switch], [2, %entry]
42 switch i32 %qux, label %bees [
68 switch i32 %qux, label %b [
93 switch i32 %qux, label %b [
120 switch i32 %qux, label %bees [
Dswitch_create.ll20 ; CHECK: switch i32 %V, label %F [
39 ; DL: switch i32 %magicptr, label %F [
58 ; DL: switch i16 %magicptr, label %F [
76 ; CHECK: switch i32 %V, label %T [
96 ; CHECK: switch i32 %V, label %F [
123 ; CHECK: switch i8 %c, label %lor.rhs [
132 switch i8 %c, label %lor.rhs [
147 ; CHECK: switch i8 %c, label %lor.rhs [
184 ; CHECK: %switch = icmp ult i32 %tmp.2.i.off, 6
205 ; CHECK: br i1 %cmp, label %if.then, label %switch.early.test
[all …]
Dpreserve-branchweights-switch-create.ll8 ;; test1 - create a switch with case 2 and case 4 from two branches: N == 2
15 ; CHECK: switch i32 %N
48 switch i32 %N, label %sw2 [
53 ; CHECK: switch i32 %N, label %sw.epilog
69 ;; of the first switch.
70 switch i32 %N, label %sw.epilog [
94 switch i32 %N, label %sw.bb [
100 ; CHECK: switch i32 %N, label %sw.bb
115 switch i32 %N, label %sw.epilog [
/external/deqp/framework/egl/
DegluStrUtil.inl9 switch (value)
19 switch (value)
30 switch (value)
41 switch (value)
64 switch (value)
76 switch (value)
113 switch (value)
137 switch (value)
147 switch (value)
157 switch (value)
[all …]
/external/deqp/doc/testspecs/GLES3/
Dfunctional.shaders.switch.txt19 GLSL switch statement tests
22 + dEQP-GLES3.functional.shaders.switch.*
25 + Constant, uniform and dynamic switch expressions
30 + Nested switch, conditional and loop statements
31 + Negative syntax tests for switch statements
33 + Negative semantic tests for switch statements
35 - Non-integer switch expressions
37 - No statement between a label and end of switch statement
/external/webrtc/talk/app/webrtc/objc/
DRTCEnumConverter.mm36 switch (nativeState) {
59 switch (nativeState) {
71 switch (nativeState) {
89 switch (statsOutputLevel) {
99 switch (nativeState) {
113 switch (state) {
127 switch (nativeState) {
141 switch (nativeEnum) {
155 switch (iceTransportsType) {
169 switch (nativeEnum) {
[all …]
/external/llvm/test/Transforms/StructurizeCFG/
Dswitch.ll3 ; The structurizecfg pass cannot handle switch instructions, so we need to
4 ; make sure the lower switch pass is always run before structurizecfg.
6 ; CHECK-LABEL: @switch
7 define void @switch(i32 addrspace(1)* %out, i32 %cond) nounwind {
10 switch i32 %cond, label %done [ i32 0, label %zero]
/external/llvm/test/CodeGen/AArch64/
Dfast-isel-switch-phi.ll7 br i1 %c, label %switch, label %direct
9 switch:
10 switch i32 %a, label %exit [
20 %var.phi = phi i32 [ %var, %direct ], [ 0, %switch ], [ 0, %switch ]
/external/autotest/client/cros/cellular/
Dether_io_rf_switch.py117 def Select(switch, remaining_args): argument
118 switch.SelectPort(int(remaining_args.popleft()))
120 def Query(switch, unused_remaining_args): argument
121 (raw_status, port, direction) = switch.Query()
139 switch = RfSwitch(hostname)
142 Query(switch, arguments)
144 Select(switch, arguments)
/external/llvm/test/Transforms/InstCombine/
Dnarrow-switch.ll6 ; CHECK: switch i32
14 switch i64 %and, label %sw.default [
35 ; CHECK: switch i32
43 switch i64 %or, label %sw.default [
67 ; CHECK: switch i68
75 switch i72 %and, label %sw.default [
100 ; CHECK: switch i59
110 switch i64 %tmp3, label %sw.default [
/external/deqp/framework/opengl/
DgluQueryUtil.inl9 switch(pname)
27 switch(pname)
36 switch(pname)
45 switch(pname)
54 switch(pname)
/external/smali/baksmali/src/test/resources/SwitchTest/
DUnorderedSparseSwitchInput.smali4 .method public static test_sparse-switch()V
9 sparse-switch v0, :SparseSwitch
28 .sparse-switch
34 .end sparse-switch
DUnorderedSparseSwitchOutput.smali3 .method public static test_sparse-switch()V
6 sparse-switch v0, :sswitch_data_c
21 .sparse-switch
27 .end sparse-switch
/external/llvm/test/CodeGen/X86/
Dswitch-edge-weight.ll9 switch i32 %x, label %sw.default [
31 ; Check if weights are correctly assigned to edges generated from switch
60 ; In this switch statement, there is an edge from jump table to default
63 switch i32 %x, label %sw.default [
99 ; Check if weights are correctly assigned to edges generated from switch
122 ; In this switch statement, there is no edge from jump table to default
125 switch i32 %x, label %sw.default [
160 ; Check if weights are correctly assigned to edges generated from switch
182 ; In this switch statement, there is no edge from bit test to default basic
185 switch i32 %x, label %sw.default [
[all …]

12345678910>>...38