Lines Matching full:metadata
35 class Metadata; variable
68 std::vector<const Metadata *> MDs;
69 std::vector<const Metadata *> FunctionMDs;
71 /// Index of information about a piece of metadata.
73 unsigned F = 0; ///< The ID of the function for this metadata, if any.
74 unsigned ID = 0; ///< The implicit ID of this metadata in bitcode.
82 /// Fetch the MD this references out of the given metadata array.
83 const Metadata *get(ArrayRef<const Metadata *> MDs) const { in get()
90 using MetadataMapType = DenseMap<const Metadata *, MDIndex>;
93 /// Range of metadata IDs, as a half-open range.
98 /// Number of strings in the prefix of the metadata range.
152 unsigned getMetadataID(const Metadata *MD) const { in getMetadataID()
154 assert(ID != 0 && "Metadata not in slotcalculator!"); in getMetadataID()
158 unsigned getMetadataOrNullID(const Metadata *MD) const { in getMetadataOrNullID()
199 /// Check whether the current block has any metadata to emit.
202 /// Get the MDString metadata for this block.
203 ArrayRef<const Metadata *> getMDStrings() const { in getMDStrings()
207 /// Get the non-MDString metadata for this block.
208 ArrayRef<const Metadata *> getNonMDStrings() const { in getNonMDStrings()
242 /// Reorder the reachable metadata.
251 /// Incorporate the function metadata.
257 /// Enumerate a single instance of metadata with the given function tag.
264 const MDNode *enumerateMetadataImpl(unsigned F, const Metadata *MD);
268 /// Enumerate reachable metadata in (almost) post-order.
270 /// Enumerate all the metadata reachable from MD. We want to minimize the
283 void EnumerateMetadata(const Function *F, const Metadata *MD);
284 void EnumerateMetadata(unsigned F, const Metadata *MD);