|
OpenASIP 2.2
|
#include <fstream>#include <algorithm>#include "TDGen.hh"#include "Machine.hh"#include "ADFSerializer.hh"#include "ControlUnit.hh"#include "Operation.hh"#include "HWOperation.hh"#include "FUPort.hh"#include "Conversion.hh"#include "MachineConnectivityCheck.hh"#include "ImmediateAnalyzer.hh"#include "ImmInfo.hh"#include "Bus.hh"#include "Guard.hh"#include "StringTools.hh"#include "OperationPool.hh"#include "OperationNode.hh"#include "TerminalNode.hh"#include "ConstantNode.hh"#include "OperationDAG.hh"#include "OperationDAGEdge.hh"#include "OperationDAGSelector.hh"#include "TCEString.hh"#include "Operand.hh"#include "Application.hh"#include "LLVMBackend.hh"#include "MathTools.hh"#include "tce_config.h"#include "LLVMTCECmdLineOptions.hh"#include "MachineInfo.hh"#include "boost/assign.hpp"
Go to the source code of this file.
Functions | |
| bool | numbersToAscending (const TCEString &lhs, const TCEString &rhs) |
| char | regOperandCharToImmOperandChar (char c) |
Variables | |
| static const unsigned | REG_RENAMER_PART = 0 |
Custom comparator that orders operation names correctly number-wise.
For instance, in an std::set operation names are ordered followingly: ADD32X16, ADD32X4, ADD32X8, XOR1024, XOR512, XOR64
This function corrects the operation name order to be the following: ADD32X4, ADD32X8, ADD32X16, XOR64, XOR512, XOR1024
Definition at line 292 of file TDGen.cc.
References abortWithError, Exception::errorMessage(), and Conversion::toInt().

| char regOperandCharToImmOperandChar | ( | char | c | ) |
Definition at line 4491 of file TDGen.cc.
References TDGen::OT_IMM_BOOL, TDGen::OT_IMM_FP, TDGen::OT_IMM_HFP, TDGen::OT_IMM_INT, TDGen::OT_IMM_LONG, TDGen::OT_REG_BOOL, TDGen::OT_REG_FP, TDGen::OT_REG_HFP, TDGen::OT_REG_INT, and TDGen::OT_REG_LONG.
Referenced by TDGen::writeOperationDefs().
|
static |
Definition at line 332 of file TDGen.cc.
Referenced by TDGen::analyzeRegisters().