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
99 #elif defined(BLOCKS)
100 // BLOCKS: [[G:@.+]] = global double
101 // BLOCKS-LABEL: @main
102 // BLOCKS: call void {{%.+}}(i8
104 // BLOCKS: define{{.*}} internal{{.*}} void {{.+}}(i8*
105 // BLOCKS: [[RES:%.+]] = call i8* @__kmpc_omp_task_alloc(%{{[^ ]+}} @{{[^,]+}}, i32 %{{[^,]+}}, i32 1, i64 56, i64 16, i32 (i32, i8*)* bitcast (i32 (i32, %{{[^*]+}}*)* [[TASK_ENTRY:@[^ ]+]] to i32 (i32, i8*)*))
106 // BLOCKS: [[PRIVATES:%.+]] = getelementptr inbounds %{{.+}}, %{{.+}}* %{{.+}}, i{{.+}} 0, i{{.+}} 1
107 // BLOCKS: [[G_PRIVATE_ADDR:%.+]] = getelementptr inbounds %{{.+}}, %{{.+}}* [[PRIVATES]], i{{.+}} 0, i{{.+}} 0
108 // BLOCKS: [[G_ADDR_REF:%.+]] = getelementptr inbounds %{{.+}}, %{{.+}}* %{{.+}}, i{{.+}} 0, i{{.+}} 0
109 // BLOCKS: [[G_VAL:%.+]] = load volatile double, double* [[G_ADDR_REF]]
110 // BLOCKS: store volatile double [[G_VAL]], double* [[G_PRIVATE_ADDR]]
112 // BLOCKS: [[SIVAR_PRIVATE_ADDR:%.+]] = getelementptr inbounds %{{.+}}, %{{.+}}* [[PRIVATES]], i{{.+}} 0, i{{.+}} 1
113 // BLOCKS: [[SIVAR_ADDR_REF:%.+]] = getelementptr inbounds %{{.+}}, %{{.+}}* %{{.+}}, i{{.+}} 0, i{{.+}} 1
114 // BLOCKS: [[SIVAR_VAL:%.+]] = load i{{[0-9]+}}, i{{[0-9]+}}* [[SIVAR_ADDR_REF]]
115 // BLOCKS: store i{{[0-9]+}} [[SIVAR_VAL]], i{{[0-9]+}}* [[SIVAR_PRIVATE_ADDR]]
116 // BLOCKS: call i32 @__kmpc_omp_task(%{{.+}}* @{{.+}}, i32 %{{.+}}, i8* [[RES]])
117 // BLOCKS: ret
120 // BLOCKS: define {{.+}} void {{@.+}}(i8*
121 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
122 // BLOCKS: store double 2.0{{.+}}, double*
123 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
124 // BLOCKS-NOT: [[ISVAR]]{{[[^:word:]]}}
125 // BLOCKS: store i{{[0-9]+}} 22, i{{[0-9]+}}*
126 // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}}
127 // BLOCKS: ret
129 // BLOCKS: store double* %{{.+}}, double** %{{.+}},
130 // BLOCKS: store i{{[0-9]+}}* %{{.+}}, i{{[0-9]+}}** %{{.+}},
131 // BLOCKS: define internal i32 [[TASK_ENTRY]](i32, %{{.+}}* noalias)
134 // BLOCKS: store double 1.0{{.+}}, double* %{{.+}},
135 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
136 // BLOCKS: store i{{[0-9]+}} 11, i{{[0-9]+}}* %{{.+}},
137 // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}}
138 // BLOCKS: call void {{%.+}}(i8