![]() |
ArkScript
A small, lisp-inspired, functional scripting language
|
Classes | |
| class | Entity |
Typedefs | |
| using | label_t = std::size_t |
| using | Block = std::vector<Entity> |
Enumerations | |
| enum class | Kind { Label , Goto , GotoWithArg , Opcode , Opcode2Args , Opcode3Args } |
Variables | |
| constexpr uint16_t | MaxValueForDualArg = 0x0fff |
| The maximum value an argument can have when an IR entity has two arguments. | |
| constexpr uint16_t | MaxValueForSmallNumber = 0x0800 |
| using Ark::internal::IR::Block = std::vector<Entity> |
Definition at line 92 of file Entity.hpp.
| using Ark::internal::IR::label_t = std::size_t |
Definition at line 33 of file Entity.hpp.
|
strong |
| Enumerator | |
|---|---|
| Label | |
| Goto | |
| GotoWithArg | |
| Opcode | |
| Opcode2Args | |
| Opcode3Args | |
Definition at line 23 of file Entity.hpp.
|
constexpr |
The maximum value an argument can have when an IR entity has two arguments.
Definition at line 36 of file Entity.hpp.
Referenced by Ark::internal::IROptimizer::canBeOptimizedSafely(), Ark::internal::IROptimizer::isPositiveNumberInlinable(), and Ark::internal::IROptimizer::isSmallerNumberInlinable().
|
constexpr |
Definition at line 37 of file Entity.hpp.
Referenced by Ark::internal::IROptimizer::isSmallerNumberInlinable(), and Ark::internal::IROptimizer::smallerNumberAsArg().