|
| MPICFGIRInterface () |
|
virtual | ~MPICFGIRInterface () |
|
virtual OA_ptr< IRStmtIterator > | getStmtIterator (ProcHandle h)=0 |
|
virtual OA_ptr
< IRCallsiteIterator > | getCallsites (StmtHandle h)=0 |
| Return an iterator over all of the callsites in a given stmt. More...
|
|
virtual OA_ptr
< IRCallsiteParamIterator > | getCallsiteParams (ExprHandle h)=0 |
|
virtual SymHandle | getSymHandle (ExprHandle expr)=0 |
| Return a symbol handle for a given expression handle. More...
|
|
virtual SymHandle | getProcSymHandle (ProcHandle h)=0 |
| Return a symbol handle for a given procedure handle. More...
|
|
virtual std::string | toString (const SymHandle h)=0 |
| Return a string version of the symbol handle. More...
|
|
virtual std::string | toString (const ExprHandle h)=0 |
| Return a string version of an expression handle. More...
|
|
virtual OA_ptr< ExprTree > | getExprTree (ExprHandle h)=0 |
| Given an ExprHandle, return an ExprTree. More...
|
|
virtual IRProcType | getMPICFGProcType (SymHandle h)=0 |
|
virtual bool | isMPICFGAnyTag (ConstValHandle h)=0 |
|
virtual bool | isMPICFGAnyTag (ConstSymHandle h)=0 |
|
virtual bool | isMPICFGAnyTag (OA_ptr< ConstValBasicInterface > c)=0 |
|
virtual bool | isMPICFGAnySource (ConstValHandle h)=0 |
|
virtual bool | isMPICFGAnySource (ConstSymHandle h)=0 |
|
virtual bool | isMPICFGAnySource (OA_ptr< ConstValBasicInterface > c)=0 |
|
virtual ExprHandle | getMPICFGCommParam (OA::ExprHandle h)=0 |
| Return an expression handle for the 'communicator' parameter in the. More...
|
|
virtual ExprHandle | getMPICFGDataTypeParam (OA::ExprHandle h)=0 |
| Return an expression handle for the 'data type' parameter in the. More...
|
|
virtual ExprHandle | getMPICFGDestParam (OA::ExprHandle h)=0 |
| Return an expression handle for the 'dest' parameter in the. More...
|
|
virtual ExprHandle | getMPICFGGroupParam (OA::ExprHandle h)=0 |
| Return an expression handle for the 'group' parameter in the. More...
|
|
virtual ExprHandle | getMPICFGOpParam (OA::ExprHandle h)=0 |
| Return an expression handle for the 'op' parameter in the. More...
|
|
virtual ExprHandle | getMPICFGRankParam (OA::ExprHandle h)=0 |
| Return an expression handle for the 'rank' parameter in the. More...
|
|
virtual ExprHandle | getMPICFGRootParam (OA::ExprHandle h)=0 |
| Return an expression handle for the 'root' parameter in the. More...
|
|
virtual ExprHandle | getMPICFGSizeParam (OA::ExprHandle h)=0 |
| Return an expression handle for the 'size' parameter in the. More...
|
|
virtual ExprHandle | getMPICFGSourceParam (OA::ExprHandle h)=0 |
| Return an expression handle for the 'source' parameter in the. More...
|
|
virtual ExprHandle | getMPICFGTagParam (OA::ExprHandle h)=0 |
| Return an expression handle for the 'tag' parameter in the. More...
|
|
virtual void | dumpMPICFGparam (ExprHandle h, std::ostream &os)=0 |
|
virtual int | returnOpEnumValInt (OA::OpHandle op)=0 |
| temporary routine to find things out More...
|
|
virtual void | dump (StmtHandle stmt, std::ostream &os) |
|
virtual std::string | toString (OA_ptr< OA::ConstValBasicInterface > cvPtr)=0 |
| Temporary routine for testing MPICFG. More...
|
|
virtual IRRankVarStmtType | getMPICFGRankVarStmtType (OA::StmtHandle h)=0 |
| RankVarStmtType: interested in RANK_DEF_STMTs (define the MPI rank var) More...
|
|
virtual MemRefHandle | getMPICFGRankDefMemRef (OA::StmtHandle h)=0 |
|
virtual StmtHandle | getStmtFromMemRef (OA::MemRefHandle h)=0 |
| Return a stmt handle for the given memory reference handle. More...
|
|
virtual OA_ptr
< MemRefHandleIterator > | getAllMemRefs (StmtHandle stmt)=0 |
|
virtual OA_ptr
< MemRefHandleIterator > | getDefMemRefs (StmtHandle stmt)=0 |
|
virtual OA_ptr
< MemRefHandleIterator > | getUseMemRefs (StmtHandle stmt)=0 |
|
virtual std::string | toString (const StmtHandle h)=0 |
| Given a statement handle, get a string expressing its value. More...
|
|
virtual std::string | toString (const MemRefHandle h)=0 |
| Given a memory reference handle, get a succinct string representation. More...
|
|
virtual OA_ptr
< ConstValBasicInterface > | getConstValBasic (ConstSymHandle c)=0 |
|
virtual OA_ptr
< ConstValBasicInterface > | getConstValBasic (ConstValHandle c)=0 |
|
virtual IRCopyStmtType | getCopyStmtType (OA::StmtHandle h)=0 |
| Given a statement, return its MPICFG::IRCopyStmtType. More...
|
|
virtual OA_ptr
< CopyStmtPairIterator > | getCopyStmtPairIterator (OA::StmtHandle h)=0 |
|
virtual bool | isaRelOp (OA::OpHandle h)=0 |
|
virtual OA::MPICFG::RelOp | getRelOp (OA::OpHandle h)=0 |
|
virtual OA_ptr
< ConstValIntInterface > | getConstValInt (OA_ptr< ConstValBasicInterface > c)=0 |
|
virtual ExprHandle | getLoopCondition (OA::StmtHandle h)=0 |
| get condition expression handles from various stmt types More...
|
|
virtual ExprHandle | getCondition (OA::StmtHandle h)=0 |
|
virtual ExprHandle | getSMultiCondition (OA::StmtHandle h, int bodyIndex)=0 |
|
virtual ExprHandle | getSMultiTest (OA::StmtHandle h)=0 |
|
virtual ExprHandle | getUMultiCondition (OA::StmtHandle h, int targetIndex)=0 |
|
virtual ExprHandle | getUMultiTest (OA::StmtHandle h)=0 |
|
virtual int | numMultiCases (OA::StmtHandle h)=0 |
|
virtual int | numUMultiTargets (OA::StmtHandle h)=0 |
|
virtual CFG::IRStmtType | getCFGStmtType (StmtHandle h)=0 |
| Given a statement, return its CFG::IRStmtType. More...
|
|
virtual OA_ptr
< OA::ConstValBasicInterface > | getConstFromSwitchCase (OA::ExprHandle h)=0 |
|
Public Member Functions inherited from OA::IRHandlesIRInterface |
virtual | ~IRHandlesIRInterface () |
|
virtual std::string | toString (const CallHandle h)=0 |
|
virtual void | dump (MemRefHandle h, std::ostream &os)=0 |
| Given a memory reference, pretty-print it to the output stream os. More...
|
|
virtual void | dump (SymHandle sym, std::ostream &os)=0 |
| Given a statement, pretty-print it to the output stream os. More...
|
|
| EvalToConstVisitorIRInterface () |
|
virtual | ~EvalToConstVisitorIRInterface () |
|
virtual OA_ptr
< ConstValBasicInterface > | evalOp (OpHandle op, OA_ptr< ConstValBasicInterface > operand1, OA_ptr< ConstValBasicInterface > operand2)=0 |
|
virtual std::string | toString (const ProcHandle h)=0 |
|
virtual std::string | toString (const OpHandle 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. More...
|
|
The MPICFGIRInterface abstract base class gives a set of methods for manipulating a program. This is the primary interface to the underlying intermediate representation.
Definition at line 157 of file MPICFGIRInterface.hpp.