Home
last modified time | relevance | path

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

12

/external/skia/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 []()
79 std::vector<const FunctionDeclaration*> functions; in addWithoutOwnership()
80 functions.push_back((const FunctionDeclaration*) oldSymbol); in addWithoutOwnership()
81 functions.push_back((const FunctionDeclaration*) symbol); in addWithoutOwnership()
86 std::vector<const FunctionDeclaration*> functions; in addWithoutOwnership()
90 functions.push_back((const FunctionDeclaration*) symbol); in addWithoutOwnership()
[all …]
DSkSLFunctionDeclaration.h23 struct FunctionDeclaration : public Symbol { struct
24 FunctionDeclaration(Position position, Modifiers modifiers, String name, in FunctionDeclaration() argument
45 bool matches(const FunctionDeclaration& f) const { in matches() argument
DSkSLFunctionReference.h23 std::vector<const FunctionDeclaration*> function) in FunctionReference()
36 const std::vector<const FunctionDeclaration*> fFunctions;
DSkSLUnresolvedFunction.h19 UnresolvedFunction(std::vector<const FunctionDeclaration*> funcs) in UnresolvedFunction()
33 const std::vector<const FunctionDeclaration*> fFunctions;
DSkSLFunctionDefinition.h21 FunctionDefinition(Position position, const FunctionDeclaration& declaration, in FunctionDefinition()
31 const FunctionDeclaration& fDeclaration;
DSkSLSymbolTable.h19 struct FunctionDeclaration;
47 static std::vector<const FunctionDeclaration*> GetFunctions(const Symbol& s);
DSkSLFunctionCall.h20 FunctionCall(Position position, const Type& type, const FunctionDeclaration& function, in FunctionCall()
47 const FunctionDeclaration& fFunction;
/external/swiftshader/third_party/subzero/src/
DIceGlobalInits.cpp64 FunctionDeclaration::getIntrinsicInfo(const GlobalContext *Ctx, in getIntrinsicInfo()
76 bool FunctionDeclaration::validateRegularTypeSignature() const { in validateRegularTypeSignature()
84 bool FunctionDeclaration::validateIntrinsicTypeSignature( in validateIntrinsicTypeSignature()
96 FunctionDeclaration::getTypeSignatureError(const GlobalContext *Ctx) { in getTypeSignatureError()
114 void FunctionDeclaration::dumpType(Ostream &Stream) const { in dumpType()
120 void FunctionDeclaration::dump(Ostream &Stream) const { in dump()
DIceGlobalInits.h130 class FunctionDeclaration : public GlobalDeclaration {
131 FunctionDeclaration() = delete;
132 FunctionDeclaration(const FunctionDeclaration &) = delete;
133 FunctionDeclaration &operator=(const FunctionDeclaration &) = delete;
136 static FunctionDeclaration *create(GlobalContext *Context, in create()
141 return new (Context->allocate<FunctionDeclaration>()) in create()
142 FunctionDeclaration(Signature, CallingConv, Linkage, IsProto); in create()
197 FunctionDeclaration(const FuncSigType &Signature, in FunctionDeclaration() function
DIceASanInstrumentation.cpp102 using PrototypeMap = std::unordered_map<std::string, FunctionDeclaration *>; in instrumentGlobals()
141 llvm::dyn_cast<FunctionDeclaration>(TargetDecl); in instrumentGlobals()
155 FunctionDeclaration *SubstProto; in instrumentGlobals()
160 SubstProto = FunctionDeclaration::create( in instrumentGlobals()
DIceDefs.h63 class FunctionDeclaration; variable
152 using FunctionDeclarationList = std::vector<FunctionDeclaration *>;
DPNaClTranslator.cpp301 void setNextFunctionID(Ice::FunctionDeclaration *Fcn) { in setNextFunctionID()
319 Ice::FunctionDeclaration *getFunctionByID(NaClBcIndexSize_t ID) { in getFunctionByID()
514 for (Ice::FunctionDeclaration *Func : FunctionDeclarations) { in installFunctionNames()
546 for (const Ice::FunctionDeclaration *Func : FunctionDeclarations) { in createValueIDsForFunctions()
571 Ice::FunctionDeclaration *reportGetFunctionByIDError(NaClBcIndexSize_t ID);
614 Ice::FunctionDeclaration *
650 for (Ice::FunctionDeclaration *FuncDecl : FunctionDeclarations) { in verifyFunctionTypeSignatures()
1451 Ice::FunctionDeclaration *FuncDecl;
2105 void verifyCallArgTypeMatches(Ice::FunctionDeclaration *Fcn, Ice::SizeT Index, in verifyCallArgTypeMatches()
2116 const std::string printName(Ice::FunctionDeclaration *Fcn) { in printName()
[all …]
DIceConverter.cpp136 if (const auto *Func = llvm::dyn_cast<Ice::FunctionDeclaration>(Decl)) in convertConstant()
871 auto *IceFunc = FunctionDeclaration::create( in installGlobalDeclarations()
/external/skia/src/sksl/
DSkSLSPIRVCodeGenerator.h107 SpvId getFunctionType(const FunctionDeclaration& function);
128 SpvId writeFunctionStart(const FunctionDeclaration& f, OutputStream& out);
130 SpvId writeFunctionDeclaration(const FunctionDeclaration& f, OutputStream& out);
286 std::unordered_map<const FunctionDeclaration*, SpvId> fFunctionMap;
DSkSLIRGenerator.h107 const FunctionDeclaration& function,
109 bool determineCallCost(const FunctionDeclaration& function,
169 const FunctionDeclaration* fCurrentFunction;
DSkSLGLSLCodeGenerator.h105 void writeFunctionStart(const FunctionDeclaration& f);
107 void writeFunctionDeclaration(const FunctionDeclaration& f);
DSkSLIRGenerator.cpp525 FunctionDeclaration* invokeDecl = new FunctionDeclaration(Position(), in applyInvocationIDWorkaround()
533 fSymbolTable->add(invokeDecl->fName, std::unique_ptr<FunctionDeclaration>(invokeDecl)); in applyInvocationIDWorkaround()
609 const FunctionDeclaration* decl = nullptr; in convertFunction()
612 std::vector<const FunctionDeclaration*> functions; in convertFunction()
618 functions.push_back((FunctionDeclaration*) entry); in convertFunction()
636 FunctionDeclaration newDecl(f.fPosition, f.fModifiers, f.fName, parameters, in convertFunction()
664 auto newDecl = std::unique_ptr<FunctionDeclaration>(new FunctionDeclaration(f.fPosition, in convertFunction()
846 std::vector<const FunctionDeclaration*> f = { in convertIdentifier()
847 (const FunctionDeclaration*) result in convertIdentifier()
1304 const FunctionDeclaration& textureSize = (FunctionDeclaration&) *textureSizeSymbol; in fixRectSampling()
[all …]
/external/v8/src/asmjs/
Dasm-typer.h78 bool ValidateInnerFunction(FunctionDeclaration* decl);
273 AsmType* ValidateModuleFunction(FunctionDeclaration* fun_decl);
283 AsmType* ValidateFunction(FunctionDeclaration* fun_decl);
Dasm-typer.cc561 bool AsmTyper::ValidateInnerFunction(FunctionDeclaration* fun_decl) { in ValidateInnerFunction()
709 AsmType* AsmTyper::ValidateModuleFunction(FunctionDeclaration* fun_decl) { in ValidateModuleFunction()
720 if (FunctionDeclaration* fun_decl = decl->AsFunctionDeclaration()) { in ValidateModuleFunctions()
1116 AsmType* AsmTyper::ValidateFunction(FunctionDeclaration* fun_decl) { in ValidateFunction()
/external/llvm/test/Bindings/llvm-c/
Dfunctions.ll39 ;CHECK: FunctionDeclaration: Y
/external/v8/src/compiler/
Dast-loop-assignment-analyzer.cc58 void ALAA::VisitFunctionDeclaration(FunctionDeclaration* leaf) {} in VisitFunctionDeclaration()
/external/v8/src/ast/
Dast-expression-rewriter.cc61 FunctionDeclaration* node) { in VisitFunctionDeclaration()
Dprettyprinter.cc71 void CallPrinter::VisitFunctionDeclaration(FunctionDeclaration* node) {} in VisitFunctionDeclaration()
719 void AstPrinter::VisitFunctionDeclaration(FunctionDeclaration* node) { in VisitFunctionDeclaration()
Dast-traversal-visitor.h131 FunctionDeclaration* decl) { in VisitFunctionDeclaration()
Dast.h42 V(FunctionDeclaration)
543 class FunctionDeclaration final : public Declaration {
551 FunctionDeclaration(VariableProxy* proxy, FunctionLiteral* fun, Scope* scope, in FunctionDeclaration() function
3168 FunctionDeclaration* NewFunctionDeclaration(VariableProxy* proxy, in NewFunctionDeclaration()
3171 return new (zone_) FunctionDeclaration(proxy, fun, scope, pos); in NewFunctionDeclaration()

12