C/C++ API
Auto-generated from Doxygen comments in samples/common/ headers.
Core Utilities
samples/common/core/ — Generic utilities (no IREE dependency)
cli_utils.h— C utility functions for CLI flag parsing.json_parser.h— Minimal recursive-descent JSON parser (header-only, C++).path_utils.h— Lightweight path manipulation and file-existence utilities (C++).stats.h— Log2-bucketed histogram and running statistics for latency tracking.
Dispatch Scheduling
samples/common/dispatch/ — Dispatch graph types, parsing, and output
dispatch_graph.h— JSON schedule parsing, predecessor expansion, and topological sort.dispatch_output.h— Trace CSV writer, DOT graph output, and JSON serialization helpers.dispatch_types.h— Core types and scheduling policies for dispatch graph execution.vmfb_resolve.h— VMFB path resolution for dispatch schedulers.
Runtime Utilities
samples/common/runtime/ — IREE runtime helpers
fatal_state.h— Atomic fatal-error tracking for multi-threaded IREE workloads.iree_module_utils.h— Heuristic entry-function picker for IREE VMFB modules.module_cache.h— VMFB session caching and entry-function invocation helpers.pinned_device.h— Pinned local-task IREE device creation with per-device core affinity.