Module cranelift_codegen::binemit [−][src]
Binary machine code emission.
The binemit module contains code for translating Cranelift’s intermediate representation into
binary machine code.
Structs
| CodeInfo | Container for information about a vector of compiled code and its supporting read-only data. |
| MemoryCodeSink | A |
| NullRelocSink | A |
| NullStackMapSink | Placeholder StackMapSink that does nothing. |
| NullTrapSink | A |
| RegDiversions | Keep track of diversions in a block. |
| StackMap | Stack maps record which words in a stack frame contain live GC references at a given instruction pointer. |
Enums
| Reloc | Relocation kinds for every ISA |
Traits
| CodeSink | Abstract interface for adding bytes to the code segment. |
| RelocSink | A trait for receiving relocations for code that is emitted directly into memory. |
| StackMapSink | A trait for emitting stack maps. |
| TrapSink | A trait for receiving trap codes and offsets. |
Functions
| bad_encoding | Report a bad encoding error. |
| emit_function | Emit a function to |
| relax_branches | Relax branches and compute the final layout of block headers in |
| shrink_instructions | Pick the smallest valid encodings for instructions. |
Type Definitions
| Addend | Addend to add to the symbol value. |
| CodeOffset | Offset in bytes from the beginning of the function. |