/external/swiftshader/src/OpenGL/compiler/ |
D | localintermediate.h | 35 …TIntermTyped* addBinaryMath(TOperator op, TIntermTyped* left, TIntermTyped* right, const TSourceLo… 36 TIntermTyped* addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, const TSourceLoc&); 37 TIntermTyped* addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, const TSourceLoc&); 38 TIntermTyped* addUnaryMath(TOperator op, TIntermTyped* child, const TSourceLoc&, const TType*); 42 TIntermNode* addSelection(TIntermTyped* cond, TIntermNodePair code, const TSourceLoc&); 43 …TIntermTyped* addSelection(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped* falseBlock, … 44 …TIntermSwitch *addSwitch(TIntermTyped *init, TIntermAggregate *statementList, const TSourceLoc &li… 45 TIntermCase *addCase(TIntermTyped *condition, const TSourceLoc &line); 46 TIntermTyped* addComma(TIntermTyped* left, TIntermTyped* right, const TSourceLoc&); 48 TIntermTyped* promoteConstantUnion(TBasicType, TIntermConstantUnion*); [all …]
|
D | ParseHelper.h | 123 bool lValueErrorCheck(const TSourceLoc &line, const char* op, TIntermTyped*); 124 bool constErrorCheck(TIntermTyped* node); 125 bool integerErrorCheck(TIntermTyped* node, const char* token); 128 bool arraySizeErrorCheck(const TSourceLoc &line, TIntermTyped* expr, int& size); 132 bool boolErrorCheck(const TSourceLoc&, const TIntermTyped*); 158 TIntermTyped *initializer, TIntermNode **intermNode); 165 … const TSourceLoc &indexLocation, TIntermTyped *indexExpression); 167 … const TSourceLoc &initLocation, TIntermTyped *initializer); 172 … const TSourceLoc &indexLocation, TIntermTyped *indexExpression, 173 … const TSourceLoc &initLocation, TIntermTyped *initializer); [all …]
|
D | OutputASM.h | 203 …Function(int label, const char *name, TIntermSequence *arg, TIntermTyped *ret) : label(label), nam… in Function() 207 …Function(int label, const TString &name, TIntermSequence *arg, TIntermTyped *ret) : label(label), … in Function() 214 TIntermTyped *ret; 268 sw::Shader::Opcode getOpcode(sw::Shader::Opcode op, TIntermTyped *in) const; 269 …Instruction *emit(sw::Shader::Opcode op, TIntermTyped *dst = 0, TIntermNode *src0 = 0, TIntermNode… 270 …Instruction *emit(sw::Shader::Opcode op, TIntermTyped *dst, int dstIndex, TIntermNode *src0 = 0, i… 272 Instruction *emitCast(TIntermTyped *dst, TIntermTyped *src); 273 Instruction *emitCast(TIntermTyped *dst, int dstIndex, TIntermTyped *src, int srcIndex); 274 …void emitBinary(sw::Shader::Opcode op, TIntermTyped *dst = 0, TIntermNode *src0 = 0, TIntermNode *… 275 …void emitAssign(sw::Shader::Opcode op, TIntermTyped *result, TIntermTyped *lhs, TIntermTyped *src0… [all …]
|
D | intermediate.h | 250 class TIntermTyped; variable 277 virtual TIntermTyped* getAsTyped() { return 0; } in getAsTyped() 305 class TIntermTyped : public TIntermNode { 307 TIntermTyped(const TType& t) : type(t) { } in TIntermTyped() function 308 virtual TIntermTyped* getAsTyped() { return this; } in getAsTyped() 338 static TIntermTyped *CreateIndexNode(int index); 355 TIntermNode *aInit, TIntermTyped* aCond, TIntermTyped* aExpr, in TIntermLoop() 369 TIntermTyped* getCondition() { return cond; } in getCondition() 370 TIntermTyped* getExpression() { return expr; } in getExpression() 379 TIntermTyped* cond; // loop exit condition [all …]
|
D | ParseHelper.cpp | 303 bool TParseContext::lValueErrorCheck(const TSourceLoc &line, const char* op, TIntermTyped* node) in lValueErrorCheck() 321 TIntermTyped* rightNode = binaryNode->getRight(); in lValueErrorCheck() 422 bool TParseContext::constErrorCheck(TIntermTyped* node) in constErrorCheck() 438 bool TParseContext::integerErrorCheck(TIntermTyped* node, const char* token) in integerErrorCheck() 582 TIntermTyped *typed = node ? node->getAsTyped() : 0; in constructorErrorCheck() 617 bool TParseContext::boolErrorCheck(const TSourceLoc &line, const TIntermTyped* type) in boolErrorCheck() 806 bool TParseContext::arraySizeErrorCheck(const TSourceLoc &line, TIntermTyped* expr, int& size) in arraySizeErrorCheck() 1090 TIntermTyped *node = (aggregate->getSequence())[i]->getAsTyped(); in functionCallLValueErrorCheck() 1236 TIntermTyped *initializer, TIntermNode **intermNode) in executeInitializer() 1480 TIntermTyped *indexExpression) in parseSingleArrayDeclaration() [all …]
|
D | OutputASM.cpp | 555 sw::Shader::Opcode OutputASM::getOpcode(sw::Shader::Opcode op, TIntermTyped *in) const in getOpcode() 703 TIntermTyped *result = node; in visitBinary() 704 TIntermTyped *left = node->getLeft(); in visitBinary() 705 TIntermTyped *right = node->getRight(); in visitBinary() 996 …void OutputASM::emitDeterminant(TIntermTyped *result, TIntermTyped *arg, int size, int col, int ro… in emitDeterminant() 1058 TIntermTyped *result = node; in visitUnary() 1059 TIntermTyped *arg = node->getOperand(); in visitUnary() 1266 TIntermTyped *result = node; in visitAggregate() 1344 TIntermTyped *in = arguments[i]->getAsTyped(); in visitAggregate() 1365 TIntermTyped *argument = arguments[i]->getAsTyped(); in visitAggregate() [all …]
|
D | Intermediate.cpp | 330 TIntermTyped* TIntermediate::addBinaryMath(TOperator op, TIntermTyped* left, TIntermTyped* right, c… in addBinaryMath() 416 …TIntermTyped *typedReturnNode = leftTempConstant->fold(node->getOp(), rightTempConstant, infoSink); in addBinaryMath() 430 TIntermTyped* TIntermediate::addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, const… in addAssign() 458 TIntermTyped* TIntermediate::addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, const … in addIndex() 475 TIntermTyped* TIntermediate::addUnaryMath(TOperator op, TIntermTyped* child, const TSourceLoc &line… in addUnaryMath() 520 TIntermTyped* newChild = childTempConstant->fold(op, 0, infoSink); in addUnaryMath() 620 TIntermNode* TIntermediate::addSelection(TIntermTyped* cond, TIntermNodePair nodePair, const TSourc… in addSelection() 641 TIntermTyped* TIntermediate::addComma(TIntermTyped* left, TIntermTyped* right, const TSourceLoc &li… in addComma() 646 TIntermTyped *commaAggregate = growAggregate(left, right, line); in addComma() 661 TIntermTyped* TIntermediate::addSelection(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped… in addSelection() [all …]
|
D | AnalyzeCallDepth.cpp | 123 TIntermTyped* switchValue = node->getInit(); in visitSwitch() 144 TIntermTyped* condition = currentCase->getCondition(); in visitSwitch()
|
D | glslang_tab.h | 205 TIntermTyped* intermTypedNode;
|
D | ValidateLimitations.cpp | 486 TIntermTyped* index = node->getRight(); in validateIndexing() 496 TIntermTyped* operand = node->getLeft(); in validateIndexing()
|
/external/deqp-deps/glslang/hlsl/ |
D | hlslParseHelper.h | 73 TIntermTyped* handleVariable(const TSourceLoc&, const TString* string); 74 …TIntermTyped* handleBracketDereference(const TSourceLoc&, TIntermTyped* base, TIntermTyped* index); 75 TIntermTyped* handleBracketOperator(const TSourceLoc&, TIntermTyped* base, TIntermTyped* index); 77 …TIntermTyped* handleBinaryMath(const TSourceLoc&, const char* str, TOperator op, TIntermTyped* lef… 78 …TIntermTyped* handleUnaryMath(const TSourceLoc&, const char* str, TOperator op, TIntermTyped* chil… 79 TIntermTyped* handleDotDereference(const TSourceLoc&, TIntermTyped* base, const TString& field); 80 bool isBuiltInMethod(const TSourceLoc&, TIntermTyped* base, const TString& field); 90 TIntermNode* handleReturnValue(const TSourceLoc&, TIntermTyped*); 91 void handleFunctionArgument(TFunction*, TIntermTyped*& arguments, TIntermTyped* newArg); 92 … TIntermTyped* handleAssign(const TSourceLoc&, TOperator, TIntermTyped* left, TIntermTyped* right); [all …]
|
D | hlslGrammar.h | 102 bool acceptParenExpression(TIntermTyped*&); 103 bool acceptExpression(TIntermTyped*&); 104 bool acceptInitializer(TIntermTyped*&); 105 bool acceptAssignmentExpression(TIntermTyped*&); 106 bool acceptConditionalExpression(TIntermTyped*&); 107 bool acceptBinaryExpression(TIntermTyped*&, PrecedenceLevel); 108 bool acceptUnaryExpression(TIntermTyped*&); 109 bool acceptPostfixExpression(TIntermTyped*&); 110 bool acceptConstructor(TIntermTyped*&); 111 …bool acceptFunctionCall(const TSourceLoc&, TString& name, TIntermTyped*&, TIntermTyped* objectBase… [all …]
|
D | hlslParseHelper.cpp | 220 bool HlslParseContext::lValueErrorCheck(const TSourceLoc& loc, const char* op, TIntermTyped* node) in lValueErrorCheck() 226 TIntermTyped* object = lhsAsAggregate->getSequence()[0]->getAsTyped(); in lValueErrorCheck() 253 TIntermTyped* HlslParseContext::handleLvalue(const TSourceLoc& loc, const char* op, TIntermTyped*& … in handleLvalue() 262 TIntermTyped* lhs = nodeAsUnary ? nodeAsUnary->getOperand() : in handleLvalue() 277 …const auto makeLoad = [&](TIntermSymbol* rhsTmp, TIntermTyped* object, TIntermTyped* coord, const … in handleLvalue() 290 const auto makeStore = [&](TIntermTyped* object, TIntermTyped* coord, TIntermSymbol* rhsTmp) { in handleLvalue() 302 const auto makeBinary = [&](TOperator op, TIntermTyped* lhs, TIntermTyped* rhs) { in handleLvalue() 356 const auto addSwizzle = [&](TIntermSymbol* var, TIntermBinary* swizzle) -> TIntermTyped* { in handleLvalue() 373 TIntermTyped* object = lhsAsAggregate->getSequence()[0]->getAsTyped(); in handleLvalue() 374 TIntermTyped* coord = lhsAsAggregate->getSequence()[1]->getAsTyped(); in handleLvalue() [all …]
|
D | hlslGrammar.cpp | 219 TIntermTyped* lod = nullptr; in acceptSamplerState() 228 TIntermTyped* maxAnisotropy = nullptr; in acceptSamplerState() 244 TIntermTyped* lodBias = nullptr; in acceptSamplerState() 462 TIntermTyped* expressionNode = nullptr; in acceptDeclaration() 564 TIntermTyped* expressionNode = nullptr; in acceptControlDeclaration() 780 TIntermTyped* expr; in acceptLayoutQualifierList() 872 TIntermTyped* vecSize; in acceptVectorTemplateType() 924 TIntermTyped* rows; in acceptMatrixTemplateType() 940 TIntermTyped* cols; in acceptMatrixTemplateType() 1025 TIntermTyped* size; in acceptTessellationPatchTemplateType() [all …]
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | ParseHelper.h | 164 virtual bool lValueErrorCheck(const TSourceLoc&, const char* op, TIntermTyped*); 165 virtual void rValueErrorCheck(const TSourceLoc&, const char* op, TIntermTyped*); 293 TIntermTyped* handleVariable(const TSourceLoc&, TSymbol* symbol, const TString* string); 294 …TIntermTyped* handleBracketDereference(const TSourceLoc&, TIntermTyped* base, TIntermTyped* index); 295 void handleIndexLimits(const TSourceLoc&, TIntermTyped* base, TIntermTyped* index); 301 void handleIoResizeArrayAccess(const TSourceLoc&, TIntermTyped* base); 306 …TIntermTyped* handleBinaryMath(const TSourceLoc&, const char* str, TOperator op, TIntermTyped* lef… 307 …TIntermTyped* handleUnaryMath(const TSourceLoc&, const char* str, TOperator op, TIntermTyped* chil… 308 TIntermTyped* handleDotDereference(const TSourceLoc&, TIntermTyped* base, const TString& field); 309 … void blockMemberExtensionCheck(const TSourceLoc&, const TIntermTyped* base, const TString& field); [all …]
|
D | localintermediate.h | 453 TIntermTyped* addConversion(TOperator, const TType&, TIntermTyped*) const; 454 …std::tuple<TIntermTyped*, TIntermTyped*> addConversion(TOperator op, TIntermTyped* node0, TIntermT… 455 TIntermTyped* addUniShapeConversion(TOperator, const TType&, TIntermTyped*); 456 void addBiShapeConversion(TOperator, TIntermTyped*& lhsNode, TIntermTyped*& rhsNode); 457 TIntermTyped* addShapeConversion(const TType&, TIntermTyped*); 458 TIntermTyped* addBinaryMath(TOperator, TIntermTyped* left, TIntermTyped* right, TSourceLoc); 459 TIntermTyped* addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, TSourceLoc); 460 TIntermTyped* addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, TSourceLoc); 461 TIntermTyped* addUnaryMath(TOperator, TIntermTyped* child, TSourceLoc); 462 …TIntermTyped* addBuiltInFunctionCall(const TSourceLoc& line, TOperator, bool unary, TIntermNode*, … [all …]
|
D | Intermediate.cpp | 69 TIntermTyped* constSubtree, const TSourceLoc& loc) in addSymbol() 116 TIntermTyped* TIntermediate::addBinaryMath(TOperator op, TIntermTyped* left, TIntermTyped* right, T… in addBinaryMath() 152 TIntermTyped* folded = leftTempConstant->fold(node->getOp(), rightTempConstant); in addBinaryMath() 173 TIntermBinary* TIntermediate::addBinaryNode(TOperator op, TIntermTyped* left, TIntermTyped* right, … in addBinaryNode() 189 TIntermBinary* TIntermediate::addBinaryNode(TOperator op, TIntermTyped* left, TIntermTyped* right, … in addBinaryNode() 199 TIntermUnary* TIntermediate::addUnaryNode(TOperator op, TIntermTyped* child, TSourceLoc loc) const in addUnaryNode() 213 TIntermUnary* TIntermediate::addUnaryNode(TOperator op, TIntermTyped* child, TSourceLoc loc, const … in addUnaryNode() 228 TIntermTyped* TIntermediate::addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, TSour… in addAssign() 265 TIntermTyped* TIntermediate::addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, TSourc… in addIndex() 276 TIntermTyped* TIntermediate::addUnaryMath(TOperator op, TIntermTyped* child, TSourceLoc loc) in addUnaryMath() [all …]
|
D | ParseHelper.cpp | 287 TIntermTyped* TParseContext::handleVariable(const TSourceLoc& loc, TSymbol* symbol, const TString* … in handleVariable() 289 TIntermTyped* node = nullptr; in handleVariable() 320 TIntermTyped* container = intermediate.addSymbol(*variable, loc); in handleVariable() 321 TIntermTyped* constNode = intermediate.addConstantUnion(anon->getMemberNumber(), loc); in handleVariable() 368 TIntermTyped* TParseContext::handleBracketDereference(const TSourceLoc& loc, TIntermTyped* base, TI… in handleBracketDereference() 404 TIntermTyped* result = nullptr; in handleBracketDereference() 486 void TParseContext::handleIndexLimits(const TSourceLoc& /*loc*/, TIntermTyped* base, TIntermTyped* … in handleIndexLimits() 569 void TParseContext::handleIoResizeArrayAccess(const TSourceLoc& /*loc*/, TIntermTyped* base) in handleIoResizeArrayAccess() 671 TIntermTyped* TParseContext::handleBinaryMath(const TSourceLoc& loc, const char* str, TOperator op,… in handleBinaryMath() 697 TIntermTyped* result = nullptr; in handleBinaryMath() [all …]
|
D | propagateNoContraction.cpp | 71 typedef std::unordered_map<glslang::TIntermTyped*, ObjectAccessChain> AccessChainMapping; 80 bool isPreciseObjectNode(glslang::TIntermTyped* node) in isPreciseObjectNode() 132 unsigned getStructIndexFromConstantUnion(glslang::TIntermTyped* node) in getStructIndexFromConstantUnion() 628 propagateNoContractionInOneExpression(glslang::TIntermTyped* defining_node, in propagateNoContractionInOneExpression() 676 glslang::TIntermTyped* potential_precise_node = in visitAggregate()
|
D | Constant.cpp | 101 TIntermTyped* TIntermConstantUnion::fold(TOperator op, const TIntermTyped* rightConstantNode) const in fold() 398 TIntermTyped* TIntermConstantUnion::fold(TOperator op, const TType& returnType) const in fold() 984 TIntermTyped* TIntermediate::fold(TIntermAggregate* aggrNode) in fold() 1326 TIntermTyped* TIntermediate::foldConstructor(TIntermAggregate* aggrNode) in foldConstructor() 1347 TIntermTyped* TIntermediate::foldDereference(TIntermTyped* node, int index, const TSourceLoc& loc) in foldDereference() 1351 TIntermTyped* result = 0; in foldDereference() 1381 TIntermTyped* TIntermediate::foldSwizzle(TIntermTyped* node, TSwizzleSelectors<TVectorSelector>& se… in foldSwizzle() 1389 TIntermTyped* result = addConstantUnion(constArray, node->getType(), loc); in foldSwizzle()
|
D | SymbolTable.h | 170 virtual void setConstSubtree(TIntermTyped* subtree) { constSubtree = subtree; } in setConstSubtree() 171 virtual TIntermTyped* getConstSubtree() const { return constSubtree; } in getConstSubtree() 190 TIntermTyped* constSubtree; // for specialization constant computation 201 TIntermTyped* defaultValue;
|
D | ParseContextBase.cpp | 122 bool TParseContextBase::lValueErrorCheck(const TSourceLoc& loc, const char* op, TIntermTyped* node) in lValueErrorCheck() 211 void TParseContextBase::rValueErrorCheck(const TSourceLoc& loc, const char* op, TIntermTyped* node) in rValueErrorCheck()
|
D | glslang_tab.cpp.h | 480 glslang::TIntermTyped* intermTypedNode;
|
/external/deqp-deps/glslang/glslang/Include/ |
D | intermediate.h | 1003 class TIntermTyped; variable 1023 virtual glslang::TIntermTyped* getAsTyped() { return 0; } in getAsTyped() 1036 virtual const glslang::TIntermTyped* getAsTyped() const { return 0; } in getAsTyped() 1069 class TIntermTyped : public TIntermNode { 1071 TIntermTyped(const TType& t) { type.shallowCopy(t); } in TIntermTyped() function 1072 TIntermTyped(TBasicType basicType) { TType bt(basicType); type.shallowCopy(bt); } in TIntermTyped() function 1073 virtual TIntermTyped* getAsTyped() { return this; } in getAsTyped() 1074 virtual const TIntermTyped* getAsTyped() const { return this; } in getAsTyped() 1096 TIntermTyped& operator=(const TIntermTyped&); 1105 TIntermLoop(TIntermNode* aBody, TIntermTyped* aTest, TIntermTyped* aTerminal, bool testFirst) : in TIntermLoop() [all …]
|
D | arrays.h | 51 class TIntermTyped; variable 52 extern bool SameSpecializationConstants(TIntermTyped*, TIntermTyped*); 59 TIntermTyped* node; // nullptr means no specialization constant node 114 TIntermTyped* frontNode() const in frontNode() 128 void push_back(unsigned int e, TIntermTyped* n) in push_back() 176 TIntermTyped* getDimNode(int i) const in getDimNode() 240 TIntermTyped* getDimNode(int dim) const { return sizes.getDimNode(dim); } in getDimNode() 243 TIntermTyped* getOuterNode() const { return sizes.frontNode(); } in getOuterNode() 256 void addInnerSize(int s, TIntermTyped* n) { sizes.push_back((unsigned)s, n); } in addInnerSize()
|