/external/llvm-project/mlir/lib/Dialect/SPIRV/ |
D | SPIRVOps.cpp | 253 SmallVectorImpl<StringRef> &elidedAttrs, in printMemoryAccessAttribute() argument 259 elidedAttrs.push_back(kMemoryAccessAttrName); in printMemoryAccessAttribute() 267 elidedAttrs.push_back(kAlignmentAttrName); in printMemoryAccessAttribute() 273 elidedAttrs.push_back(spirv::attributeName<spirv::StorageClass>()); in printMemoryAccessAttribute() 283 SmallVectorImpl<StringRef> &elidedAttrs, in printSourceMemoryAccessAttribute() argument 292 elidedAttrs.push_back(kSourceMemoryAccessAttrName); in printSourceMemoryAccessAttribute() 300 elidedAttrs.push_back(kSourceAlignmentAttrName); in printSourceMemoryAccessAttribute() 306 elidedAttrs.push_back(spirv::attributeName<spirv::StorageClass>()); in printSourceMemoryAccessAttribute() 529 SmallVectorImpl<StringRef> &elidedAttrs) { in printVariableDecorations() argument 538 elidedAttrs.push_back(descriptorSetName); in printVariableDecorations() [all …]
|
/external/llvm-project/mlir/tools/mlir-tblgen/ |
D | SPIRVUtilsGen.cpp | 535 StringRef operands, StringRef elidedAttrs, in emitArgumentSerialization() argument 576 << formatv("{0}.push_back(\"{1}\");\n", elidedAttrs, attr.name); in emitArgumentSerialization() 607 << formatv("{0}.push_back(\"{1}\");\n", elidedAttrs, attr->name); in emitArgumentSerialization() 644 StringRef opVar, StringRef elidedAttrs, in emitDecorationSerialization() argument 650 << formatv(" if (llvm::any_of({0}, [&](StringRef elided)", elidedAttrs); in emitDecorationSerialization() 672 StringRef opVar("op"), operands("operands"), elidedAttrs("elidedAttrs"), in emitSerializationFunction() local 678 os << formatv(" SmallVector<StringRef, 2> {0};\n", elidedAttrs); in emitSerializationFunction() 689 elidedAttrs, os); in emitSerializationFunction() 705 emitDecorationSerialization(op, " ", opVar, elidedAttrs, resultID, os); in emitSerializationFunction()
|
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/ |
D | Serializer.cpp | 908 SmallVector<StringRef, 2> elidedAttrs; in processVariableOp() local 923 elidedAttrs.push_back(spirv::attributeName<spirv::StorageClass>()); in processVariableOp() 934 if (llvm::any_of(elidedAttrs, in processVariableOp() 949 SmallVector<StringRef, 4> elidedAttrs; in processGlobalVariableOp() local 966 elidedAttrs.push_back("type"); in processGlobalVariableOp() 973 elidedAttrs.push_back(SymbolTable::getSymbolAttrName()); in processGlobalVariableOp() 991 elidedAttrs.push_back("initializer"); in processGlobalVariableOp() 997 elidedAttrs.push_back("initializer"); in processGlobalVariableOp() 1003 if (llvm::any_of(elidedAttrs, in processGlobalVariableOp() 2066 SmallVector<StringRef, 2> elidedAttrs; in processOp() local [all …]
|
/external/llvm-project/mlir/include/mlir/Interfaces/ |
D | ViewLikeInterface.h | 48 ArrayRef<StringRef> elidedAttrs =
|
/external/llvm-project/mlir/lib/Interfaces/ |
D | ViewLikeInterface.cpp | 85 ArrayRef<StringRef> elidedAttrs) { in printOffsetsSizesAndStrides() argument 95 p.printOptionalAttrDict(op.getAttrs(), elidedAttrs); in printOffsetsSizesAndStrides()
|
/external/llvm-project/mlir/lib/IR/ |
D | AsmPrinter.cpp | 411 ArrayRef<StringRef> elidedAttrs = {}) override { in printOptionalAttrDict() argument 415 return !llvm::is_contained(elidedAttrs, attr.first.strref()); in __anon12f03a280402() 422 ArrayRef<StringRef> elidedAttrs = {}) override { in printOptionalAttrDictWithKeyword() argument 423 printOptionalAttrDict(attrs, elidedAttrs); 1160 ArrayRef<StringRef> elidedAttrs = {}, 1871 ArrayRef<StringRef> elidedAttrs, in printOptionalAttrDict() argument 1880 return !llvm::is_contained(elidedAttrs, attr.first.strref()); in printOptionalAttrDict() 2243 ArrayRef<StringRef> elidedAttrs = {}) override { in printOptionalAttrDict() argument 2244 ModulePrinter::printOptionalAttrDict(attrs, elidedAttrs); 2248 ArrayRef<StringRef> elidedAttrs = {}) override { in printOptionalAttrDictWithKeyword() argument [all …]
|
/external/llvm-project/mlir/include/mlir/IR/ |
D | OpImplementation.h | 79 ArrayRef<StringRef> elidedAttrs = {}) = 0; 85 ArrayRef<StringRef> elidedAttrs = {}) = 0;
|
/external/llvm-project/mlir/lib/Dialect/Vector/ |
D | VectorOps.cpp | 1979 SmallVector<StringRef, 2> elidedAttrs; in printTransferAttrs() local 1982 elidedAttrs.push_back(op.getPermutationMapAttrName()); in printTransferAttrs() 1993 elidedAttrs.push_back(op.getMaskedAttrName()); in printTransferAttrs() 1994 p.printOptionalAttrDict(op.getAttrs(), elidedAttrs); in printTransferAttrs()
|
/external/llvm-project/flang/include/flang/Optimizer/Dialect/ |
D | FIROps.td | 1565 p.printOptionalAttrDict(getAttrs(), /*elidedAttrs=*/{baseType()});
|