/external/clang/include/clang/Sema/ |
D | ParsedTemplate.h | 182 unsigned NumArgs; member 192 Allocate(unsigned NumArgs, SmallVectorImpl<TemplateIdAnnotation*> &List) { in Allocate() 195 sizeof(ParsedTemplateArgument) * NumArgs); in Allocate() 196 TemplateId->NumArgs = NumArgs; in Allocate() 203 for (unsigned I = 0; I != NumArgs; ++I) in Allocate()
|
D | AttributeList.h | 123 unsigned NumArgs : 16; variable 176 return reinterpret_cast<AvailabilityData*>(getArgsBuffer() + NumArgs); in getAvailabilityData() 179 return reinterpret_cast<const AvailabilityData*>(getArgsBuffer() + NumArgs); in getAvailabilityData() 199 return *reinterpret_cast<TypeTagForDatatypeData*>(getArgsBuffer()+NumArgs); in getTypeTagForDatatypeDataSlot() 204 + NumArgs); in getTypeTagForDatatypeDataSlot() 242 ScopeLoc(scopeLoc), EllipsisLoc(ellipsisLoc), NumArgs(numArgs), in AttributeList() 262 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(1), SyntaxUsed(syntaxUsed), in AttributeList() 282 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(3), SyntaxUsed(syntaxUsed), in AttributeList() 299 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(1), SyntaxUsed(syntaxUsed), in AttributeList() 317 ScopeLoc(scopeLoc), EllipsisLoc(), NumArgs(0), SyntaxUsed(syntaxUsed), in AttributeList() [all …]
|
/external/swiftshader/third_party/LLVM/bindings/ocaml/executionengine/ |
D | executionengine_ocaml.c | 237 unsigned NumArgs; in llvm_ee_run_function() local 241 NumArgs = Wosize_val(Args); in llvm_ee_run_function() 242 GVArgs = (LLVMGenericValueRef*) malloc(NumArgs * sizeof(LLVMGenericValueRef)); in llvm_ee_run_function() 243 for (I = 0; I != NumArgs; ++I) in llvm_ee_run_function() 246 Result = LLVMRunFunction(EE, F, NumArgs, GVArgs); in llvm_ee_run_function() 270 int I, NumArgs, NumEnv, EnvSize, Result; in llvm_ee_run_function_as_main() local 274 NumArgs = Wosize_val(Args); in llvm_ee_run_function_as_main() 278 CArgs = (const char **) malloc(NumArgs * sizeof(char*)); in llvm_ee_run_function_as_main() 279 for (I = 0; I != NumArgs; ++I) in llvm_ee_run_function_as_main() 308 Result = LLVMRunFunctionAsMain(EE, F, NumArgs, CArgs, CEnv); in llvm_ee_run_function_as_main()
|
/external/clang/lib/CodeGen/ |
D | CGCUDABuiltin.cpp | 100 for (unsigned I = 1, NumArgs = Args.size(); I < NumArgs; ++I) in EmitCUDADevicePrintfCallExpr() local 105 for (unsigned I = 1, NumArgs = Args.size(); I < NumArgs; ++I) { in EmitCUDADevicePrintfCallExpr() local
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | NonNullParamChecker.cpp | 54 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()
|
D | ObjCSelfInitChecker.cpp | 246 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/llvm/include/llvm/Analysis/ |
D | TargetTransformInfoImpl.h | 116 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() 405 unsigned getCallCost(const Function *F, int NumArgs) { in getCallCost() argument 408 if (NumArgs < 0) in getCallCost() 411 NumArgs = F->arg_size(); in getCallCost() 424 return static_cast<T *>(this)->getCallCost(F->getFunctionType(), NumArgs); in getCallCost()
|
D | TargetTransformInfo.h | 156 int getCallCost(FunctionType *FTy, int NumArgs = -1) const; 162 int getCallCost(const Function *F, int NumArgs = -1) const; 635 virtual int getCallCost(FunctionType *FTy, int NumArgs) = 0; 636 virtual int getCallCost(const Function *F, int NumArgs) = 0; 761 int getCallCost(FunctionType *FTy, int NumArgs) override { in getCallCost() argument 762 return Impl.getCallCost(FTy, NumArgs); in getCallCost() 764 int getCallCost(const Function *F, int NumArgs) override { in getCallCost() argument 765 return Impl.getCallCost(F, NumArgs); in getCallCost()
|
/external/llvm/lib/Target/ |
D | TargetRecip.cpp | 112 unsigned NumArgs = Args.size(); in parseIndividualParams() local 114 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/clang/lib/FrontendTool/ |
D | ExecuteCompilerInvocation.cpp | 216 unsigned NumArgs = Clang->getFrontendOpts().LLVMArgs.size(); in ExecuteCompilerInvocation() local 217 auto Args = llvm::make_unique<const char*[]>(NumArgs + 2); in ExecuteCompilerInvocation() 219 for (unsigned i = 0; i != NumArgs; ++i) in ExecuteCompilerInvocation() 221 Args[NumArgs + 1] = nullptr; in ExecuteCompilerInvocation() 222 llvm::cl::ParseCommandLineOptions(NumArgs + 1, Args.get()); in ExecuteCompilerInvocation()
|
/external/clang/include/clang/CodeGen/ |
D | CGFunctionInfo.h | 490 unsigned NumArgs; variable 523 return NumArgs + 1; in numTrailingObjects() 526 return (HasExtParameterInfos ? NumArgs : 0); in numTrailingObjects() 541 const_arg_iterator arg_end() const { return getArgsBuffer() + 1 + NumArgs; } in arg_end() 543 arg_iterator arg_end() { return getArgsBuffer() + 1 + NumArgs; } in arg_end() 545 unsigned arg_size() const { return NumArgs; } in arg_size() 599 return llvm::makeArrayRef(getExtParameterInfosBuffer(), NumArgs); in getExtParameterInfos() 602 assert(argIndex <= NumArgs); in getExtParameterInfo()
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_diag.h | 177 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/swiftshader/third_party/LLVM/lib/Target/PTX/InstPrinter/ |
D | PTXInstPrinter.cpp | 101 unsigned NumArgs = MI->getOperand(Index++).getImm(); in printCall() local 102 if (NumArgs > 0) { in printCall() 104 for (unsigned i = 1; i < NumArgs; ++i) { in printCall()
|
/external/clang/lib/Sema/ |
D | AttributeList.cpp | 40 return (sizeof(AttributeList) + NumArgs * sizeof(ArgsUnion)); in allocated_size() 157 unsigned NumArgs : 4; member 181 return getInfo(*this).NumArgs; in getMinArgs()
|
/external/clang/include/clang/Basic/ |
D | Diagnostic.h | 875 mutable unsigned NumArgs = 0; variable 904 DiagObj->NumDiagArgs = NumArgs; in FlushCounts() 950 NumArgs = D.NumArgs; in DiagnosticBuilder() 980 assert(NumArgs < DiagnosticsEngine::MaxArguments && in AddString() 982 DiagObj->DiagArgumentsKind[NumArgs] = DiagnosticsEngine::ak_std_string; in AddString() 983 DiagObj->DiagArgumentsStr[NumArgs++] = S; in AddString() 988 assert(NumArgs < DiagnosticsEngine::MaxArguments && in AddTaggedVal() 990 DiagObj->DiagArgumentsKind[NumArgs] = Kind; in AddTaggedVal() 991 DiagObj->DiagArgumentsVal[NumArgs++] = V; in AddTaggedVal()
|
/external/clang/include/clang/AST/ |
D | ExprObjC.h | 872 unsigned NumArgs : NumArgsBitWidth; 907 size_t numTrailingObjects(OverloadToken<void *>) const { return NumArgs + 1; } 911 NumArgs = Num; 914 ObjCMessageExpr(EmptyShell Empty, unsigned NumArgs) 917 setNumArgs(NumArgs); 996 unsigned NumArgs, 1126 unsigned NumArgs, 1277 unsigned getNumArgs() const { return NumArgs; } 1291 assert(Arg < NumArgs && "Arg access out of range!"); 1295 assert(Arg < NumArgs && "Arg access out of range!"); [all …]
|
D | TemplateBase.h | 98 unsigned NumArgs; member 205 this->Args.NumArgs = Args.size(); in TemplateArgument() 324 return Args.Args + Args.NumArgs; in pack_end() 337 return Args.NumArgs; in pack_size() 343 return llvm::makeArrayRef(Args.Args, Args.NumArgs); in getPackAsArray()
|
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitCodes.cpp | 80 if (unsigned NumArgs = Op.NumArguments()) { in PrintExpression() local 82 for (unsigned i = 0; i < NumArgs; ++i) { in PrintExpression()
|
/external/clang/lib/AST/ |
D | TemplateBase.cpp | 293 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()
|
D | ExprObjC.cpp | 259 unsigned NumArgs, in CreateEmpty() argument 261 ObjCMessageExpr *Mem = alloc(Context, NumArgs, NumStoredSelLocs); in CreateEmpty() 262 return new (Mem) ObjCMessageExpr(EmptyShell(), NumArgs); in CreateEmpty() 277 ObjCMessageExpr *ObjCMessageExpr::alloc(const ASTContext &C, unsigned NumArgs, in alloc() argument 280 totalSizeToAlloc<void *, SourceLocation>(NumArgs + 1, NumStoredSelLocs), in alloc()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64CallLowering.cpp | 65 unsigned NumArgs = Args.size(); in lowerFormalArguments() local 68 for (unsigned i = 0; i != NumArgs; ++i, ++CurOrigArg) { in lowerFormalArguments()
|
/external/clang/tools/driver/ |
D | cc1as_main.cpp | 493 unsigned NumArgs = Asm.LLVMArgs.size(); in cc1as_main() local 494 const char **Args = new const char*[NumArgs + 2]; in cc1as_main() 496 for (unsigned i = 0; i != NumArgs; ++i) in cc1as_main() 498 Args[NumArgs + 1] = nullptr; in cc1as_main() 499 llvm::cl::ParseCommandLineOptions(NumArgs + 1, Args); in cc1as_main()
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/ |
D | ExternalFunctions.cpp | 185 const unsigned NumArgs = F->arg_size(); in ffiInvoke() local 189 if (ArgVals.size() > NumArgs && F->isVarArg()) { in ffiInvoke() 196 std::vector<ffi_type*> args(NumArgs); in ffiInvoke() 208 SmallVector<void*, 16> values(NumArgs); in ffiInvoke() 220 if (ffi_prep_cif(&cif, FFI_DEFAULT_ABI, NumArgs, rtype, &args[0]) == FFI_OK) { in ffiInvoke()
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/ |
D | ExecutionEngineBindings.cpp | 189 unsigned NumArgs, in LLVMRunFunction() argument 192 ArgVec.reserve(NumArgs); in LLVMRunFunction() 193 for (unsigned I = 0; I != NumArgs; ++I) in LLVMRunFunction()
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | ExternalFunctions.cpp | 184 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()
|