Home
last modified time | relevance | path

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

/llvm-project-15.0.7/flang/lib/FrontendTool/
H A DExecuteCompilerInvocation.cpp130 unsigned numArgs = flang->getFrontendOpts().llvmArgs.size(); in executeCompilerInvocation() local
131 auto args = std::make_unique<const char *[]>(numArgs + 2); in executeCompilerInvocation()
134 for (unsigned i = 0; i != numArgs; ++i) in executeCompilerInvocation()
137 args[numArgs + 1] = nullptr; in executeCompilerInvocation()
138 llvm::cl::ParseCommandLineOptions(numArgs + 1, args.get()); in executeCompilerInvocation()
145 unsigned numArgs = flang->getFrontendOpts().mlirArgs.size(); in executeCompilerInvocation() local
146 auto args = std::make_unique<const char *[]>(numArgs + 2); in executeCompilerInvocation()
149 for (unsigned i = 0; i != numArgs; ++i) in executeCompilerInvocation()
152 args[numArgs + 1] = nullptr; in executeCompilerInvocation()
153 llvm::cl::ParseCommandLineOptions(numArgs + 1, args.get()); in executeCompilerInvocation()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DFunctionInterfaces.h218 unsigned numArgs = op.getNumArguments(); in verifyTrait() local
219 if (allArgAttrs.size() != numArgs) { in verifyTrait()
224 << allArgAttrs.size() << ", but expected " << numArgs; in verifyTrait()
226 for (unsigned i = 0; i != numArgs; ++i) { in verifyTrait()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DParsedAttr.h321 ArgsUnion *args, unsigned numArgs, Syntax syntaxUsed, in ParsedAttr() argument
325 EllipsisLoc(ellipsisLoc), NumArgs(numArgs), Invalid(false), in ParsedAttr()
330 if (numArgs) in ParsedAttr()
331 memcpy(getArgsBuffer(), args, numArgs * sizeof(ArgsUnion)); in ParsedAttr()
830 ArgsUnion *args, unsigned numArgs,
836 detail::PropertyData>(numArgs, 0, 0, 0, 0);
841 detail::PropertyData>(numArgs, 0, 0, 0,
844 args, numArgs, syntax, ellipsisLoc));
1045 ArgsUnion *args, unsigned numArgs,
1049 args, numArgs, syntax, ellipsisLoc);
/llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/IR/
H A DSparseTensorDialect.cpp270 unsigned numArgs = region.getNumArguments(); in verifyNumBlockArgs() local
272 if (numArgs != expectedNum) in verifyNumBlockArgs()
276 for (unsigned i = 0; i < numArgs; i++) { in verifyNumBlockArgs()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DUnixAPIChecker.cpp83 const unsigned numArgs,
364 const unsigned numArgs, in BasicAllocationCheck() argument
368 if (CE->getNumArgs() != numArgs) in BasicAllocationCheck()
H A DCheckSecuritySyntaxOnly.cpp609 unsigned numArgs = CE->getNumArgs(); in checkCall_mkstemp() local
610 if ((signed) numArgs <= ArgSuffix.first) in checkCall_mkstemp()
830 int numArgs = FPT->getNumParams(); in checkCall_strCommon() local
831 if (numArgs != 2 && numArgs != 3) in checkCall_strCommon()
/llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/
H A DNVVMDialect.cpp619 unsigned numArgs = arguments.size(); in verify() local
620 if (getArgs().size() != numArgs) in verify()
621 return emitOpError() << "expected " << numArgs << " arguments"; in verify()
622 for (unsigned i = 0; i < numArgs; i++) { in verify()
/llvm-project-15.0.7/clang/lib/AST/
H A DMangle.cpp345 numArgs = selector.getNumArgs(), in mangleObjCMethodName() local
346 slotEnd = std::max(numArgs, 1U); in mangleObjCMethodName()
354 if (numArgs) in mangleObjCMethodName()
/llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/
H A DNodes.h399 return {getTrailingObjects<Expr *>(), numArgs}; in getArguments()
406 CallExpr(SMRange loc, Type type, Expr *callable, unsigned numArgs) in CallExpr() argument
407 : Base(loc, type), callable(callable), numArgs(numArgs) {} in CallExpr()
413 unsigned numArgs; variable
/llvm-project-15.0.7/mlir/lib/TableGen/
H A DOperator.cpp425 unsigned numArgs = argumentValues->getNumArgs(); in populateOpStructure() local
432 for (unsigned i = 0; i != numArgs; ++i) { in populateOpStructure()
487 for (unsigned i = 0; i != numArgs; ++i) { in populateOpStructure()
/llvm-project-15.0.7/llvm/lib/Target/Sparc/
H A DSparcISelLowering.h181 unsigned numArgs) const;
H A DSparcISelLowering.cpp2258 unsigned numArgs) const { in LowerF128Op()
2287 assert(Op->getNumOperands() >= numArgs && "Not enough operands!"); in LowerF128Op()
2288 for (unsigned i = 0, e = numArgs; i != e; ++i) { in LowerF128Op()
/llvm-project-15.0.7/lldb/source/Expression/
H A DIRInterpreter.cpp1381 const int numArgs = call_inst->arg_size(); in Interpret() local
1385 if (numArgs >= 16) { in Interpret()
1393 for (int i = 0; i < numArgs; i++) { in Interpret()
1446 llvm::ArrayRef<lldb_private::ABI::CallArgument> args(rawArgs, numArgs); in Interpret()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp1559 int numArgs = (int)aCI->arg_size(); in evaluateCall() local
1560 if (numArgs > 3) in evaluateCall()
1566 if (numArgs > 0) { in evaluateCall()
1571 if (numArgs > 1) { in evaluateCall()
1578 if (numArgs > 2) { in evaluateCall()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVDialect.cpp494 auto numArgs = std::tuple_size<std::tuple<Args...>>::value; in operator ()() local
495 if (numArgs != 0 && failed(parser.parseComma())) in operator ()()
/llvm-project-15.0.7/clang/tools/c-index-test/
H A Dc-index-test.c4059 int i, a, numCmds, numArgs; in index_compile_db() local
4109 numArgs = clang_CompileCommand_getNumArgs(CCmd); in index_compile_db()
4110 if (numArgs > MAX_COMPILE_ARGS){ in index_compile_db()
4115 for (a=0; a<numArgs; ++a) { in index_compile_db()
4120 errorCode = index_compile_args(numArgs, args, idxAction, in index_compile_db()
4123 for (a=0; a<numArgs; ++a) in index_compile_db()
4316 int i, j, a, numCmds, numArgs; in perform_test_compilation_db() local
4361 numArgs = clang_CompileCommand_getNumArgs(CCmd); in perform_test_compilation_db()
4362 for (a=0; a<numArgs; ++a) { in perform_test_compilation_db()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DVectorUtils.h187 unsigned numArgs, ElementCount VF);
/llvm-project-15.0.7/mlir/test/CAPI/
H A Dir.c244 intptr_t numArgs = mlirBlockGetNumArguments(block); in collectStatsSingle() local
245 stats->numValues += numArgs; in collectStatsSingle()
246 for (intptr_t j = 0; j < numArgs; ++j) { in collectStatsSingle()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DVectorUtils.cpp1481 StringRef ScalarName, unsigned numArgs, in mangleTLIVectorName() argument
1490 for (unsigned I = 0; I < numArgs; ++I) in mangleTLIVectorName()
/llvm-project-15.0.7/llvm/docs/
H A DStackMaps.rst191 i8* <target>, i32 <numArgs>, ...)
194 i8* <target>, i32 <numArgs>, ...)
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp1439 unsigned numArgs = OldMsg->getNumArgs(); in RewritePropertyOrImplicitSetter() local
1440 for (unsigned i = 0; i < numArgs; i++) { in RewritePropertyOrImplicitSetter()
1523 unsigned numArgs = OldMsg->getNumArgs(); in RewritePropertyOrImplicitGetter() local
1524 for (unsigned i = 0; i < numArgs; i++) { in RewritePropertyOrImplicitGetter()
2393 unsigned numArgs = proto->getNumParams(); in RewriteBlockLiteralFunctionDecl() local
2394 for (unsigned i = 0; i < numArgs; i++) { in RewriteBlockLiteralFunctionDecl()
2397 if (i+1 < numArgs) in RewriteBlockLiteralFunctionDecl()
2401 FdStr += (numArgs > 0) ? ", ...);\n" : "...);\n"; in RewriteBlockLiteralFunctionDecl()
H A DRewriteObjC.cpp2306 unsigned numArgs = proto->getNumParams(); in RewriteBlockLiteralFunctionDecl() local
2307 for (unsigned i = 0; i < numArgs; i++) { in RewriteBlockLiteralFunctionDecl()
2310 if (i+1 < numArgs) in RewriteBlockLiteralFunctionDecl()
/llvm-project-15.0.7/flang/lib/Lower/
H A DIntrinsicCall.cpp3515 [[maybe_unused]] auto numArgs = args.size(); in genPack() local
3516 assert(numArgs == 2 || numArgs == 3); in genPack()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DType.h4097 unsigned numArgs) {
4098 for (unsigned Idx = 0; Idx < numArgs; ++Idx)
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaChecking.cpp6928 unsigned numArgs = isStore ? 2 : 1; in SemaBuiltinNontemporalOverloaded() local
6931 if (checkArgCount(*this, TheCall, numArgs)) in SemaBuiltinNontemporalOverloaded()
6938 Expr *PointerArg = TheCall->getArg(numArgs - 1); in SemaBuiltinNontemporalOverloaded()
6945 TheCall->setArg(numArgs - 1, PointerArg); in SemaBuiltinNontemporalOverloaded()