llvm.org GIT mirror llvm / b3bc115
Do some cleanups suggested by Chris. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87034 91177308-0d34-0410-b5e6-96231b3b80d8 David Greene 10 years ago
2 changed file(s) with 6 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
1414 #define LLVM_CODEGEN_PSEUDOSOURCEVALUE_H
1515
1616 #include "llvm/Value.h"
17 #include "llvm/Support/raw_ostream.h"
1817
1918 namespace llvm {
2019 class MachineFrameInfo;
102101
103102 virtual bool mayAlias(const MachineFrameInfo *) const;
104103
105 virtual void printCustom(raw_ostream &OS) const {
106 OS << "FixedStack" << FI;
107 }
104 virtual void printCustom(raw_ostream &OS) const;
108105
109 int getFrameIndex(void) const { return FI; }
106 int getFrameIndex() const { return FI; }
110107 };
111108 } // End llvm namespace
112109
108108 // Spill slots will not alias any LLVM IR value.
109109 return !MFI->isSpillSlotObjectIndex(FI);
110110 }
111
112 void FixedStackPseudoSourceValue::printCustom(raw_ostream &OS) const {
113 OS << "FixedStack" << FI;
114 }