Home
last modified time | relevance | path

Searched refs:TIntermBlock (Results 1 – 25 of 330) sorted by relevance

12345678910>>...14

/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/
DRemoveSwitchFallThrough.cpp25 static TIntermBlock *removeFallThrough(TIntermBlock *statementList,
29 RemoveSwitchFallThroughTraverser(TIntermBlock *statementList,
43 bool visitBlock(Visit, TIntermBlock *node) override;
50 TIntermBlock *mStatementList;
51 TIntermBlock *mStatementListOut;
53 TIntermBlock *mPreviousCase;
54 std::vector<TIntermBlock *> mCasesSharingBreak;
58 TIntermBlock *RemoveSwitchFallThroughTraverser::removeFallThrough( in removeFallThrough()
59 TIntermBlock *statementList, in removeFallThrough()
79 TIntermBlock *statementList, in RemoveSwitchFallThroughTraverser()
[all …]
DRewriteElseBlocks.cpp31 bool visitBlock(Visit visit, TIntermBlock *block) override;
50 bool ElseBlockRewriter::visitBlock(Visit visit, TIntermBlock *node) in visitBlock()
76 TIntermBlock *falseBlock = nullptr; in rewriteIfElse()
82 TIntermBlock *negatedElse = nullptr; in rewriteIfElse()
90 negatedElse = new TIntermBlock(); in rewriteIfElse()
106 TIntermBlock *block = new TIntermBlock(); in rewriteIfElse()
DUnfoldShortCircuitToIf.cpp84 TIntermBlock *assignRightBlock = new TIntermBlock(); in visitBinary()
111 TIntermBlock *assignRightBlock = new TIntermBlock(); in visitBinary()
151 TIntermBlock *trueBlock = new TIntermBlock(); in visitTernary()
156 TIntermBlock *falseBlock = new TIntermBlock(); in visitTernary()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRemoveSwitchFallThrough.cpp25 static TIntermBlock *removeFallThrough(TIntermBlock *statementList,
29 RemoveSwitchFallThroughTraverser(TIntermBlock *statementList,
43 bool visitBlock(Visit, TIntermBlock *node) override;
50 TIntermBlock *mStatementList;
51 TIntermBlock *mStatementListOut;
53 TIntermBlock *mPreviousCase;
54 std::vector<TIntermBlock *> mCasesSharingBreak;
58 TIntermBlock *RemoveSwitchFallThroughTraverser::removeFallThrough( in removeFallThrough()
59 TIntermBlock *statementList, in removeFallThrough()
79 TIntermBlock *statementList, in RemoveSwitchFallThroughTraverser()
[all …]
DRewriteDoWhile.cpp52 bool visitBlock(Visit, TIntermBlock *node) override in visitBlock()
94 TIntermBlock *breakBlock = new TIntermBlock(); in visitBlock()
102 TIntermBlock *innerIfBlock = new TIntermBlock(); in visitBlock()
113 TIntermBlock *body = loop->getBody(); in visitBlock()
116 body = new TIntermBlock(); in visitBlock()
DRewriteElseBlocks.cpp30 bool visitBlock(Visit visit, TIntermBlock *block) override;
49 bool ElseBlockRewriter::visitBlock(Visit visit, TIntermBlock *node) in visitBlock()
75 TIntermBlock *falseBlock = nullptr; in rewriteIfElse()
81 TIntermBlock *negatedElse = nullptr; in rewriteIfElse()
89 negatedElse = new TIntermBlock(); in rewriteIfElse()
105 TIntermBlock *block = new TIntermBlock(); in rewriteIfElse()
DUnfoldShortCircuitToIf.cpp84 TIntermBlock *assignRightBlock = new TIntermBlock(); in visitBinary()
111 TIntermBlock *assignRightBlock = new TIntermBlock(); in visitBinary()
151 TIntermBlock *trueBlock = new TIntermBlock(); in visitTernary()
156 TIntermBlock *falseBlock = new TIntermBlock(); in visitTernary()
DDeclareAndInitBuiltinsForInstancedMultiview.cpp94 TIntermBlock *viewportIndexInitializerInBlock = new TIntermBlock(); in SelectViewIndexInVertexShader()
106 TIntermBlock *layerInitializerInBlock = new TIntermBlock(); in SelectViewIndexInVertexShader()
125 void DeclareAndInitBuiltinsForInstancedMultiview(TIntermBlock *root, in DeclareAndInitBuiltinsForInstancedMultiview()
179 TIntermBlock *initializersBlock = new TIntermBlock(); in DeclareAndInitBuiltinsForInstancedMultiview()
181 TIntermBlock *mainBody = FindMainBody(root); in DeclareAndInitBuiltinsForInstancedMultiview()
DRewriteCubeMapSamplersAs2DArray.cpp28 TIntermBlock *body, in GetValueFromNeighbor()
47 TIntermBlock *body, in GetDiffWithNeighbor()
64 TIntermBlock *body, in IsNeighborNonHelper()
89 TIntermBlock *body, in GetLayerFromNonHelperInvocation()
195 TIntermBlock *helperBody = new TIntermBlock; in GetLayerFromNonHelperInvocation()
204 void TransformXMajor(TIntermBlock *block, in TransformXMajor()
223 void TransformYMajor(TIntermBlock *block, in TransformYMajor()
241 void TransformZMajor(TIntermBlock *block, in TransformZMajor()
528 TIntermBlock *body = new TIntermBlock; in declareCoordTranslationFunction()
595 TIntermBlock *calculateXL = new TIntermBlock; in declareCoordTranslationFunction()
[all …]
DSimplifyLoopConditions.cpp168 TIntermBlock *newBody = new TIntermBlock(); in traverseLoop()
198 TIntermBlock *newBody = new TIntermBlock(); in traverseLoop()
227 TIntermBlock *loopScope = new TIntermBlock(); in traverseLoop()
250 TIntermBlock *whileLoopBody = new TIntermBlock(); in traverseLoop()
DEmulateMultiDrawShaderBuiltins.h27 class TIntermBlock; variable
30 void EmulateGLDrawID(TIntermBlock *root,
35 void EmulateGLBaseVertex(TIntermBlock *root,
40 void EmulateGLBaseInstance(TIntermBlock *root,
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DFindMain.h16 class TIntermBlock; variable
19 size_t FindMainIndex(TIntermBlock *root);
20 TIntermFunctionDefinition *FindMain(TIntermBlock *root);
21 TIntermBlock *FindMainBody(TIntermBlock *root);
DReplaceVariable.h18 class TIntermBlock; variable
24 TIntermBlock *root,
28 TIntermBlock *root,
36 TIntermBlock *root,
43 TIntermBlock *root,
DFindMain.cpp17 size_t FindMainIndex(TIntermBlock *root) in FindMainIndex()
32 TIntermFunctionDefinition *FindMain(TIntermBlock *root) in FindMain()
45 TIntermBlock *FindMainBody(TIntermBlock *root) in FindMainBody()
49 TIntermBlock *mainBody = main->getBody(); in FindMainBody()
DReplaceClipCullDistanceVariable.cpp230 TIntermBlock *trueBlock = new TIntermBlock(); in assignFuncWithEnableFlags()
235 TIntermBlock *falseBlock = new TIntermBlock(); in assignFuncWithEnableFlags()
245 TIntermBlock *root, in ReplaceClipCullDistanceAssignments()
278 TIntermBlock *mRoot;
336 TIntermBlock *readBlock = new TIntermBlock; in assignOriginalValueToANGLEVariableImpl()
357 TIntermBlock *assignBlock = new TIntermBlock; in assignANGLEValueToOriginalVariableImpl()
471 TIntermBlock *root, in ReplaceClipCullDistanceAssignmentsImpl()
571 TIntermBlock *root, in ReplaceClipDistanceAssignments()
582 TIntermBlock *root, in ReplaceCullDistanceAssignments()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DFindMain.h16 class TIntermBlock; variable
19 size_t FindMainIndex(TIntermBlock *root);
20 TIntermFunctionDefinition *FindMain(TIntermBlock *root);
21 TIntermBlock *FindMainBody(TIntermBlock *root);
DFindMain.cpp17 size_t FindMainIndex(TIntermBlock *root) in FindMainIndex()
32 TIntermFunctionDefinition *FindMain(TIntermBlock *root) in FindMain()
45 TIntermBlock *FindMainBody(TIntermBlock *root) in FindMainBody()
49 TIntermBlock *mainBody = main->getBody(); in FindMainBody()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/
DRewriteDoWhile.cpp53 bool visitBlock(Visit, TIntermBlock *node) override in visitBlock()
95 TIntermBlock *breakBlock = new TIntermBlock(); in visitBlock()
103 TIntermBlock *innerIfBlock = new TIntermBlock(); in visitBlock()
114 TIntermBlock *body = loop->getBody(); in visitBlock()
117 body = new TIntermBlock(); in visitBlock()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DSimplifyLoopConditions.cpp144 TIntermBlock *parent = getParentNode()->getAsBlock(); in visitBranch()
241 TIntermBlock *newBody = new TIntermBlock(); in traverseLoop()
303 TIntermBlock *newBody = new TIntermBlock(); in traverseLoop()
326 TIntermBlock *loopScope = new TIntermBlock(); in traverseLoop()
353 TIntermBlock *whileLoopBody = new TIntermBlock(); in traverseLoop()
392 TIntermBlock *whileLoopBody = new TIntermBlock(); in traverseLoop()
433 TIntermBlock *whileLoopBody = new TIntermBlock(); in traverseLoop()
DDeclareAndInitBuiltinsForInstancedMultiview.cpp95 TIntermBlock *viewportIndexInitializerInBlock = new TIntermBlock(); in SelectViewIndexInVertexShader()
107 TIntermBlock *layerInitializerInBlock = new TIntermBlock(); in SelectViewIndexInVertexShader()
127 TIntermBlock *root, in DeclareAndInitBuiltinsForInstancedMultiview()
187 TIntermBlock *initializersBlock = new TIntermBlock(); in DeclareAndInitBuiltinsForInstancedMultiview()
189 TIntermBlock *mainBody = FindMainBody(root); in DeclareAndInitBuiltinsForInstancedMultiview()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DWrapMain.cpp28 bool visitBlock(Visit, TIntermBlock *blockNode) override in visitBlock()
52 void visitMain(TIntermBlock &root, TIntermFunctionDefinition *funcDefNode) in visitMain()
66 TIntermBlock *externalMainBody = new TIntermBlock(); in visitMain()
70 TIntermBlock *internalMainBody = funcDefNode->getBody(); in visitMain()
84 bool sh::WrapMain(TCompiler &compiler, IdGen &idGen, TIntermBlock &root) in WrapMain()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DTranslatorMetal.cpp52 TIntermBlock *root, in AppendVertexShaderPositionYCorrectionToMain()
77 ANGLE_NO_DISCARD bool InitializeUnusedOutputs(TIntermBlock *root, in InitializeUnusedOutputs()
116 bool TranslatorMetal::translate(TIntermBlock *root, in translate()
190 bool TranslatorMetal::transformDepthBeforeCorrection(TIntermBlock *root, in transformDepthBeforeCorrection()
219 TIntermBlock *root, in insertSampleMaskWritingLogic()
269 TIntermBlock *callBlock = new TIntermBlock; in insertSampleMaskWritingLogic()
279 TIntermBlock *root) in insertRasterizerDiscardLogic()
321 TIntermBlock *discardBlock = new TIntermBlock; in insertRasterizerDiscardLogic()
DTranslatorMetalDirect.cpp196 TIntermBlock *root, in ReplaceGLDepthRangeWithDriverUniform()
211 TIntermSequence *GetMainSequence(TIntermBlock *root) in GetMainSequence()
219 TIntermBlock *root, in RotateAndFlipBuiltinVariable()
287 TIntermBlock *root, in InsertFragCoordCorrection()
321 void DeclareRightBeforeMain(TIntermBlock &root, const TVariable &var) in DeclareRightBeforeMain()
326 void AddFragColorDeclaration(TIntermBlock &root, TSymbolTable &symbolTable) in AddFragColorDeclaration()
332 void AddFragDepthDeclaration(TIntermBlock &root, TSymbolTable &symbolTable) in AddFragDepthDeclaration()
338 void AddFragDepthEXTDeclaration(TCompiler &compiler, TIntermBlock &root, TSymbolTable &symbolTable) in AddFragDepthEXTDeclaration()
350 void AddSampleMaskDeclaration(TIntermBlock &root, TSymbolTable &symbolTable) in AddSampleMaskDeclaration()
360 ANGLE_NO_DISCARD bool AddFragDataDeclaration(TCompiler &compiler, TIntermBlock &root) in AddFragDataDeclaration()
[all …]
DIntermNode.h40 class TIntermBlock; variable
91 virtual TIntermBlock *getAsBlock() { return nullptr; } in getAsBlock()
217 TIntermBlock *body);
231 TIntermBlock *getBody() { return mBody; } in getBody()
236 void setBody(TIntermBlock *body) { mBody = body; } in setBody()
245 TIntermBlock *mBody; // loop body
682 class TIntermBlock : public TIntermNode, public TIntermAggregateBase
685 TIntermBlock() : TIntermNode(), mIsTreeRoot(false) {} in TIntermBlock() function
686 TIntermBlock(std::initializer_list<TIntermNode *> stmts);
687 ~TIntermBlock() override {} in ~TIntermBlock()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DCompiler.h89 TIntermBlock *compileTreeForTesting(const char *const shaderStrings[],
152 virtual void translate(TIntermBlock *root,
191 void useAllMembersInUnusedStandardAndSharedBlocks(TIntermBlock *root);
194 void initializeOutputVariables(TIntermBlock *root);
199 void initializeGLPosition(TIntermBlock *root);
201 bool limitExpressionComplexity(TIntermBlock *root);
216 void pruneUnusedFunctions(TIntermBlock *root);
218 TIntermBlock *compileTreeImpl(const char *const shaderStrings[],
230 bool checkAndSimplifyAST(TIntermBlock *root,

12345678910>>...14