HomeSort by relevance Sort by last modified time
    Searched refs:TType (Results 1 - 25 of 27) sorted by null

1 2

  /external/webkit/Source/ThirdParty/ANGLE/src/compiler/
ParseHelper.h 49 const TType* currentFunctionType; // the return type of the function that's currently being parsed
69 bool constructorErrorCheck(int line, TIntermNode*, TFunction&, TOperator, TType*);
79 bool parameterSamplerErrorCheck(int line, TQualifier qualifier, const TType& type);
80 bool containsSampler(TType& type);
83 bool paramErrorCheck(int line, TQualifier qualifier, TQualifier paramQualifier, TType* type);
89 TIntermTyped* addConstructor(TIntermNode*, const TType*, TOperator, TFunction*, TSourceLoc);
90 TIntermTyped* foldConstConstructor(TIntermAggregate* aggrNode, const TType& type);
91 TIntermTyped* constructStruct(TIntermNode*, TType*, int, TSourceLoc, bool subset);
92 TIntermTyped* constructBuiltIn(const TType*, TOperator, TIntermNode*, TSourceLoc, bool subset);
97 bool arraySetMaxSize(TIntermSymbol*, TType*, int, bool, TSourceLoc)
    [all...]
Types.h 17 class TType;
19 TType* type;
48 TType* userDef;
82 class TType {
85 TType() {}
86 TType(TBasicType t, TPrecision p, TQualifier q = EvqTemporary, int s = 1, bool m = false, bool a = false) :
91 explicit TType(const TPublicType &p) :
100 TType(TTypeList* userDef, const TString& n, TPrecision p = EbpUndefined) :
107 void copyType(const TType& copyOf, TStructureMap& remapper)
151 TType* clone(TStructureMap& remapper
    [all...]
OutputHLSL.h 30 TString typeString(const TType &type);
32 static TString arrayString(const TType &type);
33 static TString initializer(const TType &type);
53 int vectorSize(const TType &type) const;
55 void addConstructor(const TType &type, const TString &name, const TIntermSequence *parameters);
56 const ConstantUnion *writeConstantUnion(const TType &type, const ConstantUnion *constUnion);
OutputGLSL.h 23 void writeVariableType(const TType& type);
25 const ConstantUnion* writeConstantUnion(const TType& type, const ConstantUnion* pConstUnion);
localintermediate.h 28 TIntermSymbol* addSymbol(int Id, const TString&, const TType&, TSourceLoc);
29 TIntermTyped* addConversion(TOperator, const TType&, TIntermTyped*);
40 TIntermConstantUnion* addConstantUnion(ConstantUnion*, const TType&, TSourceLoc);
42 bool parseConstTree(TSourceLoc, TIntermNode*, ConstantUnion*, TOperator, TSymbolTable&, TType, bool singleConstantParam = false);
SymbolTable.h 73 TVariable(const TString *name, const TType& t, bool uT = false ) : TSymbol(name), type(t), userType(uT), unionArray(0), arrayInformationType(0) { }
76 TType& getType() { return type; }
77 const TType& getType() const { return type; }
80 void updateArrayInformationType(TType *t) { arrayInformationType = t; }
81 TType* getArrayInformationType() { return arrayInformationType; }
107 TType type;
112 TType *arrayInformationType; // this is used for updating maxArraySize in all the references to a given symbol
121 TType* type;
136 returnType(TType(EbtVoid, EbpUndefined)),
139 TFunction(const TString *name, TType& retType, TOperator tOp = EOpNull) :
    [all...]
VariableInfo.cpp 17 static ShDataType getVariableDataType(const TType& type)
71 static void getBuiltInVariableInfo(const TType& type,
74 static void getUserDefinedVariableInfo(const TType& type,
79 static void getVariableInfo(const TType& type,
97 void getBuiltInVariableInfo(const TType& type,
115 void getUserDefinedVariableInfo(const TType& type,
124 const TType* fieldType = (*structure)[i].type;
intermediate.h 240 TIntermTyped(const TType& t) : type(t) { }
243 void setType(const TType& t) { type = t; }
244 const TType& getType() const { return type; }
245 TType* getTypePointer() { return &type; }
261 TType type;
328 TIntermSymbol(int i, const TString& sym, const TType& t) :
344 TIntermConstantUnion(ConstantUnion *unionPointer, const TType& t) : TIntermTyped(t), unionArrayPointer(unionPointer) { }
370 TIntermOperator(TOperator o) : TIntermTyped(TType(EbtFloat, EbpUndefined)), op(o) {}
371 TIntermOperator(TOperator o, TType& t) : TIntermTyped(t), op(o) {}
401 TIntermUnary(TOperator o, TType& t) : TIntermOperator(o, t), operand(0) {
    [all...]
glslang.y 160 TType type(EbtFloat, EbpUndefined);
178 TType t(variable->getType());
202 $$ = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConst), $1.line);
207 $$ = context->intermediate.addConstantUnion(unionArray, TType(EbtFloat, EbpUndefined, EvqConst), $1.line);
212 $$ = context->intermediate.addConstantUnion(unionArray, TType(EbtBool, EbpUndefined, EvqConst), $1.line);
276 $$ = context->intermediate.addConstantUnion(unionArray, TType(EbtFloat, EbpHigh, EvqConst), $2.line);
279 $$->setType(TType($1->getType().getStruct(), $1->getType().getTypeName()));
281 $$->setType(TType($1->getBasicType(), $1->getPrecision(), EvqTemporary, $1->getNominalSize(), $1->isMatrix()));
286 $$->setType(TType($1->getBasicType(), $1->getPrecision(), EvqConst, $1->getNominalSize()));
288 $$->setType(TType($1->getBasicType(), $1->getPrecision(), EvqTemporary, $1->getNominalSize()))
    [all...]
Intermediate.cpp 19 bool CompareStructure(const TType& leftNodeType, ConstantUnion* rightUnionArray, ConstantUnion* leftUnionArray);
133 TIntermSymbol* TIntermediate::addSymbol(int id, const TString& name, const TType& type, TSourceLoc line)
322 child = addConversion(op, TType(newType, child->getPrecision(), EvqTemporary,
417 TIntermTyped* TIntermediate::addConversion(TOperator op, const TType& type, TIntermTyped* node)
520 TType type(promoteTo, node->getPrecision(), EvqTemporary, node->getNominalSize(), node->isMatrix(), node->isArray());
670 TIntermConstantUnion* TIntermediate::addConstantUnion(ConstantUnion* unionArrayPointer, const TType& t, TSourceLoc line)
691 constIntNode = addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConst), line);
902 setType(TType(EbtBool, EbpUndefined));
913 setType(TType(EbtBool, EbpUndefined));
947 setType(TType(basicType, higherPrecision, EvqTemporary, size, true))
    [all...]
ParseHelper.cpp 480 bool TParseContext::constructorErrorCheck(int line, TIntermNode* node, TFunction& function, TOperator op, TType* type)
654 bool TParseContext::parameterSamplerErrorCheck(int line, TQualifier qualifier, const TType& type)
665 bool TParseContext::containsSampler(TType& type)
713 error(line, "cannot declare arrays of this qualifier", TType(type).getCompleteString().c_str(), "");
731 error(line, "cannot declare arrays of arrays", TType(type).getCompleteString().c_str(), "");
760 variable = new TVariable(&identifier, TType(type));
786 if (! variable->getType().sameElementType(TType(type))) {
791 TType* t = variable->getArrayInformationType();
811 bool TParseContext::arraySetMaxSize(TIntermSymbol *node, TType* type, int size, bool updateFlag, TSourceLoc line)
848 TType* tt = type
    [all...]
OutputHLSL.cpp 90 int OutputHLSL::vectorSize(const TType &type) const
129 const TType &type = variable->getType();
279 const TType &type = variable->getType();
807 const TType *fieldType = (*fields)[i].type;
    [all...]
Initialize.cpp 521 symbolTable.insert(*new TVariable(NewPoolTString("gl_FragCoord"), TType(EbtFloat, EbpMedium, EvqFragCoord, 4)));
522 symbolTable.insert(*new TVariable(NewPoolTString("gl_FrontFacing"), TType(EbtBool, EbpUndefined, EvqFrontFacing, 1)));
523 symbolTable.insert(*new TVariable(NewPoolTString("gl_FragColor"), TType(EbtFloat, EbpMedium, EvqFragColor, 4)));
524 symbolTable.insert(*new TVariable(NewPoolTString("gl_FragData[gl_MaxDrawBuffers]"), TType(EbtFloat, EbpMedium, EvqFragData, 4)));
525 symbolTable.insert(*new TVariable(NewPoolTString("gl_PointCoord"), TType(EbtFloat, EbpMedium, EvqPointCoord, 2)));
529 symbolTable.insert(*new TVariable(NewPoolTString("gl_Position"), TType(EbtFloat, EbpHigh, EvqPosition, 4)));
530 symbolTable.insert(*new TVariable(NewPoolTString("gl_PointSize"), TType(EbtFloat, EbpMedium, EvqPointSize, 1)));
617 TType fragData(EbtFloat, EbpMedium, EvqFragColor, 4, false, true);
OutputGLSL.cpp 12 TString getTypeName(const TType& type)
41 TString arrayBrackets(const TType& type)
93 void TOutputGLSL::writeVariableType(const TType& type)
110 const TType* fieldType = (*structure)[i].type;
135 const TType& type = arg->getType();
155 const ConstantUnion* TOutputGLSL::writeConstantUnion(const TType& type,
167 const TType* fieldType = (*structure)[i].type;
564 const TType& type = node->getType();
parseConst.cpp 15 TConstTraverser(ConstantUnion* cUnion, bool singleConstParam, TOperator constructType, TInfoSink& sink, TSymbolTable& symTable, TType& t)
43 TType type;
226 bool TIntermediate::parseConstTree(TSourceLoc line, TIntermNode* root, ConstantUnion* unionArray, TOperator constructorType, TSymbolTable& symbolTable, TType t, bool singleConstantParam)
SymbolTable.cpp 17 // TType helper function needs a place to live.
23 void TType::buildMangledName(TString& mangledName)
60 int TType::getStructSize() const
intermOut.cpp 38 TString TType::getCompleteString() const
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
ANTLRMap.h 76 - (ANTLRMapElement *)getName:(NSInteger)ttype;
79 - (void)putName:(NSString *)name TType:(NSInteger)ttype;
ANTLRParser.h 50 TType:(NSInteger)expectedTokenType
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
ANTLRMap.h 76 - (ANTLRMapElement *)getName:(NSInteger)ttype;
79 - (void)putName:(NSString *)name TType:(NSInteger)ttype;
ANTLRParser.h 50 TType:(NSInteger)expectedTokenType
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
ANTLRMap.h 76 - (ANTLRMapElement *)getName:(NSInteger)ttype;
79 - (void)putName:(NSString *)name TType:(NSInteger)ttype;
ANTLRParser.h 50 TType:(NSInteger)expectedTokenType
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/
ANTLRMap.h 76 - (ANTLRMapElement *)getName:(NSInteger)ttype;
79 - (void)putName:(NSString *)name TType:(NSInteger)ttype;
ANTLRParser.h 50 TType:(NSInteger)expectedTokenType

Completed in 422 milliseconds

1 2