diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2006-01-16 19:53:25 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2006-01-16 19:53:25 +0000 |
commit | 81b108c54d3ed3ad3bfc56f763aabba2e4788396 (patch) | |
tree | ae1de033d9ef2a36fcb4d1d862462a21f66162a6 /llvm/lib/Target/Alpha/AlphaISelLowering.cpp | |
parent | 307b7ea15f31cb9984c96ac132b565acf71e5661 (diff) | |
download | bcm5719-llvm-81b108c54d3ed3ad3bfc56f763aabba2e4788396.tar.gz bcm5719-llvm-81b108c54d3ed3ad3bfc56f763aabba2e4788396.zip |
Friendly names
llvm-svn: 25364
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/Alpha/AlphaISelLowering.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaISelLowering.cpp b/llvm/lib/Target/Alpha/AlphaISelLowering.cpp index b9332890d6c..67e49c54f2d 100644 --- a/llvm/lib/Target/Alpha/AlphaISelLowering.cpp +++ b/llvm/lib/Target/Alpha/AlphaISelLowering.cpp @@ -128,6 +128,21 @@ AlphaTargetLowering::AlphaTargetLowering(TargetMachine &TM) : TargetLowering(TM) useITOF = TM.getSubtarget<AlphaSubtarget>().hasF2I(); } +const char *AlphaTargetLowering::getTargetNodeName(unsigned Opcode) const { + switch (Opcode) { + default: return 0; + case AlphaISD::ITOFT_: return "Alpha::ITOFT_"; + case AlphaISD::FTOIT_: return "Alpha::FTOIT_"; + case AlphaISD::CVTQT_: return "Alpha::CVTQT_"; + case AlphaISD::CVTQS_: return "Alpha::CVTQS_"; + case AlphaISD::CVTTQ_: return "Alpha::CVTTQ_"; + case AlphaISD::GPRelHi: return "Alpha::GPRelHi"; + case AlphaISD::GPRelLo: return "Alpha::GPRelLo"; + case AlphaISD::RelLit: return "Alpha::RelLit"; + case AlphaISD::GlobalBaseReg: return "Alpha::GlobalBaseReg"; + case AlphaISD::DivCall: return "Alpha::DivCall"; + } +} //http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PY8AC-TET1_html/callCH3.html#BLOCK21 |