GCC Middle and Back End API Reference
value_relation Class Reference

#include <value-relation.h>

Inheritance diagram for value_relation:

Public Member Functions

 value_relation ()
 
 value_relation (relation_kind kind, tree n1, tree n2)
 
void set_relation (relation_kind kind, tree n1, tree n2)
 
relation_kind kind () const
 
tree op1 () const
 
tree op2 () const
 
relation_trio create_trio (tree lhs, tree op1, tree op2)
 
bool union_ (value_relation &p)
 
bool intersect (value_relation &p)
 
void negate ()
 
bool apply_transitive (const value_relation &rel)
 
void dump (FILE *f) const
 

Private Attributes

relation_kind related
 
tree name1
 
tree name2
 

Constructor & Destructor Documentation

◆ value_relation() [1/2]

value_relation::value_relation ( )
inline

References name1, name2, NULL_TREE, related, and VREL_VARYING.

◆ value_relation() [2/2]

value_relation::value_relation ( relation_kind kind,
tree n1,
tree n2 )
inline

References kind(), and set_relation().

Member Function Documentation

◆ apply_transitive()

bool value_relation::apply_transitive ( const value_relation & rel)

◆ create_trio()

relation_trio value_relation::create_trio ( tree lhs,
tree op1,
tree op2 )

◆ dump()

◆ intersect()

bool value_relation::intersect ( value_relation & p)

◆ kind()

relation_kind value_relation::kind ( ) const
inline

◆ negate()

void value_relation::negate ( )

References related, and relation_negate().

◆ op1()

tree value_relation::op1 ( ) const
inline

◆ op2()

tree value_relation::op2 ( ) const
inline

◆ set_relation()

void value_relation::set_relation ( relation_kind kind,
tree n1,
tree n2 )
inline

◆ union_()

bool value_relation::union_ ( value_relation & p)

Field Documentation

◆ name1

tree value_relation::name1
private

◆ name2

tree value_relation::name2
private

◆ related


The documentation for this class was generated from the following files: