Home
last modified time | relevance | path

Searched refs:symbolEnv (Results 1 – 20 of 20) sorted by relevance

/external/angle/src/compiler/translator/TranslatorMetalDirect/
DModifyStruct.cpp59 TIntermTyped &Flatten(SymbolEnv &symbolEnv, TIntermTyped &node) in Flatten() argument
67 return symbolEnv.callFunctionOverload(Name("flatten"), retType, *new TIntermSequence{&node}); in Flatten()
95 TIntermTyped &BuildPathAccess(SymbolEnv &symbolEnv, in BuildPathAccess() argument
112 curr = &Flatten(symbolEnv, *curr); in BuildPathAccess()
154 SymbolEnv &symbolEnv, in ConvertStructState() argument
161 symbolEnv(symbolEnv), in ConvertStructState()
163 symbolTable(symbolEnv.symbolTable()), in ConvertStructState()
193 symbolEnv.markAsReference(originalParam, AddressSpace::Thread); in publish()
194 symbolEnv.markAsReference(modifiedParam, config.externalAddressSpace); in publish()
231 OriginalAccess *original = &BuildPathAccess(symbolEnv, originalParam, info.pathItems); in publish()
[all …]
DToposortStructs.cpp31 void BuildGraphImpl(SymbolEnv &symbolEnv, Graph<const TStructure *> &g, const TStructure *s) in BuildGraphImpl() argument
43 if (const TStructure *z = symbolEnv.remap(f->type()->getStruct())) in BuildGraphImpl()
46 BuildGraphImpl(symbolEnv, g, z); in BuildGraphImpl()
53 Graph<const TStructure *> BuildGraph(SymbolEnv &symbolEnv, in BuildGraph() argument
59 BuildGraphImpl(symbolEnv, g, s); in BuildGraph()
211 bool GetAsDeclaredStructure(SymbolEnv &symbolEnv, in GetAsDeclaredStructure() argument
226 if (const TStructure *structure = symbolEnv.remap(type.getStruct())) in GetAsDeclaredStructure()
250 FindStructEqualityUse(SymbolEnv &symbolEnv) in FindStructEqualityUse() argument
251 : TIntermTraverser(false, false, true), mSymbolEnv(symbolEnv) in FindStructEqualityUse()
301 SymbolEnv &symbolEnv, in ToposortStructs() argument
[all …]
DAddExplicitTypeCasts.cpp21 Rewriter(TCompiler &compiler, SymbolEnv &symbolEnv) in Rewriter() argument
22 : TIntermRebuild(compiler, false, true), mSymbolEnv(symbolEnv) in Rewriter()
87 bool sh::AddExplicitTypeCasts(TCompiler &compiler, TIntermBlock &root, SymbolEnv &symbolEnv) in AddExplicitTypeCasts() argument
89 Rewriter rewriter(compiler, symbolEnv); in AddExplicitTypeCasts()
DRewritePipelines.cpp75 SymbolEnv &symbolEnv, in Exec() argument
78 GeneratePipelineStruct self(compiler, idGen, pipeline, symbolEnv, invariants); in Exec()
91 SymbolEnv &symbolEnv, in GeneratePipelineStruct() argument
95 mSymbolEnv(symbolEnv), in GeneratePipelineStruct()
341 SymbolEnv &symbolEnv, in PipelineFunctionEnv() argument
348 mSymbolEnv(symbolEnv), in PipelineFunctionEnv()
349 mSymbolTable(symbolEnv.symbolTable()), in PipelineFunctionEnv()
550 SymbolEnv &symbolEnv, in ThreadPipeline() argument
555 pipelineMainLocalVar, idGen, symbolEnv, funcOriginalToModified, in ThreadPipeline()
571 SymbolEnv &symbolEnv, in UpdatePipelineFunctions() argument
[all …]
DRewriteOutArgs.cpp90 Rewriter(TCompiler &compiler, SymbolEnv &symbolEnv) in Rewriter() argument
91 : TIntermRebuild(compiler, false, true), mSymbolEnv(symbolEnv) in Rewriter()
213 bool sh::RewriteOutArgs(TCompiler &compiler, TIntermBlock &root, SymbolEnv &symbolEnv) in RewriteOutArgs() argument
215 Rewriter rewriter(compiler, symbolEnv); in RewriteOutArgs()
DRewriteUnaddressableReferences.cpp259 Rewriter2(TCompiler &compiler, SymbolEnv &symbolEnv) in Rewriter2() argument
260 : TIntermRebuild(compiler, true, true), mSymbolEnv(symbolEnv) in Rewriter2()
364 SymbolEnv &symbolEnv) in RewriteUnaddressableReferences() argument
370 if (!Rewriter2(compiler, symbolEnv).rebuildRoot(root)) in RewriteUnaddressableReferences()
DRewriteUnaddressableReferences.h27 SymbolEnv &symbolEnv);
DRewriteOutArgs.h29 ANGLE_NO_DISCARD bool RewriteOutArgs(TCompiler &compiler, TIntermBlock &root, SymbolEnv &symbolEnv);
DAddExplicitTypeCasts.h20 SymbolEnv &symbolEnv);
DSeparateCompoundExpressions.h41 SymbolEnv &symbolEnv,
DToposortStructs.h21 SymbolEnv &symbolEnv,
DRewritePipelines.h39 SymbolEnv &symbolEnv,
DEmitMetal.h27 SymbolEnv &symbolEnv,
DFixTypeConstructors.cpp93 bool sh::FixTypeConstructors(TCompiler &compiler, SymbolEnv &symbolEnv, TIntermBlock &root) in FixTypeConstructors() argument
DModifyStruct.h128 SymbolEnv &symbolEnv,
DSeparateCompoundExpressions.cpp134 Separator(TCompiler &compiler, SymbolEnv &symbolEnv, IdGen &idGen) in Separator() argument
629 SymbolEnv &symbolEnv, in SeparateCompoundExpressions() argument
648 if (!Separator(compiler, symbolEnv, idGen).rebuildRoot(root)) in SeparateCompoundExpressions()
DAstHelpers.h153 TIntermTyped &AsType(SymbolEnv &symbolEnv, const TType &toType, TIntermTyped &fromNode);
DAstHelpers.cpp458 TIntermTyped &sh::AsType(SymbolEnv &symbolEnv, const TType &toType, TIntermTyped &fromNode) in AsType() argument
472 return symbolEnv.callFunctionOverload(Name("as_type", SymbolType::BuiltIn), toType, in AsType()
DEmitMetal.cpp85 SymbolEnv &symbolEnv,
217 SymbolEnv &symbolEnv, in GenMetalTraverser() argument
224 mSymbolEnv(symbolEnv), in GenMetalTraverser()
2425 SymbolEnv &symbolEnv, in EmitMetal() argument
2484 GenMetalTraverser gen(compiler, outWrapper, idGen, pipelineStructs, invariants, symbolEnv, in EmitMetal()
/external/angle/src/compiler/translator/
DTranslatorMetalDirect.cpp855 SymbolEnv symbolEnv(*this, *root); in translateImpl() local
1116 if (!AddExplicitTypeCasts(*this, *root, symbolEnv)) in translateImpl()
1127 if (!RewritePipelines(*this, *root, idGen, *driverUniforms, symbolEnv, invariants, in translateImpl()
1139 if (!SeparateCompoundExpressions(*this, symbolEnv, idGen, *root)) in translateImpl()
1149 if (!RewriteUnaddressableReferences(*this, *root, symbolEnv)) in translateImpl()
1154 if (!RewriteOutArgs(*this, *root, symbolEnv)) in translateImpl()
1158 if (!FixTypeConstructors(*this, symbolEnv, *root)) in translateImpl()
1162 if (!ToposortStructs(*this, symbolEnv, *root, ppc)) in translateImpl()
1166 if (!EmitMetal(*this, *root, idGen, pipelineStructs, invariants, symbolEnv, ppc, in translateImpl()