Fixed some dependencies in RegAllocPBQP.h . Thanks to Borja Ferrer for pointing out...
[oota-llvm.git] / include / llvm / Value.h
index 8740f353ab5188d4e591cd9f7cbb4935f9df6cb2..8dc4105b9e4c0bf16773c8fce10316e1e253a8a3 100644 (file)
@@ -294,6 +294,10 @@ public:
   const Value *getUnderlyingObject(unsigned MaxLookup = 6) const {
     return const_cast<Value*>(this)->getUnderlyingObject(MaxLookup);
   }
+
+  /// isDereferenceablePointer - Test if this value is always a pointer to
+  /// allocated and suitably aligned memory for a simple load or store.
+  bool isDereferenceablePointer() const;
   
   /// DoPHITranslation - If this value is a PHI node with CurBB as its parent,
   /// return the value in the PHI node corresponding to PredBB.  If not, return