[PATCH] D104089: Add call count instrumentation for MIP
Ellis Hoag via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 10 18:29:47 PDT 2021
ellis created this revision.
Herald added subscribers: dexonsmith, pengfei, hiraditya, mgorny.
ellis requested review of this revision.
Herald added projects: Sanitizers, LLVM.
Herald added subscribers: llvm-commits, Sanitizers.
Add function timestamp and function call count instrumentation to MIP.
Use the `-fmachine-profile-call-counts` clang frontend flag to enable.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D104089
Files:
compiler-rt/lib/mip/CMakeLists.txt
compiler-rt/lib/mip/MIPHelper.c
compiler-rt/lib/mip/MIPHelper.h
compiler-rt/lib/mip/MIPHelperAArch64.S
compiler-rt/lib/mip/MIPHelperX86_64.S
llvm/include/llvm/Support/TargetOpcodes.def
llvm/include/llvm/Target/Target.td
llvm/lib/CodeGen/MIPReader.cpp
llvm/lib/CodeGen/MIRInstrumentationPass.cpp
llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
llvm/lib/Target/X86/X86AsmPrinter.h
llvm/lib/Target/X86/X86MCInstLower.cpp
llvm/test/CodeGen/AArch64/mip-call-counts.ll
llvm/test/CodeGen/AArch64/mip-header.ll
llvm/test/CodeGen/X86/mip-call-counts.ll
llvm/test/CodeGen/X86/mip-header.ll
llvm/tools/llvm-mipdata/llvm-mipdata.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104089.351327.patch
Type: text/x-patch
Size: 27363 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210611/3caf8174/attachment.bin>
More information about the llvm-commits
mailing list