[PGO] Add mapper callback to interfaces retrieving value data for site (NFC)
[oota-llvm.git] / test / Transforms / PGOProfile / switch_gen.ll
index 73521d7bc544fb6f4e64d4883df1eef4a011bd6d..ab1c601c99ab9e2938ced254834c6c39cee4aff6 100644 (file)
@@ -13,22 +13,18 @@ entry:
   ]
 
 sw.bb:
-; CHECK: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @__llvm_profile_name__Z13test_switch_1i, i32 0, i32 0), i64 46628225222, i32 4, i32 2)
   %add = add nsw i32 %i, 2
   br label %sw.epilog
 
 sw.bb1:
-; CHECK: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @__llvm_profile_name__Z13test_switch_1i, i32 0, i32 0), i64 46628225222, i32 4, i32 0)
   %add2 = add nsw i32 %i, 100
   br label %sw.epilog
 
 sw.bb3:
-; CHECK: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @__llvm_profile_name__Z13test_switch_1i, i32 0, i32 0), i64 46628225222, i32 4, i32 1)
   %add4 = add nsw i32 %i, 4
   br label %sw.epilog
 
 sw.default:
-; CHECK: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @__llvm_profile_name__Z13test_switch_1i, i32 0, i32 0), i64 46628225222, i32 4, i32 3)
   %add5 = add nsw i32 %i, 1
   br label %sw.epilog