Home
last modified time | relevance | path

Searched refs:strAttr (Results 1 – 12 of 12) sorted by relevance

/external/llvm-project/mlir/include/mlir/Dialect/Utils/
DStructuredOpsUtils.h80 auto strAttr = attr.dyn_cast_or_null<StringAttr>(); in isParallelIterator() local
81 return strAttr && strAttr.getValue() == getParallelIteratorTypeName(); in isParallelIterator()
87 auto strAttr = attr.dyn_cast_or_null<StringAttr>(); in isReductionIterator() local
88 return strAttr && strAttr.getValue() == getReductionIteratorTypeName(); in isReductionIterator()
94 auto strAttr = attr.dyn_cast_or_null<StringAttr>(); in isWindowIterator() local
95 return strAttr && strAttr.getValue() == getWindowIteratorTypeName(); in isWindowIterator()
139 auto strAttr = attr.dyn_cast_or_null<StringAttr>(); in isSparseDim() local
140 return strAttr && strAttr.getValue() == getSparseDimName(); in isSparseDim()
144 auto strAttr = attr.dyn_cast_or_null<StringAttr>(); in isDenseDim() local
145 return strAttr && strAttr.getValue() == getDenseDimName(); in isDenseDim()
/external/llvm-project/mlir/lib/Dialect/Linalg/Utils/
DUtils.cpp61 if (auto strAttr = attr.dyn_cast<StringAttr>()) { in isParallelIteratorType() local
62 return strAttr.getValue() == getParallelIteratorTypeName(); in isParallelIteratorType()
68 if (auto strAttr = attr.dyn_cast<StringAttr>()) { in isReductionIteratorType() local
69 return strAttr.getValue() == getReductionIteratorTypeName(); in isReductionIteratorType()
75 if (auto strAttr = attr.dyn_cast<StringAttr>()) { in isWindowIteratorType() local
76 return strAttr.getValue() == getWindowIteratorTypeName(); in isWindowIteratorType()
/external/llvm-project/mlir/test/lib/Dialect/Test/
DTestDialect.cpp39 StringAttr strAttr = attr.dyn_cast<StringAttr>(); in getAlias() local
40 if (!strAttr) in getAlias()
46 StringSwitch<Optional<StringRef>>(strAttr.getValue()) in getAlias()
77 if (auto strAttr = arrayAttr[i].dyn_cast<StringAttr>()) in getAsmBlockArgumentNames() local
78 setNameFn(args[i], strAttr.getValue()); in getAsmBlockArgumentNames()
/external/pdfium/fxjs/xfa/
Dcfxjse_resolveprocessor.h57 WideStringView strAttr);
Dcfxjse_resolveprocessor.cpp235 WideStringView strAttr) { in ResolveForAttributeRs() argument
237 XFA_GetScriptAttributeByName(curNode->GetElementType(), strAttr); in ResolveForAttributeRs()
/external/llvm-project/flang/lib/Lower/
DFIRBuilder.cpp176 auto strAttr = mlir::StringAttr::get(data, getContext()); in createStringLit() local
178 mlir::NamedAttribute dataAttr(valTag, strAttr); in createStringLit()
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVAttributes.cpp265 if (auto strAttr = attr.dyn_cast<StringAttr>()) in verifyConstructionInvariants() local
266 if (spirv::symbolizeExtension(strAttr.getValue())) in verifyConstructionInvariants()
/external/llvm-project/mlir/tools/mlir-tblgen/
DRewriterGen.cpp852 std::string strAttr; in handleLocationDirective() local
859 if (!strAttr.empty()) in handleLocationDirective()
861 strAttr = leaf.getStringAttr(); in handleLocationDirective()
868 if (!strAttr.empty()) { in handleLocationDirective()
869 os << ", rewriter.getStringAttr(\"" << strAttr << "\")"; in handleLocationDirective()
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DLLVMDialect.cpp1183 if (auto strAttr = value.dyn_cast_or_null<StringAttr>()) { in parseGlobalOp() local
1186 LLVM::LLVMType::getInt8Ty(context), strAttr.getValue().size()); in parseGlobalOp()
1211 if (auto strAttr = op.getValueOrNull().dyn_cast_or_null<StringAttr>()) { in verify() local
1214 type.getArrayNumElements() != strAttr.getValue().size()) in verify()
/external/llvm-project/mlir/lib/Target/LLVMIR/
DModuleTranslation.cpp782 if (auto strAttr = op.getValueOrNull().dyn_cast_or_null<StringAttr>()) { in convertGlobals() local
784 llvmModule->getContext(), strAttr.getValue(), /*AddNull=*/false); in convertGlobals()
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DSerializer.cpp744 if (auto strAttr = attr.second.dyn_cast<StringAttr>()) { in processDecoration() local
745 auto enumVal = spirv::symbolizeBuiltIn(strAttr.getValue()); in processDecoration()
751 << attrName << " attribute " << strAttr.getValue(); in processDecoration()
/external/llvm-project/mlir/lib/IR/
DAsmPrinter.cpp1526 } else if (auto strAttr = attr.dyn_cast<StringAttr>()) { in printAttribute() local
1528 printEscapedString(strAttr.getValue(), os); in printAttribute()