/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPrintfRuntimeBinding.cpp | 213 for (unsigned ArgCount = 1; in lowerPrintfForGpu() local 214 ArgCount < CI->arg_size() && ArgCount <= OpConvSpecifiers.size(); in lowerPrintfForGpu() 215 ArgCount++) { in lowerPrintfForGpu() 216 Value *Arg = CI->getArgOperand(ArgCount); in lowerPrintfForGpu() 239 OpConvSpecifiers[ArgCount - 1] == 'o') in lowerPrintfForGpu() 245 CI->setOperand(ArgCount, Arg); in lowerPrintfForGpu() 247 if (OpConvSpecifiers[ArgCount - 1] == 'f') { in lowerPrintfForGpu() 366 for (unsigned ArgCount = 1; in lowerPrintfForGpu() local 367 ArgCount < CI->arg_size() && ArgCount <= OpConvSpecifiers.size(); in lowerPrintfForGpu() 368 ArgCount++) { in lowerPrintfForGpu() [all …]
|
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
H A D | CallDescription.cpp | 78 size_t ArgCount, in matchesImpl() argument 86 (!RequiredArgs || *RequiredArgs <= ArgCount) && in matchesImpl() 108 [](size_t ArgCount, size_t ParamCount, in matchesImpl() 110 const bool ArgsMatch = !CD.RequiredArgs || *CD.RequiredArgs == ArgCount; in matchesImpl() 144 if (!ExactMatchArgAndParamCounts(ArgCount, ParamCount, *this)) in matchesImpl()
|
/openbsd/gnu/llvm/llvm/lib/Target/X86/ |
H A D | X86CallingConv.cpp | 301 size_t ArgCount = State.getMachineFunction().getFunction().arg_size(); in CC_X86_Intr() local 305 if (ArgCount == 1 && ValNo == 0) { in CC_X86_Intr() 309 } else if (ArgCount == 2 && ValNo == 0) { in CC_X86_Intr() 314 } else if (ArgCount == 2 && ValNo == 1) { in CC_X86_Intr() 326 if (Is64Bit && ArgCount == 2) in CC_X86_Intr()
|
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Interpreter.cpp | 91 const size_t ArgCount = F->getFunctionType()->getNumParams(); in runFunction() local 93 ArgValues.slice(0, std::min(ArgValues.size(), ArgCount)); in runFunction()
|
/openbsd/gnu/llvm/llvm/tools/llvm-c-test/ |
H A D | echo.cpp | 454 int ArgCount = LLVMGetNumArgOperands(Src); in CloneAttrs() local 455 for (int i = LLVMAttributeReturnIndex; i <= ArgCount; i++) { in CloneAttrs() 523 int ArgCount = LLVMGetNumArgOperands(Src); in CloneInstruction() local 524 for (int i = 0; i < ArgCount; i++) in CloneInstruction() 711 int ArgCount = LLVMGetNumArgOperands(Src); in CloneInstruction() local 712 for (int i = 0; i < ArgCount; i++) in CloneInstruction() 751 int ArgCount = LLVMGetNumArgOperands(Src); in CloneInstruction() local 752 for (int i = 0; i < ArgCount; i++) in CloneInstruction() 755 Args.data(), ArgCount, Name); in CloneInstruction() 761 int ArgCount = LLVMGetNumArgOperands(Src); in CloneInstruction() local [all …]
|
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ObjCSuperDeallocChecker.cpp | 203 unsigned ArgCount = CE.getNumArgs(); in diagnoseCallArguments() local 204 for (unsigned I = 0; I < ArgCount; I++) { in diagnoseCallArguments()
|
/openbsd/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | CallDescription.h | 158 bool matchesImpl(const FunctionDecl *Callee, size_t ArgCount,
|
/openbsd/gnu/llvm/llvm/lib/IR/ |
H A D | Verifier.cpp | 4975 unsigned ArgCount = Elem.End - Elem.Begin; in visitIntrinsicCall() local 4979 Check(ArgCount == 2, in visitIntrinsicCall() 4993 Check(ArgCount <= 3 && ArgCount >= 2, in visitIntrinsicCall() 4999 if (ArgCount == 3) in visitIntrinsicCall() 5004 Check(ArgCount <= 2, "too many arguments", Call); in visitIntrinsicCall() 5008 Check(ArgCount == 2, "this attribute should have 2 arguments", Call); in visitIntrinsicCall() 5012 Check((ArgCount) == 1, "this attribute should have one argument", Call); in visitIntrinsicCall() 5014 Check((ArgCount) == 0, "this attribute has no argument", Call); in visitIntrinsicCall()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 1896 uint64_t ArgCount = in RemovePreallocated() local 1921 SmallVector<Value *, 2> ArgAllocas(ArgCount); in RemovePreallocated()
|
/openbsd/gnu/llvm/clang/utils/TableGen/ |
H A D | ClangAttrEmitter.cpp | 3633 unsigned ArgCount = 0, OptCount = 0, ArgMemberCount = 0; in emitArgInfo() local 3640 Arg->getValueAsBit("Optional") ? ++OptCount : ++ArgCount; in emitArgInfo() 3648 OS << " /*NumArgs=*/" << ArgCount << ",\n"; in emitArgInfo()
|
/openbsd/gnu/llvm/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 121 unsigned ArgCount = Call->getNumArgs(); in checkArgCountAtLeast() local 122 if (ArgCount >= MinArgCount) in checkArgCountAtLeast() 126 << 0 /*function call*/ << MinArgCount << ArgCount in checkArgCountAtLeast() 134 unsigned ArgCount = Call->getNumArgs(); in checkArgCountAtMost() local 135 if (ArgCount <= MaxArgCount) in checkArgCountAtMost() 139 << 0 /*function call*/ << MaxArgCount << ArgCount in checkArgCountAtMost() 155 unsigned ArgCount = Call->getNumArgs(); in checkArgCount() local 156 if (ArgCount == DesiredArgCount) in checkArgCount() 161 assert(ArgCount > DesiredArgCount && "should have diagnosed this"); in checkArgCount() 165 Call->getArg(ArgCount - 1)->getEndLoc()); in checkArgCount() [all …]
|
H A D | SemaDeclAttr.cpp | 5620 ParamIdx ArgCount; in handleXRayLogArgsAttr() local 5623 ArgCount, in handleXRayLogArgsAttr() 5629 XRayLogArgsAttr(S.Context, AL, ArgCount.getSourceIndex())); in handleXRayLogArgsAttr()
|