struct UnderlyingObject
Declaration
struct UnderlyingObject : public PointerIntPair { /* full declaration omitted */ };
Description
PointerIntPair - This class implements a pair of a pointer and small integer. It is designed to represent this in the space required by one pointer by bitmangling the integer into the low part of the pointer. This can only be done for small integers: typically up to 3 bits, but it depends on the number of bits available according to PointerLikeTypeTraits for the type. Note that PointerIntPair always puts the IntVal part in the highest bits possible. For example, PointerIntPair <void *, 1, bool> will put the bit for the bool into bit #2, not bit #0, which allows the low two bits to be used for something else. For example, this allows: PointerIntPair <PointerIntPair <void *, 1, bool>, 1, bool> ... and the two bools will land in different bits.
Declared at: llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h:108
Inherits from: PointerIntPair
Method Overview
- public UnderlyingObject(llvm::ValueType V, bool MayAlias)
- public llvm::ValueType getValue() const
- public bool mayAlias() const
Methods
¶UnderlyingObject(llvm::ValueType V, bool MayAlias)
UnderlyingObject(llvm::ValueType V, bool MayAlias)
Declared at: llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h:109
Parameters
- llvm::ValueType V
- bool MayAlias
¶llvm::ValueType getValue() const
llvm::ValueType getValue() const
Declared at: llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h:112
¶bool mayAlias() const
bool mayAlias() const
Declared at: llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h:113