Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/mlir/lib/IR/
H A DBuiltinDialect.cpp107 if (!attr.getName().strref().contains('.') && in verify()
111 attr.getName().strref())) in verify()
130 layoutSpecAttrName = na.getName().strref(); in verify()
H A DBuiltinTypes.cpp210 if (!Dialect::isValidNamespace(dialect.strref())) in verify()
216 !context->getLoadedDialect(dialect.strref())) { in verify()
H A DBuiltinAttributes.cpp413 if (!Dialect::isValidNamespace(dialect.strref())) in verify()
419 !context->getLoadedDialect(dialect.strref())) { in verify()
1589 if (!Dialect::isValidNamespace(dialect.strref())) in verify()
H A DAsmPrinter.cpp547 if (!elidedAttrsSet.contains(attr.getName().strref()))
2210 return !elidedAttrsSet.contains(attr.getName().strref()); in printOptionalAttrDict()
2218 ::printKeywordOrString(attr.getName().strref(), os); in printNamedAttribute()
H A DOperationSupport.cpp124 it = findAttr(*this, name.strref()); in set()
/llvm-project-15.0.7/mlir/include/mlir/Support/
H A DTiming.h56 StringRef strref() const { return entry->first(); } in strref() function
59 std::string str() const { return strref().str(); } in str()
/llvm-project-15.0.7/mlir/test/lib/IR/
H A DTestDiagnostics.cpp45 return fileLoc.getFilename().strref().contains(filter); in runOnOperation()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DFunctionInterfaces.h239 if (!attr.getName().strref().contains('.')) in verifyTrait()
271 if (!attr.getName().strref().contains('.')) in verifyTrait()
H A DOperation.h424 return attr.getName().strref().count('.'); in filter()
458 if (!attr.getName().strref().contains('.')) in setDialectAttrs()
H A DOperationSupport.h434 int compare = mid->getName().strref().compare(name); in findAttrSorted()
455 return findAttrSorted(first, last, name.strref()); in findAttrSorted()
/llvm-project-15.0.7/mlir/lib/Dialect/DLTI/
H A DDLTI.cpp100 os << "\"" << getKey().get<StringAttr>().strref() << "\""; in print()
320 StringRef entryName = entry.getKey().get<StringAttr>().strref(); in verifyEntry()
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DDebugTranslation.cpp101 translateFile(fileLoc ? fileLoc.getFilename().strref() : "<unknown>"); in translate()
/llvm-project-15.0.7/mlir/unittests/TableGen/
H A DOpBuildGen.cpp65 EXPECT_EQ(op->getAttr(attrs[idx].getName().strref()), in verifyOp()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVDialect.cpp894 StringRef symbol = attribute.getName().strref(); in verifyOperationAttribute()
917 StringRef symbol = attribute.getName().strref(); in verifyRegionAttribute()
/llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/
H A DNVVMDialect.cpp509 return emitOpError("op requires " + getB1OpAttrName().strref() + in verify()
519 getIntOverflowBehaviorAttrName().strref() + in verify()
/llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/IR/
H A DSparseTensorDialect.cpp109 << attr.getName().strref(); in parse()
/llvm-project-15.0.7/mlir/lib/Target/Cpp/
H A DTranslateToCpp.cpp847 if (!llvm::is_contained(exclude, attr.getName().strref())) { in emitOperandsAndAttributes()
855 if (llvm::is_contained(exclude, attr.getName().strref())) in emitOperandsAndAttributes()
/llvm-project-15.0.7/mlir/lib/CAPI/IR/
H A DBuiltinTypes.cpp382 return wrap(unwrap(type).cast<OpaqueType>().getDialectNamespace().strref()); in mlirOpaqueTypeGetDialectNamespace()
H A DBuiltinAttributes.cpp181 return wrap(unwrap(attr).cast<OpaqueAttr>().getDialectNamespace().strref()); in mlirOpaqueAttrGetDialectNamespace()
H A DIR.cpp797 return wrap(unwrap(ident).strref()); in mlirIdentifierStr()
/llvm-project-15.0.7/mlir/lib/Target/SPIRV/Serialization/
H A DSerializer.cpp176 auto fileName = fileLoc ? fileLoc.getFilename().strref() : "<unknown>"; in processDebugInfo()
203 auto attrName = attr.getName().strref(); in processDecoration()
/llvm-project-15.0.7/mlir/lib/Conversion/FuncToLLVM/
H A DFuncToLLVM.cpp477 if (attr.getName().strref() == "value") in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/AsmParser/
H A DAttributeParser.cpp303 auto splitName = nameId->strref().split('.'); in parseAttributeDict()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/IR/
H A DLinalgOps.cpp753 if (genericAttrNamesSet.count(attr.getName().strref()) > 0) in print()
768 if ((hasExtraAttrs = !genericAttrNamesSet.contains(n.getName().strref()))) in print()
/llvm-project-15.0.7/mlir/docs/
H A DDiagnostics.md286 return !fileLoc.getFilename().strref().contains("my/framework/source/");

12