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

References

lib/IR/Verifier.cpp
 1690   if (Attrs.isEmpty())
 1700   AttributeSet RetAttrs = Attrs.getRetAttributes();
 1724     AttributeSet ArgAttrs = Attrs.getParamAttributes(i);
 1771   if (!Attrs.hasAttributes(AttributeList::FunctionIndex))
 1774   verifyAttributeTypes(Attrs.getFnAttributes(), /*IsFunction=*/true, V);
 1776   Assert(!(Attrs.hasFnAttribute(Attribute::ReadNone) &&
 1777            Attrs.hasFnAttribute(Attribute::ReadOnly)),
 1780   Assert(!(Attrs.hasFnAttribute(Attribute::ReadNone) &&
 1781            Attrs.hasFnAttribute(Attribute::WriteOnly)),
 1784   Assert(!(Attrs.hasFnAttribute(Attribute::ReadOnly) &&
 1785            Attrs.hasFnAttribute(Attribute::WriteOnly)),
 1788   Assert(!(Attrs.hasFnAttribute(Attribute::ReadNone) &&
 1789            Attrs.hasFnAttribute(Attribute::InaccessibleMemOrArgMemOnly)),
 1794   Assert(!(Attrs.hasFnAttribute(Attribute::ReadNone) &&
 1795            Attrs.hasFnAttribute(Attribute::InaccessibleMemOnly)),
 1798   Assert(!(Attrs.hasFnAttribute(Attribute::NoInline) &&
 1799            Attrs.hasFnAttribute(Attribute::AlwaysInline)),
 1802   if (Attrs.hasFnAttribute(Attribute::OptimizeNone)) {
 1803     Assert(Attrs.hasFnAttribute(Attribute::NoInline),
 1806     Assert(!Attrs.hasFnAttribute(Attribute::OptimizeForSize),
 1809     Assert(!Attrs.hasFnAttribute(Attribute::MinSize),
 1813   if (Attrs.hasFnAttribute(Attribute::JumpTable)) {
 1819   if (Attrs.hasFnAttribute(Attribute::AllocSize)) {
 1821         Attrs.getAllocSizeArgs(AttributeList::FunctionIndex);