/external/skqp/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
|
/external/skia/src/sksl/ir/ |
D | SkSLVariable.cpp | 16 if (fDeclaration) { in ~Variable() 17 fDeclaration->setVar(nullptr); in ~Variable() 22 return fDeclaration ? fDeclaration->value().get() : nullptr; in initialValue()
|
D | SkSLVariable.h | 74 SkASSERT(!fDeclaration); in setDeclaration() 75 fDeclaration = declaration; in setDeclaration() 81 const_cast<Variable*>(this)->fDeclaration = nullptr; in detachDeadVarDeclaration() 89 VarDeclaration* fDeclaration = nullptr;
|
D | SkSLFunctionPrototype.h | 28 , fDeclaration(declaration) in FunctionPrototype() 32 return *fDeclaration; in declaration() 49 const FunctionDeclaration* fDeclaration;
|
D | SkSLVarDeclarations.h | 110 , fDeclaration(std::move(decl)) { in GlobalVarDeclaration() 115 return fDeclaration; in declaration() 119 return fDeclaration; in declaration() 131 std::unique_ptr<Statement> fDeclaration;
|
D | SkSLFunctionDefinition.h | 31 , fDeclaration(declaration) in INHERITED() 38 return *fDeclaration; in declaration() 76 const FunctionDeclaration* fDeclaration;
|
/external/skqp/src/sksl/ |
D | SkSLInterpreter.cpp | 34 if ("appendStages" == f.fDeclaration.fName) { in run() 50 for (int i = f.fDeclaration.fParameters.size() - 1; i >= 0; --i) { in run() 51 current -= SizeOf(f.fDeclaration.fParameters[i]->fType); in run() 52 fVars.back()[f.fDeclaration.fParameters[i]] = current; in run() 163 for (const auto& decl :((const VarDeclarationsStatement&) stmt).fDeclaration->fVars) { in runStatement() 249 if (&f.fDeclaration == in appendStage()
|
D | SkSLMetalCodeGenerator.cpp | 627 if ("main" == f.fDeclaration.fName) { in writeFunction() 708 this->writeType(f.fDeclaration.fReturnType); in writeFunction() 710 this->writeName(f.fDeclaration.fName); in writeFunction() 712 if (this->requirements(f.fDeclaration) & kInputs_Requirement) { in writeFunction() 716 if (this->requirements(f.fDeclaration) & kOutputs_Requirement) { in writeFunction() 721 if (this->requirements(f.fDeclaration) & kUniforms_Requirement) { in writeFunction() 726 if (this->requirements(f.fDeclaration) & kGlobals_Requirement) { in writeFunction() 732 for (const auto& param : f.fDeclaration.fParameters) { in writeFunction() 760 if ("main" == f.fDeclaration.fName) { in writeFunction() 803 if ("main" == f.fDeclaration.fName) { in writeFunction() [all …]
|
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 | SkSLGLSLCodeGenerator.cpp | 1020 this->writeTypePrecision(f.fDeclaration.fReturnType); in writeFunctionCall() 1021 this->writeType(f.fDeclaration.fReturnType); in writeFunctionCall() 1022 this->write(" " + f.fDeclaration.fName + "("); in writeFunctionCall() 1024 for (const auto& param : f.fDeclaration.fParameters) { in writeFunctionCall() 1271 this->writeVarDeclarations(*((VarDeclarationsStatement&) s).fDeclaration, false); in writeFunctionCall()
|
D | SkSLPipelineStageCodeGenerator.cpp | 181 if (f.fDeclaration.fName == "main") { in writeFunction()
|
D | SkSLCompiler.cpp | 435 for (const auto& decl : vd->fDeclaration->fVars) { in compute_start_state() 1201 VarDeclarations& decls = *((VarDeclarationsStatement&) s).fDeclaration; in scanCFG() 1227 if (f.fDeclaration.fReturnType != *fContext->fVoid_Type) { in scanCFG()
|
D | SkSLCFGGenerator.cpp | 488 for (auto& stmt : decls.fDeclaration->fVars) { in addStatement()
|
D | SkSLSPIRVCodeGenerator.cpp | 2524 SpvId result = this->writeFunctionStart(f.fDeclaration, out); in writeFunction() 2529 if (f.fDeclaration.fName == "main") { in writeFunction() 2534 if (f.fDeclaration.fReturnType == *fContext.fVoid_Type) { in writeFunction() 2797 this->writeVarDeclarations(*((VarDeclarationsStatement&) s).fDeclaration, out); in writeStatement() 3091 fFunctionMap[&f.fDeclaration] = this->nextId(); in writeInstructions()
|
D | SkSLCPPCodeGenerator.cpp | 434 if (f.fDeclaration.fName == "main") { in writeFunction()
|
D | SkSLIRGenerator.cpp | 2076 if (f.fDeclaration.fName == name) { in convertAppend() 2078 std::vector<const FunctionDeclaration*> functions = { &f.fDeclaration }; in convertAppend()
|
/external/skia/src/sksl/dsl/ |
D | DSLVar.cpp | 122 std::swap(fDeclaration, other.fDeclaration); in swap()
|
D | DSLFunction.cpp | 67 param->fDeclaration = nullptr; in init()
|
/external/skia/include/sksl/ |
D | DSLVar.h | 140 std::unique_ptr<SkSL::Statement> fDeclaration; variable
|
/external/skia/src/sksl/dsl/priv/ |
D | DSLWriter.cpp | 241 var.fDeclaration = DSLWriter::IRGenerator().convertVarDeclaration( in Var() 259 return std::move(var.fDeclaration); in Declaration()
|