CACAO
|
Represents a speculative assumption that has to be checked at run-time. More...
Private Attributes | |
BeginInst * | guarded_block |
The entry to the region of code that relies on this assumption. More... | |
Represents a speculative assumption that has to be checked at run-time.
Optimizations that rely on speculative assumptions may generate AssumptionInst in order to avoid the illegal execution of speculatively transformed program regions. In case a speculation fails at run-time, deoptimization will be triggered to transfer execution back to an unoptimized version of this method.
Definition at line 2097 of file Instructions.hpp.
|
inlineexplicit |
Construct an AssumptionInst.
condition | A boolean HIR expression that encodes the speculative assumption to check. |
guarded_block | The entry to the region of the code that relies on this assumption and thus needs to be guarded against illegal execution. |
Definition at line 2116 of file Instructions.hpp.
|
inlinevirtual |
Visitor pattern.
Implements cacao::jit::compiler2::Instruction.
Definition at line 2155 of file Instructions.hpp.
|
inlinevirtual |
Get the entry to the region of code that relies on this assumption.
Definition at line 2128 of file Instructions.hpp.
|
inlinevirtual |
Reimplemented from cacao::jit::compiler2::Instruction.
Definition at line 2135 of file Instructions.hpp.
|
inlinevirtual |
Conversion method.
Reimplemented from cacao::jit::compiler2::Instruction.
Definition at line 2150 of file Instructions.hpp.
|
inlinevirtual |
Conversion method.
Reimplemented from cacao::jit::compiler2::Instruction.
Definition at line 2140 of file Instructions.hpp.
|
inlinevirtual |
Conversion method.
Reimplemented from cacao::jit::compiler2::Instruction.
Definition at line 2145 of file Instructions.hpp.
|
private |
The entry to the region of code that relies on this assumption.
Definition at line 2103 of file Instructions.hpp.