/external/angle/src/compiler/translator/TranslatorMetalDirect/ |
D | NameEmbeddedUniformStructsMetal.cpp | 29 bool visitDeclaration(Visit visit, TIntermDeclaration *decl) override in visitDeclaration() 65 void doReplacement(TIntermDeclaration *decl, in doReplacement() 78 TIntermDeclaration *structDeclaration = new TIntermDeclaration; in doReplacement() 88 TIntermDeclaration *namedDecl = new TIntermDeclaration; in doReplacement()
|
D | ReduceInterfaceBlocks.cpp | 34 PreResult visitDeclarationPre(TIntermDeclaration &declNode) override in visitDeclarationPre() 60 new TIntermDeclaration{new TIntermSymbol(&structVar)}, in visitDeclarationPre() 61 new TIntermDeclaration{new TIntermSymbol(&instanceVar)}}; in visitDeclarationPre() 79 new TIntermDeclaration{new TIntermSymbol(&structVar)}, in visitDeclarationPre() 80 new TIntermDeclaration{new TIntermSymbol(&instanceVar)}}; in visitDeclarationPre()
|
D | SeparateCompoundExpressions.cpp | 129 std::vector<std::unordered_map<const TVariable *, TIntermDeclaration *>> mBindingMapStack; 131 std::unordered_set<TIntermDeclaration *> mMaskedDecls; 152 std::unordered_map<const TVariable *, TIntermDeclaration *> &getCurrBindingMap() in getCurrBindingMap() 201 TIntermDeclaration *decl = iter->second; in pullMappedExpr() 239 auto *decl = new TIntermDeclaration(var, &newExpr); in pushBinding() 265 if (TIntermDeclaration *decl = stmt->getAsDeclarationNode()) in pushStmtsIntoBlock() 318 PreResult visitDeclarationPre(TIntermDeclaration &node) override in visitDeclarationPre() 329 PostResult visitDeclarationPost(TIntermDeclaration &node) override in visitDeclarationPost() 342 auto &newNode = *new TIntermDeclaration(); in visitDeclarationPost() 414 pushStmt(*new TIntermDeclaration(var, newLeft)); in visitBinaryPost() [all …]
|
D | RewriteGlobalQualifierDecls.cpp | 22 PreResult visitDeclarationPre(TIntermDeclaration &declNode) override in visitDeclarationPre() 77 return *new TIntermDeclaration{&symbolNode}; in visitGlobalQualifierDeclarationPre() 82 PreResult visitDeclarationPre(TIntermDeclaration &node) override in visitDeclarationPre()
|
D | RewriteCaseDeclarations.cpp | 44 block.appendStatement(new TIntermDeclaration{var}); in visitSwitchPost() 52 PreResult visitDeclarationPre(TIntermDeclaration &node) override in visitDeclarationPre()
|
D | HoistConstants.cpp | 32 PreResult visitDeclarationPre(TIntermDeclaration &declNode) override in visitDeclarationPre() 70 TIntermDeclaration *declNode = opaqueDeclNode->getAsDeclarationNode(); in rewrite()
|
/external/angle/src/compiler/translator/tree_ops/vulkan/ |
D | SeparateStructFromUniformDeclarations.cpp | 28 bool visitDeclaration(Visit visit, TIntermDeclaration *decl) override in visitDeclaration() 61 void doReplacement(TIntermDeclaration *decl, TIntermTyped *declarator, const TType &oldType) in doReplacement() 76 TIntermDeclaration *structDeclaration = new TIntermDeclaration; in doReplacement() 86 TIntermDeclaration *namedDecl = new TIntermDeclaration; in doReplacement()
|
/external/angle/src/compiler/translator/tree_util/ |
D | IntermNode_util.cpp | 181 TIntermDeclaration *CreateTempDeclarationNode(const TVariable *tempVariable) in CreateTempDeclarationNode() 183 TIntermDeclaration *tempDeclaration = new TIntermDeclaration(); in CreateTempDeclarationNode() 188 TIntermDeclaration *CreateTempInitDeclarationNode(const TVariable *tempVariable, in CreateTempInitDeclarationNode() 193 TIntermDeclaration *tempDeclaration = new TIntermDeclaration(); in CreateTempInitDeclarationNode() 209 TIntermDeclaration **declarationOut) in DeclareTempVariable() 219 TIntermDeclaration **declarationOut) in DeclareTempVariable() 255 insertSequence.push_back(new TIntermDeclaration{typeVar}); in DeclareStructure() 262 insertSequence.push_back(new TIntermDeclaration{instanceVar}); in DeclareStructure() 293 TIntermDeclaration *interfaceBlockDecl = new TIntermDeclaration; in DeclareInterfaceBlock()
|
D | IntermNode_util.h | 35 TIntermDeclaration *CreateTempDeclarationNode(const TVariable *tempVariable); 36 TIntermDeclaration *CreateTempInitDeclarationNode(const TVariable *tempVariable, 43 TIntermDeclaration **declarationOut); 47 TIntermDeclaration **declarationOut);
|
D | IntermNodePatternMatcher.h | 19 class TIntermDeclaration; variable 71 bool match(TIntermDeclaration *node) const;
|
D | ReplaceArrayOfMatrixVarying.cpp | 46 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override in visitDeclaration() 114 TIntermDeclaration *varyingReplaceDecl = new TIntermDeclaration; in ReplaceArrayOfMatrixVarying()
|
D | SpecializationConstant.cpp | 280 TIntermDeclaration *decl = new TIntermDeclaration(); in declareSpecConsts() 289 TIntermDeclaration *decl = new TIntermDeclaration(); in declareSpecConsts() 298 TIntermDeclaration *decl = new TIntermDeclaration(); in declareSpecConsts() 306 TIntermDeclaration *decl = new TIntermDeclaration(); in declareSpecConsts()
|
/external/angle/src/compiler/translator/tree_ops/d3d/ |
D | WrapSwitchStatementsInBlocks.cpp | 50 std::vector<TIntermDeclaration *> declarations; in visitSwitch() 54 TIntermDeclaration *asDeclaration = statement->getAsDeclarationNode(); in visitSwitch() 68 for (TIntermDeclaration *declaration : declarations) in visitSwitch() 73 TIntermDeclaration *declarationInBlock = new TIntermDeclaration(); in visitSwitch()
|
D | SeparateArrayInitialization.cpp | 37 bool visitDeclaration(Visit, TIntermDeclaration *node) override; 49 bool SeparateArrayInitTraverser::visitDeclaration(Visit, TIntermDeclaration *node) in visitDeclaration() 66 TIntermDeclaration *replacementDeclaration = new TIntermDeclaration(); in visitDeclaration()
|
/external/angle/src/compiler/translator/tree_ops/ |
D | SeparateDeclarations.cpp | 33 bool visitDeclaration(Visit, TIntermDeclaration *node) override; 47 bool SeparateDeclarationsTraverser::visitDeclaration(Visit, TIntermDeclaration *node) in visitDeclaration() 58 TIntermDeclaration *replacementDeclaration = new TIntermDeclaration(); in visitDeclaration()
|
D | NameNamelessUniformBuffers.cpp | 29 bool visitDeclaration(Visit visit, TIntermDeclaration *decl) override in visitDeclaration() 54 TIntermDeclaration *newDeclaration = new TIntermDeclaration; in visitDeclaration()
|
D | RemoveInactiveInterfaceVariables.cpp | 34 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override; 74 TIntermDeclaration *node) in visitDeclaration() 141 TIntermDeclaration *declaration = new TIntermDeclaration(); in visitDeclaration()
|
D | SimplifyLoopConditions.cpp | 43 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override; 127 bool SimplifyLoopConditionsTraverser::visitDeclaration(Visit visit, TIntermDeclaration *node) in visitDeclaration() 218 TIntermDeclaration *tempInitDeclaration = in traverseLoop() 237 TIntermDeclaration *tempInitDeclaration = in traverseLoop() 276 TIntermDeclaration *tempInitDeclaration = in traverseLoop() 299 TIntermDeclaration *tempInitDeclaration = in traverseLoop()
|
D | RemoveAtomicCounterBuiltins.cpp | 19 bool IsAtomicCounterDecl(const TIntermDeclaration *node) in IsAtomicCounterDecl() 34 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override in visitDeclaration()
|
D | RewriteStructSamplers.cpp | 341 bool visitDeclaration(Visit visit, TIntermDeclaration *decl) override in visitDeclaration() 487 TIntermDeclaration *structDecl = new TIntermDeclaration; in stripStructSpecifierSamplers() 539 TIntermDeclaration *newDecl = new TIntermDeclaration(); in extractStructSamplerUniforms() 616 TIntermDeclaration *samplerDecl = new TIntermDeclaration; in extractSampler()
|
D | RewriteCubeMapSamplersAs2DArray.cpp | 228 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override in visitDeclaration() 273 void declareSampler2DArray(const TVariable *samplerCubeVar, TIntermDeclaration *node) in declareSampler2DArray() 295 TIntermDeclaration *sampler2DArrayDecl = new TIntermDeclaration(); in declareSampler2DArray() 442 TIntermDeclaration *absXDecl = CreateTempInitDeclarationNode( in declareCoordTranslationFunction() 445 TIntermDeclaration *absYDecl = CreateTempInitDeclarationNode( in declareCoordTranslationFunction() 448 TIntermDeclaration *absZDecl = CreateTempInitDeclarationNode( in declareCoordTranslationFunction() 470 TIntermDeclaration *recipOuterDecl = CreateTempInitDeclarationNode( in declareCoordTranslationFunction() 490 TIntermDeclaration *dPDXdxDecl = CreateTempInitDeclarationNode( in declareCoordTranslationFunction() 494 TIntermDeclaration *dPDYdxDecl = CreateTempInitDeclarationNode( in declareCoordTranslationFunction() 498 TIntermDeclaration *dPDZdxDecl = CreateTempInitDeclarationNode( in declareCoordTranslationFunction() [all …]
|
/external/angle/src/compiler/translator/ |
D | TranslatorVulkan.cpp | 81 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override in visitDeclaration() 131 TIntermDeclaration *decl = node->getAsDeclarationNode(); in DeclareDefaultUniforms() 286 TIntermDeclaration *varyingDecl = new TIntermDeclaration; in AddANGLEPositionVaryingDeclaration() 317 TIntermDeclaration *ndcDecl = CreateTempInitDeclarationNode(ndc, noPerspective); in AddBresenhamEmulationVS() 330 TIntermDeclaration *windowDecl = CreateTempInitDeclarationNode(windowCoords, ndcToWindow); in AddBresenhamEmulationVS() 343 TIntermDeclaration *clampedDecl = in AddBresenhamEmulationVS() 573 TIntermDeclaration *varyingDecl = new TIntermDeclaration(); in AddXfbExtensionSupport() 674 TIntermDeclaration *pDecl = CreateTempInitDeclarationNode(p, windowPosition); in AddBresenhamEmulationFS() 683 TIntermDeclaration *dDecl = CreateTempInitDeclarationNode(d, dfsum); in AddBresenhamEmulationFS() 689 TIntermDeclaration *fDecl = CreateTempInitDeclarationNode(f, fragCoordXY); in AddBresenhamEmulationFS() [all …]
|
D | IntermNode.h | 42 class TIntermDeclaration; variable 97 virtual TIntermDeclaration *getAsDeclarationNode() { return nullptr; } in getAsDeclarationNode() 782 class TIntermDeclaration : public TIntermNode, public TIntermAggregateBase 785 TIntermDeclaration() : TIntermNode() {} in TIntermDeclaration() function 786 TIntermDeclaration(const TVariable *var, TIntermTyped *initExpr); 787 TIntermDeclaration(std::initializer_list<const TVariable *> declarators); 788 TIntermDeclaration(std::initializer_list<TIntermTyped *> declarators); 789 ~TIntermDeclaration() override {} in ~TIntermDeclaration() 791 TIntermDeclaration *getAsDeclarationNode() override { return this; } in getAsDeclarationNode() 806 TIntermDeclaration *deepCopy() const override in deepCopy() [all …]
|
D | FlagStd140Structs.cpp | 28 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override; 51 bool FlagStd140StructsTraverser::visitDeclaration(Visit visit, TIntermDeclaration *node) in visitDeclaration()
|
D | ParseContext.h | 234 TIntermDeclaration *parseSingleDeclaration(TPublicType &publicType, 237 TIntermDeclaration *parseSingleArrayDeclaration(TPublicType &elementType, 242 TIntermDeclaration *parseSingleInitDeclaration(const TPublicType &publicType, 250 TIntermDeclaration *parseSingleArrayInitDeclaration(TPublicType &elementType, 267 TIntermDeclaration *declarationOut); 273 TIntermDeclaration *declarationOut); 279 TIntermDeclaration *declarationOut); 289 TIntermDeclaration *declarationOut); 357 TIntermDeclaration *addInterfaceBlock(const TTypeQualifierBuilder &typeQualifierBuilder,
|