Home
last modified time | relevance | path

Searched refs:ParamInfo (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/APINotes/
H A DTypes.h419 class ParamInfo : public VariableInfo {
442 ParamInfo() in ParamInfo() function
475 ParamInfo &operator|=(const ParamInfo &RHS) {
494 friend bool operator==(const ParamInfo &, const ParamInfo &);
499 inline bool operator==(const ParamInfo &LHS, const ParamInfo &RHS) {
508 inline bool operator!=(const ParamInfo &LHS, const ParamInfo &RHS) {
549 std::vector<ParamInfo> Params;
647 std::optional<ParamInfo> Self;
700 std::optional<ParamInfo> This;
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp938 Declarator &ParamInfo, Scope *CurScope, in getLambdaType() argument
945 (ParamInfo.getDeclSpec().getStorageClassSpec() == in getLambdaType()
947 ParamInfo.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static) && in getLambdaType()
950 ParamInfo.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static; in getLambdaType()
954 if (ParamInfo.getNumTypeObjects() == 0) { in getLambdaType()
958 S.CheckExplicitObjectLambda(ParamInfo); in getLambdaType()
960 DeclaratorChunk::FunctionTypeInfo &FTI = ParamInfo.getFunctionTypeInfo(); in getLambdaType()
963 ParamInfo.isExplicitObjectMemberFunction(); in getLambdaType()
982 MethodTyInfo = S.GetTypeForDeclarator(ParamInfo); in getLambdaType()
1388 Scope *LambdaScope, MutableArrayRef<DeclaratorChunk::ParamInfo> Params) { in ActOnLambdaClosureParameters()
[all …]
H A DDeclSpec.cpp161 ParamInfo *Params, in getFunction()
241 new (I.Fun.Params) ParamInfo[NumParams]; in getFunction()
245 I.Fun.Params = new DeclaratorChunk::ParamInfo[NumParams]; in getFunction()
H A DSemaAPINotes.cpp464 const api_notes::ParamInfo &Info, in ProcessAPINotes()
H A DSemaExpr.cpp16327 void Sema::ActOnBlockArguments(SourceLocation CaretLoc, Declarator &ParamInfo, in ActOnBlockArguments() argument
16329 assert(ParamInfo.getIdentifier() == nullptr && in ActOnBlockArguments()
16331 assert(ParamInfo.getContext() == DeclaratorContext::BlockLiteral); in ActOnBlockArguments()
16334 TypeSourceInfo *Sig = GetTypeForDeclarator(ParamInfo); in ActOnBlockArguments()
16405 CurBlock->TheDecl, ParamInfo.getBeginLoc(), I); in ActOnBlockArguments()
16418 ProcessDeclAttributes(CurScope, CurBlock->TheDecl, ParamInfo); in ActOnBlockArguments()
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesTypes.cpp64 LLVM_DUMP_METHOD void ParamInfo::dump(llvm::raw_ostream &OS) const { in dump()
H A DAPINotesWriter.cpp652 unsigned getParamInfoSize(const ParamInfo &PI);
741 void emitParamInfo(raw_ostream &OS, const ParamInfo &PI);
1061 unsigned getParamInfoSize(const ParamInfo &PI) { in getParamInfoSize()
1065 void emitParamInfo(raw_ostream &OS, const ParamInfo &PI) { in emitParamInfo()
H A DAPINotesYAMLCompiler.cpp745 std::optional<ParamInfo> &thisOrSelf) { in convertParams()
747 ParamInfo PI; in convertParams()
952 std::optional<ParamInfo> This; in convertFunction()
H A DAPINotesReader.cpp324 void ReadParamInfo(const uint8_t *&Data, ParamInfo &Info) { in ReadParamInfo()
364 ParamInfo pi; in ReadFunctionInfo()
415 Info.Self = ParamInfo{}; in readUnversioned()
540 Info.This = ParamInfo{}; in readUnversioned()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp3276 Declarator ParamInfo(DS, ParsedAttributesView::none(), in ParseBlockLiteralExpression() local
3278 ParamInfo.setFunctionDefinitionKind(FunctionDefinitionKind::Definition); in ParseBlockLiteralExpression()
3281 ParamInfo.SetSourceRange(SourceRange(Tok.getLocation(), Tok.getLocation())); in ParseBlockLiteralExpression()
3286 ParseParenDeclarator(ParamInfo); in ParseBlockLiteralExpression()
3290 SourceLocation Tmp = ParamInfo.getSourceRange().getEnd(); in ParseBlockLiteralExpression()
3291 ParamInfo.SetIdentifier(nullptr, CaretLoc); in ParseBlockLiteralExpression()
3292 ParamInfo.SetRangeEnd(Tmp); in ParseBlockLiteralExpression()
3293 if (ParamInfo.isInvalidType()) { in ParseBlockLiteralExpression()
3301 MaybeParseGNUAttributes(ParamInfo); in ParseBlockLiteralExpression()
3304 Actions.ActOnBlockArguments(CaretLoc, ParamInfo, getCurScope()); in ParseBlockLiteralExpression()
[all …]
H A DParseExprCXX.cpp1318 SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; in ParseLambdaExpressionAfterIntroducer() local
1330 ParseParameterDeclarationClause(D, Attributes, ParamInfo, EllipsisLoc); in ParseLambdaExpressionAfterIntroducer()
1383 Actions.ActOnLambdaClosureParameters(getCurScope(), ParamInfo); in ParseLambdaExpressionAfterIntroducer()
1431 /*IsAmbiguous=*/false, LParenLoc, ParamInfo.data(), in ParseLambdaExpressionAfterIntroducer()
1432 ParamInfo.size(), EllipsisLoc, RParenLoc, in ParseLambdaExpressionAfterIntroducer()
3143 llvm::SmallVector<DeclaratorChunk::ParamInfo, 2> LocalParameters; in ParseRequiresExpression()
3149 for (auto &ParamInfo : LocalParameters) in ParseRequiresExpression() local
3150 LocalParameterDecls.push_back(cast<ParmVarDecl>(ParamInfo.Param)); in ParseRequiresExpression()
H A DParseDecl.cpp7165 SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; in ParseFunctionDeclarator() local
7194 ParseFunctionDeclaratorIdentifierList(D, ParamInfo); in ParseFunctionDeclarator()
7207 ParseParameterDeclarationClause(D, FirstArgAttrs, ParamInfo, EllipsisLoc); in ParseFunctionDeclarator()
7214 HasProto = ParamInfo.size() || getLangOpts().requiresStrictPrototypes() || in ParseFunctionDeclarator()
7334 HasProto, IsAmbiguous, LParenLoc, ParamInfo.data(), in ParseFunctionDeclarator()
7335 ParamInfo.size(), EllipsisLoc, RParenLoc, in ParseFunctionDeclarator()
7386 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo) { in ParseFunctionDeclaratorIdentifierList() argument
7407 ParamInfo.clear(); in ParseFunctionDeclaratorIdentifierList()
7422 ParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseFunctionDeclaratorIdentifierList()
7435 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo, in ParseParameterDeclarationClause() argument
[all …]
H A DParseObjc.cpp1209 SmallVector<DeclaratorChunk::ParamInfo, 8> CParamInfo; in ParseObjCMethodDecl()
1321 CParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseObjCMethodDecl()
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLParser.h549 struct ParamInfo { struct
553 ParamInfo(LocTy loc, Value *v, AttributeSet attrs) in ParamInfo() argument
556 bool parseParameterList(SmallVectorImpl<ParamInfo> &ArgList,
567 bool resolveFunctionType(Type *RetType, ArrayRef<ParamInfo> ArgList,
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h2039 ParmVarDecl **ParamInfo = nullptr;
2748 return {ParamInfo, getNumParams()}; in parameters()
2751 return {ParamInfo, getNumParams()}; in parameters()
2772 return ParamInfo[i]; in getParamDecl()
2776 return ParamInfo[i]; in getParamDecl()
4634 ParmVarDecl **ParamInfo = nullptr;
4667 return {ParamInfo, getNumParams()}; in parameters()
4670 return {ParamInfo, getNumParams()}; in parameters()
4688 return ParamInfo[i]; in getParamDecl()
4692 return ParamInfo[i]; in getParamDecl()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h1332 struct ParamInfo { struct
1344 ParamInfo() = default;
1345 ParamInfo(const IdentifierInfo *ident, SourceLocation iloc, Decl *param,
1427 ParamInfo *Params;
1716 ParamInfo *Params, unsigned NumParams,
1990 DeclaratorChunk::ParamInfo InlineParams[16];
H A DSemaObjC.h366 ParmVarDecl **ArgInfo, DeclaratorChunk::ParamInfo *CParamInfo,
H A DSema.h7557 void ActOnBlockArguments(SourceLocation CaretLoc, Declarator &ParamInfo,
9105 MutableArrayRef<DeclaratorChunk::ParamInfo> ParamInfo);
9112 Declarator &ParamInfo, const DeclSpec &DS);
/freebsd/sys/dev/mwl/
H A Dmwlhal.c1372 uint8_t Tid, uint8_t ParamInfo) in bastream_check_available() argument
1389 pCmd->BaInfo.CreateParams.ParamInfo = (uint8_t) ParamInfo; in bastream_check_available()
1415 uint8_t Tid, uint8_t ParamInfo, void *a1, void *a2) in mwl_hal_bastream_alloc() argument
1429 if (bastream_check_available(vap, s, Macaddr, Tid, ParamInfo)) { in mwl_hal_bastream_alloc()
1439 sp->paraminfo = ParamInfo; in mwl_hal_bastream_alloc()
1488 pCmd->BaInfo.CreateParams.ParamInfo = sp->paraminfo; in mwl_hal_bastream_create()
H A Dmwlhal.h511 uint8_t ParamInfo, void *, void *);
H A Dmwlreg.h1212 uint8_t ParamInfo; member
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h2739 Declarator &D, SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo);
2742 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo, in ParseParameterDeclarationClause() argument
2745 D.getContext(), attrs, ParamInfo, EllipsisLoc, in ParseParameterDeclarationClause()
2787 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo,
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp3766 assert(!ParamInfo && "Already has param info!"); in setParams()
3771 ParamInfo = new (C) ParmVarDecl*[NewParamInfo.size()]; in setParams()
3772 llvm::copy(NewParamInfo, ParamInfo); in setParams()
3981 NP > 0 ? ParamInfo[0]->getSourceRange().getBegin() : EllipsisLoc; in getParametersSourceRange()
3984 : ParamInfo[NP - 1]->getSourceRange().getEnd(); in getParametersSourceRange()
5330 assert(!ParamInfo && "Already has param info!"); in setParams()
5335 ParamInfo = new (getASTContext()) ParmVarDecl*[NewParamInfo.size()]; in setParams()
5336 llvm::copy(NewParamInfo, ParamInfo); in setParams()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp3041 bool LLParser::parseParameterList(SmallVectorImpl<ParamInfo> &ArgList, in parseParameterList()
3083 ArgList.push_back(ParamInfo( in parseParameterList()
7577 bool LLParser::resolveFunctionType(Type *RetType, ArrayRef<ParamInfo> ArgList, in resolveFunctionType()
7584 for (const ParamInfo &Arg : ArgList) in resolveFunctionType()
7608 SmallVector<ParamInfo, 16> ArgList; in parseInvoke()
7648 for (const ParamInfo &Arg : ArgList) { in parseInvoke()
7905 SmallVector<ParamInfo, 16> ArgList; in parseCallBr()
7962 for (const ParamInfo &Arg : ArgList) { in parseCallBr()
8310 SmallVector<ParamInfo, 16> ArgList; in parseCall()
8355 for (const ParamInfo &Arg : ArgList) { in parseCall()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp179 for (const auto &ParamInfo : proto->getExtParameterInfos()) { in addExtParameterInfosForCall() local
180 paramInfos.push_back(ParamInfo); in addExtParameterInfosForCall()
182 if (ParamInfo.hasPassObjectSize()) in addExtParameterInfosForCall()

12