Home | History | Annotate | Download | only in OpenMP

Lines Matching refs:BLOCKS

5 // RUN: %clang_cc1 -verify -fopenmp -x c++ -fblocks -DBLOCKS -triple x86_64-apple-darwin10 -emit-llvm %s -o - | FileCheck -check-prefix=BLOCKS %s
128 #elif defined(BLOCKS)
129 // BLOCKS: [[G:@.+]] = global i{{[0-9]+}} 1212,
130 // BLOCKS-LABEL: @main
131 // BLOCKS: call void {{%.+}}(i8
133 // BLOCKS: define{{.*}} internal{{.*}} void {{.+}}(i8*
134 // BLOCKS: call void {{.+}} @__kmpc_fork_call({{.+}}, i32 1, {{.+}}* [[OMP_REGION:@.+]] to {{.+}})
138 // BLOCKS: define{{.*}} internal{{.*}} void [[OMP_REGION]](i32* noalias %{{.+}}, i32* noalias %{{.+}}, i32* dereferenceable(4) [[SIVAR_REF:%.+]])
140 // BLOCKS: alloca i{{[0-9]+}},
141 // BLOCKS: alloca i{{[0-9]+}},
142 // BLOCKS: alloca i{{[0-9]+}},
143 // BLOCKS: alloca i{{[0-9]+}},
144 // BLOCKS: alloca i{{[0-9]+}},
145 // BLOCKS: [[G_PRIVATE_ADDR:%.+]] = alloca i{{[0-9]+}},
146 // BLOCKS: [[SIVAR1_PRIVATE_ADDR:%.+]] = alloca i{{[0-9]+}},
148 // BLOCKS: store i{{[0-9]+}}* [[SIVAR_REF]], i{{[0-9]+}}** {{.+}},
149 // BLOCKS: [[SIVAR1_REF:%.+]] = load i{{[0-9]+}}*, i{{[0-9]+}}** {{.+}},
151 // BLOCKS: [[G_VAL:%.+]] = load volatile i{{[0-9]+}}, i{{[0-9]+}}* [[G]]
152 // BLOCKS: store i{{[0-9]+}} [[G_VAL]], i{{[0-9]+}}* [[G_PRIVATE_ADDR]]
154 // BLOCKS: [[SIVAR1_VAL:%.+]] = load i{{[0-9]+}}, i{{[0-9]+}}* [[SIVAR1_REF]],
155 // BLOCKS: store i{{[0-9]+}} [[SIVAR1_VAL]], i{{[0-9]+}}* [[SIVAR1_PRIVATE_ADDR]],
156 // BLOCKS-NOT: call void @__kmpc_barrier(
161 // BLOCKS: call void @__kmpc_for_static_init_4(
162 // BLOCKS: store i{{[0-9]+}} 1, i{{[0-9]+}}* [[G_PRIVATE_ADDR]],
163 // BLOCKS: store i{{[0-9]+}} 10, i{{[0-9]+}}* [[SIVAR1_PRIVATE_ADDR]],
164 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
165 // BLOCKS: i{{[0-9]+}}* [[G_PRIVATE_ADDR]]
166 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
167 // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}}
168 // BLOCKS: i{{[0-9]+}}* [[SIVAR1_PRIVATE_ADDR]]
169 // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}}
170 // BLOCKS: call void {{%.+}}(i8
171 // BLOCKS: call void @__kmpc_for_static_fini(
172 // BLOCKS: call void @__kmpc_barrier(
175 // BLOCKS: define {{.+}} void {{@.+}}(i8*
178 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
179 // BLOCKS: store i{{[0-9]+}} 2, i{{[0-9]+}}*
180 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
181 // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}}
182 // BLOCKS: store i{{[0-9]+}} 20, i{{[0-9]+}}*
183 // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}}
184 // BLOCKS: ret