struct ValueEnumerator::MDIndex
Declaration
struct ValueEnumerator::MDIndex { /* full declaration omitted */ };
Description
Index of information about a piece of metadata.
Declared at: llvm/lib/Bitcode/Writer/ValueEnumerator.h:73
Member Variables
- public unsigned int F = 0
- The ID of the function for this metadata, if any.
- public unsigned int ID = 0
- The implicit ID of this metadata in bitcode.
Method Overview
- public MDIndex()
- public MDIndex(unsigned int F)
- public const llvm::Metadata * get(ArrayRef<const llvm::Metadata *> MDs) const
- public bool hasDifferentFunction(unsigned int NewF) const
Methods
¶MDIndex()
MDIndex()
Declared at: llvm/lib/Bitcode/Writer/ValueEnumerator.h:77
¶MDIndex(unsigned int F)
MDIndex(unsigned int F)
Declared at: llvm/lib/Bitcode/Writer/ValueEnumerator.h:78
Parameters
- unsigned int F
¶const llvm::Metadata* get(
ArrayRef<const llvm::Metadata*> MDs) const
const llvm::Metadata* get(
ArrayRef<const llvm::Metadata*> MDs) const
Description
Fetch the MD this references out of the given metadata array.
Declared at: llvm/lib/Bitcode/Writer/ValueEnumerator.h:84
Parameters
- ArrayRef<const llvm::Metadata*> MDs
¶bool hasDifferentFunction(unsigned int NewF) const
bool hasDifferentFunction(unsigned int NewF) const
Description
Check if this has a function tag, and it's different from NewF.
Declared at: llvm/lib/Bitcode/Writer/ValueEnumerator.h:81
Parameters
- unsigned int NewF