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
112 #elif defined(BLOCKS)
113 // BLOCKS: [[G:@.+]] = global i{{[0-9]+}} 1212,
114 // BLOCKS-LABEL: @main
115 // BLOCKS: call void {{%.+}}(i8
117 // BLOCKS: define{{.*}} internal{{.*}} void {{.+}}(i8*
118 // BLOCKS: call void {{.+}} @__kmpc_fork_call({{.+}}, i32 1, {{.+}}* [[OMP_REGION:@.+]] to {{.+}})
122 // BLOCKS: define{{.*}} internal{{.*}} void [[OMP_REGION]](i32* noalias %{{.+}}, i32* noalias %{{.+}}, i32* dereferenceable(4) [[SIVAR_REF:%.+]])
123 // BLOCKS: [[G_PRIVATE_ADDR:%.+]] = alloca i{{[0-9]+}},
124 // BLOCKS: [[SIVAR1_PRIVATE_ADDR:%.+]] = alloca i{{[0-9]+}},
125 // BLOCKS: store i{{[0-9]+}}* [[SIVAR_REF]], i{{[0-9]+}}** %{{.+}},
126 // BLOCKS: [[SIVAR1_REF:%.+]] = load i{{[0-9]+}}*, i{{[0-9]+}}** %{{.+}},
127 // BLOCKS: call i32 @__kmpc_single(
128 // BLOCKS: [[G_VAL:%.+]] = load volatile i{{[0-9]+}}, i{{[0-9]+}}* [[G]]
129 // BLOCKS: store i{{[0-9]+}} [[G_VAL]], i{{[0-9]+}}* [[G_PRIVATE_ADDR]]
130 // BLOCKS: [[SIVAR1_VAL:%.+]] = load i{{[0-9]+}}, i{{[0-9]+}}* [[SIVAR1_REF]],
131 // BLOCKS: store i{{[0-9]+}} [[SIVAR1_VAL]], i{{[0-9]+}}* [[SIVAR1_PRIVATE_ADDR]],
134 // BLOCKS: store i{{[0-9]+}} 1, i{{[0-9]+}}* [[G_PRIVATE_ADDR]],
135 // BLOCKS: store i{{[0-9]+}} 37, i{{[0-9]+}}* [[SIVAR1_PRIVATE_ADDR]],
136 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
137 // BLOCKS: i{{[0-9]+}}* [[G_PRIVATE_ADDR]]
138 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
139 // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}}
140 // BLOCKS: i{{[0-9]+}}* [[SIVAR1_PRIVATE_ADDR]]
141 // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}}
142 // BLOCKS: call void {{%.+}}(i8
143 // BLOCKS: call void @__kmpc_end_single(
144 // BLOCKS: call void @__kmpc_barrier(
146 // BLOCKS: define {{.+}} void {{@.+}}(i8*
149 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
150 // BLOCKS: store i{{[0-9]+}} 2, i{{[0-9]+}}*
151 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
152 // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}}
153 // BLOCKS: store i{{[0-9]+}} 31, i{{[0-9]+}}*
154 // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}}
155 // BLOCKS: ret