/external/angle/src/compiler/translator/TranslatorMetalDirect/ |
D | ModifyStruct.cpp | 59 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 …]
|
D | ToposortStructs.cpp | 31 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 …]
|
D | AddExplicitTypeCasts.cpp | 21 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()
|
D | RewritePipelines.cpp | 75 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 …]
|
D | RewriteOutArgs.cpp | 90 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()
|
D | RewriteUnaddressableReferences.cpp | 259 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()
|
D | RewriteUnaddressableReferences.h | 27 SymbolEnv &symbolEnv);
|
D | RewriteOutArgs.h | 29 ANGLE_NO_DISCARD bool RewriteOutArgs(TCompiler &compiler, TIntermBlock &root, SymbolEnv &symbolEnv);
|
D | AddExplicitTypeCasts.h | 20 SymbolEnv &symbolEnv);
|
D | SeparateCompoundExpressions.h | 41 SymbolEnv &symbolEnv,
|
D | ToposortStructs.h | 21 SymbolEnv &symbolEnv,
|
D | RewritePipelines.h | 39 SymbolEnv &symbolEnv,
|
D | EmitMetal.h | 27 SymbolEnv &symbolEnv,
|
D | FixTypeConstructors.cpp | 93 bool sh::FixTypeConstructors(TCompiler &compiler, SymbolEnv &symbolEnv, TIntermBlock &root) in FixTypeConstructors() argument
|
D | ModifyStruct.h | 128 SymbolEnv &symbolEnv,
|
D | SeparateCompoundExpressions.cpp | 134 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()
|
D | AstHelpers.h | 153 TIntermTyped &AsType(SymbolEnv &symbolEnv, const TType &toType, TIntermTyped &fromNode);
|
D | AstHelpers.cpp | 458 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()
|
D | EmitMetal.cpp | 85 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/ |
D | TranslatorMetalDirect.cpp | 855 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()
|