mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-11 13:37:07 +00:00
Rename MVT::untyped to MVT::Untyped to match similar nomenclature.
llvm-svn: 144747
This commit is contained in:
parent
fe618116fc
commit
48a129b50e
@ -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.
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -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();
|
||||
|
||||
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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 "";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user