Rename MVT::untyped to MVT::Untyped to match similar nomenclature.
authorOwen Anderson <resistor@mac.com>
Wed, 16 Nov 2011 01:02:57 +0000 (01:02 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 16 Nov 2011 01:02:57 +0000 (01:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144747 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/ValueTypes.h
lib/CodeGen/MachineLICM.cpp
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
lib/VMCore/ValueTypes.cpp
utils/TableGen/CodeGenTarget.cpp

index cae0bcb165c193b4db8ee56dd842f6a1dc3c4ac9..7a7080f28faba6bf2232390d90789e464bbc6362 100644 (file)
@@ -83,7 +83,7 @@ namespace llvm {
 
       isVoid         =  35,   // This has no value
 
-      untyped        =  36,   // This value takes a register, but has
+      Untyped        =  36,   // This value takes a register, but has
                               // unspecified type.  The register class
                               // will be determined by the opcode.
 
index e756dedff474733b44283e795d4c140fc0699c35..e5e8c5117ba6b9d005885f70f500b8d9dc2c8c20 100644 (file)
@@ -670,7 +670,7 @@ MachineLICM::getRegisterClassIDAndCost(const MachineInstr *MI,
                                        unsigned &RCId, unsigned &RCCost) const {
   const TargetRegisterClass *RC = MRI->getRegClass(Reg);
   EVT VT = *RC->vt_begin();
-  if (VT == MVT::untyped) {
+  if (VT == MVT::Untyped) {
     RCId = RC->getID();
     RCCost = 1;
   } else {
index 5adbc0d6aa747bdabf07567fcead055065633f2d..cd0da37f67f6dc54019ffafcc069583aa67a5c5e 100644 (file)
@@ -267,7 +267,7 @@ private:
 
 /// GetCostForDef - Looks up the register class and cost for a given definition.
 /// Typically this just means looking up the representative register class,
-/// but for untyped values (MVT::untyped) it means inspecting the node's
+/// but for untyped values (MVT::Untyped) it means inspecting the node's
 /// opcode to determine what register class is being generated.
 static void GetCostForDef(const ScheduleDAGSDNodes::RegDefIter &RegDefPos,
                           const TargetLowering *TLI,
@@ -278,7 +278,7 @@ static void GetCostForDef(const ScheduleDAGSDNodes::RegDefIter &RegDefPos,
 
   // Special handling for untyped values.  These values can only come from
   // the expansion of custom DAG-to-DAG patterns.
-  if (VT == MVT::untyped) {
+  if (VT == MVT::Untyped) {
     const SDNode *Node = RegDefPos.GetNode();
     unsigned Opcode = Node->getMachineOpcode();
 
index e13bd7df73754751bf2d6873282d87dce8cc9728..089c2594cbea3e392c6a13f48186628f5fc17d0a 100644 (file)
@@ -139,7 +139,7 @@ std::string EVT::getEVTString() const {
   case MVT::v2f64:   return "v2f64";
   case MVT::v4f64:   return "v4f64";
   case MVT::Metadata:return "Metadata";
-  case MVT::untyped: return "untyped";
+  case MVT::Untyped: return "Untyped";
   }
 }
 
index 4a7bad7e6d8510549ae7609ee56a93000456f463..6e1872e27d956f1b850f1f90015c1c2979d8e24c 100644 (file)
@@ -90,7 +90,7 @@ std::string llvm::getEnumName(MVT::SimpleValueType T) {
   case MVT::Metadata: return "MVT::Metadata";
   case MVT::iPTR:     return "MVT::iPTR";
   case MVT::iPTRAny:  return "MVT::iPTRAny";
-  case MVT::untyped:  return "MVT::untyped";
+  case MVT::Untyped:  return "MVT::Untyped";
   default: assert(0 && "ILLEGAL VALUE TYPE!"); return "";
   }
 }