mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-11 10:25:41 +00:00
add some accessors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114409 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -56,6 +56,14 @@ struct MachinePointerInfo {
|
|||||||
/// getFixedStack - Return a MachinePointerInfo record that refers to the
|
/// getFixedStack - Return a MachinePointerInfo record that refers to the
|
||||||
/// the specified FrameIndex.
|
/// the specified FrameIndex.
|
||||||
static MachinePointerInfo getFixedStack(int FI, int64_t offset = 0);
|
static MachinePointerInfo getFixedStack(int FI, int64_t offset = 0);
|
||||||
|
|
||||||
|
/// getJumpTable - Return a MachinePointerInfo record that refers to a
|
||||||
|
/// jump table entry.
|
||||||
|
static MachinePointerInfo getJumpTable();
|
||||||
|
|
||||||
|
/// getGOT - Return a MachinePointerInfo record that refers to a
|
||||||
|
/// GOT entry.
|
||||||
|
static MachinePointerInfo getGOT();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@@ -354,6 +354,13 @@ MachinePointerInfo MachinePointerInfo::getFixedStack(int FI, int64_t offset) {
|
|||||||
return MachinePointerInfo(PseudoSourceValue::getFixedStack(FI), offset);
|
return MachinePointerInfo(PseudoSourceValue::getFixedStack(FI), offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MachinePointerInfo MachinePointerInfo::getJumpTable() {
|
||||||
|
return MachinePointerInfo(PseudoSourceValue::getJumpTable());
|
||||||
|
}
|
||||||
|
|
||||||
|
MachinePointerInfo MachinePointerInfo::getGOT() {
|
||||||
|
return MachinePointerInfo(PseudoSourceValue::getGOT());
|
||||||
|
}
|
||||||
|
|
||||||
MachineMemOperand::MachineMemOperand(MachinePointerInfo ptrinfo, unsigned f,
|
MachineMemOperand::MachineMemOperand(MachinePointerInfo ptrinfo, unsigned f,
|
||||||
uint64_t s, unsigned int a)
|
uint64_t s, unsigned int a)
|
||||||
|
Reference in New Issue
Block a user