| /llvm-project-15.0.7/mlir/tools/mlir-tblgen/ |
| H A D | RewriterGen.cpp | 107 int argIndex); 819 auto name = tree.getArgName(argIndex); in emitAttributeMatch() 1523 for (int argIndex = 0, e = resultOp.getNumArgs(); argIndex < e; ++argIndex) { in createSeparateLocalVarsForOpArgs() local 1536 if (node.isNestedDagArg(argIndex)) { in createSeparateLocalVarsForOpArgs() 1537 range = childNodeNames[argIndex]; in createSeparateLocalVarsForOpArgs() 1549 if (node.isNestedDagArg(argIndex)) { in createSeparateLocalVarsForOpArgs() 1566 childNodeNames[argIndex] = varName; in createSeparateLocalVarsForOpArgs() 1574 argIndex != numOpArgs; ++argIndex) { in supplyValuesForOpArgs() 1626 for (int argIndex = 0, e = resultOp.getNumArgs(); argIndex < e; ++argIndex) { in createAggregateLocalVarsForOpArgs() local 1650 if (node.isNestedDagArg(argIndex)) { in createAggregateLocalVarsForOpArgs() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Conversion/GPUToSPIRV/ |
| H A D | GPUToSPIRV.cpp | 230 for (auto argIndex : llvm::seq<unsigned>(0, argABIInfo.size())) { in lowerAsEntryFunction() local 231 newFuncOp.setArgAttr(argIndex, argABIAttrName, argABIInfo[argIndex]); in lowerAsEntryFunction() 248 for (auto argIndex : llvm::seq<unsigned>(0, funcOp.getNumArguments())) { in getDefaultABIAttrs() local 250 argIndex, spirv::getInterfaceVarABIAttrName())) in getDefaultABIAttrs() 255 if (funcOp.getArgument(argIndex).getType().isIntOrIndexOrFloat()) in getDefaultABIAttrs() 257 argABI.push_back(spirv::getInterfaceVarABIAttr(0, argIndex, sc, context)); in getDefaultABIAttrs() 271 for (auto argIndex : llvm::seq<unsigned>(0, funcOp.getNumArguments())) { in matchAndRewrite() local 274 argIndex, spirv::getInterfaceVarABIAttrName()); in matchAndRewrite() 279 << argIndex; in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/MemRef/Transforms/ |
| H A D | NormalizeMemRefs.cpp | 181 for (unsigned argIndex : llvm::seq<unsigned>(0, funcOp.getNumArguments())) { in areMemRefsNormalizable() local 182 BlockArgument oldMemRef = funcOp.getArgument(argIndex); in areMemRefsNormalizable() 344 for (unsigned argIndex : in normalizeFuncOpMemRefs() local 346 Type argType = functionType.getInput(argIndex); in normalizeFuncOpMemRefs() 367 argIndex, newMemRefType, functionArgLocs[argIndex]); in normalizeFuncOpMemRefs() 368 BlockArgument oldMemRef = funcOp.getArgument(argIndex + 1); in normalizeFuncOpMemRefs() 382 funcOp.front().eraseArgument(argIndex); in normalizeFuncOpMemRefs() 388 funcOp.front().eraseArgument(argIndex + 1); in normalizeFuncOpMemRefs()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | PrintfFormatString.cpp | 40 unsigned *argIndex) { in ParsePrecision() argument 41 if (argIndex) { in ParsePrecision() 42 FS.setPrecision(ParseNonPositionAmount(Beg, E, *argIndex)); in ParsePrecision() 74 unsigned &argIndex, in ParsePrintfSpecifier() argument 219 FS.usesPositionalArg() ? nullptr : &argIndex)) in ParsePrintfSpecifier() 239 FS.usesPositionalArg() ? nullptr : &argIndex)) in ParsePrintfSpecifier() 389 FS.setArgIndex(argIndex++); in ParsePrintfSpecifier() 393 argIndex++; in ParsePrintfSpecifier() 414 unsigned argIndex = 0; in ParsePrintfString() local 418 const PrintfSpecifierResult &FSR = ParsePrintfSpecifier(H, I, E, argIndex, in ParsePrintfString() [all …]
|
| H A D | FormatStringParsing.h | 42 unsigned &argIndex); 51 unsigned *argIndex);
|
| H A D | ScanfFormatString.cpp | 78 unsigned &argIndex, in ParseScanfSpecifier() argument 208 FS.setArgIndex(argIndex++); in ParseScanfSpecifier() 545 unsigned argIndex = 0; in ParseScanfString() local 549 const ScanfSpecifierResult &FSR = ParseScanfSpecifier(H, I, E, argIndex, in ParseScanfString()
|
| H A D | FormatString.cpp | 64 unsigned &argIndex) { in ParseNonPositionAmount() argument 67 return OptionalAmount(OptionalAmount::Arg, argIndex++, Beg, 0, false); in ParseNonPositionAmount() 125 unsigned *argIndex) { in ParseFieldWidth() argument 127 if (argIndex) { in ParseFieldWidth() 128 CS.setFieldWidth(ParseNonPositionAmount(Beg, E, *argIndex)); in ParseFieldWidth()
|
| /llvm-project-15.0.7/mlir/test/lib/IR/ |
| H A D | TestFunc.cpp | 100 for (auto argIndex : llvm::seq<int>(0, func.getNumArguments())) in runOnOperation() local 101 if (func.getArgAttr(argIndex, "test.erase_this_arg")) in runOnOperation() 102 indicesToErase.set(argIndex); in runOnOperation()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | FormatString.h | 408 unsigned argIndex; variable 412 UsesPositionalArg(false), argIndex(0) {} in FormatSpecifier() 421 argIndex = i; in setArgIndex() 425 return argIndex; in getArgIndex() 429 return argIndex + 1; in getPositionalArgIndex()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | IdentifierTable.cpp | 503 IdentifierInfo *Selector::getIdentifierInfoForSlot(unsigned argIndex) const { in getIdentifierInfoForSlot() 505 assert(argIndex == 0 && "illegal keyword index"); in getIdentifierInfoForSlot() 511 return SI->getIdentifierInfoForSlot(argIndex); in getIdentifierInfoForSlot() 514 StringRef Selector::getNameForSlot(unsigned int argIndex) const { in getNameForSlot() 515 IdentifierInfo *II = getIdentifierInfoForSlot(argIndex); in getNameForSlot()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Transforms/ |
| H A D | LowerABIAttributesPass.cpp | 28 unsigned argIndex, in createGlobalVarForEntryPointArgument() argument 37 funcOp.getName().str() + "_arg_" + std::to_string(argIndex); in createGlobalVarForEntryPointArgument() 42 auto varType = funcOp.getFunctionType().getInput(argIndex); in createGlobalVarForEntryPointArgument()
|
| /llvm-project-15.0.7/mlir/lib/TableGen/ |
| H A D | Pattern.cpp | 429 const Operator &op, int argIndex) { in bindOpArgument() argument 437 auto symInfo = op.getArg(argIndex).is<NamedAttribute *>() in bindOpArgument() 438 ? SymbolInfo::getAttr(&op, argIndex) in bindOpArgument() 439 : SymbolInfo::getOperand(node, &op, argIndex); in bindOpArgument() 502 int argIndex) const { in findBoundSymbol() 503 return findBoundSymbol(key, SymbolInfo::getOperand(node, &op, argIndex)); in findBoundSymbol()
|
| /llvm-project-15.0.7/mlir/include/mlir/TableGen/ |
| H A D | Pattern.h | 370 int argIndex); 400 const Operator &op, int argIndex) const;
|
| /llvm-project-15.0.7/mlir/lib/Interfaces/ |
| H A D | ControlFlowInterfaces.cpp | 54 unsigned argIndex = in getBranchSuccessorArgument() local 56 return successor->getArgument(argIndex); in getBranchSuccessorArgument()
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | FunctionInterfaces.td | 292 /// location `argLoc` at `argIndex`. 293 void insertArgument(unsigned argIndex, Type argType, DictionaryAttr argAttrs, 295 insertArguments({argIndex}, {argType}, {argAttrs}, {argLoc}); 333 /// Erase a single argument at `argIndex`. 334 void eraseArgument(unsigned argIndex) { 336 argsToErase.set(argIndex);
|
| H A D | Dialect.h | 136 unsigned argIndex,
|
| /llvm-project-15.0.7/clang/include/clang/CodeGen/ |
| H A D | CGFunctionInfo.h | 718 ExtParameterInfo getExtParameterInfo(unsigned argIndex) const { in getExtParameterInfo() argument 719 assert(argIndex <= NumArgs); in getExtParameterInfo() 721 return getExtParameterInfos()[argIndex]; in getExtParameterInfo()
|
| /llvm-project-15.0.7/flang/include/flang/Lower/ |
| H A D | Runtime.h | 81 void genRandomSeed(fir::FirOpBuilder &, mlir::Location, int argIndex,
|
| /llvm-project-15.0.7/mlir/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 185 llvm::Value *argIndex = llvm::Constant::getIntegerValue( in packFunctionArguments() local 188 builder.CreateGEP(builder.getInt8PtrTy(), argList, argIndex); in packFunctionArguments()
|
| /llvm-project-15.0.7/llvm/examples/ExceptionDemo/ |
| H A D | ExceptionDemo.cpp | 179 for (llvm::Function::arg_iterator argIndex = ret->arg_begin(); in createFunction() local 181 ++argIndex, ++i) { in createFunction() 183 argIndex->setName(theArgNames[i]); in createFunction() 184 namedValues[theArgNames[i]] = argIndex; in createFunction()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | IdentifierTable.h | 854 IdentifierInfo *getIdentifierInfoForSlot(unsigned argIndex) const; 864 StringRef getNameForSlot(unsigned argIndex) const;
|
| /llvm-project-15.0.7/mlir/lib/Target/SPIRV/Serialization/ |
| H A D | Serializer.cpp | 1042 for (auto argIndex : llvm::seq<unsigned>(0, block->getNumArguments())) { in emitPhiForBlockArguments() local 1043 BlockArgument arg = block->getArgument(argIndex); in emitPhiForBlockArguments() 1051 LLVM_DEBUG(llvm::dbgs() << "[phi] for block argument #" << argIndex << ' ' in emitPhiForBlockArguments() 1060 Value value = predecessors[predIndex].second[argIndex]; in emitPhiForBlockArguments()
|
| /llvm-project-15.0.7/mlir/tools/mlir-linalg-ods-gen/ |
| H A D | mlir-linalg-ods-yaml-gen.cpp | 1055 Optional<int> argIndex = findTensorDefArgIndex(*expression.arg, args); in generateNamedGenericOpDefns() local 1056 if (!argIndex) { in generateNamedGenericOpDefns() 1062 llvm::formatv("block.getArgument({0})", *argIndex)); in generateNamedGenericOpDefns()
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | Runtime.cpp | 265 mlir::Location loc, int argIndex, in genRandomSeed() argument 270 switch (argIndex) { in genRandomSeed()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/ |
| H A D | SPIRVDialect.cpp | 939 unsigned argIndex, in verifyRegionArgAttribute() argument 942 op->getLoc(), op->getRegion(regionIndex).getArgument(argIndex).getType(), in verifyRegionArgAttribute()
|