Home | History | Annotate | Download | only in OpenMP

Lines Matching full: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
131 #elif defined(BLOCKS)
132 // BLOCKS: [[G:@.+]] = global i{{[0-9]+}} 1212,
133 // BLOCKS-LABEL: @main
134 // BLOCKS: call void {{%.+}}(i8
136 // BLOCKS: define{{.*}} internal{{.*}} void {{.+}}(i8*
137 // BLOCKS: call void {{.+}} @__kmpc_fork_call({{.+}}, i32 1, {{.+}}* [[OMP_REGION:@.+]] to {{.+}})
141 // BLOCKS: define{{.*}} internal{{.*}} void [[OMP_REGION]](i32* noalias %{{.+}}, i32* noalias %{{.+}}, i32* dereferenceable(4) [[SIVAR_REF:%.+]])
143 // BLOCKS: alloca i{{[0-9]+}},
144 // BLOCKS: alloca i{{[0-9]+}},
145 // BLOCKS: alloca i{{[0-9]+}},
146 // BLOCKS: alloca i{{[0-9]+}},
147 // BLOCKS: alloca i{{[0-9]+}},
148 // BLOCKS: [[G_PRIVATE_ADDR:%.+]] = alloca i{{[0-9]+}},
149 // BLOCKS: [[G1_PRIVATE_ADDR:%.+]] = alloca i{{[0-9]+}},
150 // BLOCKS: [[SIVAR2_PRIVATE_ADDR:%.+]] = alloca i{{[0-9]+}},
152 // BLOCKS: store i{{[0-9]+}}* [[SIVAR_REF]], i{{[0-9]+}}** %{{.+}},
153 // BLOCKS: [[SIVAR_REF_ADDRR:%.+]] = load i{{[0-9]+}}*, i{{[0-9]+}}** %{{.+}},
155 // BLOCKS: [[G_VAL:%.+]] = load volatile i{{[0-9]+}}, i{{[0-9]+}}* [[G]]
156 // BLOCKS: store i{{[0-9]+}} [[G_VAL]], i{{[0-9]+}}* [[G_PRIVATE_ADDR]]
158 // BLOCKS: [[SIVAR2_VAL:%.+]] = load i{{[0-9]+}}, i{{[0-9]+}}* [[SIVAR_REF_ADDRR]]
159 // BLOCKS: store i{{[0-9]+}} {{.+}}, i{{[0-9]+}}* [[SIVAR2_PRIVATE_ADDR]]
161 // BLOCKS-NOT: call void @__kmpc_barrier(
165 // BLOCKS: call void @__kmpc_for_static_init_4(
166 // BLOCKS: store i{{[0-9]+}} 1, i{{[0-9]+}}* [[G_PRIVATE_ADDR]],
167 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
168 // BLOCKS: store i{{[0-9]+}} 2, i{{[0-9]+}}* [[SIVAR2_PRIVATE_ADDR]],
169 // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}}
170 // BLOCKS: i{{[0-9]+}}* [[G_PRIVATE_ADDR]]
171 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
172 // BLOCKS: i{{[0-9]+}}* [[SIVAR2_PRIVATE_ADDR]]
173 // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}}
174 // BLOCKS: call void {{%.+}}(i8
175 // BLOCKS: call void @__kmpc_for_static_fini(
176 // BLOCKS: call void @__kmpc_barrier(
178 // BLOCKS: define {{.+}} void {{@.+}}(i8*
182 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
183 // BLOCKS: store i{{[0-9]+}} 2, i{{[0-9]+}}*
184 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
185 // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}}
186 // BLOCKS: store i{{[0-9]+}} 4, i{{[0-9]+}}*
187 // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}}
188 // BLOCKS: ret