|
FAUST compiler
0.9.9.6b8
|

Go to the source code of this file.
Functions | |
| ostream & | operator<< (ostream &dst, const Type &t) |
| ostream & | operator<< (ostream &dst, const SimpleType &t) |
| ostream & | operator<< (ostream &dst, const TableType &t) |
| ostream & | operator<< (ostream &dst, const TupletType &t) |
| Type | operator| (const Type &t1, const Type &t2) |
| bool | operator== (const Type &t1, const Type &t2) |
| bool | operator<= (const Type &t1, const Type &t2) |
| Type | operator* (const Type &t1, const Type &t2) |
| SimpleType * | isSimpleType (AudioType *t) |
| TableType * | isTableType (AudioType *t) |
| TupletType * | isTupletType (AudioType *t) |
| Type | checkInt (Type t) |
| verifie que t est entier More... | |
| Type | checkKonst (Type t) |
| verifie que t est constant More... | |
| Type | checkInit (Type t) |
| verifie que t est connu a l'initialisation More... | |
| Type | checkIntParam (Type t) |
| verifie que t est connu a l'initialisation, constant et entier More... | |
| Type | checkWRTbl (Type tbl, Type wr) |
| verifie que wr est compatible avec le contenu de tbl More... | |
| int | checkDelayInterval (Type t) |
| Check is a type is appropriate for a delay. More... | |
| string | cType (Type t) |
| static Tree | codeSimpleType (SimpleType *st) |
| Code a simple audio type as a tree in order to benefit of memoization. More... | |
| static Tree | codeTableType (TableType *tt) |
| Code a table type as a tree in order to benefit of memoization. More... | |
| static Tree | codeTupletType (TupletType *nt) |
| Code a tuplet type as a tree in order to benefit of memoization. More... | |
| Tree | codeAudioType (AudioType *t) |
| codeAudioType(Type) -> Tree Code an audio type as a tree in order to benefit of memoization The type field (of the coded type) is used to store the audio type More... | |
| AudioType * | makeSimpleType (int n, int v, int c, int vec, int b, const interval &i) |
| AudioType * | makeTableType (const Type &ct) |
| AudioType * | makeTableType (const Type &ct, int n, int v, int c, int vec, int b, const interval &i) |
| AudioType * | makeTableType (const Type &ct, int n, int v, int c, int vec) |
| AudioType * | makeTupletType (const vector< Type > &vt) |
| AudioType * | makeTupletType (const vector< Type > &vt, int n, int v, int c, int vec, int b, const interval &i) |
| int checkDelayInterval | ( | Type | t | ) |
Check is a type is appropriate for a delay.
Check if the interval of t is appropriate for a delay.
Definition at line 327 of file sigtype.cpp.
References interval::hi, interval::lo, and interval::valid.
Referenced by OccMarkup::incOcc().

verifie que t est connu a l'initialisation
Definition at line 297 of file sigtype.cpp.
References kInit.
Referenced by checkIntParam(), infereDocConstantTblType(), infereDocWriteTblType(), and infereSigType().

verifie que t est entier
Definition at line 276 of file sigtype.cpp.
References isSimpleType(), kInt, and AudioType::nature().
Referenced by checkIntParam(), infereDocConstantTblType(), infereDocWriteTblType(), and infereSigType().


verifie que t est connu a l'initialisation, constant et entier
Definition at line 307 of file sigtype.cpp.
References checkInit(), checkInt(), and checkKonst().

verifie que t est constant
Definition at line 287 of file sigtype.cpp.
References kKonst.
Referenced by checkIntParam(), infereDocConstantTblType(), and infereDocWriteTblType().

verifie que wr est compatible avec le contenu de tbl
Definition at line 312 of file sigtype.cpp.
codeAudioType(Type) -> Tree Code an audio type as a tree in order to benefit of memoization The type field (of the coded type) is used to store the audio type
Code an audio type as a tree (memoization)
Definition at line 374 of file sigtype.cpp.
References codeSimpleType(), codeTableType(), codeTupletType(), AudioType::getCode(), isSimpleType(), isTableType(), isTupletType(), and CTree::setType().
Referenced by codeTableType(), codeTupletType(), makeSimpleType(), makeTableType(), and makeTupletType().


|
static |
Code a simple audio type as a tree in order to benefit of memoization.
Definition at line 404 of file sigtype.cpp.
References AudioType::boolean(), AudioType::computability(), AudioType::getInterval(), interval::hi, interval::lo, CTree::make(), AudioType::nature(), tree(), interval::valid, AudioType::variability(), and AudioType::vectorability().
Referenced by codeAudioType().


Code a table type as a tree in order to benefit of memoization.
Definition at line 443 of file sigtype.cpp.
References codeAudioType(), TableType::content(), and tree().
Referenced by codeAudioType().


|
static |
Code a tuplet type as a tree in order to benefit of memoization.
Definition at line 504 of file sigtype.cpp.
References TupletType::arity(), codeAudioType(), and CTree::make().
Referenced by codeAudioType().


| string cType | ( | Type | t | ) |
Definition at line 340 of file sigtype.cpp.
References kInt.
Referenced by ScalarCompiler::generatePrefix().

