Lines Matching defs:attribute
180 NamedAttribute attribute,
199 if (attribute.getName() == NVVM::NVVMDialect::getMaxntidAttrName()) {
200 if (!dyn_cast<DenseI32ArrayAttr>(attribute.getValue()))
202 auto values = cast<DenseI32ArrayAttr>(attribute.getValue());
208 } else if (attribute.getName() == NVVM::NVVMDialect::getReqntidAttrName()) {
209 if (!dyn_cast<DenseI32ArrayAttr>(attribute.getValue()))
211 auto values = cast<DenseI32ArrayAttr>(attribute.getValue());
217 } else if (attribute.getName() ==
219 if (!dyn_cast<DenseI32ArrayAttr>(attribute.getValue()))
221 auto values = cast<DenseI32ArrayAttr>(attribute.getValue());
227 } else if (attribute.getName() ==
229 auto value = dyn_cast<IntegerAttr>(attribute.getValue());
231 } else if (attribute.getName() ==
233 auto value = dyn_cast<IntegerAttr>(attribute.getValue());
235 } else if (attribute.getName() == NVVM::NVVMDialect::getMaxnregAttrName()) {
236 auto value = dyn_cast<IntegerAttr>(attribute.getValue());
238 } else if (attribute.getName() ==
246 convertParameterAttr(LLVMFuncOp funcOp, int argIdx, NamedAttribute attribute,
255 if (attribute.getName() == NVVM::NVVMDialect::getGridConstantAttrName()) {
272 // the indices of the individual parameters that have this attribute.