#include "global.h"
#include "ss.h"
#include "rtl.h"
#include "cfg.h"
#include "proc.h"
#include "prog.h"
#include "options.h"
#include "csr.h"
#include "frontend.h"
#include "decoder.h"
#include "BinaryFile.h"
Go to the source code of this file.
Defines | |
| #define | BRANCH_DS_ERROR 0 |
Functions | |
| void | appendAssignment (SemStr *lhs, SemStr *rhs, int size, ADDRESS addr, HRTLList *lrtl) |
| bool | case_CALL_NCT (ADDRESS &address, DecodeResult &inst, DecodeResult &delay_inst, list< HRTL * > *&BB_rtls, UserProc *proc, std::list< CallStatement * > &callList, ofstream &os, bool isPattern=false) |
| bool | case_DD_NCT (ADDRESS &address, int delta, DecodeResult &inst, DecodeResult &delay_inst, list< HRTL * > *&BB_rtls, Cfg *cfg, TARGETS &targets, UserProc *proc, std::list< CallStatement * > &callList, int size) |
| bool | case_SCD_NCT (ADDRESS &address, int delta, ADDRESS hiAddress, DecodeResult &inst, DecodeResult &delay_inst, list< HRTL * > *&BB_rtls, Cfg *cfg, TARGETS &targets) |
| bool | case_SCDAN_NCT (ADDRESS &address, int delta, ADDRESS hiAddress, DecodeResult &inst, DecodeResult &delay_inst, list< HRTL * > *&BB_rtls, Cfg *cfg, TARGETS &targets) |
| void | case_SD_NCT (ADDRESS &address, int delta, ADDRESS hiAddress, DecodeResult &inst, DecodeResult &delay_inst, list< HRTL * > *&BB_rtls, Cfg *cfg, TARGETS &targets, ofstream &os) |
| void | case_unhandled_stub (ADDRESS addr) |
| void | emitCopyPC (HRTLList *pRtls, ADDRESS uAddr) |
| void | emitNop (HRTLList *pRtls, ADDRESS uAddr) |
| void | handleBranch (ADDRESS dest, ADDRESS hiAddress, BasicBlock *&newBB, Cfg *cfg, TARGETS &targets) |
| void | handleCall (ADDRESS dest, BasicBlock *callBB, Cfg *cfg, ADDRESS address, int offset=0) |
| bool | helperFunc (ADDRESS dest, ADDRESS addr, HRTLList *lrtl) |
| void | initCti () |
| void | initFront () |
| bool | interferes (HRTL *delayRtl, HRTL *mainRtl) |
| bool | optimise_DelayCopy (ADDRESS src, ADDRESS dest, int delta, ADDRESS uUpper) |
| void | setReturnLocations (CalleeEpilogue *epilogue, int iReg) |
| void | warnDCTcouple (ADDRESS uAt, ADDRESS uDest) |
Variables | |
| int | idCWP = -1 |
| int | idNPC = -1 |
| int | idTmp = -1 |
| static DecodeResult | nop_inst |
|
|
|
|
||||||||||||||||||||||||
|
Definition at line 1414 of file fronthppa.cpp. |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 277 of file fronthppa.cpp. References UserProc::getCFG(), NOP, Cfg::print(), DecodeResult::rtl, and DecodeResult::type. |
|
||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 494 of file fronthppa.cpp. References COMPCALL, COMPJUMP, Cfg::newBB(), NOP, RET, DecodeResult::rtl, DecodeResult::type, and RTL::updateAddress(). |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 624 of file fronthppa.cpp. References Cfg::addOutEdge(), handleBranch(), interferes(), Cfg::newBB(), NOP, NULL, ONEWAY, optimise_DelayCopy(), DecodeResult::rtl, TWOWAY, DecodeResult::type, and RTL::updateAddress(). |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 757 of file fronthppa.cpp. References Cfg::addOutEdge(), handleBranch(), Cfg::newBB(), NULL, ONEWAY, optimise_DelayCopy(), DecodeResult::rtl, BasicBlock::setJumpReqd(), TWOWAY, and RTL::updateAddress(). |
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 426 of file fronthppa.cpp. References handleBranch(), Cfg::newBB(), NOP, NULL, ONEWAY, optimise_DelayCopy(), DecodeResult::rtl, DecodeResult::type, and RTL::updateAddress(). |
|
|
Definition at line 249 of file fronthppa.cpp. |
|
||||||||||||
|
Definition at line 1384 of file fronthppa.cpp. |
|
||||||||||||
|
Definition at line 1362 of file fronthppa.cpp. |
|
||||||||||||||||||||||||
|
Definition at line 184 of file fronthppa.cpp. References NULL. Referenced by case_SCD_NCT(), case_SCDAN_NCT(), and case_SD_NCT(). |
|
||||||||||||||||||||||||
|
Definition at line 217 of file fronthppa.cpp. References NULL. |
|
||||||||||||||||
|
Definition at line 1429 of file fronthppa.cpp. |
|
|
|
|
|
Definition at line 78 of file fronthppa.cpp. References idNPC, idTmp, NOP, nop_inst, DecodeResult::numBytes, DecodeResult::rtl, DecodeResult::type, and DecodeResult::valid. |
|
||||||||||||
|
Definition at line 118 of file fronthppa.cpp. References m, NULL, and result. Referenced by case_SCD_NCT(). |
|
||||||||||||||||||||
|
Definition at line 157 of file fronthppa.cpp. Referenced by case_SCD_NCT(), case_SCDAN_NCT(), and case_SD_NCT(). |
|
||||||||||||
|
Definition at line 1614 of file fronthppa.cpp. |
|
||||||||||||
|
Definition at line 101 of file fronthppa.cpp. |
|
|
Definition at line 54 of file fronthppa.cpp. |
|
|
Definition at line 53 of file fronthppa.cpp. Referenced by initFront(). |
|
|
Definition at line 55 of file fronthppa.cpp. Referenced by initFront(). |
|
|
Definition at line 59 of file fronthppa.cpp. Referenced by initFront(). |
1.4.6