[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp ScheduleDAGRRList.cpp ScheduleDAGSimple.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Jun 28 15:17:51 PDT 2006



Changes in directory llvm/lib/CodeGen/SelectionDAG:

ScheduleDAGList.cpp updated: 1.60 -> 1.61
ScheduleDAGRRList.cpp updated: 1.6 -> 1.7
ScheduleDAGSimple.cpp updated: 1.12 -> 1.13
---
Log message:

Shave another 27K off libllvmgcc.dylib with visibility hidden


---
Diffs of the changes:  (+6 -3)

 ScheduleDAGList.cpp   |    3 ++-
 ScheduleDAGRRList.cpp |    3 ++-
 ScheduleDAGSimple.cpp |    3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)


Index: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp:1.60 llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp:1.61
--- llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp:1.60	Tue May 30 13:04:34 2006
+++ llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp	Wed Jun 28 17:17:39 2006
@@ -26,6 +26,7 @@
 #include "llvm/Target/TargetMachine.h"
 #include "llvm/Target/TargetInstrInfo.h"
 #include "llvm/Support/Debug.h"
+#include "llvm/Support/Visibility.h"
 #include "llvm/ADT/Statistic.h"
 #include <climits>
 #include <iostream>
@@ -42,7 +43,7 @@
 /// ScheduleDAGList - The actual list scheduler implementation.  This supports
 /// top-down scheduling.
 ///
-class ScheduleDAGList : public ScheduleDAG {
+class VISIBILITY_HIDDEN ScheduleDAGList : public ScheduleDAG {
 private:
   /// AvailableQueue - The priority queue to use for the available SUnits.
   ///


Index: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp:1.6 llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp:1.7
--- llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp:1.6	Tue May 30 13:05:39 2006
+++ llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp	Wed Jun 28 17:17:39 2006
@@ -23,6 +23,7 @@
 #include "llvm/Target/TargetMachine.h"
 #include "llvm/Target/TargetInstrInfo.h"
 #include "llvm/Support/Debug.h"
+#include "llvm/Support/Visibility.h"
 #include "llvm/ADT/Statistic.h"
 #include <climits>
 #include <iostream>
@@ -36,7 +37,7 @@
 /// implementation.  This supports both top-down and bottom-up scheduling.
 ///
 
-class ScheduleDAGRRList : public ScheduleDAG {
+class VISIBILITY_HIDDEN ScheduleDAGRRList : public ScheduleDAG {
 private:
   /// isBottomUp - This is true if the scheduling problem is bottom-up, false if
   /// it is top-down.


Index: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp:1.12 llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp:1.13
--- llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp:1.12	Fri May 12 01:33:48 2006
+++ llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp	Wed Jun 28 17:17:39 2006
@@ -20,6 +20,7 @@
 #include "llvm/Target/TargetMachine.h"
 #include "llvm/Target/TargetInstrInfo.h"
 #include "llvm/Support/Debug.h"
+#include "llvm/Support/Visibility.h"
 #include <algorithm>
 #include <iostream>
 using namespace llvm;
@@ -389,7 +390,7 @@
 ///
 /// ScheduleDAGSimple - Simple two pass scheduler.
 ///
-class ScheduleDAGSimple : public ScheduleDAG {
+class VISIBILITY_HIDDEN ScheduleDAGSimple : public ScheduleDAG {
 private:
   bool NoSched;                         // Just do a BFS schedule, nothing fancy
   bool NoItins;                         // Don't use itineraries?






More information about the llvm-commits mailing list