/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/ |
D | RemoveSwitchFallThrough.cpp | 25 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 …]
|
D | RewriteElseBlocks.cpp | 31 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()
|
D | UnfoldShortCircuitToIf.cpp | 84 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()
|
D | RemoveSwitchFallThrough.h | 17 class TIntermBlock; variable 22 TIntermBlock *RemoveSwitchFallThrough(TIntermBlock *statementList,
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | SimplifyLoopConditions.cpp | 144 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()
|
D | DeclareAndInitBuiltinsForInstancedMultiview.cpp | 95 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()
|
D | RewriteCubeMapSamplersAs2DArray.cpp | 57 TIntermBlock *block, in TransformXMajor() 77 void TransformDerivativeXMajor(TIntermBlock *block, in TransformDerivativeXMajor() 99 void TransformImplicitDerivativeXMajor(TIntermBlock *block, in TransformImplicitDerivativeXMajor() 111 TIntermBlock *block, in TransformYMajor() 130 void TransformDerivativeYMajor(TIntermBlock *block, in TransformDerivativeYMajor() 152 void TransformImplicitDerivativeYMajor(TIntermBlock *block, in TransformImplicitDerivativeYMajor() 164 TIntermBlock *block, in TransformZMajor() 183 void TransformDerivativeZMajor(TIntermBlock *block, in TransformDerivativeZMajor() 205 void TransformImplicitDerivativeZMajor(TIntermBlock *block, in TransformImplicitDerivativeZMajor() 424 TIntermBlock *body = new TIntermBlock; in declareCoordTranslationFunction() [all …]
|
D | PruneEmptyCases.cpp | 24 TIntermBlock *asBlock = node->getAsBlock(); in IsEmptyBlock() 55 ANGLE_NO_DISCARD static bool apply(TCompiler *compiler, TIntermBlock *root); 62 bool PruneEmptyCasesTraverser::apply(TCompiler *compiler, TIntermBlock *root) in apply() 75 TIntermBlock *statementList = node->getStatementList(); in visitSwitch() 122 bool PruneEmptyCases(TCompiler *compiler, TIntermBlock *root) in PruneEmptyCases()
|
D | EmulateGLFragColorBroadcast.cpp | 40 ANGLE_NO_DISCARD bool broadcastGLFragColor(TCompiler *compiler, TIntermBlock *root); 83 bool GLFragColorBroadcastTraverser::broadcastGLFragColor(TCompiler *compiler, TIntermBlock *root) in broadcastGLFragColor() 91 TIntermBlock *broadcastBlock = new TIntermBlock(); in broadcastGLFragColor() 106 TIntermBlock *root, in EmulateGLFragColorBroadcast()
|
D | DeferGlobalInitializers.cpp | 105 void InsertInitCallToMain(TIntermBlock *root, in InsertInitCallToMain() 109 TIntermBlock *initGlobalsBlock = new TIntermBlock(); in InsertInitCallToMain() 127 TIntermBlock *mainBody = FindMainBody(root); in InsertInitCallToMain() 134 TIntermBlock *root, in DeferGlobalInitializers()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/ |
D | RewriteDoWhile.cpp | 53 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_util/ |
D | FindMain.h | 16 class TIntermBlock; variable 19 size_t FindMainIndex(TIntermBlock *root); 20 TIntermFunctionDefinition *FindMain(TIntermBlock *root); 21 TIntermBlock *FindMainBody(TIntermBlock *root);
|
D | ReplaceVariable.h | 18 class TIntermBlock; variable 24 TIntermBlock *root, 28 TIntermBlock *root, 36 TIntermBlock *root, 43 TIntermBlock *root,
|
D | ReplaceClipCullDistanceVariable.cpp | 230 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()
|
D | FindMain.cpp | 17 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()
|
D | IntermTraverse.h | 59 virtual bool visitBlock(Visit visit, TIntermBlock *node) { return true; } in visitBlock() 86 virtual void traverseBlock(TIntermBlock *node); 169 const TIntermBlock *getParentBlock() const; 177 void pushParentBlock(TIntermBlock *node); 213 void insertStatementsInBlockAtPosition(TIntermBlock *parent, 278 NodeInsertMultipleEntry(TIntermBlock *_parent, in NodeInsertMultipleEntry() 288 TIntermBlock *parent; 318 ParentBlock(TIntermBlock *nodeIn, TIntermSequence::size_type posIn) in ParentBlock() 322 TIntermBlock *node;
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
D | WrapMain.cpp | 28 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/ |
D | TranslatorMetalDirect.cpp | 196 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 …]
|
D | TranslatorMetal.cpp | 52 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()
|
D | IntermNode.h | 40 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 …]
|
D | Compiler.h | 102 TIntermBlock *compileTreeForTesting(const char *const shaderStrings[], 209 ANGLE_NO_DISCARD virtual bool translate(TIntermBlock *root, 250 ANGLE_NO_DISCARD bool useAllMembersInUnusedStandardAndSharedBlocks(TIntermBlock *root); 253 ANGLE_NO_DISCARD bool initializeOutputVariables(TIntermBlock *root); 258 ANGLE_NO_DISCARD bool initializeGLPosition(TIntermBlock *root); 260 bool limitExpressionComplexity(TIntermBlock *root); 274 bool pruneUnusedFunctions(TIntermBlock *root); 276 TIntermBlock *compileTreeImpl(const char *const shaderStrings[], 288 bool checkAndSimplifyAST(TIntermBlock *root,
|
D | TranslatorVulkan.cpp | 122 TIntermBlock *root, in DeclareDefaultUniforms() 189 TIntermBlock *root, in RotateAndFlipBuiltinVariable() 253 TIntermSequence *GetMainSequence(TIntermBlock *root) in GetMainSequence() 261 TIntermBlock *root, in ReplaceGLDepthRangeWithDriverUniform() 279 TIntermBlock *root, in ReplaceGLBoundingBoxWithGlobal() 306 TVariable *AddANGLEPositionVaryingDeclaration(TIntermBlock *root, in AddANGLEPositionVaryingDeclaration() 330 TIntermBlock *root, in AddBresenhamEmulationVS() 389 TIntermBlock *emulationBlock = new TIntermBlock; in AddBresenhamEmulationVS() 402 TIntermBlock *root, in AddXfbEmulationSupport() 452 TIntermBlock *body = new TIntermBlock; in AddXfbEmulationSupport() [all …]
|
D | TranslatorMetal.h | 45 ANGLE_NO_DISCARD bool translate(TIntermBlock *root, 50 TIntermBlock *root, 54 TIntermBlock *root, 56 ANGLE_NO_DISCARD bool insertRasterizerDiscardLogic(TInfoSinkBase &sink, TIntermBlock *root);
|
D | TranslatorMetalDirect.h | 172 bool translate(TIntermBlock *root, 180 TIntermBlock *root, 188 ANGLE_NO_DISCARD bool transformDepthBeforeCorrection(TIntermBlock *root, 191 ANGLE_NO_DISCARD bool appendVertexShaderDepthCorrectionToMain(TIntermBlock *root); 193 ANGLE_NO_DISCARD bool insertSampleMaskWritingLogic(TIntermBlock &root, 195 ANGLE_NO_DISCARD bool insertRasterizationDiscardLogic(TIntermBlock &root);
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/gl/ |
D | RewriteRepeatedAssignToSwizzled.cpp | 30 ANGLE_NO_DISCARD static bool rewrite(TCompiler *compiler, TIntermBlock *root); 45 bool RewriteAssignToSwizzledTraverser::rewrite(TCompiler *compiler, TIntermBlock *root) in rewrite() 73 TIntermBlock *parentBlock = getParentNode()->getAsBlock(); in visitBinary() 92 bool RewriteRepeatedAssignToSwizzled(TCompiler *compiler, TIntermBlock *root) in RewriteRepeatedAssignToSwizzled()
|