-Revert parts of 84326 and 84411. Distinquishing between fixed and non-fixed
[oota-llvm.git] / include / llvm / CodeGen / PseudoSourceValue.h
index ce6b036c985e5ba508d26ad9d8f2eb25e5082658..aaf1f5f89864cc07063ac0b31002ff59b59ccc89 100644 (file)
@@ -39,6 +39,10 @@ namespace llvm {
     ///
     virtual bool isConstant(const MachineFrameInfo *) const;
 
+    /// isAliased - Test whether the memory pointed to by this
+    /// PseudoSourceValue may also be pointed to by an LLVM IR Value.
+    virtual bool isAliased() const;
+
     /// classof - Methods for support type inquiry through isa, cast, and
     /// dyn_cast:
     ///
@@ -47,9 +51,9 @@ namespace llvm {
       return V->getValueID() == PseudoSourceValueVal;
     }
 
-    /// A pseudo source value referencing a stack frame entry,
-    /// e.g., a spill slot or an incoming argument on stack.
-    static const PseudoSourceValue *getStackObject(int FI);
+    /// A pseudo source value referencing a fixed stack frame entry,
+    /// e.g., a spill slot.
+    static const PseudoSourceValue *getFixedStack(int FI);
 
     /// A pseudo source value referencing the area below the stack frame of
     /// a function, e.g., the argument space.