reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/IR/Verifier.cpp
 1587   if (!Attrs.hasAttributes())
 1590   verifyAttributeTypes(Attrs, /*IsFunction=*/false, V);
 1592   if (Attrs.hasAttribute(Attribute::ImmArg)) {
 1593     Assert(Attrs.getNumAttributes() == 1,
 1600   AttrCount += Attrs.hasAttribute(Attribute::ByVal);
 1601   AttrCount += Attrs.hasAttribute(Attribute::InAlloca);
 1602   AttrCount += Attrs.hasAttribute(Attribute::StructRet) ||
 1603                Attrs.hasAttribute(Attribute::InReg);
 1604   AttrCount += Attrs.hasAttribute(Attribute::Nest);
 1609   Assert(!(Attrs.hasAttribute(Attribute::InAlloca) &&
 1610            Attrs.hasAttribute(Attribute::ReadOnly)),
 1615   Assert(!(Attrs.hasAttribute(Attribute::StructRet) &&
 1616            Attrs.hasAttribute(Attribute::Returned)),
 1621   Assert(!(Attrs.hasAttribute(Attribute::ZExt) &&
 1622            Attrs.hasAttribute(Attribute::SExt)),
 1627   Assert(!(Attrs.hasAttribute(Attribute::ReadNone) &&
 1628            Attrs.hasAttribute(Attribute::ReadOnly)),
 1633   Assert(!(Attrs.hasAttribute(Attribute::ReadNone) &&
 1634            Attrs.hasAttribute(Attribute::WriteOnly)),
 1639   Assert(!(Attrs.hasAttribute(Attribute::ReadOnly) &&
 1640            Attrs.hasAttribute(Attribute::WriteOnly)),
 1645   Assert(!(Attrs.hasAttribute(Attribute::NoInline) &&
 1646            Attrs.hasAttribute(Attribute::AlwaysInline)),
 1651   if (Attrs.hasAttribute(Attribute::ByVal) && Attrs.getByValType()) {
 1651   if (Attrs.hasAttribute(Attribute::ByVal) && Attrs.getByValType()) {
 1652     Assert(Attrs.getByValType() == cast<PointerType>(Ty)->getElementType(),
 1657   Assert(!AttrBuilder(Attrs).overlaps(IncompatibleAttrs),
 1665       Assert(!Attrs.hasAttribute(Attribute::ByVal) &&
 1666                  !Attrs.hasAttribute(Attribute::InAlloca),
 1671       Assert(!Attrs.hasAttribute(Attribute::SwiftError),
 1676     Assert(!Attrs.hasAttribute(Attribute::ByVal),
 1679     Assert(!Attrs.hasAttribute(Attribute::SwiftError),