1acead46aSFangrui Song; RUN: opt < %s -passes=instrprof -S | FileCheck %s 2cff94627SVedant Kumar 3cff94627SVedant Kumartarget triple = "x86_64-apple-macosx10.10.0" 4cff94627SVedant Kumar 5*9ff36df5SFangrui Songdeclare void @llvm.instrprof.increment(ptr, i64, i32, i32) 6cff94627SVedant Kumar 7*9ff36df5SFangrui Songdeclare void @llvm.instrprof.increment.step(ptr, i64, i32, i32, i64) 8cff94627SVedant Kumar 99f506fc7SFangrui Song; CHECK: @__profc_foo = private global [1 x i64] zeroinitializer, section "__DATA,__llvm_prf_cnts", align 8 109f506fc7SFangrui Song@__profn_foo = private constant [3 x i8] c"foo" 11cff94627SVedant Kumar 12cff94627SVedant Kumardefine void @foo() { 13*9ff36df5SFangrui Song call void @llvm.instrprof.increment.step(ptr @__profn_foo, i64 0, i32 1, i32 0, i64 0) 14cff94627SVedant Kumar ret void 15cff94627SVedant Kumar} 16