#include "compile_scal.hh"
#include "compile.hh"
#include "sigtyperules.hh"
#include "tlib.hh"
#include "property.hh"
#include "timing.hh"
#include "sigtype.hh"
#include <stdio.h>
#include <iostream>
#include <sstream>
#include <vector>
#include <math.h>
#include "floats.hh"
#include "sigprint.hh"
#include "recursivness.hh"
#include "simplify.hh"
#include "privatise.hh"
#include "prim2.hh"
#include "xtended.hh"
#include "compatibility.hh"
#include "ppsig.hh"
Go to the source code of this file.
Functions | |
static Klass * | signal2klass (const string &name, Tree sig) |
static bool | isPowerOf2 (int n) |
Variables | |
bool | gLessTempSwitch |
bool | gSchedulerSwitch |
int | gMaxCopyDelay |
static bool isPowerOf2 | ( | int | n | ) | [static] |
Definition at line 842 of file compile_scal.cpp.
Referenced by ScalarCompiler::generateIota().
Definition at line 56 of file compile_scal.cpp.
References ScalarCompiler::compileSingleSignal(), Compiler::getClass(), getSigType(), and kInt.
Referenced by ScalarCompiler::generateSigGen(), and ScalarCompiler::generateStaticSigGen().
00057 { 00058 Type t = getSigType(sig); //, NULLENV); 00059 if (t->nature() == kInt) { 00060 00061 ScalarCompiler C( new SigIntGenKlass(name) ); 00062 C.compileSingleSignal(sig); 00063 return C.getClass(); 00064 00065 } else { 00066 00067 ScalarCompiler C( new SigFloatGenKlass(name) ); 00068 C.compileSingleSignal(sig); 00069 return C.getClass(); 00070 00071 } 00072 }
bool gLessTempSwitch |
int gMaxCopyDelay |
bool gSchedulerSwitch |
Definition at line 137 of file main.cpp.
Referenced by VectorCompiler::compileMultiSignal(), dlineLoop(), main(), Klass::printComputeMethod(), Klass::println(), process_cmdline(), and vectorLoop().