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

References

lib/Bitcode/Reader/BitcodeReader.cpp
 1606       for (unsigned i = 2, e = Record.size(); i != e; ++i) {
 1606       for (unsigned i = 2, e = Record.size(); i != e; ++i) {
 1607         if (Record[i] == 0) {        // Enum attribute
 1609           if (Error Err = parseAttrKind(Record[++i], &Kind))
 1619         } else if (Record[i] == 1) { // Integer attribute
 1621           if (Error Err = parseAttrKind(Record[++i], &Kind))
 1624             B.addAlignmentAttr(Record[++i]);
 1626             B.addStackAlignmentAttr(Record[++i]);
 1628             B.addDereferenceableAttr(Record[++i]);
 1630             B.addDereferenceableOrNullAttr(Record[++i]);
 1632             B.addAllocSizeAttrFromRawRepr(Record[++i]);
 1633         } else if (Record[i] == 3 || Record[i] == 4) { // String attribute
 1633         } else if (Record[i] == 3 || Record[i] == 4) { // String attribute
 1634           bool HasValue = (Record[i++] == 4);
 1638           while (Record[i] != 0 && i != e)
 1638           while (Record[i] != 0 && i != e)
 1639             KindStr += Record[i++];
 1640           assert(Record[i] == 0 && "Kind string not null terminated");
 1644             ++i; // Skip the '0' that terminates the "kind" string.
 1645             while (Record[i] != 0 && i != e)
 1645             while (Record[i] != 0 && i != e)
 1646               ValStr += Record[i++];
 1647             assert(Record[i] == 0 && "Value string not null terminated");
 1652           assert((Record[i] == 5 || Record[i] == 6) &&
 1652           assert((Record[i] == 5 || Record[i] == 6) &&
 1654           bool HasType = Record[i] == 6;
 1656           if (Error Err = parseAttrKind(Record[++i], &Kind))
 1659             B.addByValAttr(HasType ? getTypeByID(Record[++i]) : nullptr);