/third_party/flutter/skia/src/sksl/ir/ |
D | SkSLVarDeclarationsStatement.h | 22 , fDeclaration(std::move(decl)) {} in VarDeclarationsStatement() 25 for (const auto& s : fDeclaration->fVars) { in isEmpty() 34 std::unique_ptr<VarDeclarations> cloned((VarDeclarations*) fDeclaration->clone().release()); in clone() 39 return fDeclaration->description() + ";"; in description() 42 std::unique_ptr<VarDeclarations> fDeclaration; member
|
D | SkSLFunctionDefinition.h | 24 , fDeclaration(declaration) in FunctionDefinition() 28 return std::unique_ptr<ProgramElement>(new FunctionDefinition(fOffset, fDeclaration, in clone() 33 return fDeclaration.description() + " " + fBody->description(); in description() 36 const FunctionDeclaration& fDeclaration; member
|
/third_party/skia/src/sksl/ir/ |
D | SkSLFunctionPrototype.h | 28 , fDeclaration(declaration) in FunctionPrototype() 32 return *fDeclaration; in declaration() 48 const FunctionDeclaration* fDeclaration;
|
D | SkSLVariable.h | 95 SkASSERT(!fDeclaration); in setDeclaration() 96 fDeclaration = declaration; in setDeclaration() 102 const_cast<Variable*>(this)->fDeclaration = nullptr; in detachDeadVarDeclaration() 110 VarDeclaration* fDeclaration = nullptr;
|
D | SkSLVarDeclarations.h | 118 , fDeclaration(std::move(decl)) { in GlobalVarDeclaration() 123 return fDeclaration; in declaration() 127 return fDeclaration; in declaration() 139 std::unique_ptr<Statement> fDeclaration;
|
D | SkSLVariable.cpp | 22 if (fDeclaration) { in ~Variable() 23 fDeclaration->setVar(nullptr); in ~Variable() 28 return fDeclaration ? fDeclaration->value().get() : nullptr; in initialValue()
|
D | SkSLFunctionDefinition.h | 31 , fDeclaration(declaration) in FunctionDefinition() 55 return *fDeclaration; in declaration() 93 const FunctionDeclaration* fDeclaration;
|
/third_party/skia/src/sksl/dsl/priv/ |
D | DSLWriter.cpp | 57 var.fDeclaration = VarDeclaration::Convert(ThreadContext::Context(), std::move(skslvar), in Var() 59 if (var.fDeclaration) { in Var() 80 if (!var.fDeclaration) { in Declaration() 86 return std::move(var.fDeclaration); in Declaration()
|
/third_party/skia/src/sksl/dsl/ |
D | DSLVar.cpp | 74 if (fDeclaration && !fDeclared) { in ~DSLVarBase() 87 std::swap(fDeclaration, other.fDeclaration); in swap()
|
D | DSLFunction.cpp | 46 SkASSERT(!param->fDeclaration); in init()
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLJIT.cpp | 852 if (&def.fDeclaration == &functionDecl) { in appendStage() 1072 for (const auto& declStatement : decls.fDeclaration->fVars) { in compileVarDeclarations() 1277 fVariables[f.fDeclaration.fParameters[1]] = LLVMBuildTrunc(builder, params.get()[3], fInt32Type, in compileStageFunctionLoop() 1279 fVariables[f.fDeclaration.fParameters[2]] = color; in compileStageFunctionLoop() 1285 fVariables[f.fDeclaration.fParameters[0]] = LLVMBuildAdd(builder, in compileStageFunctionLoop() 1735 (String(f.fDeclaration.fName) + "$stage").c_str(), in compileStageFunction() 1737 fColorParam = f.fDeclaration.fParameters[2]; in compileStageFunction() 1757 if (this->hasStageSignature(f.fDeclaration)) { in compileFunction() 1763 LLVMTypeRef returnType = this->getType(f.fDeclaration.fReturnType); in compileFunction() 1765 for (const auto& p : f.fDeclaration.fParameters) { in compileFunction() [all …]
|
D | SkSLMetalCodeGenerator.cpp | 780 if ("main" == f.fDeclaration.fName) { in writeFunction() 860 this->writeType(f.fDeclaration.fReturnType); in writeFunction() 862 this->writeName(f.fDeclaration.fName); in writeFunction() 864 Requirements requirements = this->requirements(f.fDeclaration); in writeFunction() 890 for (const auto& param : f.fDeclaration.fParameters) { in writeFunction() 918 if ("main" == f.fDeclaration.fName) { in writeFunction() 961 if ("main" == f.fDeclaration.fName) { in writeFunction() 1156 this->writeVarDeclarations(*((VarDeclarationsStatement&) s).fDeclaration, false); in writeStatement() 1599 const VarDeclarations& decls = *((const VarDeclarationsStatement&) s).fDeclaration; in requirements() 1662 if (&def.fDeclaration == &f) { in requirements()
|
D | SkSLPipelineStageCodeGenerator.cpp | 185 fCurrentFunction = &f.fDeclaration; in writeFunction() 186 if (f.fDeclaration.fName == "main") { in writeFunction()
|
D | SkSLGLSLCodeGenerator.cpp | 1045 this->writeTypePrecision(f.fDeclaration.fReturnType); in writeFunctionCall() 1046 this->writeType(f.fDeclaration.fReturnType); in writeFunctionCall() 1047 this->write(" " + f.fDeclaration.fName + "("); in writeFunctionCall() 1049 for (const auto& param : f.fDeclaration.fParameters) { in writeFunctionCall() 1302 this->writeVarDeclarations(*((VarDeclarationsStatement&) s).fDeclaration, false); in writeFunctionCall()
|
D | SkSLByteCodeGenerator.cpp | 88 std::unique_ptr<ByteCodeFunction> result(new ByteCodeFunction(&f.fDeclaration)); in writeFunction() 109 const Type& returnType = f.fDeclaration.fReturnType; in writeFunction() 393 for (const auto& p : fFunction->fDeclaration.fParameters) { in getLocation() 930 if (f.fFunction.matches(fFunctions[idx]->fDeclaration)) { in writeFunctionCall() 1520 this->writeVarDeclarations(*((VarDeclarationsStatement&) s).fDeclaration); in writeStatement()
|
D | SkSLCompiler.cpp | 448 for (const auto& decl : vd->fDeclaration->fVars) { in compute_start_state() 1222 VarDeclarations& decls = *((VarDeclarationsStatement&) s).fDeclaration; in scanCFG() 1248 if (f.fDeclaration.fReturnType != *fContext->fVoid_Type) { in scanCFG()
|
D | SkSLSPIRVCodeGenerator.cpp | 2554 SpvId result = this->writeFunctionStart(f.fDeclaration, out); in writeFunction() 2559 if (f.fDeclaration.fName == "main") { in writeFunction() 2564 if (f.fDeclaration.fReturnType == *fContext.fVoid_Type) { in writeFunction() 2832 this->writeVarDeclarations(*((VarDeclarationsStatement&) s).fDeclaration, out); in writeStatement() 3124 fFunctionMap[&f.fDeclaration] = this->nextId(); in writeInstructions()
|
D | SkSLCFGGenerator.cpp | 506 for (auto& stmt : decls.fDeclaration->fVars) { in addStatement()
|
D | SkSLCPPCodeGenerator.cpp | 484 if (f.fDeclaration.fName == "main") { in writeFunction()
|
D | SkSLIRGenerator.cpp | 2325 if (f.fDeclaration.fName == name) { in convertAppend() 2327 std::vector<const FunctionDeclaration*> functions = { &f.fDeclaration }; in convertAppend()
|
/third_party/skia/include/sksl/ |
D | DSLVar.h | 128 std::unique_ptr<SkSL::Statement> fDeclaration; variable
|