Home
last modified time | relevance | path

Searched refs:VerCapExtAttr (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVAttributes.cpp182 spirv::VerCapExtAttr spirv::VerCapExtAttr::get( in get()
202 spirv::VerCapExtAttr spirv::VerCapExtAttr::get(IntegerAttr version, in get()
210 StringRef spirv::VerCapExtAttr::getKindName() { return "vce"; } in getKindName()
212 spirv::Version spirv::VerCapExtAttr::getVersion() { in getVersion()
217 spirv::VerCapExtAttr::ext_iterator::ext_iterator(ArrayAttr::iterator it) in ext_iterator()
224 spirv::VerCapExtAttr::ext_range spirv::VerCapExtAttr::getExtensions() { in getExtensions()
229 ArrayAttr spirv::VerCapExtAttr::getExtensionsAttr() { in getExtensionsAttr()
233 spirv::VerCapExtAttr::cap_iterator::cap_iterator(ArrayAttr::iterator it) in cap_iterator()
241 spirv::VerCapExtAttr::cap_range spirv::VerCapExtAttr::getCapabilities() { in getCapabilities()
246 ArrayAttr spirv::VerCapExtAttr::getCapabilitiesAttr() { in getCapabilitiesAttr()
[all …]
DSPIRVDialect.cpp127 addAttributes<InterfaceVarABIAttr, TargetEnvAttr, VerCapExtAttr>(); in initialize()
1009 return spirv::VerCapExtAttr::get(versionAttr, capabilitiesAttr, in parseVerCapExtAttr()
1018 spirv::VerCapExtAttr tripleAttr; in parseTargetEnvAttr()
1096 if (attrKind == spirv::VerCapExtAttr::getKindName()) in parseAttribute()
1110 static void print(spirv::VerCapExtAttr triple, DialectAsmPrinter &printer) { in print()
1112 printer << spirv::VerCapExtAttr::getKindName() << "<" in print()
1156 else if (auto vceAttr = attr.dyn_cast<VerCapExtAttr>()) in printAttribute()
DTargetAndABI.cpp166 auto triple = spirv::VerCapExtAttr::get(spirv::Version::V_1_0, in getDefaultTargetEnv()
DSPIRVOps.cpp2467 spirv::VerCapExtAttr vceTriple; in parseModuleOp()
2501 if (Optional<spirv::VerCapExtAttr> triple = moduleOp.vce_triple()) { in print()
/external/llvm-project/mlir/include/mlir/Dialect/SPIRV/
DSPIRVAttributes.h72 class VerCapExtAttr
73 : public Attribute::AttrBase<VerCapExtAttr, Attribute,
79 static VerCapExtAttr get(Version version, ArrayRef<Capability> capabilities,
82 static VerCapExtAttr get(IntegerAttr version, ArrayAttr capabilities,
134 static TargetEnvAttr get(VerCapExtAttr triple, Vendor vendorID,
142 VerCapExtAttr getTripleAttr() const;
148 VerCapExtAttr::ext_range getExtensions();
153 VerCapExtAttr::cap_range getCapabilities();
170 verifyConstructionInvariants(Location loc, VerCapExtAttr triple,
DSPIRVOps.h26 class VerCapExtAttr; variable
DSPIRVBase.td3008 CPred<"$_self.isa<::mlir::spirv::VerCapExtAttr>()">,
3010 let storageType = "::mlir::spirv::VerCapExtAttr";
3011 let returnType = "::mlir::spirv::VerCapExtAttr";
/external/llvm-project/mlir/unittests/Dialect/SPIRV/
DSerializationTest.cpp55 spirv::VerCapExtAttr::get( in createModuleOp()
/external/llvm-project/mlir/lib/Dialect/SPIRV/Transforms/
DUpdateVCEPass.cpp169 auto triple = spirv::VerCapExtAttr::get( in runOnOperation()
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DDeserializer.cpp725 spirv::VerCapExtAttr::get(version, capabilities.getArrayRef(), in attachVCETriple()
/external/llvm-project/mlir/docs/Dialects/
DSPIR-V.md821 * A `#spv.vce` (`spirv::VerCapExtAttr`) attribute: