Home
last modified time | relevance | path

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

1234567

/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DNameEmbeddedUniformStructs.cpp27 bool visitDeclaration(Visit visit, TIntermDeclaration *decl) override in visitDeclaration()
55 void doReplacement(TIntermDeclaration *decl, in doReplacement()
68 TIntermDeclaration *structDeclaration = new TIntermDeclaration; in doReplacement()
78 TIntermDeclaration *namedDecl = new TIntermDeclaration; in doReplacement()
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()
DSeparateDeclarations.cpp33 bool visitDeclaration(Visit, TIntermDeclaration *node) override;
47 bool SeparateDeclarationsTraverser::visitDeclaration(Visit, TIntermDeclaration *node) in visitDeclaration()
58 TIntermDeclaration *replacementDeclaration = new TIntermDeclaration(); in visitDeclaration()
DSeparateArrayInitialization.cpp37 bool visitDeclaration(Visit, TIntermDeclaration *node) override;
49 bool SeparateArrayInitTraverser::visitDeclaration(Visit, TIntermDeclaration *node) in visitDeclaration()
66 TIntermDeclaration *replacementDeclaration = new TIntermDeclaration(); in visitDeclaration()
DRewriteAtomicCounters.cpp159 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override in visitDeclaration()
342 TIntermDeclaration *getAtomicCounterTypeDeclaration() { return mAtomicCounterTypeDeclaration; } in getAtomicCounterTypeDeclaration()
345 void declareAtomicCounter(const TVariable *atomicCounterVar, TIntermDeclaration *node) in declareAtomicCounter()
370 TIntermDeclaration *bindingOffsetDeclaration = new TIntermDeclaration(); in declareAtomicCounter()
397 mAtomicCounterTypeDeclaration = new TIntermDeclaration; in declareAtomicCounterType()
553 TIntermDeclaration *modifiedDecl = CreateTempInitDeclarationNode(modified, *bindingOffset); in convertFunctionArgument()
649 TIntermDeclaration *mAtomicCounterTypeDeclaration;
664 TIntermDeclaration *atomicCounterTypeDeclaration = traverser.getAtomicCounterTypeDeclaration(); in RewriteAtomicCounters()
DSimplifyLoopConditions.cpp36 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override;
111 bool SimplifyLoopConditionsTraverser::visitDeclaration(Visit visit, TIntermDeclaration *node) in visitDeclaration()
164 TIntermDeclaration *tempInitDeclaration = in traverseLoop()
194 TIntermDeclaration *tempInitDeclaration = in traverseLoop()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DSeparateDeclarations.cpp37 bool visitDeclaration(Visit, TIntermDeclaration *node) override;
61 bool SeparateDeclarationsTraverser::visitDeclaration(Visit, TIntermDeclaration *node) in visitDeclaration()
106 TIntermDeclaration *replacementDeclaration = new TIntermDeclaration; in separateDeclarator()
134 TIntermDeclaration *structDeclaration = new TIntermDeclaration; in separateDeclarator()
185 TIntermDeclaration *replacementDeclaration = new TIntermDeclaration; in separateDeclarator()
DSeparateStructFromUniformDeclarations.cpp27 bool visitDeclaration(Visit visit, TIntermDeclaration *decl) override in visitDeclaration()
60 void doReplacement(TIntermDeclaration *decl, TIntermTyped *declarator, const TType &oldType) in doReplacement()
75 TIntermDeclaration *structDeclaration = new TIntermDeclaration; in doReplacement()
85 TIntermDeclaration *namedDecl = new TIntermDeclaration; in doReplacement()
DNameNamelessUniformBuffers.cpp29 bool visitDeclaration(Visit visit, TIntermDeclaration *decl) override in visitDeclaration()
54 TIntermDeclaration *newDeclaration = 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()
DRemoveInactiveInterfaceVariables.cpp35 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override;
79 TIntermDeclaration *node) in visitDeclaration()
147 TIntermDeclaration *declaration = new TIntermDeclaration(); in visitDeclaration()
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()
471 TIntermDeclaration *recipOuterDecl = CreateTempInitDeclarationNode( in declareCoordTranslationFunction()
491 TIntermDeclaration *dPDXdxDecl = CreateTempInitDeclarationNode( in declareCoordTranslationFunction()
495 TIntermDeclaration *dPDYdxDecl = CreateTempInitDeclarationNode( in declareCoordTranslationFunction()
499 TIntermDeclaration *dPDZdxDecl = CreateTempInitDeclarationNode( in declareCoordTranslationFunction()
[all …]
/third_party/skia/third_party/externals/angle2/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;
/third_party/skia/third_party/externals/angle2/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.cpp35 PreResult visitDeclarationPre(TIntermDeclaration &declNode) override in visitDeclarationPre()
61 new TIntermDeclaration{new TIntermSymbol(&structVar)}, in visitDeclarationPre()
62 new TIntermDeclaration{new TIntermSymbol(&instanceVar)}}; in visitDeclarationPre()
80 new TIntermDeclaration{new TIntermSymbol(&structVar)}, in visitDeclarationPre()
81 new TIntermDeclaration{new TIntermSymbol(&instanceVar)}}; in visitDeclarationPre()
DSeparateCompoundStructDeclarations.cpp29 bool visitDeclaration(Visit, TIntermDeclaration *declNode) override in visitDeclaration()
67 replacements.push_back(new TIntermDeclaration({structVar})); in visitDeclaration()
70 TIntermDeclaration *instanceDecl = new TIntermDeclaration; in visitDeclaration()
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()
243 auto *decl = new TIntermDeclaration(var, &newExpr); in pushBinding()
269 if (TIntermDeclaration *decl = stmt->getAsDeclarationNode()) in pushStmtsIntoBlock()
322 PreResult visitDeclarationPre(TIntermDeclaration &node) override in visitDeclarationPre()
333 PostResult visitDeclarationPost(TIntermDeclaration &node) override in visitDeclarationPost()
346 auto &newNode = *new TIntermDeclaration(); in visitDeclarationPost()
418 pushStmt(*new TIntermDeclaration(var, newLeft)); in visitBinaryPost()
[all …]
/third_party/skia/third_party/externals/angle2/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()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DIntermNode_util.cpp172 TIntermDeclaration *CreateTempDeclarationNode(const TVariable *tempVariable) in CreateTempDeclarationNode()
174 TIntermDeclaration *tempDeclaration = new TIntermDeclaration(); in CreateTempDeclarationNode()
179 TIntermDeclaration *CreateTempInitDeclarationNode(const TVariable *tempVariable, in CreateTempInitDeclarationNode()
184 TIntermDeclaration *tempDeclaration = new TIntermDeclaration(); in CreateTempInitDeclarationNode()
200 TIntermDeclaration **declarationOut) in DeclareTempVariable()
210 TIntermDeclaration **declarationOut) in DeclareTempVariable()
240 TIntermDeclaration *interfaceBlockDecl = new TIntermDeclaration; in DeclareInterfaceBlock()
DIntermNode_util.h34 TIntermDeclaration *CreateTempDeclarationNode(const TVariable *tempVariable);
35 TIntermDeclaration *CreateTempInitDeclarationNode(const TVariable *tempVariable,
42 TIntermDeclaration **declarationOut);
46 TIntermDeclaration **declarationOut);
DIntermNodePatternMatcher.h19 class TIntermDeclaration; variable
70 bool match(TIntermDeclaration *node);
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DTranslatorVulkan.cpp82 bool visitDeclaration(Visit visit, TIntermDeclaration *node) override in visitDeclaration()
132 TIntermDeclaration *decl = node->getAsDeclarationNode(); in DeclareDefaultUniforms()
316 TIntermDeclaration *varyingDecl = new TIntermDeclaration; in AddANGLEPositionVaryingDeclaration()
347 TIntermDeclaration *ndcDecl = CreateTempInitDeclarationNode(ndc, noPerspective); in AddBresenhamEmulationVS()
360 TIntermDeclaration *windowDecl = CreateTempInitDeclarationNode(windowCoords, ndcToWindow); in AddBresenhamEmulationVS()
374 TIntermDeclaration *clampedDecl = in AddBresenhamEmulationVS()
605 TIntermDeclaration *varyingDecl = new TIntermDeclaration(); in AddXfbExtensionSupport()
707 TIntermDeclaration *pDecl = CreateTempInitDeclarationNode(p, windowPosition); in AddBresenhamEmulationFS()
716 TIntermDeclaration *dDecl = CreateTempInitDeclarationNode(d, dfsum); in AddBresenhamEmulationFS()
723 TIntermDeclaration *fDecl = CreateTempInitDeclarationNode(f, fragCoordXY); in AddBresenhamEmulationFS()
[all …]

1234567