/third_party/skia/src/sksl/ir/ |
D | SkSLFunctionDefinition.h | 22 class FunctionDefinition final : public ProgramElement { 28 FunctionDefinition(int line, const FunctionDeclaration* declaration, bool builtin, in FunctionDefinition() function 48 static std::unique_ptr<FunctionDefinition> Convert(const Context& context, 83 return std::make_unique<FunctionDefinition>(fLine, &this->declaration(), in clone()
|
D | SkSLFunctionDeclaration.h | 23 class FunctionDefinition; variable 59 const FunctionDefinition* definition() const { in definition() 63 void setDefinition(const FunctionDefinition* definition) const { in setDefinition() 119 mutable const FunctionDefinition* fDefinition;
|
D | SkSLFunctionDefinition.cpp | 72 std::unique_ptr<FunctionDefinition> FunctionDefinition::Convert(const Context& context, in Convert() 93 const FunctionDefinition& original = found->as<FunctionDefinition>(); in Convert() 265 return std::make_unique<FunctionDefinition>(line, &function, builtin, std::move(body), in Convert()
|
/third_party/skia/src/sksl/codegen/ |
D | SkSLVMCodeGenerator.h | 22 class FunctionDefinition; variable 50 const FunctionDefinition& function, 82 const FunctionDefinition& function, 88 const FunctionDefinition* Program_GetFunction(const Program& program, const char* function);
|
D | SkSLGLSLCodeGenerator.h | 29 class FunctionDefinition; variable 86 virtual void writeFunction(const FunctionDefinition& f);
|
D | SkSLPipelineStageCodeGenerator.cpp | 71 void writeFunction(const FunctionDefinition& f); 321 void PipelineStageCodeGenerator::writeFunction(const FunctionDefinition& f) { in writeFunction() 418 this->writeFunctionDeclaration(e.as<FunctionDefinition>().declaration()); in writeProgramElementFirstPass() 438 if (e.is<FunctionDefinition>()) { in writeProgramElementSecondPass() 439 this->writeFunction(e.as<FunctionDefinition>()); in writeProgramElementSecondPass()
|
D | SkSLMetalCodeGenerator.h | 31 class FunctionDefinition; variable 130 void writeFunction(const FunctionDefinition& f);
|
/third_party/flutter/skia/src/sksl/ir/ |
D | SkSLFunctionDefinition.h | 20 struct FunctionDefinition : public ProgramElement { struct 21 FunctionDefinition(int offset, const FunctionDeclaration& declaration, in FunctionDefinition() function 28 return std::unique_ptr<ProgramElement>(new FunctionDefinition(fOffset, fDeclaration, in clone() argument
|
/third_party/skia/src/sksl/transform/ |
D | SkSLEliminateDeadFunctions.cpp | 23 if (!element->is<FunctionDefinition>()) { in EliminateDeadFunctions() 26 const FunctionDefinition& fn = element->as<FunctionDefinition>(); in EliminateDeadFunctions()
|
D | SkSLBuiltinVariableScanner.cpp | 42 if (pe.is<FunctionDefinition>()) { in FindAndDeclareBuiltinVariables() 43 const FunctionDefinition& funcDef = pe.as<FunctionDefinition>(); in FindAndDeclareBuiltinVariables()
|
D | SkSLEliminateUnreachableCode.cpp | 136 if (pe->is<FunctionDefinition>()) { in EliminateUnreachableCode() 138 visitor.visitStatementPtr(pe->as<FunctionDefinition>().body()); in EliminateUnreachableCode()
|
/third_party/skia/src/sksl/analysis/ |
D | SkSLCheckProgramUnrolledSize.cpp | 54 if (pe.is<FunctionDefinition>()) { in CheckProgramUnrolledSize() 57 const FunctionDeclaration* decl = &pe.as<FunctionDefinition>().declaration(); in CheckProgramUnrolledSize() 194 if (element->is<FunctionDefinition>()) { in CheckProgramUnrolledSize() 200 element->as<FunctionDefinition>().declaration().isMain()) { in CheckProgramUnrolledSize()
|
D | SkSLProgramUsage.cpp | 27 if (pe.is<FunctionDefinition>()) { in visitProgramElement() 28 for (const Variable* param : pe.as<FunctionDefinition>().declaration().parameters()) { in visitProgramElement()
|
/third_party/skia/src/sksl/ |
D | SkSLInliner.h | 24 class FunctionDefinition; variable 84 static ReturnComplexity GetReturnComplexity(const FunctionDefinition& funcDef); 112 bool isSafeToInline(const FunctionDefinition* functionDef, const ProgramUsage& usage);
|
D | SkSLAnalysis.h | 24 class FunctionDefinition; variable 73 int NodeCountUpToLimit(const FunctionDefinition& function, int limit);
|
D | SkSLInliner.cpp | 66 static int count_returns_at_end_of_control_flow(const FunctionDefinition& funcDef) { in count_returns_at_end_of_control_flow() 69 CountReturnsAtEndOfControlFlow(const FunctionDefinition& funcDef) { in count_returns_at_end_of_control_flow() 169 CountReturnsWithLimit(const FunctionDefinition& funcDef, int limit) : fLimit(limit) { in CountReturnsWithLimit() 238 Inliner::ReturnComplexity Inliner::GetReturnComplexity(const FunctionDefinition& funcDef) { in GetReturnComplexity() 628 const FunctionDefinition& function = *call->function().definition(); in inlineCall() 720 bool Inliner::isSafeToInline(const FunctionDefinition* functionDef, const ProgramUsage& usage) { in isSafeToInline() 762 FunctionDefinition* fEnclosingFunction; // the Function containing the candidate 782 FunctionDefinition* fEnclosingFunction = nullptr; 801 FunctionDefinition& funcDef = pe->as<FunctionDefinition>(); in visitProgramElement()
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLJIT.h | 262 bool compileStageFunctionVector(const FunctionDefinition& f, LLVMValueRef newFunc); 269 void compileStageFunctionLoop(const FunctionDefinition& f, LLVMValueRef newFunc); 279 LLVMValueRef compileStageFunction(const FunctionDefinition& f); 286 LLVMValueRef compileFunction(const FunctionDefinition& f);
|
D | SkSLByteCodeGenerator.h | 181 std::unique_ptr<ByteCodeFunction> writeFunction(const FunctionDefinition& f); 273 const FunctionDefinition* fFunction; 283 std::vector<const FunctionDefinition*> fFunctions;
|
D | SkSLPipelineStageCodeGenerator.h | 49 void writeFunction(const FunctionDefinition& f) override;
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | NodeType.h | 29 FunctionDefinition, enumerator 112 nodeType = NodeType::FunctionDefinition; in visitFunctionDefinition()
|
/third_party/skia/tests/ |
D | SkSLInterpreterTest.cpp | 86 const SkSL::FunctionDefinition* main = SkSL::Program_GetFunction(*program, "main"); in test() 117 const SkSL::FunctionDefinition* main = SkSL::Program_GetFunction(*program, "main"); in test() 528 auto build = [&](const SkSL::FunctionDefinition* fn) { in DEF_TEST() 650 const SkSL::FunctionDefinition* main = SkSL::Program_GetFunction(*program, "main"); in DEF_TEST() 672 const SkSL::FunctionDefinition* main = SkSL::Program_GetFunction(*program, "main"); in DEF_TEST() 716 auto test_fn = [&](const SkSL::FunctionDefinition* fn, float in, float expected) { in DEF_TEST() 905 const SkSL::FunctionDefinition* main = SkSL::Program_GetFunction(*program, "main"); in DEF_TEST() 964 const SkSL::FunctionDefinition* main = SkSL::Program_GetFunction(*program, "main"); in DEF_TEST()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/ |
D | COFFEmitter.cpp | 285 if (i->FunctionDefinition) in layoutCOFF() 545 if (i->FunctionDefinition) { in writeCOFF() 546 OS << binary_le(i->FunctionDefinition->TagIndex) in writeCOFF() 547 << binary_le(i->FunctionDefinition->TotalSize) in writeCOFF() 548 << binary_le(i->FunctionDefinition->PointerToLinenumber) in writeCOFF() 549 << binary_le(i->FunctionDefinition->PointerToNextFunction) in writeCOFF() 550 << zeros(i->FunctionDefinition->unused); in writeCOFF()
|
/third_party/skia/src/sksl/dsl/ |
D | DSLFunction.cpp | 99 std::unique_ptr<FunctionDefinition> function = FunctionDefinition::Convert( in define()
|
/third_party/skia/include/effects/ |
D | SkRuntimeEffect.h | 33 class FunctionDefinition; variable 240 const SkSL::FunctionDefinition& main, 280 const SkSL::FunctionDefinition& fMain;
|
/third_party/skia/include/private/ |
D | SkSLIRNode.h | 26 class FunctionDefinition; variable
|