xref: /llvm-project/llvm/test/Transforms/EntryExitInstrumenter/mcount-aix.ll (revision 3ec57a7ed60a19c5e3e18655e19c997a469d10ec)
1*3ec57a7eSArthur Eubanks; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
2*3ec57a7eSArthur Eubanks; RUN: opt -passes="function(ee-instrument),cgscc(inline),function(ee-instrument<post-inline>)" -S < %s | FileCheck %s
3*3ec57a7eSArthur Eubanks
4*3ec57a7eSArthur Eubankstarget triple = "powerpc-ibm-aix7.2.0.0"
5*3ec57a7eSArthur Eubanks
6*3ec57a7eSArthur Eubanksdefine void @f1() "instrument-function-entry-inlined"="__mcount" {
7*3ec57a7eSArthur Eubanks; CHECK-LABEL: define void @f1() {
8*3ec57a7eSArthur Eubanks; CHECK-NEXT:    call void @__mcount(ptr @[[GLOB0:[0-9]+]])
9*3ec57a7eSArthur Eubanks; CHECK-NEXT:    ret void
10*3ec57a7eSArthur Eubanks;
11*3ec57a7eSArthur Eubanks  ret void
12*3ec57a7eSArthur Eubanks}
13