Home
last modified time | relevance | path

Searched refs:NumArgs (Results 1 – 25 of 109) sorted by relevance

12345

/external/clang/include/clang/Sema/
DParsedTemplate.h175 unsigned NumArgs; member
185 Allocate(unsigned NumArgs, SmallVectorImpl<TemplateIdAnnotation*> &List) { in Allocate()
188 sizeof(ParsedTemplateArgument) * NumArgs); in Allocate()
189 TemplateId->NumArgs = NumArgs; in Allocate()
196 for (unsigned I = 0; I != NumArgs; ++I) in Allocate()
DAttributeList.h99 unsigned NumArgs : 15; variable
153 + NumArgs)[index]; in getAvailabilitySlot()
157 + NumArgs)[index]; in getAvailabilitySlot()
177 return *reinterpret_cast<TypeTagForDatatypeData*>(getArgsBuffer()+NumArgs); in getTypeTagForDatatypeDataSlot()
182 + NumArgs); in getTypeTagForDatatypeDataSlot()
220 ScopeLoc(scopeLoc), EllipsisLoc(ellipsisLoc), NumArgs(numArgs), in AttributeList()
238 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(1), SyntaxUsed(syntaxUsed), in AttributeList()
259 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(3), SyntaxUsed(syntaxUsed), in AttributeList()
277 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(1), SyntaxUsed(syntaxUsed), in AttributeList()
295 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(0), SyntaxUsed(syntaxUsed), in AttributeList()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DNonNullParamChecker.cpp54 unsigned NumArgs = Call.getNumArgs(); in checkPreCall() local
55 llvm::SmallBitVector AttrNonNull(NumArgs); in checkPreCall()
58 AttrNonNull.set(0, NumArgs); in checkPreCall()
62 if (Val >= NumArgs) in checkPreCall()
73 for (unsigned idx = 0; idx < NumArgs; ++idx) { in checkPreCall()
DObjCSelfInitChecker.cpp246 unsigned NumArgs = CE.getNumArgs(); in checkPreCall() local
252 for (unsigned i = 0; i < NumArgs; ++i) { in checkPreCall()
279 unsigned NumArgs = CE.getNumArgs(); in checkPostCall() local
280 for (unsigned i = 0; i < NumArgs; ++i) { in checkPostCall()
/external/clang/lib/FrontendTool/
DExecuteCompilerInvocation.cpp197 unsigned NumArgs = Clang->getFrontendOpts().LLVMArgs.size(); in ExecuteCompilerInvocation() local
198 auto Args = llvm::make_unique<const char*[]>(NumArgs + 2); in ExecuteCompilerInvocation()
200 for (unsigned i = 0; i != NumArgs; ++i) in ExecuteCompilerInvocation()
202 Args[NumArgs + 1] = nullptr; in ExecuteCompilerInvocation()
203 llvm::cl::ParseCommandLineOptions(NumArgs + 1, Args.get()); in ExecuteCompilerInvocation()
/external/clang/lib/AST/
DDeclTemplate.cpp690 unsigned NumArgs) in TemplateArgumentList() argument
691 : Arguments(getTrailingObjects<TemplateArgument>()), NumArguments(NumArgs) { in TemplateArgumentList()
692 std::uninitialized_copy(Args, Args + NumArgs, in TemplateArgumentList()
699 unsigned NumArgs) { in CreateCopy() argument
700 void *Mem = Context.Allocate(totalSizeToAlloc<TemplateArgument>(NumArgs)); in CreateCopy()
701 return new (Mem) TemplateArgumentList(Args, NumArgs); in CreateCopy()
737 unsigned NumArgs, in ClassTemplateSpecializationDecl() argument
744 TemplateArgs(TemplateArgumentList::CreateCopy(Context, Args, NumArgs)), in ClassTemplateSpecializationDecl()
761 unsigned NumArgs, in Create() argument
766 SpecializedTemplate, Args, NumArgs, PrevDecl); in Create()
[all …]
DTemplateBase.cpp293 ID.AddInteger(Args.NumArgs); in Profile()
294 for (unsigned I = 0; I != Args.NumArgs; ++I) in Profile()
319 if (Args.NumArgs != Other.Args.NumArgs) return false; in structurallyEquals()
320 for (unsigned I = 0, E = Args.NumArgs; I != E; ++I) in structurallyEquals()
DExprObjC.cpp276 unsigned NumArgs, in CreateEmpty() argument
278 ObjCMessageExpr *Mem = alloc(Context, NumArgs, NumStoredSelLocs); in CreateEmpty()
279 return new (Mem) ObjCMessageExpr(EmptyShell(), NumArgs); in CreateEmpty()
294 ObjCMessageExpr *ObjCMessageExpr::alloc(const ASTContext &C, unsigned NumArgs, in alloc() argument
297 NumArgs * sizeof(Expr *) + in alloc()
DCommentParser.cpp295 unsigned NumArgs) { in parseBlockCommandArgs() argument
298 new (Allocator.Allocate<Argument>(NumArgs)) Argument[NumArgs]; in parseBlockCommandArgs()
301 while (ParsedArgs < NumArgs && Retokenizer.lexWord(Arg)) { in parseBlockCommandArgs()
354 if (PC || TPC || Info->NumArgs > 0) { in parseBlockCommand()
364 parseBlockCommandArgs(BC, Retokenizer, Info->NumArgs); in parseBlockCommand()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h116 unsigned getCallCost(FunctionType *FTy, int NumArgs) { in getCallCost() argument
123 if (NumArgs < 0) in getCallCost()
126 NumArgs = FTy->getNumParams(); in getCallCost()
128 return TTI::TCC_Basic * (NumArgs + 1); in getCallCost()
369 unsigned getCallCost(const Function *F, int NumArgs) { in getCallCost() argument
372 if (NumArgs < 0) in getCallCost()
375 NumArgs = F->arg_size(); in getCallCost()
388 return static_cast<T *>(this)->getCallCost(F->getFunctionType(), NumArgs); in getCallCost()
DTargetTransformInfo.h155 int getCallCost(FunctionType *FTy, int NumArgs = -1) const;
161 int getCallCost(const Function *F, int NumArgs = -1) const;
554 virtual int getCallCost(FunctionType *FTy, int NumArgs) = 0;
555 virtual int getCallCost(const Function *F, int NumArgs) = 0;
658 int getCallCost(FunctionType *FTy, int NumArgs) override { in getCallCost() argument
659 return Impl.getCallCost(FTy, NumArgs); in getCallCost()
661 int getCallCost(const Function *F, int NumArgs) override { in getCallCost() argument
662 return Impl.getCallCost(F, NumArgs); in getCallCost()
/external/llvm/lib/Target/
DTargetRecip.cpp113 unsigned NumArgs = Args.size(); in parseIndividualParams() local
115 for (unsigned i = 0; i != NumArgs; ++i) { in parseIndividualParams()
169 unsigned NumArgs = Args.size(); in TargetRecip() local
172 if (NumArgs == 1 && parseGlobalParams(Args[0])) in TargetRecip()
/external/compiler-rt/lib/ubsan/
Dubsan_diag.h177 unsigned NumArgs; variable
184 CHECK(NumArgs != MaxArgs); in AddArg()
185 Args[NumArgs++] = A; in AddArg()
201 : Loc(Loc), Level(Level), Message(Message), NumArgs(0), NumRanges(0) {} in Diag()
/external/clang/lib/Sema/
DAttributeList.cpp40 return (sizeof(AttributeList) + NumArgs * sizeof(ArgsUnion)); in allocated_size()
157 unsigned NumArgs : 4; member
180 return getInfo(*this).NumArgs; in getMinArgs()
/external/clang/include/clang/Basic/
DDiagnostic.h868 mutable unsigned NumArgs = 0; variable
897 DiagObj->NumDiagArgs = NumArgs; in FlushCounts()
943 NumArgs = D.NumArgs; in DiagnosticBuilder()
973 assert(NumArgs < DiagnosticsEngine::MaxArguments && in AddString()
975 DiagObj->DiagArgumentsKind[NumArgs] = DiagnosticsEngine::ak_std_string; in AddString()
976 DiagObj->DiagArgumentsStr[NumArgs++] = S; in AddString()
981 assert(NumArgs < DiagnosticsEngine::MaxArguments && in AddTaggedVal()
983 DiagObj->DiagArgumentsKind[NumArgs] = Kind; in AddTaggedVal()
984 DiagObj->DiagArgumentsVal[NumArgs++] = V; in AddTaggedVal()
/external/clang/include/clang/AST/
DTemplateBase.h97 unsigned NumArgs; member
204 this->Args.NumArgs = Args.size(); in TemplateArgument()
323 return Args.Args + Args.NumArgs; in pack_end()
336 return Args.NumArgs; in pack_size()
342 return llvm::makeArrayRef(Args.Args, Args.NumArgs); in getPackAsArray()
DExprObjC.h878 unsigned NumArgs : NumArgsBitWidth;
882 NumArgs = Num;
918 ObjCMessageExpr(EmptyShell Empty, unsigned NumArgs)
921 setNumArgs(NumArgs);
1003 unsigned NumArgs,
1133 unsigned NumArgs,
1284 unsigned getNumArgs() const { return NumArgs; }
1297 assert(Arg < NumArgs && "Arg access out of range!");
1301 assert(Arg < NumArgs && "Arg access out of range!");
1306 assert(Arg < NumArgs && "Arg access out of range!");
[all …]
DExprCXX.h1164 unsigned NumArgs : 16; variable
1187 : Expr(SC, Empty), Constructor(nullptr), NumArgs(0), Elidable(false), in CXXConstructExpr()
1196 NumArgs(0), Elidable(false), HadMultipleCandidates(false), in CXXConstructExpr()
1265 arg_iterator arg_end() { return Args + NumArgs; } in arg_end()
1267 const_arg_iterator arg_end() const { return Args + NumArgs; } in arg_end()
1273 unsigned getNumArgs() const { return NumArgs; } in getNumArgs()
1277 assert(Arg < NumArgs && "Arg access out of range!"); in getArg()
1281 assert(Arg < NumArgs && "Arg access out of range!"); in getArg()
1287 assert(Arg < NumArgs && "Arg access out of range!"); in setArg()
1303 return child_range(&Args[0], &Args[0]+NumArgs); in children()
[all …]
DDeclTemplate.h188 TemplateArgumentList(const TemplateArgument *Args, unsigned NumArgs);
199 unsigned NumArgs);
206 unsigned NumArgs) in TemplateArgumentList() argument
207 : Arguments(Args), NumArguments(NumArgs) {} in TemplateArgumentList()
567 unsigned NumArgs; variable
573 return NumArgs; in numTrailingObjects()
604 unsigned getNumTemplateArgs() const { return NumArgs; } in getNumTemplateArgs()
1580 unsigned NumArgs,
1591 unsigned NumArgs,
1808 unsigned NumArgs,
[all …]
/external/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp184 const unsigned NumArgs = F->arg_size(); in ffiInvoke() local
188 if (ArgVals.size() > NumArgs && F->isVarArg()) { in ffiInvoke()
195 std::vector<ffi_type*> args(NumArgs); in ffiInvoke()
207 SmallVector<void*, 16> values(NumArgs); in ffiInvoke()
219 if (ffi_prep_cif(&cif, FFI_DEFAULT_ABI, NumArgs, rtype, &args[0]) == FFI_OK) { in ffiInvoke()
/external/clang/tools/driver/
Dcc1as_main.cpp497 unsigned NumArgs = Asm.LLVMArgs.size(); in cc1as_main() local
498 const char **Args = new const char*[NumArgs + 2]; in cc1as_main()
500 for (unsigned i = 0; i != NumArgs; ++i) in cc1as_main()
502 Args[NumArgs + 1] = nullptr; in cc1as_main()
503 llvm::cl::ParseCommandLineOptions(NumArgs + 1, Args); in cc1as_main()
/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h376 unsigned NumArgs; variable
407 const_arg_iterator arg_end() const { return getArgsBuffer() + 1 + NumArgs; } in arg_end()
409 arg_iterator arg_end() { return getArgsBuffer() + 1 + NumArgs; } in arg_end()
411 unsigned arg_size() const { return NumArgs; } in arg_size()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp680 unsigned NumArgs, const Value *Callee, in lowerCallOperands() argument
683 Args.reserve(NumArgs); in lowerCallOperands()
688 for (unsigned ArgI = ArgIdx, ArgE = ArgIdx + NumArgs, AttrI = ArgIdx + 1; in lowerCallOperands()
703 CLI.setCallee(CI->getCallingConv(), RetTy, Callee, std::move(Args), NumArgs); in lowerCallOperands()
734 unsigned NumArgs = NumArgsVal->getZExtValue(); in selectPatchpoint() local
739 assert(I->getNumArgOperands() >= NumMetaOpers + NumArgs && in selectPatchpoint()
743 unsigned NumCallArgs = IsAnyRegCC ? 0 : NumArgs; in selectPatchpoint()
794 unsigned NumCallRegArgs = IsAnyRegCC ? NumArgs : CLI.OutRegs.size(); in selectPatchpoint()
803 for (unsigned i = NumMetaOpers, e = NumMetaOpers + NumArgs; i != e; ++i) { in selectPatchpoint()
816 if (!addStackMapLiveVars(Ops, I, NumMetaOpers + NumArgs)) in selectPatchpoint()
[all …]
/external/clang/tools/scan-build/bin/
Dscan-build1450 my $NumArgs = 0;
1454 $NumArgs++;
1640 $Options{EnableCheckers}{$Checker} = $NumArgs;
1649 $Options{DisableCheckers}{$Checker} = $NumArgs;
1686 $NumArgs--;
1689 return $NumArgs;
/external/llvm/lib/ExecutionEngine/
DExecutionEngineBindings.cpp235 unsigned NumArgs, in LLVMRunFunction() argument
240 ArgVec.reserve(NumArgs); in LLVMRunFunction()
241 for (unsigned I = 0; I != NumArgs; ++I) in LLVMRunFunction()

12345