| SimpleType* isSimpleType | ( | AudioType * | t | ) |
Definition at line 267 of file sigtype.cpp.
Referenced by checkInt(), codeAudioType(), infereReadTableType(), infereSigType(), infereWriteTableType(), operator==(), and operator|().

Definition at line 268 of file sigtype.cpp.
Referenced by codeAudioType(), infereReadTableType(), infereWriteTableType(), operator==(), and operator|().

| TupletType* isTupletType | ( | AudioType * | t | ) |
Definition at line 269 of file sigtype.cpp.
Referenced by codeAudioType(), infereProjType(), operator==(), and operator|().

Definition at line 421 of file sigtype.cpp.
References codeAudioType(), AudioType::gAllocationCount, property< P >::get(), property< P >::set(), and AudioType::setCode().
Referenced by boolCast(), castInterval(), floatCast(), infereFConstType(), infereFFType(), infereFVarType(), infereSigType(), infereWaveformType(), intCast(), numCast(), operator|(), SimpleType::promoteBoolean(), SimpleType::promoteComputability(), SimpleType::promoteNature(), SimpleType::promoteVariability(), SimpleType::promoteVectorability(), sampCast(), scalCast(), truescalCast(), and vecCast().


Definition at line 448 of file sigtype.cpp.
References codeAudioType(), AudioType::gAllocationCount, property< P >::get(), property< P >::set(), and AudioType::setCode().
Referenced by infereSigType(), infereWriteTableType(), operator|(), TableType::promoteBoolean(), TableType::promoteComputability(), TableType::promoteNature(), TableType::promoteVariability(), and TableType::promoteVectorability().


| AudioType* makeTableType | ( | const Type & | ct, |
| int | n, | ||
| int | v, | ||
| int | c, | ||
| int | vec, | ||
| int | b, | ||
| const interval & | i | ||
| ) |
Definition at line 465 of file sigtype.cpp.
References codeAudioType(), AudioType::gAllocationCount, property< P >::get(), property< P >::set(), and AudioType::setCode().

Definition at line 482 of file sigtype.cpp.
References codeAudioType(), AudioType::gAllocationCount, property< P >::get(), property< P >::set(), and AudioType::setCode().

Definition at line 513 of file sigtype.cpp.
References codeAudioType(), AudioType::gAllocationCount, property< P >::get(), property< P >::set(), and AudioType::setCode().

| AudioType* makeTupletType | ( | const vector< Type > & | vt, |
| int | n, | ||
| int | v, | ||
| int | c, | ||
| int | vec, | ||
| int | b, | ||
| const interval & | i | ||
| ) |
Definition at line 531 of file sigtype.cpp.
References codeAudioType(), AudioType::gAllocationCount, property< P >::get(), property< P >::set(), and AudioType::setCode().

Definition at line 241 of file sigtype.cpp.
References TupletType::arity().

| ostream& operator<< | ( | ostream & | dst, |
| const Type & | t | ||
| ) |
Definition at line 46 of file sigtype.cpp.
| ostream& operator<< | ( | ostream & | dst, |
| const SimpleType & | t | ||
| ) |
Definition at line 48 of file sigtype.cpp.
References SimpleType::print().

| ostream& operator<< | ( | ostream & | dst, |
| const TableType & | t | ||
| ) |
Definition at line 50 of file sigtype.cpp.
References TableType::print().

| ostream& operator<< | ( | ostream & | dst, |
| const TupletType & | t | ||
| ) |
Definition at line 52 of file sigtype.cpp.
References TupletType::print().

Definition at line 234 of file sigtype.cpp.
Definition at line 201 of file sigtype.cpp.
References TupletType::arity(), AudioType::boolean(), AudioType::computability(), TableType::content(), AudioType::getInterval(), interval::hi, isSimpleType(), isTableType(), isTupletType(), interval::lo, AudioType::nature(), interval::valid, AudioType::variability(), and AudioType::vectorability().

Definition at line 166 of file sigtype.cpp.
References TupletType::arity(), AudioType::boolean(), AudioType::computability(), TableType::content(), AudioType::getInterval(), isSimpleType(), isTableType(), isTupletType(), makeSimpleType(), makeTableType(), min(), AudioType::nature(), reunion(), AudioType::variability(), and AudioType::vectorability().

Definition at line 158 of file sigtype.cpp.
Definition at line 356 of file sigtype.cpp.
Definition at line 359 of file sigtype.cpp.
Definition at line 360 of file sigtype.cpp.
Definition at line 146 of file sigtype.cpp.
Definition at line 149 of file sigtype.cpp.
Definition at line 151 of file sigtype.cpp.
Definition at line 156 of file sigtype.cpp.
Referenced by infereSigType().
Definition at line 157 of file sigtype.cpp.
Referenced by infereSigType().
Definition at line 150 of file sigtype.cpp.
Definition at line 155 of file sigtype.cpp.
Referenced by infereSigType().
Definition at line 142 of file sigtype.cpp.
Definition at line 145 of file sigtype.cpp.
Definition at line 143 of file sigtype.cpp.
Definition at line 163 of file sigtype.cpp.
Referenced by initialRecType().
Definition at line 147 of file sigtype.cpp.
Definition at line 361 of file sigtype.cpp.
1.8.7