Home
last modified time | relevance | path

Searched refs:stringAttr (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/mlir/unittests/IR/
H A DAttributeTest.cpp164 Attribute stringAttr = StringAttr::get("test-string", stringType); in TEST() local
165 testSplat(stringType, stringAttr); in TEST()
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DModuleTranslation.cpp381 if (auto stringAttr = attr.dyn_cast<StringAttr>()) { in getLLVMConstant() local
384 ArrayRef<char>{stringAttr.getValue().data(), in getLLVMConstant()
385 stringAttr.getValue().size()}); in getLLVMConstant()
777 if (auto stringAttr = attr.dyn_cast<StringAttr>()) { in forwardPassthroughAttributes() local
779 checkedAddLLVMFnAttribute(loc, llvmFunc, stringAttr.getValue()))) in forwardPassthroughAttributes()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/TransformOps/
H A DLinalgTransformOps.cpp536 if (auto stringAttr = attr.dyn_cast<StringAttr>()) { in applyToOne() local
/llvm-project-15.0.7/mlir/lib/IR/
H A DAsmPrinter.cpp1972 if (auto stringAttr = attr.dyn_cast<DenseStringElementsAttr>()) in printDenseElementsAttr() local
1973 return printDenseStringElementsAttr(stringAttr); in printDenseElementsAttr()
/llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMDialect.cpp2826 if (auto stringAttr = attr.getValue().dyn_cast<StringAttr>()) in verifyOperationAttribute() local
2828 stringAttr.getValue(), in verifyOperationAttribute()