Skip to content

OperatorSideEffectAnnotation

Synopsis

Declared in <src/midend/astUtil/annotation/OperatorAnnotation.h>

class OperatorSideEffectAnnotation
    : public FunctionSideEffectInterface

Base Classes

Name Description
FunctionSideEffectInterface

Type Aliases

Name
const_iterator

Member Functions

Name
Dump
void Dump() const;
add_call
void add_call( OperatorDeclaration const& op, OperatorSideEffectDescriptor& d);
add_kill
void add_kill( OperatorDeclaration const& op, OperatorSideEffectDescriptor& d);
add_modify
void add_modify( OperatorDeclaration const& op, OperatorSideEffectDescriptor& d);
add_read
void add_read( OperatorDeclaration const& op, OperatorSideEffectDescriptor& d);
get_call
virtual bool get_call( AstInterface& fa, AstNodePtr const& fc, CollectObject<AstNodePtr>* collect = 0) override; [virtual]
get_call_descriptor
OperatorSideEffectDescriptor* get_call_descriptor( AstInterface& fa, AstNodePtr const& fc, bool insert_if_missing = false);
get_kill
virtual bool get_kill( AstInterface& fa, AstNodePtr const& fc, CollectObject<AstNodePtr>* collect = 0); [virtual]
get_kill_descriptor
OperatorSideEffectDescriptor* get_kill_descriptor( AstInterface& fa, AstNodePtr const& fc, bool insert_if_missing = false);
get_modify
virtual bool get_modify( AstInterface& fa, AstNodePtr const& fc, CollectObject<AstNodePtr>* collect = 0) override; [virtual]
get_modify_descriptor
OperatorSideEffectDescriptor* get_modify_descriptor( std::string const& signature, bool insert_if_missing = false);
get_read
virtual bool get_read( AstInterface& fa, AstNodePtr const& fc, CollectObject<AstNodePtr>* collect = 0) override; [virtual]
get_read_descriptor
OperatorSideEffectDescriptor* get_read_descriptor( std::string const& signature, bool insert_if_missing = false);
register_annot
void register_annot();
write
void write(std::ostream& out) const;

Static Member Functions

Name
get_inst
static OperatorSideEffectAnnotation* get_inst();
release_inst
static void release_inst();

Private Member Functions

Name Description
OperatorSideEffectAnnotation
OperatorSideEffectAnnotation(); [constructor]
Default constructor

Private Data Members

Name
callInfo
killInfo
modInfo
readInfo

Private Static Data Members

Name
inst

Created with MrDocs