[all-commits] [llvm/llvm-project] 1ad5df: [Instrumentor] Add runtime examples: [1/N] A flop ...
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Mon Jun 22 17:55:50 PDT 2026
Branch: refs/heads/users/jdoerfert/instrumentor_flop_count
Home: https://github.com/llvm/llvm-project
Commit: 1ad5dfd3d8bf4ca204fc75bc2da47fd1dfd4e0af
https://github.com/llvm/llvm-project/commit/1ad5dfd3d8bf4ca204fc75bc2da47fd1dfd4e0af
Author: Johannes Doerfert <jdoerfert.llvm at gmail.com>
Date: 2026-06-22 (Mon, 22 Jun 2026)
Changed paths:
M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
M compiler-rt/cmake/config-ix.cmake
M compiler-rt/lib/CMakeLists.txt
A compiler-rt/lib/instrumentor-examples/CMakeLists.txt
A compiler-rt/lib/instrumentor-examples/README.md
A compiler-rt/lib/instrumentor-examples/flop-counter/CMakeLists.txt
A compiler-rt/lib/instrumentor-examples/flop-counter/README.md
A compiler-rt/lib/instrumentor-examples/flop-counter/flop_counter_config.json
A compiler-rt/lib/instrumentor-examples/flop-counter/flop_counter_runtime.cpp
A compiler-rt/lib/instrumentor-examples/instrumentor_runtime.h
M compiler-rt/test/CMakeLists.txt
A compiler-rt/test/instrumentor-examples/CMakeLists.txt
A compiler-rt/test/instrumentor-examples/lit.cfg.py
A compiler-rt/test/instrumentor-examples/lit.site.cfg.py.in
A compiler-rt/test/instrumentor-examples/simple_flops.c
A compiler-rt/test/instrumentor-examples/vector_flops.cpp
M llvm/include/llvm/Transforms/IPO/Instrumentor.h
M llvm/lib/Transforms/IPO/Instrumentor.cpp
Log Message:
-----------
[Instrumentor] Add runtime examples: [1/N] A flop counter
This adds a instrumentor-examples folder into compiler RT to showcase
use cases of the instrumentor. The initial example is a program that,
via instrumentation, counts the number of flops performed.
Partially developped by Claude (AI), tested and verified by me.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list