qat.purr.compiler.emitter module
- class InstructionEmitter
Bases:
object
Interface to the LLVM-driven QAT optimization and construction passes. For now we simulate what it might do in the future and ust output a Python object that simulates what our instruction set might look like.
- emit(instructions, hardware)
- class QatFile
Bases:
object
In-memory representation of our instruction file.
- add(*args, **kwargs)
- add_meta(instruction)
- get_pp_for_variable(target_var)
- property instructions
- property repeat
- property return_
- property sweeps
- class TimelineSegment(instruction, dependencies=None, reliant=None)
Bases:
object
Segment of the execution timeline.