tf_1.8_xla_doc
|
#include <llvm_compiler.h>
Inherited by xla::cpu::CpuCompiler
Google Docs:
Interface for an LLVM-based compiler. This provides the ability to register hooks to inspect the LLVM IR during compilation, both before and after optimizations are applied.
Hooks get called once per HLO module being compiled. The following should not be relied on:
- The order in which hooks get called.
- Whether or not a hook gets called if a compilation exits with a non-OK status.