Lines Matching defs:attribute
77 NamedAttribute attribute,
79 auto *dialect = dyn_cast<ROCDL::ROCDLDialect>(attribute.getNameDialect());
81 if (dialect->getKernelAttrHelper().getName() == attribute.getName()) {
84 return op->emitOpError(Twine(attribute.getName()) +
90 // 2. Insert amdgpu-flat-work-group-size(1, 256) attribute unless the user
110 attribute.getName()) {
113 return op->emitOpError(Twine(attribute.getName()) +
115 auto value = dyn_cast<IntegerAttr>(attribute.getValue());
117 return op->emitOpError(Twine(attribute.getName()) +
127 if (dialect->getWavesPerEuAttrHelper().getName() == attribute.getName()) {
130 return op->emitOpError(Twine(attribute.getName()) +
132 auto value = dyn_cast<IntegerAttr>(attribute.getValue());
134 return op->emitOpError(Twine(attribute.getName()) +
145 attribute.getName()) {
148 return op->emitOpError(Twine(attribute.getName()) +
150 auto value = dyn_cast<StringAttr>(attribute.getValue());
152 return op->emitOpError(Twine(attribute.getName()) +
162 attribute.getName()) {
165 return op->emitOpError(Twine(attribute.getName()) +
167 auto value = dyn_cast<BoolAttr>(attribute.getValue());
169 return op->emitOpError(Twine(attribute.getName()) +
177 attribute.getName()) {
180 return op->emitOpError(Twine(attribute.getName()) +
182 auto value = dyn_cast<BoolAttr>(attribute.getValue());
184 return op->emitOpError(Twine(attribute.getName()) +
193 attribute.getName()) {
196 return op->emitOpError(Twine(attribute.getName()) +
198 auto value = dyn_cast<DenseI32ArrayAttr>(attribute.getValue());
200 return op->emitOpError(Twine(attribute.getName()) +
201 " must be a dense i32 array attribute");
215 if (dialect->getLastUseAttrHelper().getName() == attribute.getName()) {
220 attribute.getName()) {
226 attribute.getName()) {
232 attribute.getName()) {