Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/test/Instrumentation/InstrProfiling/icall.ll
Show All 37 Lines | |||||
; Function Attrs: nounwind | ; Function Attrs: nounwind | ||||
declare void @llvm.instrprof.increment(i8*, i64, i32, i32) #0 | declare void @llvm.instrprof.increment(i8*, i64, i32, i32) #0 | ||||
; Function Attrs: nounwind | ; Function Attrs: nounwind | ||||
declare void @llvm.instrprof.value.profile(i8*, i64, i64, i32, i32) #0 | declare void @llvm.instrprof.value.profile(i8*, i64, i64, i32, i32) #0 | ||||
attributes #0 = { nounwind } | attributes #0 = { nounwind } | ||||
; STATIC: @__profvp_foo = private global [1 x i64] zeroinitializer, section "{{[^"]+}}", align 8 | ; STATIC: @__profvp_foo = private global [1 x i64] zeroinitializer, section "{{[^"]+}}" | ||||
; STATIC: @__profvp_bar = private global [1 x i64] zeroinitializer, section "{{[^"]+}}", comdat($__profd_bar), align 8 | ; STATIC: @__profvp_bar = private global [1 x i64] zeroinitializer, section "{{[^"]+}}", comdat($__profd_bar) | ||||
; STATIC: @__llvm_prf_vnodes | ; STATIC: @__llvm_prf_vnodes | ||||
; DYN-NOT: @__profvp_foo | ; DYN-NOT: @__profvp_foo | ||||
; DYN-NOT: @__llvm_prf_vnodes | ; DYN-NOT: @__llvm_prf_vnodes | ||||
; STATIC: call void @__llvm_profile_instrument_target(i64 %3, i8* bitcast ({ i64, i64, i64*, i8*, i8*, i32, [2 x i16] }* @__profd_foo to i8*), i32 0) | ; STATIC: call void @__llvm_profile_instrument_target(i64 %3, i8* bitcast ({ i64, i64, i64*, i8*, i8*, i32, [2 x i16] }* @__profd_foo to i8*), i32 0) | ||||
; STATIC-EXT: call void @__llvm_profile_instrument_target(i64 %3, i8* bitcast ({ i64, i64, i64*, i8*, i8*, i32, [2 x i16] }* @__profd_foo to i8*), i32 zeroext 0) | ; STATIC-EXT: call void @__llvm_profile_instrument_target(i64 %3, i8* bitcast ({ i64, i64, i64*, i8*, i8*, i32, [2 x i16] }* @__profd_foo to i8*), i32 zeroext 0) | ||||
; STATIC-SEXT: call void @__llvm_profile_instrument_target(i64 %3, i8* bitcast ({ i64, i64, i64*, i8*, i8*, i32, [2 x i16] }* @__profd_foo to i8*), i32 signext 0) | ; STATIC-SEXT: call void @__llvm_profile_instrument_target(i64 %3, i8* bitcast ({ i64, i64, i64*, i8*, i8*, i32, [2 x i16] }* @__profd_foo to i8*), i32 signext 0) | ||||
; STATIC: declare void @__llvm_profile_instrument_target(i64, i8*, i32) | ; STATIC: declare void @__llvm_profile_instrument_target(i64, i8*, i32) | ||||
; STATIC-EXT: declare void @__llvm_profile_instrument_target(i64, i8*, i32 zeroext) | ; STATIC-EXT: declare void @__llvm_profile_instrument_target(i64, i8*, i32 zeroext) | ||||
; STATIC-SEXT: declare void @__llvm_profile_instrument_target(i64, i8*, i32 signext) | ; STATIC-SEXT: declare void @__llvm_profile_instrument_target(i64, i8*, i32 signext) |