Displaying 3 results from an estimated 3 matches for "__llvm_profile_instrument_target".
2020 Apr 28
2
Android kernel PGO with LLVM
...I'm working on Android kernel profile-guided optimization to figure out
whether pgo can improve the performance of Android kernel. I have tried
to added '-fprofile-generate' option to build Android kernel(msm-4.19).
But error occurs during building: "undefined reference to
'__llvm_profile_instrument_target'".
I have tried to add libclang_rt.profile-aarch64-android.a as a library
when building Android kernel, but the error still shows up. I think the
kernel may not be able to call libraries outside the kernel source tree,
so I was porting pgo-related files(compiler-rt/lib/profile/) from...
2020 Jan 13
2
Incorrect code generation when using -fprofile-generate on code which contains exception handling (Windows target)
...align 8
%23 = bitcast %class.base* %1 to void (%class.base*)***
%24 = load void (%class.base*)**, void (%class.base*)*** %23, align 8, !tbaa !9
%25 = load void (%class.base*)*, void (%class.base*)** %24, align 8
%26 = ptrtoint void (%class.base*)* %25 to i64
call void @__llvm_profile_instrument_target(i64 %26, i8* bitcast ({ i64, i64, i64*, i8*, i8*, i32, [2 x i16] }* @"__profd_?run at test@@QEAAXPEAVbase@@H at Z" to i8*), i32 0)
call void %25(%class.base* %1) [ "funclet"(token %20) ]
call void @_CxxThrowException(i8* null, %eh.ThrowInfo* null) #15 [ "funclet...
2020 Jan 14
2
Incorrect code generation when using -fprofile-generate on code which contains exception handling (Windows target)
...st %class.base* %1 to void (%class.base*)***
> %24 = load void (%class.base*)**, void (%class.base*)*** %23, align
> 8, !tbaa !9
> %25 = load void (%class.base*)*, void (%class.base*)** %24, align 8
> %26 = ptrtoint void (%class.base*)* %25 to i64
> call void @__llvm_profile_instrument_target(i64 %26, i8* bitcast ({
> i64, i64, i64*, i8*, i8*, i32, [2 x i16] }* @"__profd_?run at test
> @@QEAAXPEAVbase@@H at Z" to i8*), i32 0)
> call void %25(%class.base* %1) [ "funclet"(token %20) ]
> call void @_CxxThrowException(i8* null, %eh.ThrowInfo* null...