Rename DEBUG macro to LLVM_DEBUG.
    
The DEBUG() macro is very generic so it might clash with other projects.
The renaming was done as follows:
- git grep -l 'DEBUG' | xargs sed -i 's/\bDEBUG\s\?(/LLVM_DEBUG(/g'
- git diff -U0 master | ../clang/tools/clang-format/clang-format-diff.py -i -p1 -style LLVM
- Manual change to APInt
- Manually chage DOCS as regex doesn't match it.

In the transition period the DEBUG() macro is still present and aliased
to the LLVM_DEBUG() one.

Differential Revision: https://reviews.llvm.org/D43624

llvm-svn: 332240
diff --git a/llvm/tools/llvm-mca/LSUnit.cpp b/llvm/tools/llvm-mca/LSUnit.cpp
index 1b6d848..dfd3e53 100644
--- a/llvm/tools/llvm-mca/LSUnit.cpp
+++ b/llvm/tools/llvm-mca/LSUnit.cpp
@@ -36,8 +36,8 @@
   assert(!isLQFull());
   assert(LoadQueue.count(Index) == 0);
 
-  DEBUG(dbgs() << "[LSUnit] - AssignLQSlot <Idx=" << Index
-               << ",slot=" << LoadQueue.size() << ">\n");
+  LLVM_DEBUG(dbgs() << "[LSUnit] - AssignLQSlot <Idx=" << Index
+                    << ",slot=" << LoadQueue.size() << ">\n");
   LoadQueue.insert(Index);
 }
 
@@ -45,8 +45,8 @@
   assert(!isSQFull());
   assert(StoreQueue.count(Index) == 0);
 
-  DEBUG(dbgs() << "[LSUnit] - AssignSQSlot <Idx=" << Index
-               << ",slot=" << StoreQueue.size() << ">\n");
+  LLVM_DEBUG(dbgs() << "[LSUnit] - AssignSQSlot <Idx=" << Index
+                    << ",slot=" << StoreQueue.size() << ">\n");
   StoreQueue.insert(Index);
 }
 
@@ -123,15 +123,15 @@
   const unsigned Index = IR.getSourceIndex();
   std::set<unsigned>::iterator it = LoadQueue.find(Index);
   if (it != LoadQueue.end()) {
-    DEBUG(dbgs() << "[LSUnit]: Instruction idx=" << Index
-                 << " has been removed from the load queue.\n");
+    LLVM_DEBUG(dbgs() << "[LSUnit]: Instruction idx=" << Index
+                      << " has been removed from the load queue.\n");
     LoadQueue.erase(it);
   }
 
   it = StoreQueue.find(Index);
   if (it != StoreQueue.end()) {
-    DEBUG(dbgs() << "[LSUnit]: Instruction idx=" << Index
-                 << " has been removed from the store queue.\n");
+    LLVM_DEBUG(dbgs() << "[LSUnit]: Instruction idx=" << Index
+                      << " has been removed from the store queue.\n");
     StoreQueue.erase(it);
   }