llvm.org GIT mirror llvm / 1daa6f4
add some accessors git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114409 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 10 years ago
2 changed file(s) with 15 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
5555 /// getFixedStack - Return a MachinePointerInfo record that refers to the
5656 /// the specified FrameIndex.
5757 static MachinePointerInfo getFixedStack(int FI, int64_t offset = 0);
58
59 /// getJumpTable - Return a MachinePointerInfo record that refers to a
60 /// jump table entry.
61 static MachinePointerInfo getJumpTable();
62
63 /// getGOT - Return a MachinePointerInfo record that refers to a
64 /// GOT entry.
65 static MachinePointerInfo getGOT();
5866 };
5967
6068
353353 return MachinePointerInfo(PseudoSourceValue::getFixedStack(FI), offset);
354354 }
355355
356 MachinePointerInfo MachinePointerInfo::getJumpTable() {
357 return MachinePointerInfo(PseudoSourceValue::getJumpTable());
358 }
359
360 MachinePointerInfo MachinePointerInfo::getGOT() {
361 return MachinePointerInfo(PseudoSourceValue::getGOT());
362 }
356363
357364 MachineMemOperand::MachineMemOperand(MachinePointerInfo ptrinfo, unsigned f,
358365 uint64_t s, unsigned int a)