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
89 #elif defined(BLOCKS)
90 // BLOCKS: [[G:@.+]] = global double
91 // BLOCKS-LABEL: @main
92 // BLOCKS: call void {{%.+}}(i8
94 // BLOCKS: define{{.*}} internal{{.*}} void {{.+}}(i8*
95 // BLOCKS: [[RES:%.+]] = call i8* @__kmpc_omp_task_alloc(%{{[^ ]+}} @{{[^,]+}}, i32 %{{[^,]+}}, i32 1, i64 88, i64 1, i32 (i32, i8*)* bitcast (i32 (i32, %{{[^*]+}}*)* [[TASK_ENTRY:@[^ ]+]] to i32 (i32, i8*)*))
96 // BLOCKS: [[PRIVATES:%.+]] = getelementptr inbounds %{{.+}}, %{{.+}}* %{{.+}}, i{{.+}} 0, i{{.+}} 1
97 // BLOCKS: call void @__kmpc_taskloop(%{{.+}}* @{{.+}}, i32 %{{.+}}, i8* [[RES]], i32 1, i64* %{{.+}}, i64* %{{.+}}, i64 %{{.+}}, i32 0, i32 0, i64 0, i8* null)
98 // BLOCKS: ret
101 // BLOCKS: define {{.+}} void {{@.+}}(i8*
102 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
103 // BLOCKS: store double 2.0{{.+}}, double*
104 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
105 // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}}
106 // BLOCKS: store i{{[0-9]+}} 4, i{{[0-9]+}}*
107 // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}}
108 // BLOCKS: ret
110 // BLOCKS: define internal i32 [[TASK_ENTRY]](i32, %{{.+}}* noalias)
113 // BLOCKS: store double 1.0{{.+}}, double* %{{.+}},
114 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
115 // BLOCKS: store i{{[0-9]+}} 3, i{{[0-9]+}}* %{{.+}},
116 // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}}
117 // BLOCKS: call void {{%.+}}(i8