summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-21 06:43:24 +0000
committerChris Lattner <sabre@nondot.org>2010-09-21 06:43:24 +0000
commit50287ea65aade6b94c340b3589b0e5c938644b19 (patch)
tree6c56cd320e2f226719953945297b5dd710dc672e /llvm/lib/CodeGen/MachineInstr.cpp
parent82fd06d3ce79fd5cf0e55365735374021bbc6f8c (diff)
downloadbcm5719-llvm-50287ea65aade6b94c340b3589b0e5c938644b19.tar.gz
bcm5719-llvm-50287ea65aade6b94c340b3589b0e5c938644b19.zip
add some accessors
llvm-svn: 114409
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineInstr.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp
index c3021eff9b1..6372c196f7d 100644
--- a/llvm/lib/CodeGen/MachineInstr.cpp
+++ b/llvm/lib/CodeGen/MachineInstr.cpp
@@ -354,6 +354,13 @@ MachinePointerInfo MachinePointerInfo::getFixedStack(int FI, int64_t 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,
uint64_t s, unsigned int a)
OpenPOWER on IntegriCloud