Home | History | Annotate | Download | only in compiler

Lines Matching refs:TSourceLoc

79 	void error(const TSourceLoc &loc, const char *reason, const char* token,
81 void warning(const TSourceLoc &loc, const char* reason, const char* token,
83 void info(const TSourceLoc &loc, const char* reason, const char* token,
114 const TVariable *getNamedVariable(const TSourceLoc &location, const TString *name, const TSymbol *symbol);
116 bool parseVectorFields(const TString&, int vecSize, TVectorFields&, const TSourceLoc &line);
118 bool reservedErrorCheck(const TSourceLoc &line, const TString& identifier);
119 void assignError(const TSourceLoc &line, const char* op, TString left, TString right);
120 void unaryOpError(const TSourceLoc &line, const char* op, TString operand);
121 void binaryOpError(const TSourceLoc &line, const char* op, TString left, TString right);
122 bool precisionErrorCheck(const TSourceLoc &line, TPrecision precision, TBasicType type);
123 bool lValueErrorCheck(const TSourceLoc &line, const char* op, TIntermTyped*);
126 bool globalErrorCheck(const TSourceLoc &line, bool global, const char* token);
127 bool constructorErrorCheck(const TSourceLoc &line, TIntermNode*, TFunction&, TOperator, TType*);
128 bool arraySizeErrorCheck(const TSourceLoc &line, TIntermTyped* expr, int& size);
129 bool arrayQualifierErrorCheck(const TSourceLoc &line, TPublicType type);
130 bool arrayTypeErrorCheck(const TSourceLoc &line, TPublicType type);
131 bool voidErrorCheck(const TSourceLoc&, const TString&, const TBasicType&);
132 bool boolErrorCheck(const TSourceLoc&, const TIntermTyped*);
133 bool boolErrorCheck(const TSourceLoc&, const TPublicType&);
134 bool samplerErrorCheck(const TSourceLoc &line, const TPublicType& pType, const char* reason);
135 bool locationDeclaratorListCheck(const TSourceLoc &line, const TPublicType &pType);
136 bool structQualifierErrorCheck(const TSourceLoc &line, const TPublicType& pType);
137 bool parameterSamplerErrorCheck(const TSourceLoc &line, TQualifier qualifier, const TType& type);
138 bool nonInitConstErrorCheck(const TSourceLoc &line, TString& identifier, TPublicType& type, bool array);
139 bool nonInitErrorCheck(const TSourceLoc &line, const TString& identifier, TPublicType& type);
140 bool paramErrorCheck(const TSourceLoc &line, TQualifier qualifier, TQualifier paramQualifier, TType* type);
141 bool extensionErrorCheck(const TSourceLoc &line, const TString&);
142 bool singleDeclarationErrorCheck(const TPublicType &publicType, const TSourceLoc &identifierLocation);
143 bool layoutLocationErrorCheck(const TSourceLoc& location, const TLayoutQualifier &layoutQualifier);
145 void es3InvariantErrorCheck(const TQualifier qualifier, const TSourceLoc &invariantLocation);
146 void checkInputOutputTypeIsValidES3(const TQualifier qualifier, const TPublicType &type, const TSourceLoc &qualifierLocation);
150 void handleExtensionDirective(const TSourceLoc &line, const char* extName, const char* behavior);
153 void handlePragmaDirective(const TSourceLoc &line, const char* name, const char* value, bool stdgl);
156 const TFunction* findFunction(const TSourceLoc &line, TFunction* pfnCall, bool *builtIn = 0);
157 bool executeInitializer(const TSourceLoc &line, const TString &identifier, const TPublicType &pType,
161 bool arraySetMaxSize(TIntermSymbol*, TType*, int, bool, const TSourceLoc&);
163 TIntermAggregate *parseSingleDeclaration(TPublicType &publicType, const TSourceLoc &identifierOrTypeLocation, const TString &identifier);
164 TIntermAggregate *parseSingleArrayDeclaration(TPublicType &publicType, const TSourceLoc &identifierLocation, const TString &identifier,
165 const TSourceLoc &indexLocation, TIntermTyped *indexExpression);
166 TIntermAggregate *parseSingleInitDeclaration(const TPublicType &publicType, const TSourceLoc &identifierLocation, const TString &identifier,
167 const TSourceLoc &initLocation, TIntermTyped *initializer);
171 TIntermAggregate *parseSingleArrayInitDeclaration(TPublicType &publicType, const TSourceLoc &identifierLocation, const TString &identifier,
172 const TSourceLoc &indexLocation, TIntermTyped *indexExpression,
173 const TSourceLoc &initLocation, TIntermTyped *initializer);
175 TIntermAggregate *parseInvariantDeclaration(const TSourceLoc &invariantLoc, const TSourceLoc &identifierLoc, const TString *identifier,
178 TIntermAggregate *parseDeclarator(TPublicType &publicType, TIntermAggregate *aggregateDeclaration, const TSourceLoc &identifierLocation,
180 TIntermAggregate *parseArrayDeclarator(TPublicType &publicType, TIntermAggregate *aggregateDeclaration, const TSourceLoc &identifierLocation,
181 const TString &identifier, const TSourceLoc &arrayLocation, TIntermTyped *indexExpression);
182 TIntermAggregate *parseInitDeclarator(const TPublicType &publicType, TIntermAggregate *aggregateDeclaration, const TSourceLoc &identifierLocation,
183 const TString &identifier, const TSourceLoc &initLocation, TIntermTyped *initializer);
186 TIntermAggregate *parseArrayInitDeclarator(const TPublicType &publicType, TIntermAggregate *aggregateDeclaration, const TSourceLoc &identifierLocation,
187 const TString &identifier, const TSourceLoc &indexLocation, TIntermTyped *indexExpression,
188 const TSourceLoc &initLocation, TIntermTyped *initializer);
191 TIntermAggregate *addFunctionPrototypeDeclaration(const TFunction &function, const TSourceLoc &location);
192 TIntermAggregate *addFunctionDefinition(const TFunction &function, TIntermAggregate *functionPrototype, TIntermAggregate *functionBody, const TSourceLoc &location);
193 void parseFunctionPrototype(const TSourceLoc &location, TFunction *function, TIntermAggregate **aggregateOut);
194 TFunction *parseFunctionDeclarator(const TSourceLoc &location, TFunction *function);
196 TIntermTyped* addConstructor(TIntermNode*, const TType*, TOperator, TFunction*, const TSourceLoc&);
198 TIntermTyped* addConstVectorNode(TVectorFields&, TIntermTyped*, const TSourceLoc&);
199 TIntermTyped* addConstMatrixNode(int, TIntermTyped*, const TSourceLoc&);
200 TIntermTyped* addConstArrayNode(int index, TIntermTyped* node, const TSourceLoc &line);
201 TIntermTyped* addConstStruct(const TString&, TIntermTyped*, const TSourceLoc&);
202 TIntermTyped *addIndexExpression(TIntermTyped *baseExpression, const TSourceLoc& location, TIntermTyped *indexExpression);
203 TIntermTyped* addFieldSelectionExpression(TIntermTyped *baseExpression, const TSourceLoc &dotLocation, const TString &fieldString, const TSourceLoc &fieldLocation);
206 TPublicType addStructure(const TSourceLoc &structLine, const TSourceLoc &nameLine, const TString *structName, TFieldList *fieldList);
208 TIntermAggregate* addInterfaceBlock(const TPublicType& typeQualifier, const TSourceLoc& nameLine, const TString& blockName, TFieldList* fieldList,
209 const TString* instanceName, const TSourceLoc& instanceLine, TIntermTyped* arrayIndex, const TSourceLoc& arrayIndexLine);
211 TLayoutQualifier parseLayoutQualifier(const TString &qualifierType, const TSourceLoc& qualifierTypeLine);
212 TLayoutQualifier parseLayoutQualifier(const TString &qualifierType, const TSourceLoc& qualifierTypeLine, const TString &intValueString, int intValue, const TSourceLoc& intValueLine);
214 TPublicType joinInterpolationQualifiers(const TSourceLoc &interpolationLoc, TQualifier interpolationQualifier, const TSourceLoc &storageLoc, TQualifier storageQualifier);
219 bool enterStructDeclaration(const TSourceLoc &line, const TString& identifier);
222 bool structNestingErrorCheck(const TSourceLoc &line, const TField &field);
224 TIntermSwitch *addSwitch(TIntermTyped *init, TIntermAggregate *statementList, const TSourceLoc &loc);
225 TIntermCase *addCase(TIntermTyped *condition, const TSourceLoc &loc);
226 TIntermCase *addDefault(const TSourceLoc &loc);
228 TIntermTyped *addUnaryMath(TOperator op, TIntermTyped *child, const TSourceLoc &loc);
229 TIntermTyped *addUnaryMathLValue(TOperator op, TIntermTyped *child, const TSourceLoc &loc);
230 TIntermTyped *addBinaryMath(TOperator op, TIntermTyped *left, TIntermTyped *right, const TSourceLoc &loc);
231 TIntermTyped *addBinaryMathBooleanResult(TOperator op, TIntermTyped *left, TIntermTyped *right, const TSourceLoc &loc);
233 TIntermTyped *addAssign(TOperator op, TIntermTyped *left, TIntermTyped *right, const TSourceLoc &loc);
235 TIntermBranch *addBranch(TOperator op, const TSourceLoc &loc);
236 TIntermBranch *addBranch(TOperator op, TIntermTyped *returnValue, const TSourceLoc &loc);
238 TIntermTyped *addFunctionCallOrMethod(TFunction *fnCall, TIntermNode *paramNode, TIntermNode *thisNode, const TSourceLoc &loc, bool *fatalError);
240 TIntermTyped *addTernarySelection(TIntermTyped *cond, TIntermTyped *trueBlock, TIntermTyped *falseBlock, const TSourceLoc &line);
243 bool declareVariable(const TSourceLoc &line, const TString &identifier, const TType &type, TVariable **variable);
245 TIntermTyped *addBinaryMathInternal(TOperator op, TIntermTyped *left, TIntermTyped *right, const TSourceLoc &loc);
246 TIntermTyped *createAssign(TOperator op, TIntermTyped *left, TIntermTyped *right, const TSourceLoc &loc);
250 TIntermTyped *createUnaryMath(TOperator op, TIntermTyped *child, const TSourceLoc &loc, const TType *funcReturnType);
253 bool binaryOpCommonCheck(TOperator op, TIntermTyped *left, TIntermTyped *right, const TSourceLoc &loc);