Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/include/clang/APINotes/
H A DTypes.h412 class ParamInfo : public VariableInfo {
425 ParamInfo() in ParamInfo() function
451 ParamInfo &operator|=(const ParamInfo &RHS) {
465 friend bool operator==(const ParamInfo &, const ParamInfo &);
470 inline bool operator==(const ParamInfo &LHS, const ParamInfo &RHS) {
477 inline bool operator!=(const ParamInfo &LHS, const ParamInfo &RHS) {
514 std::vector<ParamInfo> Params;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DCFLSteensAliasAnalysis.cpp176 auto ParamInfo = Sets.find(InstantiatedValue{&Param, 0}); in FunctionInfo() local
177 if (ParamInfo.hasValue()) in FunctionInfo()
178 AddToRetParamRelations(I + 1, ParamInfo->Index); in FunctionInfo()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp3494 Declarator ParamInfo(DS, DeclaratorContext::BlockLiteral); in ParseBlockLiteralExpression() local
3503 ParseParenDeclarator(ParamInfo); in ParseBlockLiteralExpression()
3507 SourceLocation Tmp = ParamInfo.getSourceRange().getEnd(); in ParseBlockLiteralExpression()
3508 ParamInfo.SetIdentifier(nullptr, CaretLoc); in ParseBlockLiteralExpression()
3509 ParamInfo.SetRangeEnd(Tmp); in ParseBlockLiteralExpression()
3510 if (ParamInfo.isInvalidType()) { in ParseBlockLiteralExpression()
3518 MaybeParseGNUAttributes(ParamInfo); in ParseBlockLiteralExpression()
3521 Actions.ActOnBlockArguments(CaretLoc, ParamInfo, getCurScope()); in ParseBlockLiteralExpression()
3527 ParamInfo.AddTypeInfo( in ParseBlockLiteralExpression()
3545 CaretLoc, ParamInfo), in ParseBlockLiteralExpression()
[all …]
H A DParseExprCXX.cpp1324 MutableArrayRef<DeclaratorChunk::ParamInfo> ParamInfo, in ParseLambdaExpressionAfterIntroducer()
1384 /*IsAmbiguous=*/false, LParenLoc, ParamInfo.data(), in ParseLambdaExpressionAfterIntroducer()
1385 ParamInfo.size(), EllipsisLoc, RParenLoc, in ParseLambdaExpressionAfterIntroducer()
1407 SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; in ParseLambdaExpressionAfterIntroducer() local
1414 ParseParameterDeclarationClause(D.getContext(), Attr, ParamInfo, in ParseLambdaExpressionAfterIntroducer()
1429 ParamInfo, EllipsisLoc); in ParseLambdaExpressionAfterIntroducer()
1449 std::vector<DeclaratorChunk::ParamInfo> EmptyParamInfo; in ParseLambdaExpressionAfterIntroducer()
3379 llvm::SmallVector<DeclaratorChunk::ParamInfo, 2> LocalParameters; in ParseRequiresExpression()
3385 for (auto &ParamInfo : LocalParameters) in ParseRequiresExpression() local
3386 LocalParameterDecls.push_back(cast<ParmVarDecl>(ParamInfo.Param)); in ParseRequiresExpression()
H A DParseDecl.cpp6516 SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; in ParseFunctionDeclarator() local
6545 ParseFunctionDeclaratorIdentifierList(D, ParamInfo); in ParseFunctionDeclarator()
6558 ParseParameterDeclarationClause(D.getContext(), FirstArgAttrs, ParamInfo, in ParseFunctionDeclarator()
6563 HasProto = ParamInfo.size() || getLangOpts().CPlusPlus in ParseFunctionDeclarator()
6667 HasProto, IsAmbiguous, LParenLoc, ParamInfo.data(), in ParseFunctionDeclarator()
6668 ParamInfo.size(), EllipsisLoc, RParenLoc, in ParseFunctionDeclarator()
6735 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo) { in ParseFunctionDeclaratorIdentifierList() argument
6752 ParamInfo.clear(); in ParseFunctionDeclaratorIdentifierList()
6767 ParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseFunctionDeclaratorIdentifierList()
6812 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo, in ParseParameterDeclarationClause() argument
[all …]
H A DParseObjc.cpp1382 SmallVector<DeclaratorChunk::ParamInfo, 8> CParamInfo; in ParseObjCMethodDecl()
1494 CParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseObjCMethodDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp894 Declarator &ParamInfo, in ActOnStartOfLambdaDefinition() argument
921 if (ParamInfo.getNumTypeObjects() == 0) { in ActOnStartOfLambdaDefinition()
949 assert(ParamInfo.isFunctionDeclarator() && in ActOnStartOfLambdaDefinition()
951 DeclaratorChunk::FunctionTypeInfo &FTI = ParamInfo.getFunctionTypeInfo(); in ActOnStartOfLambdaDefinition()
962 MethodTyInfo = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnStartOfLambdaDefinition()
964 EndLoc = ParamInfo.getSourceRange().getEnd(); in ActOnStartOfLambdaDefinition()
984 ParamInfo.getDeclSpec().getConstexprSpecifier(), in ActOnStartOfLambdaDefinition()
985 ParamInfo.getTrailingRequiresClause()); in ActOnStartOfLambdaDefinition()
998 ProcessDeclAttributes(CurScope, Method, ParamInfo); in ActOnStartOfLambdaDefinition()
H A DDeclSpec.cpp163 ParamInfo *Params, in getFunction()
243 new (I.Fun.Params) ParamInfo[NumParams]; in getFunction()
247 I.Fun.Params = new DeclaratorChunk::ParamInfo[NumParams]; in getFunction()
H A DSemaExpr.cpp15423 void Sema::ActOnBlockArguments(SourceLocation CaretLoc, Declarator &ParamInfo, in ActOnBlockArguments() argument
15425 assert(ParamInfo.getIdentifier() == nullptr && in ActOnBlockArguments()
15427 assert(ParamInfo.getContext() == DeclaratorContext::BlockLiteral); in ActOnBlockArguments()
15430 TypeSourceInfo *Sig = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnBlockArguments()
15511 CurBlock->TheDecl, ParamInfo.getBeginLoc(), I); in ActOnBlockArguments()
15524 ProcessDeclAttributes(CurScope, CurBlock->TheDecl, ParamInfo); in ActOnBlockArguments()
H A DSemaDeclObjC.cpp4707 ObjCArgInfo *ArgInfo, DeclaratorChunk::ParamInfo *CParamInfo, in ActOnMethodDeclaration()
H A DSemaDeclCXX.cpp3951 for (auto &Param : ArrayRef<DeclaratorChunk::ParamInfo>(FTI.Params, in ActOnStartTrailingRequiresClause()
/freebsd-13.1/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesTypes.cpp64 LLVM_DUMP_METHOD void ParamInfo::dump(llvm::raw_ostream &OS) const { in dump()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h1896 ParmVarDecl **ParamInfo = nullptr;
2479 return {ParamInfo, getNumParams()}; in parameters()
2482 return {ParamInfo, getNumParams()}; in parameters()
2503 return ParamInfo[i]; in getParamDecl()
2507 return ParamInfo[i]; in getParamDecl()
4194 ParmVarDecl **ParamInfo = nullptr;
4227 return {ParamInfo, getNumParams()}; in parameters()
4230 return {ParamInfo, getNumParams()}; in parameters()
4248 return ParamInfo[i]; in getParamDecl()
4252 return ParamInfo[i]; in getParamDecl()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLParser.h481 struct ParamInfo { struct
485 ParamInfo(LocTy loc, Value *v, AttributeSet attrs) in ParamInfo() function
488 bool parseParameterList(SmallVectorImpl<ParamInfo> &ArgList,
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h1251 struct ParamInfo { struct
1263 ParamInfo() = default;
1264 ParamInfo(IdentifierInfo *ident, SourceLocation iloc,
1340 ParamInfo *Params;
1627 ParamInfo *Params, unsigned NumParams,
1877 DeclaratorChunk::ParamInfo InlineParams[16];
H A DSema.h5618 void ActOnBlockArguments(SourceLocation CaretLoc, Declarator &ParamInfo,
6731 Declarator &ParamInfo, Scope *CurScope);
9754 ObjCArgInfo *ArgInfo, DeclaratorChunk::ParamInfo *CParamInfo,
/freebsd-13.1/sys/dev/mwl/
H A Dmwlhal.c1374 uint8_t Tid, uint8_t ParamInfo) in bastream_check_available() argument
1391 pCmd->BaInfo.CreateParams.ParamInfo = (uint8_t) ParamInfo; in bastream_check_available()
1417 uint8_t Tid, uint8_t ParamInfo, void *a1, void *a2) in mwl_hal_bastream_alloc() argument
1431 if (bastream_check_available(vap, s, Macaddr, Tid, ParamInfo)) { in mwl_hal_bastream_alloc()
1441 sp->paraminfo = ParamInfo; in mwl_hal_bastream_alloc()
1490 pCmd->BaInfo.CreateParams.ParamInfo = sp->paraminfo; in mwl_hal_bastream_create()
H A Dmwlhal.h513 uint8_t ParamInfo, void *, void *);
H A Dmwlreg.h1214 uint8_t ParamInfo; member
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp3346 assert(!ParamInfo && "Already has param info!"); in setParams()
3351 ParamInfo = new (C) ParmVarDecl*[NewParamInfo.size()]; in setParams()
3352 std::copy(NewParamInfo.begin(), NewParamInfo.end(), ParamInfo); in setParams()
3530 NP > 0 ? ParamInfo[0]->getSourceRange().getBegin() : EllipsisLoc; in getParametersSourceRange()
3533 : ParamInfo[NP - 1]->getSourceRange().getEnd(); in getParametersSourceRange()
4692 assert(!ParamInfo && "Already has param info!"); in setParams()
4697 ParamInfo = new (getASTContext()) ParmVarDecl*[NewParamInfo.size()]; in setParams()
4698 std::copy(NewParamInfo.begin(), NewParamInfo.end(), ParamInfo); in setParams()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h3017 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo);
3021 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo,
/freebsd-13.1/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp2349 bool LLParser::parseParameterList(SmallVectorImpl<ParamInfo> &ArgList, in parseParameterList()
2388 ArgList.push_back(ParamInfo( in parseParameterList()
6252 SmallVector<ParamInfo, 16> ArgList; in parseInvoke()
6561 SmallVector<ParamInfo, 16> ArgList; in parseCallBr()
6980 SmallVector<ParamInfo, 16> ArgList; in parseCall()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp131 for (const auto &ParamInfo : proto->getExtParameterInfos()) { in addExtParameterInfosForCall() local
132 paramInfos.push_back(ParamInfo); in addExtParameterInfosForCall()
134 if (ParamInfo.hasPassObjectSize()) in addExtParameterInfosForCall()