Home
last modified time | relevance | path

Searched refs:attrType (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/IR/
H A DCIRDialect.cpp307 mlir::Attribute attrType) { in checkConstantTypes() argument
308 if (isa<cir::ConstPtrAttr>(attrType)) { in checkConstantTypes()
315 if (isa<cir::ZeroAttr>(attrType)) { in checkConstantTypes()
323 if (mlir::isa<cir::BoolAttr>(attrType)) { in checkConstantTypes()
326 << opType << ") must be '!cir.bool' for '" << attrType << "'"; in checkConstantTypes()
330 if (mlir::isa<cir::IntAttr, cir::FPAttr>(attrType)) { in checkConstantTypes()
331 auto at = cast<TypedAttr>(attrType); in checkConstantTypes()
341 cir::ConstComplexAttr>(attrType)) in checkConstantTypes()
344 assert(isa<TypedAttr>(attrType) && "What else could we be looking at here?"); in checkConstantTypes()
346 << cast<TypedAttr>(attrType).getType() << " not yet supported"; in checkConstantTypes()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp1560 QualType VisitAttributedType(const AttributedType *attrType) { in VisitAttributedType()
1561 QualType newType = BaseType::VisitAttributedType(attrType); in VisitAttributedType()