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

References

lib/Bitcode/Writer/BitcodeWriter.cpp
 1268     Vals.push_back(addToStrtab(GV.getName()));
 1269     Vals.push_back(GV.getName().size());
 1270     Vals.push_back(VE.getTypeID(GV.getValueType()));
 1271     Vals.push_back(GV.getType()->getAddressSpace() << 2 | 2 | GV.isConstant());
 1271     Vals.push_back(GV.getType()->getAddressSpace() << 2 | 2 | GV.isConstant());
 1272     Vals.push_back(GV.isDeclaration() ? 0 :
 1273                    (VE.getValueID(GV.getInitializer()) + 1));
 1274     Vals.push_back(getEncodedLinkage(GV));
 1275     Vals.push_back(Log2_32(GV.getAlignment())+1);
 1276     Vals.push_back(GV.hasSection() ? SectionMap[GV.getSection()] : 0);
 1276     Vals.push_back(GV.hasSection() ? SectionMap[GV.getSection()] : 0);
 1277     if (GV.isThreadLocal() ||
 1278         GV.getVisibility() != GlobalValue::DefaultVisibility ||
 1279         GV.getUnnamedAddr() != GlobalValue::UnnamedAddr::None ||
 1280         GV.isExternallyInitialized() ||
 1281         GV.getDLLStorageClass() != GlobalValue::DefaultStorageClass ||
 1282         GV.hasComdat() ||
 1283         GV.hasAttributes() ||
 1284         GV.isDSOLocal() ||
 1285         GV.hasPartition()) {
 1286       Vals.push_back(getEncodedVisibility(GV));
 1287       Vals.push_back(getEncodedThreadLocalMode(GV));
 1288       Vals.push_back(getEncodedUnnamedAddr(GV));
 1289       Vals.push_back(GV.isExternallyInitialized());
 1290       Vals.push_back(getEncodedDLLStorageClass(GV));
 1291       Vals.push_back(GV.hasComdat() ? VE.getComdatID(GV.getComdat()) : 0);
 1291       Vals.push_back(GV.hasComdat() ? VE.getComdatID(GV.getComdat()) : 0);
 1293       auto AL = GV.getAttributesAsList(AttributeList::FunctionIndex);
 1296       Vals.push_back(GV.isDSOLocal());
 1297       Vals.push_back(addToStrtab(GV.getPartition()));
 1298       Vals.push_back(GV.getPartition().size());