29 const std::vector<MachineConstantPoolEntry> &Constants = CP->getConstants();
30 for (
unsigned I = 0, E = Constants.size();
I != E; ++
I) {
31 if (Constants[
I].isMachineConstantPoolEntry() &&
35 if (ZCPV->GV == GV && ZCPV->Modifier == Modifier)
44 ID.AddInteger(Modifier);
48 O << GV <<
"@" << int(Modifier);
This file defines a hash set that can be used to remove duplication of nodes in a graph.
static SymbolRef::Type getType(const Symbol *Sym)
FoldingSetNodeID - This class is used to gather all the unique data bits of a node.
Abstract base class for all machine specific constantpool value subclasses.
The MachineConstantPool class keeps track of constants referenced by a function which must be spilled...
A SystemZ-specific constant pool value.
void print(raw_ostream &O) const override
print - Implement operator<<
static SystemZConstantPoolValue * Create(const GlobalValue *GV, SystemZCP::SystemZCPModifier Modifier)
int getExistingMachineCPValue(MachineConstantPool *CP, Align Alignment) override
SystemZConstantPoolValue(const GlobalValue *GV, SystemZCP::SystemZCPModifier Modifier)
void addSelectionDAGCSEId(FoldingSetNodeID &ID) override
This class implements an extremely fast bulk output stream that can only output to a stream.
This is an optimization pass for GlobalISel generic memory operations.
MaybeAlign getAlign(const Function &F, unsigned Index)
This struct is a compact representation of a valid (non-zero power of two) alignment.