Home | History | Annotate | Download | only in OpenMP

Lines Matching full:blocks

5 // RUN: %clang_cc1 -verify -fopenmp -x c++ -fblocks -DBLOCKS -triple %itanium_abi_triple -emit-llvm %s -o - | FileCheck -check-prefix=BLOCKS %s
95 #elif defined(BLOCKS)
96 // BLOCKS: [[G:@.+]] = global double
97 // BLOCKS-LABEL: @main
98 // BLOCKS: call {{.*}}void {{%.+}}(i8
101 // BLOCKS: define{{.*}} internal{{.*}} void {{.+}}(i8*
102 // BLOCKS: call {{.*}}void {{.+}} @__kmpc_fork_call({{.+}}, i32 0, {{.+}}* [[OMP_REGION:@.+]] to {{.+}})
106 // BLOCKS: define{{.*}} internal{{.*}} void [[OMP_REGION]](i32* noalias %{{.+}}, i32* noalias %{{.+}})
107 // BLOCKS: [[G_PRIVATE_ADDR:%.+]] = alloca double,
108 // BLOCKS: [[SVAR_PRIVATE_ADDR:%.+]] = alloca i{{[0-9]+}},
109 // BLOCKS: [[SFVAR_PRIVATE_ADDR:%.+]] = alloca float,
114 // BLOCKS: call {{.*}}void @__kmpc_for_static_init_4(
115 // BLOCKS: store double 1.0{{.+}}, double* [[G_PRIVATE_ADDR]],
116 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
117 // BLOCKS: store i{{[0-9]+}} 2, i{{[0-9]+}}* [[SVAR_PRIVATE_ADDR]],
118 // BLOCKS-NOT: [[SVAR]]{{[[^:word:]]}}
119 // BLOCKS: store float 3.0{{.+}}, float* [[SFVAR_PRIVATE_ADDR]],
120 // BLOCKS-NOT: [[SFVAR]]{{[[^:word:]]}}
121 // BLOCKS: double* [[G_PRIVATE_ADDR]]
122 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
123 // BLOCKS: i{{[0-9]+}}* [[SVAR_PRIVATE_ADDR]]
124 // BLOCKS-NOT: [[SVAR]]{{[[^:word:]]}}
125 // BLOCKS: float* [[SFVAR_PRIVATE_ADDR]]
126 // BLOCKS-NOT: [[SFVAR]]{{[[^:word:]]}}
127 // BLOCKS: call {{.*}}void {{%.+}}(i8
128 // BLOCKS: call {{.*}}void @__kmpc_for_static_fini(
130 // BLOCKS: define {{.+}} void {{@.+}}(i8*
135 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
136 // BLOCKS: store double 2.0{{.+}}, double*
137 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
138 // BLOCKS-NOT: [[SVAR]]{{[[^:word:]]}}
139 // BLOCKS: store i{{[0-9]+}} 4, i{{[0-9]+}}*
140 // BLOCKS-NOT: [[SVAR]]{{[[^:word:]]}}
141 // BLOCKS-NOT: [[SFVAR]]{{[[^:word:]]}}
142 // BLOCKS: store float 9.0{{.+}}, float*
143 // BLOCKS-NOT: [[SFVAR]]{{[[^:word:]]}}
144 // BLOCKS: ret