Home
last modified time | relevance | path

Searched refs:visit (Results 1 – 25 of 876) sorted by relevance

12345678910>>...36

/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DIntermTraverse.cpp27 bool visit = true; in traverse() local
31 visit = node->visit(PreVisit, this); in traverse()
33 if (visit) in traverse()
38 while (childIndex < childCount && visit) in traverse()
43 visit = node->visit(InVisit, this); in traverse()
48 if (visit && postVisit) in traverse()
49 node->visit(PostVisit, this); in traverse()
115 bool TIntermSymbol::visit(Visit visit, TIntermTraverser *it) in visit() function in sh::TIntermSymbol
121 bool TIntermConstantUnion::visit(Visit visit, TIntermTraverser *it) in visit() function in sh::TIntermConstantUnion
127 bool TIntermFunctionPrototype::visit(Visit visit, TIntermTraverser *it) in visit() function in sh::TIntermFunctionPrototype
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DIntermTraverse.cpp29 bool visit = true; in traverse() local
33 visit = node->visit(PreVisit, this); in traverse()
35 if (visit) in traverse()
40 while (childIndex < childCount && visit) in traverse()
48 visit = node->visit(InVisit, this); in traverse()
53 if (visit && postVisit) in traverse()
54 node->visit(PostVisit, this); in traverse()
120 bool TIntermSymbol::visit(Visit visit, TIntermTraverser *it) in visit() argument
126 bool TIntermConstantUnion::visit(Visit visit, TIntermTraverser *it) in visit() function in sh::TIntermConstantUnion
132 bool TIntermFunctionPrototype::visit(Visit visit, TIntermTraverser *it) in visit() argument
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dir_visitor.h47 virtual void visit(class ir_rvalue *) { assert(!"unhandled error_type"); } in visit() function
48 virtual void visit(class ir_variable *) = 0;
49 virtual void visit(class ir_function_signature *) = 0;
50 virtual void visit(class ir_function *) = 0;
51 virtual void visit(class ir_expression *) = 0;
52 virtual void visit(class ir_texture *) = 0;
53 virtual void visit(class ir_swizzle *) = 0;
54 virtual void visit(class ir_dereference_variable *) = 0;
55 virtual void visit(class ir_dereference_array *) = 0;
56 virtual void visit(class ir_dereference_record *) = 0;
[all …]
Dir_print_visitor.h51 virtual void visit(ir_rvalue *);
52 virtual void visit(ir_variable *);
53 virtual void visit(ir_function_signature *);
54 virtual void visit(ir_function *);
55 virtual void visit(ir_expression *);
56 virtual void visit(ir_texture *);
57 virtual void visit(ir_swizzle *);
58 virtual void visit(ir_dereference_variable *);
59 virtual void visit(ir_dereference_array *);
60 virtual void visit(ir_dereference_record *);
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_optimizer.cpp71 void visit(AluInstr *instr) override;
72 void visit(AluGroup *instr) override;
73 void visit(TexInstr *instr) override;
74 void visit(ExportInstr *instr) override {(void)instr;}; in visit() function in r600::DCEVisitor
75 void visit(FetchInstr *instr) override;
76 void visit(Block *instr) override;
78 void visit(ControlFlowInstr *instr) override {(void)instr;}; in visit() function in r600::DCEVisitor
79 void visit(IfInstr *instr) override {(void)instr;}; in visit() function in r600::DCEVisitor
80 void visit(ScratchIOInstr *instr) override {(void)instr;}; in visit() function in r600::DCEVisitor
81 void visit(StreamOutInstr *instr) override {(void)instr;}; in visit() function in r600::DCEVisitor
[all …]
Dsfn_instr.h284 virtual void visit(const AluInstr& instr) = 0;
285 virtual void visit(const AluGroup& instr) = 0;
286 virtual void visit(const TexInstr& instr) = 0;
287 virtual void visit(const ExportInstr& instr) = 0;
288 virtual void visit(const FetchInstr& instr) = 0;
289 virtual void visit(const Block& instr) = 0;
290 virtual void visit(const ControlFlowInstr& instr) = 0;
291 virtual void visit(const IfInstr& instr) = 0;
292 virtual void visit(const ScratchIOInstr& instr) = 0;
293 virtual void visit(const StreamOutInstr& instr) = 0;
[all …]
Dsfn_peephole.cpp34 void visit(AluInstr *instr) override;
35 void visit(AluGroup *instr) override;
36 void visit(TexInstr *instr) override {(void)instr;}; in visit() function in r600::PeepholeVisitor
37 void visit(ExportInstr *instr) override {(void)instr;} in visit() function in r600::PeepholeVisitor
38 void visit(FetchInstr *instr) override {(void)instr;} in visit() function in r600::PeepholeVisitor
39 void visit(Block *instr) override;
40 void visit(ControlFlowInstr *instr) override {(void)instr;} in visit() function in r600::PeepholeVisitor
41 void visit(IfInstr *instr) override;
42 void visit(ScratchIOInstr *instr) override {(void)instr;} in visit() function in r600::PeepholeVisitor
43 void visit(StreamOutInstr *instr) override {(void)instr;} in visit() function in r600::PeepholeVisitor
[all …]
Dsfn_alu_readport_validation.cpp37 void visit(const LocalArray& value) override;
38 void visit(const LiteralConstant& value) override;
39 void visit(const InlineConstant& value) override;
58 void visit(const Register& value) override;
59 void visit(const LocalArrayValue& value) override;
60 void visit(const UniformValue& value) override;
75 void visit(const Register& value) override;
76 void visit(const LocalArrayValue& value) override;
77 void visit(const UniformValue& value) override;
78 void visit(const InlineConstant& value) override;
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DValidateAST.cpp27 bool visitSwizzle(Visit visit, TIntermSwizzle *node) override;
28 bool visitBinary(Visit visit, TIntermBinary *node) override;
29 bool visitUnary(Visit visit, TIntermUnary *node) override;
30 bool visitTernary(Visit visit, TIntermTernary *node) override;
31 bool visitIfElse(Visit visit, TIntermIfElse *node) override;
32 bool visitSwitch(Visit visit, TIntermSwitch *node) override;
33 bool visitCase(Visit visit, TIntermCase *node) override;
35 bool visitFunctionDefinition(Visit visit, TIntermFunctionDefinition *node) override;
36 bool visitAggregate(Visit visit, TIntermAggregate *node) override;
37 bool visitBlock(Visit visit, TIntermBlock *node) override;
[all …]
DOutputHLSL.cpp1279 void OutputHLSL::outputEqual(Visit visit, const TType &type, TOperator op, TInfoSinkBase &out) in outputEqual() argument
1285 outputTriplet(out, visit, "(", " == ", ")"); in outputEqual()
1289 outputTriplet(out, visit, "(", " != ", ")"); in outputEqual()
1294 if (visit == PreVisit && op == EOpNotEqual) in outputEqual()
1302 outputTriplet(out, visit, (functionName + "(").c_str(), ", ", ")"); in outputEqual()
1308 outputTriplet(out, visit, (functionName + "(").c_str(), ", ", ")"); in outputEqual()
1313 outputTriplet(out, visit, "all(", " == ", ")"); in outputEqual()
1318 void OutputHLSL::outputAssign(Visit visit, const TType &type, TInfoSinkBase &out) in outputAssign() argument
1323 outputTriplet(out, visit, (functionName + "(").c_str(), ", ", ")"); in outputAssign()
1327 outputTriplet(out, visit, "(", " = ", ")"); in outputAssign()
[all …]
DOutputGLSLBase.cpp126 void TOutputGLSLBase::writeTriplet(Visit visit, in writeTriplet() argument
132 if (visit == PreVisit && preStr) in writeTriplet()
134 else if (visit == InVisit && inStr) in writeTriplet()
136 else if (visit == PostVisit && postStr) in writeTriplet()
140 void TOutputGLSLBase::writeBuiltInFunctionTriplet(Visit visit, in writeBuiltInFunctionTriplet() argument
145 if (visit == PreVisit) in writeBuiltInFunctionTriplet()
160 writeTriplet(visit, nullptr, ", ", ")"); in writeBuiltInFunctionTriplet()
455 void TOutputGLSLBase::writeConstructorTriplet(Visit visit, const TType &type) in writeConstructorTriplet() argument
458 if (visit == PreVisit) in writeConstructorTriplet()
473 writeTriplet(visit, nullptr, ", ", ")"); in writeConstructorTriplet()
[all …]
DASTMetadataHLSL.cpp68 void visitControlFlow(Visit visit, TIntermNode *node) in visitControlFlow() argument
70 if (visit == PreVisit) in visitControlFlow()
74 else if (visit == PostVisit) in visitControlFlow()
86 bool visitLoop(Visit visit, TIntermLoop *loop) override in visitLoop() argument
88 visitControlFlow(visit, loop); in visitLoop()
92 bool visitIfElse(Visit visit, TIntermIfElse *ifElse) override in visitIfElse() argument
94 visitControlFlow(visit, ifElse); in visitIfElse()
98 bool visitUnary(Visit visit, TIntermUnary *node) override in visitUnary() argument
100 if (visit == PreVisit) in visitUnary()
117 bool visitAggregate(Visit visit, TIntermAggregate *node) override in visitAggregate() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DIntermTraverse.cpp49 bool visit = true; in traverse() local
56 visit = it->visitBinary(PreVisit, this); in traverse()
62 if(visit) in traverse()
75 visit = it->visitBinary(InVisit, this); in traverse()
78 if(visit && left) in traverse()
92 visit = it->visitBinary(InVisit, this); in traverse()
95 if(visit && right) in traverse()
108 if(visit && it->postVisit) in traverse()
119 bool visit = true; in traverse() local
122 visit = it->visitUnary(PreVisit, this); in traverse()
[all …]
/third_party/glslang/glslang/MachineIndependent/
DIntermTraverse.cpp86 bool visit = true; in traverse() local
92 visit = it->visitBinary(EvPreVisit, this); in traverse()
97 if (visit) { in traverse()
105 visit = it->visitBinary(EvInVisit, this); in traverse()
107 if (visit && left) in traverse()
114 visit = it->visitBinary(EvInVisit, this); in traverse()
116 if (visit && right) in traverse()
127 if (visit && it->postVisit) in traverse()
136 bool visit = true; in traverse() local
139 visit = it->visitUnary(EvPreVisit, this); in traverse()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/sb/
Dsb_pass.h59 virtual bool visit(node &n, bool enter);
60 virtual bool visit(container_node &n, bool enter);
61 virtual bool visit(alu_group_node &n, bool enter);
62 virtual bool visit(cf_node &n, bool enter);
63 virtual bool visit(alu_node &n, bool enter);
64 virtual bool visit(alu_packed_node &n, bool enter);
65 virtual bool visit(fetch_node &n, bool enter);
66 virtual bool visit(region_node &n, bool enter);
67 virtual bool visit(repeat_node &n, bool enter);
68 virtual bool visit(depart_node &n, bool enter);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DBlockPrinter.cpp13 Error BlockPrinter::visit(BufferExtents &R) { in visit() function in llvm::xray::BlockPrinter
16 return RP.visit(R); in visit()
20 Error BlockPrinter::visit(NewBufferRecord &R) { in visit() function in llvm::xray::BlockPrinter
26 return RP.visit(R); in visit()
29 Error BlockPrinter::visit(WallclockRecord &R) { in visit() function in llvm::xray::BlockPrinter
31 return RP.visit(R); in visit()
34 Error BlockPrinter::visit(PIDRecord &R) { in visit() function in llvm::xray::BlockPrinter
36 return RP.visit(R); in visit()
40 Error BlockPrinter::visit(NewCPUIDRecord &R) { in visit() function in llvm::xray::BlockPrinter
47 auto E = RP.visit(R); in visit()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DOutputHLSL.cpp1341 void OutputHLSL::outputEqual(Visit visit, const TType &type, TOperator op, TInfoSinkBase &out) in outputEqual() argument
1347 outputTriplet(out, visit, "(", " == ", ")"); in outputEqual()
1351 outputTriplet(out, visit, "(", " != ", ")"); in outputEqual()
1356 if (visit == PreVisit && op == EOpNotEqual) in outputEqual()
1364 outputTriplet(out, visit, (functionName + "(").c_str(), ", ", ")"); in outputEqual()
1370 outputTriplet(out, visit, (functionName + "(").c_str(), ", ", ")"); in outputEqual()
1375 outputTriplet(out, visit, "all(", " == ", ")"); in outputEqual()
1380 void OutputHLSL::outputAssign(Visit visit, const TType &type, TInfoSinkBase &out) in outputAssign() argument
1385 outputTriplet(out, visit, (functionName + "(").c_str(), ", ", ")"); in outputAssign()
1389 outputTriplet(out, visit, "(", " = ", ")"); in outputAssign()
[all …]
DValidateAST.cpp32 bool visitSwizzle(Visit visit, TIntermSwizzle *node) override;
33 bool visitBinary(Visit visit, TIntermBinary *node) override;
34 bool visitUnary(Visit visit, TIntermUnary *node) override;
35 bool visitTernary(Visit visit, TIntermTernary *node) override;
36 bool visitIfElse(Visit visit, TIntermIfElse *node) override;
37 bool visitSwitch(Visit visit, TIntermSwitch *node) override;
38 bool visitCase(Visit visit, TIntermCase *node) override;
40 bool visitFunctionDefinition(Visit visit, TIntermFunctionDefinition *node) override;
41 bool visitAggregate(Visit visit, TIntermAggregate *node) override;
42 bool visitBlock(Visit visit, TIntermBlock *node) override;
[all …]
DOutputGLSLBase.cpp126 void TOutputGLSLBase::writeTriplet(Visit visit, in writeTriplet() argument
132 if (visit == PreVisit && preStr) in writeTriplet()
134 else if (visit == InVisit && inStr) in writeTriplet()
136 else if (visit == PostVisit && postStr) in writeTriplet()
140 void TOutputGLSLBase::writeFunctionTriplet(Visit visit, in writeFunctionTriplet() argument
145 if (visit == PreVisit) in writeFunctionTriplet()
159 writeTriplet(visit, nullptr, ", ", ")"); in writeFunctionTriplet()
520 void TOutputGLSLBase::writeConstructorTriplet(Visit visit, const TType &type) in writeConstructorTriplet() argument
523 if (visit == PreVisit) in writeConstructorTriplet()
538 writeTriplet(visit, nullptr, ", ", ")"); in writeConstructorTriplet()
[all …]
DASTMetadataHLSL.cpp71 void visitControlFlow(Visit visit, TIntermNode *node) in visitControlFlow() argument
73 if (visit == PreVisit) in visitControlFlow()
77 else if (visit == PostVisit) in visitControlFlow()
89 bool visitLoop(Visit visit, TIntermLoop *loop) override in visitLoop() argument
91 visitControlFlow(visit, loop); in visitLoop()
95 bool visitIfElse(Visit visit, TIntermIfElse *ifElse) override in visitIfElse() argument
97 visitControlFlow(visit, ifElse); in visitIfElse()
101 bool visitAggregate(Visit visit, TIntermAggregate *node) override in visitAggregate() argument
103 if (visit == PreVisit) in visitAggregate()
178 bool visitLoop(Visit visit, TIntermLoop *loop) override in visitLoop() argument
[all …]
/third_party/flutter/skia/modules/particles/src/
DSkCurve.cpp57 v->visit("Type", fType, gCurveSegmentTypeMapping, SK_ARRAY_COUNT(gCurveSegmentTypeMapping)); in visitFields()
58 v->visit("Ranged", fRanged); in visitFields()
59 v->visit("Bidirectional", fBidirectional); in visitFields()
60 v->visit("A0", fMin[0]); in visitFields()
62 v->visit("B0", fMin[1]); in visitFields()
63 v->visit("C0", fMin[2]); in visitFields()
66 v->visit("D0", fMin[3]); in visitFields()
69 v->visit("A1", fMax[0]); in visitFields()
71 v->visit("B1", fMax[1]); in visitFields()
72 v->visit("C1", fMax[2]); in visitFields()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/XRay/
DFDRTraceWriter.h35 Error visit(BufferExtents &) override;
36 Error visit(WallclockRecord &) override;
37 Error visit(NewCPUIDRecord &) override;
38 Error visit(TSCWrapRecord &) override;
39 Error visit(CustomEventRecord &) override;
40 Error visit(CallArgRecord &) override;
41 Error visit(PIDRecord &) override;
42 Error visit(NewBufferRecord &) override;
43 Error visit(EndBufferRecord &) override;
44 Error visit(FunctionRecord &) override;
[all …]
DRecordPrinter.h32 Error visit(BufferExtents &) override;
33 Error visit(WallclockRecord &) override;
34 Error visit(NewCPUIDRecord &) override;
35 Error visit(TSCWrapRecord &) override;
36 Error visit(CustomEventRecord &) override;
37 Error visit(CallArgRecord &) override;
38 Error visit(PIDRecord &) override;
39 Error visit(NewBufferRecord &) override;
40 Error visit(EndBufferRecord &) override;
41 Error visit(FunctionRecord &) override;
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DSplitSequenceOperator.cpp28 bool visitUnary(Visit visit, TIntermUnary *node) override;
29 bool visitBinary(Visit visit, TIntermBinary *node) override;
30 bool visitAggregate(Visit visit, TIntermAggregate *node) override;
31 bool visitTernary(Visit visit, TIntermTernary *node) override;
59 bool SplitSequenceOperatorTraverser::visitAggregate(Visit visit, TIntermAggregate *node) in visitAggregate() argument
64 if (mInsideSequenceOperator > 0 && visit == PreVisit) in visitAggregate()
74 bool SplitSequenceOperatorTraverser::visitUnary(Visit visit, TIntermUnary *node) in visitUnary() argument
79 if (mInsideSequenceOperator > 0 && visit == PreVisit) in visitUnary()
89 bool SplitSequenceOperatorTraverser::visitBinary(Visit visit, TIntermBinary *node) in visitBinary() argument
93 if (visit == PreVisit) in visitBinary()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DSplitSequenceOperator.cpp28 bool visitUnary(Visit visit, TIntermUnary *node) override;
29 bool visitBinary(Visit visit, TIntermBinary *node) override;
30 bool visitAggregate(Visit visit, TIntermAggregate *node) override;
31 bool visitTernary(Visit visit, TIntermTernary *node) override;
59 bool SplitSequenceOperatorTraverser::visitAggregate(Visit visit, TIntermAggregate *node) in visitAggregate() argument
64 if (mInsideSequenceOperator > 0 && visit == PreVisit) in visitAggregate()
74 bool SplitSequenceOperatorTraverser::visitUnary(Visit visit, TIntermUnary *node) in visitUnary() argument
79 if (mInsideSequenceOperator > 0 && visit == PreVisit) in visitUnary()
89 bool SplitSequenceOperatorTraverser::visitBinary(Visit visit, TIntermBinary *node) in visitBinary() argument
93 if (visit == PreVisit) in visitBinary()
[all …]

12345678910>>...36