#include <EvalToConstVisitorIRInterface.hpp>


Public Member Functions | |
| EvalToConstVisitorIRInterface () | |
| virtual | ~EvalToConstVisitorIRInterface () |
| virtual OA_ptr < ConstValBasicInterface > | evalOp (OpHandle op, OA_ptr< ConstValBasicInterface > operand1, OA_ptr< ConstValBasicInterface > operand2)=0 |
| virtual OA_ptr < ConstValBasicInterface > | getConstValBasic (ConstSymHandle c)=0 |
| virtual OA_ptr < ConstValBasicInterface > | getConstValBasic (ConstValHandle c)=0 |
| virtual std::string | toString (OA_ptr< ConstValBasicInterface > cvPtr)=0 |
| Temporary routine for testing MPICFG. | |
| virtual std::string | toString (const ProcHandle h)=0 |
| virtual std::string | toString (const StmtHandle h)=0 |
| virtual std::string | toString (const ExprHandle h)=0 |
| virtual std::string | toString (const OpHandle h)=0 |
| virtual std::string | toString (const MemRefHandle h)=0 |
| virtual std::string | toString (const SymHandle h)=0 |
| virtual std::string | toString (const ConstSymHandle h)=0 |
| virtual std::string | toString (const ConstValHandle h)=0 |
| virtual OA_ptr < ConstValBasicInterface > | getConstValBasic (unsigned int val)=0 |
| Temporary routine for testing ReachConsts. | |
| virtual int | returnOpEnumValInt (OA::OpHandle op)=0 |
| temporary routine to find things out | |
The ReachConstsIRInterface abstract base class gives a set of methods for querying the source IR for information relevant to constant propagation Analysis. This is the primary interface for ReachConsts to the underlying intermediate representation.
Definition at line 35 of file EvalToConstVisitorIRInterface.hpp.
| OA::EvalToConstVisitorIRInterface::EvalToConstVisitorIRInterface | ( | ) | [inline] |
Definition at line 37 of file EvalToConstVisitorIRInterface.hpp.
| virtual OA::EvalToConstVisitorIRInterface::~EvalToConstVisitorIRInterface | ( | ) | [inline, virtual] |
Definition at line 38 of file EvalToConstVisitorIRInterface.hpp.
| virtual OA_ptr<ConstValBasicInterface> OA::EvalToConstVisitorIRInterface::evalOp | ( | OpHandle | op, | |
| OA_ptr< ConstValBasicInterface > | operand1, | |||
| OA_ptr< ConstValBasicInterface > | operand2 | |||
| ) | [pure virtual] |
Given an OpHandle and two operands (unary ops will just use the first operand and the second operand should be NULL) return a ConstValBasicInterface User must free the ConstValBasicInterface
Implemented in OA::ReachConsts::ReachConstsIRInterface.
| virtual OA_ptr<ConstValBasicInterface> OA::EvalToConstVisitorIRInterface::getConstValBasic | ( | unsigned int | val | ) | [pure virtual] |
Temporary routine for testing ReachConsts.
Implemented in OA::ReachConsts::ReachConstsIRInterface.
| virtual OA_ptr<ConstValBasicInterface> OA::EvalToConstVisitorIRInterface::getConstValBasic | ( | ConstValHandle | c | ) | [pure virtual] |
Given a ConstValHandle return an abstraction representing the constant value User must free the ConstValBasicInterface
Implemented in OA::MPICFG::MPICFGIRInterface, and OA::ReachConsts::ReachConstsIRInterface.
| virtual OA_ptr<ConstValBasicInterface> OA::EvalToConstVisitorIRInterface::getConstValBasic | ( | ConstSymHandle | c | ) | [pure virtual] |
Given a ConstSymHandle return an abstraction representing the constant value User must free the ConstValBasicInterface
Implemented in OA::MPICFG::MPICFGIRInterface, and OA::ReachConsts::ReachConstsIRInterface.
| virtual int OA::EvalToConstVisitorIRInterface::returnOpEnumValInt | ( | OA::OpHandle | op | ) | [pure virtual] |
temporary routine to find things out
Implemented in OA::MPICFG::MPICFGIRInterface, and OA::ReachConsts::ReachConstsIRInterface.
| virtual std::string OA::EvalToConstVisitorIRInterface::toString | ( | const ConstValHandle | h | ) | [pure virtual] |
Implements OA::IRHandlesIRInterface.
Implemented in OA::ReachConsts::ReachConstsIRInterface.
| virtual std::string OA::EvalToConstVisitorIRInterface::toString | ( | const ConstSymHandle | h | ) | [pure virtual] |
Implements OA::IRHandlesIRInterface.
Implemented in OA::ReachConsts::ReachConstsIRInterface.
| virtual std::string OA::EvalToConstVisitorIRInterface::toString | ( | const SymHandle | h | ) | [pure virtual] |
Implements OA::IRHandlesIRInterface.
Implemented in OA::MPICFG::MPICFGIRInterface, and OA::ReachConsts::ReachConstsIRInterface.
| virtual std::string OA::EvalToConstVisitorIRInterface::toString | ( | const MemRefHandle | h | ) | [pure virtual] |
Implements OA::IRHandlesIRInterface.
Implemented in OA::MPICFG::MPICFGIRInterface, and OA::ReachConsts::ReachConstsIRInterface.
| virtual std::string OA::EvalToConstVisitorIRInterface::toString | ( | const OpHandle | h | ) | [pure virtual] |
Implements OA::IRHandlesIRInterface.
Implemented in OA::ReachConsts::ReachConstsIRInterface.
| virtual std::string OA::EvalToConstVisitorIRInterface::toString | ( | const ExprHandle | h | ) | [pure virtual] |
Implements OA::IRHandlesIRInterface.
Implemented in OA::MPICFG::MPICFGIRInterface, and OA::ReachConsts::ReachConstsIRInterface.
| virtual std::string OA::EvalToConstVisitorIRInterface::toString | ( | const StmtHandle | h | ) | [pure virtual] |
Implements OA::IRHandlesIRInterface.
Implemented in OA::MPICFG::MPICFGIRInterface, and OA::ReachConsts::ReachConstsIRInterface.
| virtual std::string OA::EvalToConstVisitorIRInterface::toString | ( | const ProcHandle | h | ) | [pure virtual] |
Implements OA::IRHandlesIRInterface.
Implemented in OA::ReachConsts::ReachConstsIRInterface.
| virtual std::string OA::EvalToConstVisitorIRInterface::toString | ( | OA_ptr< ConstValBasicInterface > | cvPtr | ) | [pure virtual] |
Temporary routine for testing MPICFG.
Implemented in OA::MPICFG::MPICFGIRInterface, and OA::ReachConsts::ReachConstsIRInterface.
1.6.1