Home | History | Annotate | Download | only in OpenMP

Lines Matching refs: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
96 #elif defined(BLOCKS)
97 // BLOCKS: [[G:@.+]] = global double
98 // BLOCKS-LABEL: @main
99 // BLOCKS: call void {{%.+}}(i8
101 // BLOCKS: define{{.*}} internal{{.*}} void {{.+}}(i8*
102 // BLOCKS: [[RES:%.+]] = call i8* @__kmpc_omp_task_alloc(%{{[^ ]+}} @{{[^,]+}}, i32 %{{[^,]+}}, i32 1, i64 88, i64 16, i32 (i32, i8*)* bitcast (i32 (i32, %{{[^*]+}}*)* [[TASK_ENTRY:@[^ ]+]] to i32 (i32, i8*)*))
103 // BLOCKS: [[PRIVATES:%.+]] = getelementptr inbounds %{{.+}}, %{{.+}}* %{{.+}}, i{{.+}} 0, i{{.+}} 1
104 // BLOCKS: call void @__kmpc_taskloop(%{{.+}}* @{{.+}}, i32 %{{.+}}, i8* [[RES]], i32 1, i64* %{{.+}}, i64* %{{.+}}, i64 %{{.+}}, i32 0, i32 0, i64 0, i8* bitcast (void ([[KMP_TASK_MAIN_TY:%[^*]+]]*, [[KMP_TASK_MAIN_TY]]*, i32)* [[MAIN_DUP:@.+]] to i8*))
105 // BLOCKS: ret
108 // BLOCKS: define {{.+}} void {{@.+}}(i8*
109 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
110 // BLOCKS: store double 2.0{{.+}}, double*
111 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
112 // BLOCKS-NOT: [[ISVAR]]{{[[^:word:]]}}
113 // BLOCKS: store i{{[0-9]+}} 22, i{{[0-9]+}}*
114 // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}}
115 // BLOCKS: ret
117 // BLOCKS: store double* %{{.+}}, double** %{{.+}},
118 // BLOCKS: store i{{[0-9]+}}* %{{.+}}, i{{[0-9]+}}** %{{.+}},
119 // BLOCKS: define internal i32 [[TASK_ENTRY]](i32, %{{.+}}* noalias)
122 // BLOCKS: store double 1.0{{.+}}, double* %{{.+}},
123 // BLOCKS-NOT: [[G]]{{[[^:word:]]}}
124 // BLOCKS: store i{{[0-9]+}} 11, i{{[0-9]+}}* %{{.+}},
125 // BLOCKS-NOT: [[SIVAR]]{{[[^:word:]]}}
126 // BLOCKS: call void {{%.+}}(i8
127 // BLOCKS: icmp ne i32 %{{.+}}, 0
128 // BLOCKS: br i1
129 // BLOCKS: load double, double* %
130 // BLOCKS: store volatile double %
131 // BLOCKS: load i32, i32* %
132 // BLOCKS: store i32 %