[llvm-commits] CVS: llvm/utils/TableGen/SubtargetEmitter.cpp InstrInfoEmitter.cpp
Duraid Madina
duraid at octopus.com.au
Fri Dec 30 06:57:12 PST 2005
Changes in directory llvm/utils/TableGen:
SubtargetEmitter.cpp updated: 1.14 -> 1.15
InstrInfoEmitter.cpp updated: 1.33 -> 1.34
---
Log message:
almost got the HP-UX tester up.. :)
---
Diffs of the changes: (+7 -7)
InstrInfoEmitter.cpp | 2 +-
SubtargetEmitter.cpp | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
Index: llvm/utils/TableGen/SubtargetEmitter.cpp
diff -u llvm/utils/TableGen/SubtargetEmitter.cpp:1.14 llvm/utils/TableGen/SubtargetEmitter.cpp:1.15
--- llvm/utils/TableGen/SubtargetEmitter.cpp:1.14 Thu Nov 3 16:47:42 2005
+++ llvm/utils/TableGen/SubtargetEmitter.cpp Fri Dec 30 08:56:37 2005
@@ -46,7 +46,7 @@
bool isBits) {
// Get all records of class and sort
std::vector<Record*> DefList = Records.getAllDerivedDefinitions(ClassName);
- sort(DefList.begin(), DefList.end(), LessRecord());
+ std::sort(DefList.begin(), DefList.end(), LessRecord());
// Open enumeration
OS << "enum {\n";
@@ -81,7 +81,7 @@
// Gather and sort all the features
std::vector<Record*> FeatureList =
Records.getAllDerivedDefinitions("SubtargetFeature");
- sort(FeatureList.begin(), FeatureList.end(), LessRecord());
+ std::sort(FeatureList.begin(), FeatureList.end(), LessRecord());
// Begin feature table
OS << "// Sorted (by key) array of values for CPU features.\n"
@@ -126,7 +126,7 @@
// Gather and sort processor information
std::vector<Record*> ProcessorList =
Records.getAllDerivedDefinitions("Processor");
- sort(ProcessorList.begin(), ProcessorList.end(), LessRecordFieldName());
+ std::sort(ProcessorList.begin(), ProcessorList.end(), LessRecordFieldName());
// Begin processor table
OS << "// Sorted (by key) array of values for CPU subtype.\n"
@@ -183,7 +183,7 @@
// Gather and sort all itinerary classes
std::vector<Record*> ItinClassList =
Records.getAllDerivedDefinitions("InstrItinClass");
- sort(ItinClassList.begin(), ItinClassList.end(), LessRecord());
+ std::sort(ItinClassList.begin(), ItinClassList.end(), LessRecord());
// For each itinerary class
unsigned N = ItinClassList.size();
@@ -388,7 +388,7 @@
// Gather and sort processor information
std::vector<Record*> ProcessorList =
Records.getAllDerivedDefinitions("Processor");
- sort(ProcessorList.begin(), ProcessorList.end(), LessRecordFieldName());
+ std::sort(ProcessorList.begin(), ProcessorList.end(), LessRecordFieldName());
// Begin processor table
OS << "\n";
@@ -455,7 +455,7 @@
void SubtargetEmitter::ParseFeaturesFunction(std::ostream &OS) {
std::vector<Record*> Features =
Records.getAllDerivedDefinitions("SubtargetFeature");
- sort(Features.begin(), Features.end(), LessRecord());
+ std::sort(Features.begin(), Features.end(), LessRecord());
OS << "// ParseSubtargetFeatures - Parses features string setting specified\n"
"// subtarget options.\n"
Index: llvm/utils/TableGen/InstrInfoEmitter.cpp
diff -u llvm/utils/TableGen/InstrInfoEmitter.cpp:1.33 llvm/utils/TableGen/InstrInfoEmitter.cpp:1.34
--- llvm/utils/TableGen/InstrInfoEmitter.cpp:1.33 Sat Nov 19 01:05:57 2005
+++ llvm/utils/TableGen/InstrInfoEmitter.cpp Fri Dec 30 08:56:37 2005
@@ -253,7 +253,7 @@
if (!IsItineraries) return;
- sort(DefList.begin(), DefList.end(), LessRecord());
+ std::sort(DefList.begin(), DefList.end(), LessRecord());
for (unsigned i = 0, N = DefList.size(); i < N; i++) {
Record *Def = DefList[i];
More information about the llvm-commits
mailing list