/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | CommentParser.cpp | 423 Parser::parseCommandArgs(TextTokenRetokenizer &Retokenizer, unsigned NumArgs) { in parseCommandArgs() argument 424 auto *Args = new (Allocator.Allocate<Comment::Argument>(NumArgs)) in parseCommandArgs() 425 Comment::Argument[NumArgs]; in parseCommandArgs() 428 while (ParsedArgs < NumArgs && Retokenizer.lexWord(Arg)) { in parseCommandArgs() 439 unsigned NumArgs) { in parseThrowCommandArgs() argument 440 auto *Args = new (Allocator.Allocate<Comment::Argument>(NumArgs)) in parseThrowCommandArgs() 441 Comment::Argument[NumArgs]; in parseThrowCommandArgs() 445 while (ParsedArgs < NumArgs && Retokenizer.lexType(Arg)) { in parseThrowCommandArgs() 456 unsigned NumArgs) { in parseParCommandArgs() argument 457 assert(NumArgs > 0); in parseParCommandArgs() [all …]
|
H A D | ExprCXX.cpp | 606 CXXOperatorCallExpr::CXXOperatorCallExpr(unsigned NumArgs, bool HasFPFeatures, in CXXOperatorCallExpr() argument 608 : CallExpr(CXXOperatorCallExprClass, /*NumPreArgs=*/0, NumArgs, in CXXOperatorCallExpr() 618 unsigned NumArgs = Args.size(); in Create() local 620 /*NumPreArgs=*/0, NumArgs, FPFeatures.requiresTrailingStorage()); in Create() 628 unsigned NumArgs, in CreateEmpty() argument 633 CallExpr::sizeOfTrailingObjects(/*NumPreArgs=*/0, NumArgs, HasFPFeatures); in CreateEmpty() 636 return new (Mem) CXXOperatorCallExpr(NumArgs, HasFPFeatures, Empty); in CreateEmpty() 671 CXXMemberCallExpr::CXXMemberCallExpr(unsigned NumArgs, bool HasFPFeatures, in CXXMemberCallExpr() argument 673 : CallExpr(CXXMemberCallExprClass, /*NumPreArgs=*/0, NumArgs, HasFPFeatures, in CXXMemberCallExpr() 683 unsigned NumArgs = std::max<unsigned>(Args.size(), MinNumArgs); in Create() local [all …]
|
H A D | ExprObjC.cpp | 233 unsigned NumArgs, in CreateEmpty() argument 235 ObjCMessageExpr *Mem = alloc(Context, NumArgs, NumStoredSelLocs); in CreateEmpty() 236 return new (Mem) ObjCMessageExpr(EmptyShell(), NumArgs); in CreateEmpty() 251 ObjCMessageExpr *ObjCMessageExpr::alloc(const ASTContext &C, unsigned NumArgs, in alloc() argument 254 totalSizeToAlloc<void *, SourceLocation>(NumArgs + 1, NumStoredSelLocs), in alloc()
|
H A D | StmtProfile.cpp | 77 unsigned NumArgs); 1688 unsigned &NumArgs) { in DecodeOperatorCall() argument 1701 if (NumArgs == 1) { in DecodeOperatorCall() 1710 if (NumArgs == 1) { in DecodeOperatorCall() 1719 if (NumArgs == 1) { in DecodeOperatorCall() 1740 if (NumArgs == 1) { in DecodeOperatorCall() 1849 UnaryOp = NumArgs == 1 ? UO_PreInc : UO_PostInc; in DecodeOperatorCall() 1850 NumArgs = 1; in DecodeOperatorCall() 1854 UnaryOp = NumArgs == 1 ? UO_PreDec : UO_PostDec; in DecodeOperatorCall() 1855 NumArgs = 1; in DecodeOperatorCall() [all …]
|
H A D | TemplateBase.cpp | 428 ID.AddInteger(Args.NumArgs); in Profile() 429 for (unsigned I = 0; I != Args.NumArgs; ++I) in Profile() 469 if (Args.NumArgs != Other.Args.NumArgs) return false; in structurallyEquals() 470 for (unsigned I = 0, E = Args.NumArgs; I != E; ++I) in structurallyEquals()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/ |
H A D | PDBSymbolTypeFunctionSig.cpp | 81 uint32_t NumArgs = SigArguments->getChildCount(); in isCVarArgs() local 82 if (NumArgs == 0) in isCVarArgs() 84 auto Last = SigArguments->getChildAtIndex(NumArgs - 1); in isCVarArgs()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | CommentCommands.td | 9 int NumArgs = 0; 35 let NumArgs = 1; 68 let NumArgs = 0; 96 def N : InlineCommand<"n"> { let NumArgs = 0; } 136 def Throws : BlockCommand<"throws"> { let IsThrowsCommand = 1; let NumArgs = 1; } 137 def Throw : BlockCommand<"throw"> { let IsThrowsCommand = 1; let NumArgs = 1; } 138 def Exception : BlockCommand<"exception"> { let IsThrowsCommand = 1; let NumArgs = 1;} 160 def Par : BlockCommand<"par"> { let IsParCommand = 1; let NumArgs = 1; } 165 def Retval : BlockCommand<"retval"> { let NumArgs = 1; } 173 def XRefItem : BlockCommand<"xrefitem"> { let NumArgs = 3; }
|
H A D | CommentParser.h | 101 parseCommandArgs(TextTokenRetokenizer &Retokenizer, unsigned NumArgs); 106 parseThrowCommandArgs(TextTokenRetokenizer &Retokenizer, unsigned NumArgs); 109 parseParCommandArgs(TextTokenRetokenizer &Retokenizer, unsigned NumArgs);
|
H A D | IgnoreExpr.h | 128 unsigned NumArgs = CCE->getNumArgs(); in IgnoreElidableImplicitConstructorSingleStep() local 129 if ((NumArgs == 1 || in IgnoreElidableImplicitConstructorSingleStep() 130 (NumArgs > 1 && CCE->getArg(1)->isDefaultArgument())) && in IgnoreElidableImplicitConstructorSingleStep()
|
H A D | TemplateBase.h | 154 unsigned NumArgs; 282 this->Args.NumArgs = Args.size(); 427 return Args.Args + Args.NumArgs; 440 return Args.NumArgs; 446 return llvm::ArrayRef(Args.Args, Args.NumArgs);
|
/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/ |
H A D | CGFunctionInfo.h | 620 unsigned NumArgs; variable 650 return NumArgs + 1; in numTrailingObjects() 653 return (HasExtParameterInfos ? NumArgs : 0); in numTrailingObjects() 660 return MutableArrayRef<ArgInfo>(arg_begin(), NumArgs); in arguments() 663 return ArrayRef<ArgInfo>(arg_begin(), NumArgs); in arguments() 667 const_arg_iterator arg_end() const { return getArgsBuffer() + 1 + NumArgs; } in arg_end() 669 arg_iterator arg_end() { return getArgsBuffer() + 1 + NumArgs; } in arg_end() 671 unsigned arg_size() const { return NumArgs; } in arg_size() 735 return llvm::ArrayRef(getExtParameterInfosBuffer(), NumArgs); in getExtParameterInfos() 738 assert(argIndex <= NumArgs); in getExtParameterInfo()
|
/freebsd/contrib/llvm-project/clang/lib/FrontendTool/ |
H A D | ExecuteCompilerInvocation.cpp | 232 unsigned NumArgs = Clang->getFrontendOpts().LLVMArgs.size(); in ExecuteCompilerInvocation() local 233 auto Args = std::make_unique<const char*[]>(NumArgs + 2); in ExecuteCompilerInvocation() 235 for (unsigned i = 0; i != NumArgs; ++i) in ExecuteCompilerInvocation() 237 Args[NumArgs + 1] = nullptr; in ExecuteCompilerInvocation() 238 llvm::cl::ParseCommandLineOptions(NumArgs + 1, Args.get()); in ExecuteCompilerInvocation()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/ |
H A D | ubsan_diag.h | 165 unsigned NumArgs; in Arg() 172 CHECK(NumArgs != MaxArgs); 173 Args[NumArgs++] = A; 189 : Loc(Loc), Level(Level), ET(ET), Message(Message), NumArgs(0), 185 unsigned NumArgs; global() variable
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | ParsedTemplate.h | 185 unsigned NumArgs; member 216 llvm::make_range(getTemplateArgs(), getTemplateArgs() + NumArgs)) in Destroy() 250 NumArgs(TemplateArgs.size()), ArgsInvalid(ArgsInvalid) { in TemplateIdAnnotation()
|
H A D | ParsedAttr.h | 132 size_t numTrailingObjects(OverloadToken<ArgsUnion>) const { return NumArgs; } in numTrailingObjects() 154 unsigned NumArgs : 16; variable 224 EllipsisLoc(ellipsisLoc), NumArgs(numArgs), Invalid(false), in ParsedAttr() 242 NumArgs(1), Invalid(false), UsedAsTypeAttr(false), IsAvailability(true), in ParsedAttr() 260 NumArgs(3), Invalid(false), UsedAsTypeAttr(false), in ParsedAttr() 276 NumArgs(1), Invalid(false), UsedAsTypeAttr(false), in ParsedAttr() 293 EllipsisLoc(ellipsisLoc), NumArgs(0), Invalid(false), in ParsedAttr() 306 NumArgs(0), Invalid(false), UsedAsTypeAttr(false), in ParsedAttr() 386 unsigned getNumArgs() const { return NumArgs; } in getNumArgs() 390 assert(Arg < NumArgs && "Arg access out of range!"); in getArg() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGGPUBuiltin.cpp | 107 for (unsigned I = 1, NumArgs = Args.size(); I < NumArgs; ++I) in packArgsIntoNVPTXFormatBuffer() local 118 for (unsigned I = 1, NumArgs = Args.size(); I < NumArgs; ++I) { in packArgsIntoNVPTXFormatBuffer() local
|
/freebsd/contrib/llvm-project/clang/lib/APINotes/ |
H A D | APINotesFormat.h | 271 unsigned NumArgs; member 357 auto hash = llvm::hash_value(Selector.NumArgs); 368 return LHS.NumArgs == RHS.NumArgs && LHS.Identifiers == RHS.Identifiers;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86FixupBWInsts.cpp | 291 unsigned NumArgs = MI->getNumOperands(); in tryReplaceLoad() local 292 for (unsigned i = 1; i < NumArgs; ++i) in tryReplaceLoad() 363 unsigned NumArgs = MI->getNumOperands(); in tryReplaceExtend() local 364 for (unsigned i = 1; i < NumArgs; ++i) in tryReplaceExtend()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaOpenCL.cpp | 241 unsigned NumArgs = TheCall->getNumArgs(); in checkBuiltinEnqueueKernel() local 243 if (NumArgs < 4) { in checkBuiltinEnqueueKernel() 245 << 0 << 4 << NumArgs << /*is non object*/ 0; in checkBuiltinEnqueueKernel() 280 if (NumArgs == 4) { in checkBuiltinEnqueueKernel() 302 if (NumArgs >= 7) { in checkBuiltinEnqueueKernel() 347 if (NumArgs == 7) in checkBuiltinEnqueueKernel()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | IdentifierTable.h | 883 DeclarationNameExtra(unsigned NumArgs) in DeclarationNameExtra() argument 884 : ExtraKindOrNumArgs(ObjCMultiArgSelector + NumArgs) {} in DeclarationNameExtra() 948 unsigned NumArgs) { in Profile() argument 949 ID.AddInteger(NumArgs); in Profile() 950 for (unsigned i = 0; i != NumArgs; ++i) in Profile() 1136 Selector getSelector(unsigned NumArgs, const IdentifierInfo **IIV);
|
/freebsd/contrib/llvm-project/clang/utils/TableGen/ |
H A D | ClangOptionDocEmitter.cpp | 260 unsigned NumArgs = getNumArgsForKind(Option->getValueAsDef("Kind"), Option); in emitOptionName() local 266 else if (NumArgs == 1) in emitOptionName() 274 if (!HasMetaVarName || NumArgs == UnlimitedArgs) { in emitOptionName() 275 while (Args.size() < NumArgs) { in emitOptionName() 278 if (Args.size() == 2 && NumArgs == UnlimitedArgs) { in emitOptionName()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | ExternalFunctions.cpp | 207 const unsigned NumArgs = F->arg_size(); in ffiInvoke() local 211 if (ArgVals.size() > NumArgs && F->isVarArg()) { in ffiInvoke() 218 std::vector<ffi_type*> args(NumArgs); in ffiInvoke() 230 SmallVector<void*, 16> values(NumArgs); in ffiInvoke() 242 if (ffi_prep_cif(&cif, FFI_DEFAULT_ABI, NumArgs, rtype, args.data()) == in ffiInvoke()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/ |
H A D | Record.h | 1351 unsigned NumArgs; variable 1377 assert(i < NumArgs && "Argument index out of range!"); in getArg() 1386 const_iterator args_end () const { return args_begin() + NumArgs; } in args_end() 1388 size_t args_size () const { return NumArgs; } in args_size() 1389 bool args_empty() const { return NumArgs == 0; } in args_empty() 1392 return ArrayRef(args_begin(), NumArgs); in args() 1450 unsigned NumArgs; variable 1453 DagInit(Init *V, StringInit *VN, unsigned NumArgs, unsigned NumArgNames) in DagInit() argument 1455 ValName(VN), NumArgs(NumArgs), NumArgNames(NumArgNames) {} in DagInit() 1457 size_t numTrailingObjects(OverloadToken<Init *>) const { return NumArgs; } in numTrailingObjects() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Function.h | 79 size_t NumArgs; variable 842 return Arguments + NumArgs; in arg_end() 846 return Arguments + NumArgs; in arg_end() 850 assert (i < NumArgs && "getArg() out of range!"); in getArg() 864 size_t arg_size() const { return NumArgs; } in arg_size()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | NameSearchContext.cpp | 92 unsigned NumArgs = func_proto_type->getNumParams(); in AddFunDecl() local 97 for (ArgIndex = 0; ArgIndex < NumArgs; ++ArgIndex) { in AddFunDecl()
|