Home | History | Annotate | Download | only in IR

Lines Matching full:linkage

92   /// Group flags (Linkage, hasSection, isOptSize, etc.) as a bitfield.
94 /// \brief The linkage type of the associated global value.
96 /// One use is to flag values that have local linkage types and need to
99 /// In the future this will be used to update and optimize linkage
101 unsigned Linkage : 4;
107 explicit GVFlags(GlobalValue::LinkageTypes Linkage, bool HasSection)
108 : Linkage(Linkage), HasSection(HasSection) {}
110 : Linkage(GV.getLinkage()), HasSection(GV.hasSection()) {}
166 /// Return linkage type recorded for this global value.
167 GlobalValue::LinkageTypes linkage() const {
168 return static_cast<GlobalValue::LinkageTypes>(Flags.Linkage);
171 /// Sets the linkage to the value determined by global summary-based
173 void setLinkage(GlobalValue::LinkageTypes Linkage) {
174 Flags.Linkage = Linkage;
179 bool needsRenaming() const { return GlobalValue::isLocalLinkage(linkage()); }