[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Get the function that a particular block belongs to.
Get the context that a particular block belongs to.
Get the label associated with a block.
Iterate over the blocks in a function, in order of their creation. The previous argument should be NULL on the first call. This function will return NULL if there are no further blocks to iterate.
Iterate over the blocks in a function, in reverse order of their creation. The previous argument should be NULL on the first call. This function will return NULL if there are no further blocks to iterate.
Get the block that corresponds to a particular label. Returns NULL if there is no block associated with the label.
Tag a block with some metadata. Returns zero if out of memory. If the type already has some metadata associated with it, then the previous value will be freed. Metadata may be used to store dependency graphs, branch prediction information, or any other information that is useful to optimizers or code generators.
Metadata type values of 10000 or greater are reserved for internal use.
Get the metadata associated with a particular tag. Returns NULL if type does not have any metadata associated with it.
Free metadata of a specific type on a block. Does nothing if the type does not have any metadata associated with it.
Determine if a block is reachable from some other point in its function. Unreachable blocks can be discarded in their entirety. If the JIT is uncertain as to whether a block is reachable, or it does not wish to perform expensive flow analysis to find out, then it will err on the side of caution and assume that it is reachable.
Determine if a block ends in a "dead" marker. That is, control will not fall out through the end of the block.
Determine if the current point in the function is dead. That is,
there are no existing branches or fall-throughs to this point.
This differs slightly from jit_block_ends_in_dead
in that
this can skip past zero-length blocks that may not appear to be
dead to find the dead block at the head of a chain of empty blocks.
[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated by Klaus Treichel on May, 11 2008 using texi2html 1.78.