; ModuleID = '/usr/lib/beignet/beignet.bc' target datalayout = "e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024" target triple = "spir" @self_test.tmp = internal unnamed_addr addrspace(3) global [3 x i32] undef, align 4 ; Function Attrs: nounwind readnone declare spir_func i32 @__gen_ocl_get_group_id0() #0 ; Function Attrs: nounwind readnone declare spir_func i32 @__gen_ocl_get_group_id1() #0 ; Function Attrs: nounwind readnone declare spir_func i32 @__gen_ocl_get_group_id2() #0 ; Function Attrs: alwaysinline nounwind readnone define i32 @_Z12get_local_idj(i32 %dim) #1 { br label %NodeBlock3 NodeBlock3: ; preds = %0 %Pivot4 = icmp slt i32 %dim, 1 br i1 %Pivot4, label %LeafBlock, label %NodeBlock NodeBlock: ; preds = %NodeBlock3 %Pivot = icmp slt i32 %dim, 2 br i1 %Pivot, label %3, label %LeafBlock1 LeafBlock1: ; preds = %NodeBlock %SwitchLeaf2 = icmp eq i32 %dim, 2 br i1 %SwitchLeaf2, label %5, label %NewDefault LeafBlock: ; preds = %NodeBlock3 %SwitchLeaf = icmp eq i32 %dim, 0 br i1 %SwitchLeaf, label %1, label %NewDefault ;