Home
last modified time | relevance | path

Searched refs:TIntermDeclaration (Results 1 – 25 of 98) sorted by relevance

1234

/external/angle/src/compiler/translator/TranslatorMetalDirect/
DNameEmbeddedUniformStructsMetal.cpp29 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()
DReduceInterfaceBlocks.cpp34 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()
DSeparateCompoundExpressions.cpp129 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 …]
DRewriteGlobalQualifierDecls.cpp22 PreResult visitDeclarationPre(TIntermDeclaration &declNode) override in visitDeclarationPre()
77 return *new TIntermDeclaration{&symbolNode}; in visitGlobalQualifierDeclarationPre()
82 PreResult visitDeclarationPre(TIntermDeclaration &node) override in visitDeclarationPre()
DRewriteCaseDeclarations.cpp44 block.appendStatement(new TIntermDeclaration{var}); in visitSwitchPost()
52 PreResult visitDeclarationPre(TIntermDeclaration &node) override in visitDeclarationPre()
DHoistConstants.cpp32 PreResult visitDeclarationPre(TIntermDeclaration &declNode) override in visitDeclarationPre()
70 TIntermDeclaration *declNode = opaqueDeclNode->getAsDeclarationNode(); in rewrite()
/external/angle/src/compiler/translator/tree_ops/vulkan/
DSeparateStructFromUniformDeclarations.cpp28 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/
DIntermNode_util.cpp181 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()
DIntermNode_util.h35 TIntermDeclaration *CreateTempDeclarationNode(const TVariable *tempVariable);
36 TIntermDeclaration *CreateTempInitDeclarationNode(const TVariable *tempVariable,
43 TIntermDeclaration **declarationOut);
47 TIntermDeclaration **declarationOut);
DIntermNodePatternMatcher.h19 class TIntermDeclaration; variable
71 bool match(TIntermDeclaration *node) const;
DReplaceArrayOfMatrixVarying.cpp46 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override in visitDeclaration()
114 TIntermDeclaration *varyingReplaceDecl = new TIntermDeclaration; in ReplaceArrayOfMatrixVarying()
DSpecializationConstant.cpp280 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/
DWrapSwitchStatementsInBlocks.cpp50 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()
DSeparateArrayInitialization.cpp37 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/
DSeparateDeclarations.cpp33 bool visitDeclaration(Visit, TIntermDeclaration *node) override;
47 bool SeparateDeclarationsTraverser::visitDeclaration(Visit, TIntermDeclaration *node) in visitDeclaration()
58 TIntermDeclaration *replacementDeclaration = new TIntermDeclaration(); in visitDeclaration()
DNameNamelessUniformBuffers.cpp29 bool visitDeclaration(Visit visit, TIntermDeclaration *decl) override in visitDeclaration()
54 TIntermDeclaration *newDeclaration = new TIntermDeclaration; in visitDeclaration()
DRemoveInactiveInterfaceVariables.cpp34 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override;
74 TIntermDeclaration *node) in visitDeclaration()
141 TIntermDeclaration *declaration = new TIntermDeclaration(); in visitDeclaration()
DSimplifyLoopConditions.cpp43 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()
DRemoveAtomicCounterBuiltins.cpp19 bool IsAtomicCounterDecl(const TIntermDeclaration *node) in IsAtomicCounterDecl()
34 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override in visitDeclaration()
DRewriteStructSamplers.cpp341 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()
DRewriteCubeMapSamplersAs2DArray.cpp228 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/
DTranslatorVulkan.cpp81 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 …]
DIntermNode.h42 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 …]
DFlagStd140Structs.cpp28 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override;
51 bool FlagStd140StructsTraverser::visitDeclaration(Visit visit, TIntermDeclaration *node) in visitDeclaration()
DParseContext.h234 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,

1234