allow a virtual register to be associated with live-in values.
[oota-llvm.git] / include / llvm / GlobalVariable.h
index 9f73911872da8cb3490eb79ea2175a5159ac5869..db7a5200e2cd23fb6696de18369372021a3a10c0 100644 (file)
@@ -1,10 +1,10 @@
 //===-- llvm/GlobalVariable.h - GlobalVariable class ------------*- C++ -*-===//
-// 
+//
 //                     The LLVM Compiler Infrastructure
 //
 // This file was developed by the LLVM research group and is distributed under
 // the University of Illinois Open Source License. See LICENSE.TXT for details.
-// 
+//
 //===----------------------------------------------------------------------===//
 //
 // This file contains the declaration of the GlobalVariable class, which
@@ -48,12 +48,9 @@ public:
   /// automatically inserted into the end of the specified modules global list.
   ///
   GlobalVariable(const Type *Ty, bool isConstant, LinkageTypes Linkage,
-                Constant *Initializer = 0, const std::string &Name = "",
+                 Constant *Initializer = 0, const std::string &Name = "",
                  Module *Parent = 0);
 
-  // Specialize setName to handle symbol table majik.
-  virtual void setName(const std::string &name);
-
   /// isExternal - Is this global variable lacking an initializer?  If so, the
   /// global variable is defined in some other translation unit, and is thus
   /// externally defined here.
@@ -113,12 +110,12 @@ public:
   /// and deletes it.
   ///
   void eraseFromParent();
-  
-  /// Override Constant's implementation of this method so we can 
+
+  /// Override Constant's implementation of this method so we can
   /// replace constant initializers.
   virtual void replaceUsesOfWithOnConstant(Value *From, Value *To,
                                            bool DisableChecking = false);
-  
+
   virtual void print(std::ostream &OS) const;
 
   // Methods for support type inquiry through isa, cast, and dyn_cast: