Home
last modified time | relevance | path

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

12345678910>>...61

/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/deqp/external/openglcts/data/gl33/
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/deqp/external/openglcts/data/gles3/
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/SampleProfile/
Dinline-act.ll7 ; switch(value) {
28 %switch.tableidx = sub i32 %0, 0
29 %2 = icmp ult i32 %switch.tableidx, 4
30 br i1 %2, label %switch.lookup, label %3
32 switch.lookup: ; preds = %1
33 %switch.cast = trunc i32 %switch.tableidx to i4
34 %switch.shiftamt = mul i4 %switch.cast, 1
35 %switch.downshift = lshr i4 -5, %switch.shiftamt
36 %switch.masked = trunc i4 %switch.downshift to i1
37 ret i1 %switch.masked
/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 [
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_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 …]
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.ll3 ; Test that we can thread a simple known condition through switch statements.
12 switch i32 %V, label %A [
20 ;; This switch is always statically determined.
21 switch i32 %V, label %A2 [
49 ; CHECK-NEXT: switch i32 %V, label %A [
65 switch i32 %V, label %A [
73 ;; This switch is always statically determined.
74 switch i32 %V, label %E [
94 ; CHECK-NEXT: switch i32 %V, label %A [
/external/deqp/framework/egl/
DegluStrUtil.inl9 switch (value)
19 switch (value)
30 switch (value)
41 switch (value)
64 switch (value)
76 switch (value)
114 switch (value)
138 switch (value)
154 switch (value)
165 switch (value)
[all …]
/external/swiftshader/third_party/subzero/tests_lit/reader_tests/
Dswitch.ll1 ; Test switch instructions.
9 switch i32 %a, label %exit [
17 ; CHECK-NEXT: switch i32 %a, label %exit [
25 switch i32 %a, label %sw.default [
54 ; CHECK-NEXT: switch i32 %a, label %sw.default [
79 switch i32 %a, label %labelDefault [
103 ; CHECK-NEXT: switch i32 %a, label %labelDefault [
128 switch i32 %a, label %exit [
138 ; CHECK-NEXT: switch i32 %a, label %exit [
148 switch i32 %a, label %exit [
[all …]
/external/python/cpython2/Lib/distutils/
Dextension.py189 switch = word[0:2] ; value = word[2:]
196 elif switch == "-I":
198 elif switch == "-D":
205 elif switch == "-U":
207 elif switch == "-C": # only here 'cause makesetup has it!
209 elif switch == "-l":
211 elif switch == "-L":
213 elif switch == "-R":
221 elif switch == "-u":
227 elif switch == "-u":
/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/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/python/cpython3/Lib/distutils/
Dextension.py191 switch = word[0:2] ; value = word[2:]
198 elif switch == "-I":
200 elif switch == "-D":
207 elif switch == "-U":
209 elif switch == "-C": # only here 'cause makesetup has it!
211 elif switch == "-l":
213 elif switch == "-L":
215 elif switch == "-R":
223 elif switch == "-u":
/external/swiftshader/third_party/LLVM/test/Transforms/SimplifyCFG/
D2003-08-17-FoldSwitch.ll2 ; RUN: not grep switch
6 switch i32 5, label %Default [
26 switch i32 3, label %Default [
48 switch i32 3, label %TheDest [
58 ; Test folding switch -> branch
60 switch i32 %C, label %L1 [
71 switch i32 %C, label %L1 [
Dswitch_create.ll19 ; CHECK: switch i32 %V, label %F [
37 ; CHECK: switch i32 %V, label %T [
57 ; CHECK: switch i32 %V, label %F [
84 ; CHECK: switch i8 %c, label %lor.rhs [
93 switch i8 %c, label %lor.rhs [
108 ; CHECK: switch i8 %c, label %lor.rhs [
145 ; CHECK: %switch = icmp ult i32 %tmp.2.i.off, 6
166 ; CHECK: br i1 %cmp, label %if.then, label %switch.early.test
167 ; CHECK: switch.early.test:
168 ; CHECK: switch i8 %c, label %if.end [
[all …]
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 [
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 [
/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)

12345678910>>...61