/external/llvm-project/mlir/include/mlir/Dialect/Utils/ |
D | StructuredOpsUtils.h | 80 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/ |
D | Utils.cpp | 61 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/ |
D | TestDialect.cpp | 39 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/ |
D | cfxjse_resolveprocessor.h | 57 WideStringView strAttr);
|
D | cfxjse_resolveprocessor.cpp | 235 WideStringView strAttr) { in ResolveForAttributeRs() argument 237 XFA_GetScriptAttributeByName(curNode->GetElementType(), strAttr); in ResolveForAttributeRs()
|
/external/llvm-project/flang/lib/Lower/ |
D | FIRBuilder.cpp | 176 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/ |
D | SPIRVAttributes.cpp | 265 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/ |
D | RewriterGen.cpp | 852 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/ |
D | LLVMDialect.cpp | 1183 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/ |
D | ModuleTranslation.cpp | 782 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/ |
D | Serializer.cpp | 744 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/ |
D | AsmPrinter.cpp | 1526 } else if (auto strAttr = attr.dyn_cast<StringAttr>()) { in printAttribute() local 1528 printEscapedString(strAttr.getValue(), os); in printAttribute()
|