Home
last modified time | relevance | path

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

12345678910>>...90

/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 …]
/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/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-deps/glslang/Test/
Dswitch.frag11 switch(f) { // ERROR
14 switch(a) { // ERROR
17 switch(c)
21 switch(c) // WARNING, not enough stuff after last label
26 switch(c)
34 switch (c) {
47 switch (c) {
52 switch (d) {
71 switch (c) { // a no-error normal switch
76 switch (d) {
[all …]
Dspv.switch.frag10 switch (i1)
26 switch (i1)
47 switch(++local)
51 switch (c) {
62 switch (c) {
72 switch (c) {
81 switch (c) {
86 switch (d) {
100 switch (c) {
121 switch (c) {
[all …]
Dhlsl.switch.frag3 switch(c)
7 switch(c)
12 switch (c) {
21 [branch] switch (c) {
26 switch (d) {
39 switch (c) {
43 switch (c) {
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SimplifyCFG/X86/
Dswitch_to_lookup_table.ll1 ; RUN: opt < %s -simplifycfg -switch-to-lookup=true -keep-loops=false -S -mtriple=x86_64-unknown-li…
7 ; CHECK: @switch.table.f = private unnamed_addr constant [7 x i32] [i32 55, i32 123, i32 0, i32 -1,…
10 ; CHECK: @switch.table.h = private unnamed_addr constant [4 x float] [float 0x40091EB860000000, flo…
13 ; CHECK: @switch.table.foostring = private unnamed_addr constant [4 x i8*] [i8* getelementptr inbou…
16 ; CHECK: @switch.table.earlyreturncrash = private unnamed_addr constant [4 x i32] [i32 42, i32 9, i…
19 ; CHECK: @switch.table.large = private unnamed_addr constant [199 x i32] [i32 1, i32 4, i32 9,
22 ; CHECK: @switch.table.cprop = private unnamed_addr constant [7 x i32] [i32 5, i32 42, i32 126, i32…
25 ; CHECK: @switch.table.unreachable_case = private unnamed_addr constant [9 x i32] [i32 0, i32 0, i3…
27 ; A simple int-to-int selection switch.
34 switch i32 %c, label %sw.default [
[all …]
Dswitch-table-bug.ll1 ; RUN: opt -S -simplifycfg -switch-to-lookup < %s -mtriple=x86_64-apple-darwin12.0.0 | FileCheck %s
10 ; CHECK-NEXT: zext i2 %switch.tableidx to i3
11 …getelementptr inbounds [4 x i64], [4 x i64]* @switch.table._TFO6reduce1E5toRawfS0_FT_Si, i32 0, i3…
12 ; CHECK-NEXT: load i64, i64* %switch.gep
13 ; CHECK-NEXT: ret i64 %switch.load
16 switch i2 %0, label %1 [
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Hexagon/
Dswitch-lut-multiple-functions.ll11 @switch.table = private unnamed_addr constant [9 x i32] [i32 9, i32 20, i32 14, i32 22, i32 12, i32…
17 br i1 %0, label %switch.lookup, label %return
19 switch.lookup: ; preds = %entry
20 %switch.gep = getelementptr inbounds [9 x i32], [9 x i32]* @switch.table, i32 0, i32 %x
21 %switch.load = load i32, i32* %switch.gep, align 4
22 ret i32 %switch.load
31 br i1 %0, label %switch.lookup, label %return
33 switch.lookup: ; preds = %entry
34 %switch.gep = getelementptr inbounds [9 x i32], [9 x i32]* @switch.table, i32 0, i32 %x
35 %switch.load = load i32, i32* %switch.gep, align 4
[all …]
Dswitch-lut-text-section.ll10 @switch.table = private unnamed_addr constant [9 x i32] [i32 9, i32 20, i32 14, i32 22, i32 12, i32…
16 br i1 %0, label %switch.lookup, label %return
18 switch.lookup: ; preds = %entry
19 %switch.gep = getelementptr inbounds [9 x i32], [9 x i32]* @switch.table, i32 0, i32 %x
20 %switch.load = load i32, i32* %switch.gep, align 4
21 ret i32 %switch.load
Dswitch-lut-function-section.ll13 @switch.table = private unnamed_addr constant [9 x i32] [i32 9, i32 20, i32 14, i32 22, i32 12, i32…
19 br i1 %0, label %switch.lookup, label %return
21 switch.lookup: ; preds = %entry
22 %switch.gep = getelementptr inbounds [9 x i32], [9 x i32]* @switch.table, i32 0, i32 %x
23 %switch.load = load i32, i32* %switch.gep, align 4
24 ret i32 %switch.load
Dswitch-lut-explicit-section.ll15 @switch.table = private unnamed_addr constant [9 x i32] [i32 9, i32 20, i32 14, i32 22, i32 12, i32…
21 br i1 %0, label %switch.lookup, label %return
23 switch.lookup: ; preds = %entry
24 %switch.gep = getelementptr inbounds [9 x i32], [9 x i32]* @switch.table, i32 0, i32 %x
25 %switch.load = load i32, i32* %switch.gep, align 4
26 ret i32 %switch.load
/external/swiftshader/third_party/llvm-7.0/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/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 [
/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/llvm-7.0/llvm/test/Transforms/SimplifyCFG/
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 [
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/ADCE/
D2017-08-21-DomTree-deletions.ll6 br label %switch
7 switch: ; preds = %entry
8 switch i32 undef, label %default [
13 four: ; preds = %switch
15 five: ; preds = %switch
17 two: ; preds = %switch
19 default: ; preds = %switch
/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":

12345678910>>...90