llir-opt
0.0.1
Low-Level Post-Link Optimiser for OCaml and C
|
#include <core/annot.h>
Public Types | |
using | const_type_iterator = std::vector< std::string >::const_iterator |
Iterator over type IDs. | |
![]() | |
enum | Kind { PROBABILITY = 0, CAML_FRAME = 1, CXX_LSDA = 2 } |
Public Member Functions | |
CxxLSDA (bool cleanup, bool catchAll, std::vector< std::string > &&catches, std::vector< std::string > &&filters) | |
bool | IsCleanup () const |
Checks whether the frame is a cleanup frame. | |
bool | IsCatchAll () const |
Checks whether the frame is a catch-all frame. | |
size_t | catch_size () const |
Returns the number of catches. | |
llvm::iterator_range< const_type_iterator > | catches () const |
Iterator over catches. | |
size_t | filter_size () const |
Returns the number of filters. | |
llvm::iterator_range< const_type_iterator > | filters () const |
Iterator over filters. | |
![]() | |
Annot (Kind kind) | |
Creates a new annotation. | |
bool | Is (Kind kind) const |
Checks if the annotation is of a given kind. | |
Kind | GetKind () const |
Returns the annotation kind. | |
bool | operator== (const Annot &annot) const |
Checks if two annotations are equal. | |
Static Public Attributes | |
static constexpr Annot::Kind | kAnnotKind = Kind::CXX_LSDA |
Annotates a landing pad with exception handling information.