Home
last modified time | relevance | path

Searched refs:FunctionDeclaration (Results 1 – 25 of 70) sorted by relevance

123

/external/skqp/src/sksl/ir/
DSkSLSymbolTable.cpp13 std::vector<const FunctionDeclaration*> SymbolTable::GetFunctions(const Symbol& s) { in GetFunctions()
16 return { &((FunctionDeclaration&) s) }; in GetFunctions()
20 return std::vector<const FunctionDeclaration*>(); in GetFunctions()
39 for (const FunctionDeclaration* prev : previousFunctions) { in operator []()
41 for (const FunctionDeclaration* current : functions) { in operator []()
84 std::vector<const FunctionDeclaration*> functions; in addWithoutOwnership()
85 functions.push_back((const FunctionDeclaration*) oldSymbol); in addWithoutOwnership()
86 functions.push_back((const FunctionDeclaration*) symbol); in addWithoutOwnership()
91 std::vector<const FunctionDeclaration*> functions; in addWithoutOwnership()
95 functions.push_back((const FunctionDeclaration*) symbol); in addWithoutOwnership()
[all …]
DSkSLFunctionReference.h23 std::vector<const FunctionDeclaration*> function) in FunctionReference()
39 const std::vector<const FunctionDeclaration*> fFunctions;
44 FunctionReference(int offset, std::vector<const FunctionDeclaration*> function, in FunctionReference()
DSkSLFunctionDeclaration.h23 struct FunctionDeclaration : public Symbol { struct
24 FunctionDeclaration(int offset, Modifiers modifiers, StringFragment name, in FunctionDeclaration() function
45 bool matches(const FunctionDeclaration& f) const { in matches() argument
DSkSLUnresolvedFunction.h19 UnresolvedFunction(std::vector<const FunctionDeclaration*> funcs) in UnresolvedFunction()
33 const std::vector<const FunctionDeclaration*> fFunctions;
DSkSLFunctionDefinition.h21 FunctionDefinition(int offset, const FunctionDeclaration& declaration, in FunctionDefinition()
36 const FunctionDeclaration& fDeclaration;
DSkSLSymbolTable.h19 struct FunctionDeclaration;
53 static std::vector<const FunctionDeclaration*> GetFunctions(const Symbol& s);
DSkSLFunctionCall.h20 FunctionCall(int offset, const Type& type, const FunctionDeclaration& function, in FunctionCall()
56 const FunctionDeclaration& fFunction;
/external/skia/src/sksl/ir/
DSkSLSymbolTable.cpp16 std::vector<const FunctionDeclaration*> SymbolTable::GetFunctions(const Symbol& s) { in GetFunctions()
19 return { &s.as<FunctionDeclaration>() }; in GetFunctions()
23 return std::vector<const FunctionDeclaration*>(); in GetFunctions()
55 for (const FunctionDeclaration* prev : previousFunctions) { in lookup()
57 for (const FunctionDeclaration* current : functions) { in lookup()
103 if (!symbol->is<FunctionDeclaration>()) { in addWithoutOwnership()
108 std::vector<const FunctionDeclaration*> functions; in addWithoutOwnership()
109 if (refInSymbolTable->is<FunctionDeclaration>()) { in addWithoutOwnership()
110 functions = {&refInSymbolTable->as<FunctionDeclaration>(), in addWithoutOwnership()
111 &symbol->as<FunctionDeclaration>()}; in addWithoutOwnership()
[all …]
DSkSLFunctionDefinition.h27 const FunctionDeclaration* declaration, bool builtin,
29 std::unordered_set<const FunctionDeclaration*> referencedIntrinsics = {})
37 const FunctionDeclaration& declaration() const { in declaration()
53 const std::unordered_set<const FunctionDeclaration*>& referencedIntrinsics() const { in referencedIntrinsics()
76 const FunctionDeclaration* fDeclaration;
81 std::unordered_set<const FunctionDeclaration*> fReferencedIntrinsics;
DSkSLFunctionCall.h24 FunctionCall(int offset, const Type* type, const FunctionDeclaration* function, in FunctionCall()
34 const FunctionDeclaration& function,
41 const FunctionDeclaration& function,
44 const FunctionDeclaration& function() const { in function()
63 const FunctionDeclaration& fFunction;
DSkSLFunctionDeclaration.cpp216 const FunctionDeclaration** outExistingDecl) { in find_existing_declaration()
221 std::vector<const FunctionDeclaration*> functions; in find_existing_declaration()
227 functions.push_back(&entry->as<FunctionDeclaration>()); in find_existing_declaration()
233 for (const FunctionDeclaration* other : functions) { in find_existing_declaration()
254 FunctionDeclaration invalidDecl(offset, in find_existing_declaration()
284 FunctionDeclaration::FunctionDeclaration(int offset, in FunctionDeclaration() function in SkSL::FunctionDeclaration
299 const FunctionDeclaration* FunctionDeclaration::Convert(const Context& context, in Convert()
305 const FunctionDeclaration* decl = nullptr; in Convert()
322 auto result = std::make_unique<FunctionDeclaration>(offset, modifiers, name, in Convert()
328 String FunctionDeclaration::mangledName() const { in mangledName()
[all …]
DSkSLInlineMarker.h25 InlineMarker(const FunctionDeclaration* function) in InlineMarker()
29 static std::unique_ptr<Statement> Make(const FunctionDeclaration* function) { in Make()
33 const FunctionDeclaration& function() const { in function()
50 const FunctionDeclaration& fFunction;
DSkSLFunctionReference.h26 std::vector<const FunctionDeclaration*> functions) in FunctionReference()
30 const std::vector<const FunctionDeclaration*>& functions() const { in functions()
48 FunctionReference(int offset, std::vector<const FunctionDeclaration*> functions, in FunctionReference()
53 std::vector<const FunctionDeclaration*> fFunctions;
DSkSLFunctionDeclaration.h36 class FunctionDeclaration final : public Symbol {
40 FunctionDeclaration(int offset,
47 static const FunctionDeclaration* Convert(const Context& context,
96 bool matches(const FunctionDeclaration& f) const;
DSkSLFunctionPrototype.h26 FunctionPrototype(int offset, const FunctionDeclaration* declaration, bool builtin) in FunctionPrototype()
31 const FunctionDeclaration& declaration() const { in declaration()
49 const FunctionDeclaration* fDeclaration;
DSkSLUnresolvedFunction.h22 UnresolvedFunction(std::vector<const FunctionDeclaration*> funcs) in UnresolvedFunction()
33 const std::vector<const FunctionDeclaration*>& functions() const { in functions()
42 std::vector<const FunctionDeclaration*> fFunctions;
/external/skia/src/sksl/codegen/
DSkSLMetalCodeGenerator.h133 void writeFunctionStart(const FunctionDeclaration& f);
135 void writeFunctionRequirementParams(const FunctionDeclaration& f,
138 void writeFunctionRequirementArgs(const FunctionDeclaration& f, const char*& separator);
140 bool writeFunctionDeclaration(const FunctionDeclaration& f);
260 Requirements requirements(const FunctionDeclaration& f);
285 std::unordered_map<const FunctionDeclaration*, Requirements> fRequirements;
291 const FunctionDeclaration* fCurrentFunction = nullptr;
/external/swiftshader/third_party/subzero/src/
DIceGlobalInits.h126 class FunctionDeclaration : public GlobalDeclaration {
127 FunctionDeclaration() = delete;
128 FunctionDeclaration(const FunctionDeclaration &) = delete;
129 FunctionDeclaration &operator=(const FunctionDeclaration &) = delete;
132 static FunctionDeclaration *create(GlobalContext *Context, in create()
137 return new (Context->allocate<FunctionDeclaration>()) in create()
138 FunctionDeclaration(Signature, CallingConv, Linkage, IsProto); in create()
169 FunctionDeclaration(const FuncSigType &Signature, in FunctionDeclaration() function
DIceGlobalInits.cpp63 bool FunctionDeclaration::validateTypeSignature() const { in validateTypeSignature()
72 FunctionDeclaration::getTypeSignatureError(const GlobalContext *Ctx) { in getTypeSignatureError()
80 void FunctionDeclaration::dumpType(Ostream &Stream) const { in dumpType()
86 void FunctionDeclaration::dump(Ostream &Stream) const { in dump()
/external/skia/src/sksl/
DSkSLInliner.h79 using InlinabilityCache = std::unordered_map<const FunctionDeclaration*, bool>;
82 using FunctionSizeCache = std::unordered_map<const FunctionDeclaration*, int>;
83 int getFunctionSize(const FunctionDeclaration& fnDecl, FunctionSizeCache* cache);
97 const FunctionDeclaration* caller);
DSkSLRehydrator.cpp182 const FunctionDeclaration* result = in symbol()
183 fSymbolTable->takeOwnershipOfSymbol(std::make_unique<FunctionDeclaration>( in symbol()
242 std::vector<const FunctionDeclaration*> functions; in symbol()
247 functions.push_back((const FunctionDeclaration*) f); in symbol()
309 const FunctionDeclaration* decl = this->symbolRef<FunctionDeclaration>( in element()
312 std::unordered_set<const FunctionDeclaration*> refs; in element()
315 refs.insert(this->symbolRef<FunctionDeclaration>( in element()
398 const FunctionDeclaration* funcDecl = this->symbolRef<FunctionDeclaration>( in statement()
520 const FunctionDeclaration* f = this->symbolRef<FunctionDeclaration>( in expression()
DSkSLIRGenerator.h189 const FunctionDeclaration& function,
191 CoercionCost callCost(const FunctionDeclaration& function,
240 void copyIntrinsicIfNeeded(const FunctionDeclaration& function);
244 void finalizeFunction(const FunctionDeclaration& funcDecl, Statement* body);
267 std::unordered_set<const FunctionDeclaration*> fReferencedIntrinsics;
/external/skqp/src/sksl/
DSkSLMetalCodeGenerator.h155 void writeFunctionStart(const FunctionDeclaration& f);
157 void writeFunctionDeclaration(const FunctionDeclaration& f);
239 Requirements requirements(const FunctionDeclaration& f);
272 std::unordered_map<const FunctionDeclaration*, Requirements> fRequirements;
/external/llvm-project/llvm/utils/TableGen/
DCodeGenSchedule.h377 const Record *FunctionDeclaration; variable
386 STIPredicateFunction(const Record *Rec) : FunctionDeclaration(Rec) {} in STIPredicateFunction()
390 return FunctionDeclaration == Other.FunctionDeclaration; in isCompatibleWith()
402 return FunctionDeclaration->getValueAsString("Name"); in getName()
405 return FunctionDeclaration->getValueAsDef("DefaultReturnValue"); in getDefaultReturnPredicate()
408 const Record *getDeclaration() const { return FunctionDeclaration; } in getDeclaration()
/external/skia/include/sksl/
DDSLFunction.h20 class FunctionDeclaration; variable
90 const SkSL::FunctionDeclaration* fDecl = nullptr;

123