Displaying 1 result from an estimated 1 matches for "hasmetadatabit".
2010 Apr 24
2
[LLVMdev] Proposal for Adding MetaData to a BasicBlock
...add MetaData to a BasicBlock. Although you can add Metadata to an
instruction. So I'm proposing to add the Metadata manipulation methods and
state from class "Instruction" to class "BasicBlock".
The class "Instruction" stores a private enumeration:
enum
{
// HasMetadataBit - This is a bit stored in the SubClassData field which
// indicates whether this instruction has metadata attached to it or not.
HasMetadataBit = 1 << 15
};
This enumeration is then utilized by hasMetadata() which is inlined in class
Instruction:
// hasMetadata() - Return true if this...