OpenASIP  2.0
Variables
PreOptimizer.cc File Reference
#include "PreOptimizer.hh"
#include "Procedure.hh"
#include "Instruction.hh"
#include "Move.hh"
#include "ControlFlowGraph.hh"
#include "DataDependenceGraphBuilder.hh"
#include "ProgramOperation.hh"
#include "Terminal.hh"
#include "CodeGenerator.hh"
#include "InstructionReferenceManager.hh"
#include "RegisterFile.hh"
#include "DisassemblyRegister.hh"
#include "Program.hh"
#include "Operation.hh"
#include "BasicBlock.hh"
#include "SchedulerCmdLineOptions.hh"
#include "Operand.hh"
#include "TerminalImmediate.hh"
#include "Bus.hh"
Include dependency graph for PreOptimizer.cc:

Go to the source code of this file.

Variables

static const int DEFAULT_LOWMEM_MODE_THRESHOLD = 200000
 

Detailed Description

Implementation of GuardInverver class.

This optimizer does some peephole optimizations before actual scheduling:

Removes unneeded predicate arithmetic by using opposite guard instead where the guard is used.

Changes registers of address calculations to eliminate entideps

Removes adds of compile-time ocnstants

Author
Heikki Kultala 2009 (hkultala-no.spam-cs.tut.fi)
Note
rating: red

Definition in file PreOptimizer.cc.

Variable Documentation

◆ DEFAULT_LOWMEM_MODE_THRESHOLD

const int DEFAULT_LOWMEM_MODE_THRESHOLD = 200000
static

Definition at line 62 of file PreOptimizer.cc.

Referenced by PreOptimizer::handleProcedure().