Home
last modified time | relevance | path

Searched refs:ArgCount (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp207 for (unsigned ArgCount = 1; in lowerPrintfForGpu() local
208 ArgCount < CI->arg_size() && ArgCount <= OpConvSpecifiers.size(); in lowerPrintfForGpu()
209 ArgCount++) { in lowerPrintfForGpu()
210 Value *Arg = CI->getArgOperand(ArgCount); in lowerPrintfForGpu()
229 OpConvSpecifiers[ArgCount - 1] == 'o') in lowerPrintfForGpu()
236 CI->setOperand(ArgCount, Arg); in lowerPrintfForGpu()
238 if (OpConvSpecifiers[ArgCount - 1] == 'f') { in lowerPrintfForGpu()
393 for (unsigned ArgCount = 1; in lowerPrintfForGpu() local
394 ArgCount < CI->arg_size() && ArgCount <= OpConvSpecifiers.size(); in lowerPrintfForGpu()
395 ArgCount++) { in lowerPrintfForGpu()
[all …]
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DCallDescription.cpp77 size_t ArgCount, in matchesImpl() argument
85 (!RequiredArgs || *RequiredArgs <= ArgCount) && in matchesImpl()
107 [](size_t ArgCount, size_t ParamCount, in matchesImpl()
109 const bool ArgsMatch = !CD.RequiredArgs || *CD.RequiredArgs == ArgCount; in matchesImpl()
143 if (!ExactMatchArgAndParamCounts(ArgCount, ParamCount, *this)) in matchesImpl()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86CallingConv.cpp301 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()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.cpp91 const size_t ArgCount = F->getFunctionType()->getNumParams(); in runFunction() local
93 ArgValues.slice(0, std::min(ArgValues.size(), ArgCount)); in runFunction()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DCompileCommands.cpp507 std::pair<unsigned, unsigned> ArgCount = getArgCount(Opt); in rulesFor() local
517 R.ExactArgs = ArgCount.first; in rulesFor()
518 R.PrefixArgs = ArgCount.second; in rulesFor()
571 unsigned &ArgCount) const { in matchingRule()
585 ArgCount = Count; in matchingRule()
605 unsigned ArgCount = 0; in process() local
606 if (matchingRule(Args[Read], CurrentMode, ArgCount)) { in process()
615 for (unsigned I = 1; Read < Args.size() && I < ArgCount; ++I) { in process()
H A DCompileCommands.h94 unsigned &ArgCount) const;
/llvm-project-15.0.7/llvm/tools/llvm-c-test/
H A Decho.cpp452 int ArgCount = LLVMGetNumArgOperands(Src); in CloneAttrs() local
453 for (int i = LLVMAttributeReturnIndex; i <= ArgCount; i++) { in CloneAttrs()
521 int ArgCount = LLVMGetNumArgOperands(Src); in CloneInstruction() local
522 for (int i = 0; i < ArgCount; i++) in CloneInstruction()
709 int ArgCount = LLVMGetNumArgOperands(Src); in CloneInstruction() local
710 for (int i = 0; i < ArgCount; i++) in CloneInstruction()
749 int ArgCount = LLVMGetNumArgOperands(Src); in CloneInstruction() local
750 for (int i = 0; i < ArgCount; i++) in CloneInstruction()
753 Args.data(), ArgCount, Name); in CloneInstruction()
759 int ArgCount = LLVMGetNumArgOperands(Src); in CloneInstruction() local
[all …]
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DObjCSuperDeallocChecker.cpp203 unsigned ArgCount = CE.getNumArgs(); in diagnoseCallArguments() local
204 for (unsigned I = 0; I < ArgCount; I++) { in diagnoseCallArguments()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallDescription.h159 bool matchesImpl(const FunctionDecl *Callee, size_t ArgCount,
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DAvoidBindCheck.cpp265 for (size_t I = 1, ArgCount = BindCall->getNumArgs(); I < ArgCount; ++I) { in buildBindArguments() local
/llvm-project-15.0.7/llvm/lib/IR/
H A DVerifier.cpp4888 unsigned ArgCount = Elem.End - Elem.Begin; in visitIntrinsicCall() local
4890 Check(ArgCount <= 3 && ArgCount >= 2, in visitIntrinsicCall()
4896 if (ArgCount == 3) in visitIntrinsicCall()
4901 Check(ArgCount <= 2, "too many arguments", Call); in visitIntrinsicCall()
4905 Check(ArgCount == 2, "this attribute should have 2 arguments", Call); in visitIntrinsicCall()
4909 Check((ArgCount) == 1, "this attribute should have one argument", Call); in visitIntrinsicCall()
4911 Check((ArgCount) == 0, "this attribute has no argument", Call); in visitIntrinsicCall()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1889 uint64_t ArgCount = in RemovePreallocated() local
1914 SmallVector<Value *, 2> ArgAllocas(ArgCount); in RemovePreallocated()
/llvm-project-15.0.7/clang/utils/TableGen/
H A DClangAttrEmitter.cpp3576 unsigned ArgCount = 0, OptCount = 0, ArgMemberCount = 0; in emitArgInfo() local
3583 Arg->getValueAsBit("Optional") ? ++OptCount : ++ArgCount; in emitArgInfo()
3591 OS << " /*NumArgs=*/" << ArgCount << ",\n"; in emitArgInfo()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaChecking.cpp122 unsigned ArgCount = Call->getNumArgs(); in checkArgCountAtLeast() local
123 if (ArgCount >= MinArgCount) in checkArgCountAtLeast()
127 << 0 /*function call*/ << MinArgCount << ArgCount in checkArgCountAtLeast()
134 unsigned ArgCount = Call->getNumArgs(); in checkArgCount() local
135 if (ArgCount == DesiredArgCount) in checkArgCount()
140 assert(ArgCount > DesiredArgCount && "should have diagnosed this"); in checkArgCount()
144 Call->getArg(ArgCount - 1)->getEndLoc()); in checkArgCount()
147 << 0 /*function call*/ << DesiredArgCount << ArgCount in checkArgCount()
H A DSemaDeclAttr.cpp5502 ParamIdx ArgCount; in handleXRayLogArgsAttr() local
5505 ArgCount, in handleXRayLogArgsAttr()
5511 XRayLogArgsAttr(S.Context, AL, ArgCount.getSourceIndex())); in handleXRayLogArgsAttr()