Rename MVT::untyped to MVT::Untyped to match similar nomenclature.

llvm-svn: 144747
This commit is contained in:
Owen Anderson 2011-11-16 01:02:57 +00:00
parent fe618116fc
commit 48a129b50e
5 changed files with 6 additions and 6 deletions

View 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.

View 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 {

View 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();

View 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";
}
}

View 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 "";
}
}