llvm-6502/lib/CodeGen/SelectionDAG
Duncan Sands 83ec4b6711 Wrap MVT::ValueType in a struct to get type safety
and better control the abstraction.  Rename the type
to MVT.  To update out-of-tree patches, the main
thing to do is to rename MVT::ValueType to MVT, and
rewrite expressions like MVT::getSizeInBits(VT) in
the form VT.getSizeInBits().  Use VT.getSimpleVT()
to extract a MVT::SimpleValueType for use in switch
statements (you will get an assert failure if VT is
an extended value type - these shouldn't exist after
type legalization).
This results in a small speedup of codegen and no
new testsuite failures (x86-64 linux).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52044 91177308-0d34-0410-b5e6-96231b3b80d8
2008-06-06 12:08:01 +00:00
..
CallingConvLower.cpp Wrap MVT::ValueType in a struct to get type safety 2008-06-06 12:08:01 +00:00
DAGCombiner.cpp Wrap MVT::ValueType in a struct to get type safety 2008-06-06 12:08:01 +00:00
LegalizeDAG.cpp Wrap MVT::ValueType in a struct to get type safety 2008-06-06 12:08:01 +00:00
LegalizeTypes.cpp Wrap MVT::ValueType in a struct to get type safety 2008-06-06 12:08:01 +00:00
LegalizeTypes.h Wrap MVT::ValueType in a struct to get type safety 2008-06-06 12:08:01 +00:00
LegalizeTypesExpand.cpp Wrap MVT::ValueType in a struct to get type safety 2008-06-06 12:08:01 +00:00
LegalizeTypesFloatToInt.cpp Wrap MVT::ValueType in a struct to get type safety 2008-06-06 12:08:01 +00:00
LegalizeTypesPromote.cpp Wrap MVT::ValueType in a struct to get type safety 2008-06-06 12:08:01 +00:00
LegalizeTypesScalarize.cpp Wrap MVT::ValueType in a struct to get type safety 2008-06-06 12:08:01 +00:00
LegalizeTypesSplit.cpp Wrap MVT::ValueType in a struct to get type safety 2008-06-06 12:08:01 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00
ScheduleDAG.cpp Wrap MVT::ValueType in a struct to get type safety 2008-06-06 12:08:01 +00:00
ScheduleDAGList.cpp Treat EntryToken nodes as "passive" so that they aren't added to the 2008-04-15 01:22:18 +00:00
ScheduleDAGRRList.cpp Wrap MVT::ValueType in a struct to get type safety 2008-06-06 12:08:01 +00:00
SelectionDAG.cpp Wrap MVT::ValueType in a struct to get type safety 2008-06-06 12:08:01 +00:00
SelectionDAGISel.cpp Wrap MVT::ValueType in a struct to get type safety 2008-06-06 12:08:01 +00:00
SelectionDAGPrinter.cpp Wrap MVT::ValueType in a struct to get type safety 2008-06-06 12:08:01 +00:00
TargetLowering.cpp Wrap MVT::ValueType in a struct to get type safety 2008-06-06 12:08:01 +00:00