exp.cpp File Reference

#include <assert.h>
#include <numeric>
#include <algorithm>
#include <map>
#include <sstream>
#include "types.h"
#include "statement.h"
#include "cfg.h"
#include "exp.h"
#include "register.h"
#include "rtl.h"
#include "proc.h"
#include "signature.h"
#include "prog.h"
#include "operstrings.h"
#include "util.h"
#include "boomerang.h"
#include "visitor.h"
#include "log.h"
#include <iomanip>

Go to the source code of this file.

Defines

#define DEBUG_SIMP   0
#define ISVARIABLE(x)   (strspn((x), "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789") == strlen((x)))

Functions

void child (Exp *e, int ind)
std::ostream & operator<< (std::ostream &os, Exp *p)
static Ternary srch1 (opZfill, new Terminal(opWild), new Terminal(opWild), new Terminal(opWild))
static Ternary srch2 (opSgnEx, new Terminal(opWild), new Terminal(opWild), new Terminal(opWild))
const char * tlstrchr (const char *str, char ch)

Variables

char debug_buffer []
 For prints functions.
Expdummy


Define Documentation

#define DEBUG_SIMP   0
 

Definition at line 1885 of file exp.cpp.

#define ISVARIABLE  )     (strspn((x), "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789") == strlen((x)))
 

Definition at line 1338 of file exp.cpp.

Referenced by Binary::match(), and Exp::match().


Function Documentation

void child Exp e,
int  ind
 

Definition at line 3755 of file exp.cpp.

References NULL, and Exp::printx().

Referenced by UserProc::decompile(), BasicBlock::DFTOrder(), BasicBlock::generateCode(), RefExp::printx(), TypedExp::printx(), Ternary::printx(), Binary::printx(), Unary::printx(), UsedLocsVisitor::visit(), and UsedLocsFinder::visit().

std::ostream& operator<< std::ostream &  os,
Exp p
 

Definition at line 3050 of file exp.cpp.

static Ternary srch1 opZfill  ,
new   Terminal(opWild),
new   Terminal(opWild),
new   Terminal(opWild)
[static]
 

Referenced by Exp::killFill().

static Ternary srch2 opSgnEx  ,
new   Terminal(opWild),
new   Terminal(opWild),
new   Terminal(opWild)
[static]
 

Referenced by Exp::killFill().

const char* tlstrchr const char *  str,
char  ch
 

Definition at line 1341 of file exp.cpp.

References NULL.

Referenced by Binary::match().


Variable Documentation

char debug_buffer[]
 

For prints functions.

Definition at line 285 of file basicblock.cpp.

Exp* dummy
 

Definition at line 256 of file exp.cpp.

Referenced by Exp::refSubExp1(), Exp::refSubExp2(), Exp::refSubExp3(), FrontSparcTest::testDelaySlot(), and StatementTest::testLocationSet().


Generated on Tue Sep 19 21:18:37 2006 for Boomerang by  doxygen 1.4.6