46 unsigned AlignMask = Alignment - 1;
48 for (
unsigned I = 0, E = Constants.size();
I != E; ++
I) {
49 if (Constants[
I].isMachineConstantPoolEntry() &&
50 (Constants[
I].getAlignment() & AlignMask) == 0) {
53 if (ZCPV->GV == GV && ZCPV->Modifier == Modifier)
66 O << GV <<
"@" <<
int(Modifier);
void AddPointer(const void *Ptr)
Add* - Add various data types to Bit data.
The MachineConstantPool class keeps track of constants referenced by a function which must be spilled...
SystemZConstantPoolValue(const GlobalValue *GV, SystemZCP::SystemZCPModifier Modifier)
FunctionType * getType(LLVMContext &Context, ID id, ArrayRef< Type * > Tys=None)
Return the function type for an intrinsic.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
void addSelectionDAGCSEId(FoldingSetNodeID &ID) override
void AddInteger(signed I)
unsigned getRelocationInfo() const override
getRelocationInfo - This method classifies the entry according to whether or not it may generate a re...
FoldingSetNodeID - This class is used to gather all the unique data bits of a node.
int getExistingMachineCPValue(MachineConstantPool *CP, unsigned Alignment) override
Abstract base class for all machine specific constantpool value subclasses.
void print(raw_ostream &O) const override
print - Implement operator<<
This class implements an extremely fast bulk output stream that can only output to a stream...
A SystemZ-specific constant pool value.
const std::vector< MachineConstantPoolEntry > & getConstants() const
static SystemZConstantPoolValue * Create(const GlobalValue *GV, SystemZCP::SystemZCPModifier Modifier)