llvm-6502/lib/Support
Duncan Sands 335db22392 Add a 'normalize' method to the Triple class, which takes a mucked up
target triple and straightens it out.  This does less than gcc's script
config.sub, for example it turns i386-mingw32 into i386--mingw32 not
i386-pc-mingw32, but it does a decent job of turning funky triples into
something that the rest of the Triple class can understand.  The plan
is to use this to canonicalize triple's when they are first provided
by users, and have the rest of LLVM only deal with canonical triples.
Once this is done the special case workarounds in the Triple constructor
can be removed, making the class more regular and easier to use.  The
comments and unittests for the Triple class are already adjusted in this
patch appropriately for this brave new world of increased uniformity.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110909 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-12 11:31:39 +00:00
..
Allocator.cpp
APFloat.cpp Don't pass StringRef by reference. 2010-07-14 22:38:02 +00:00
APInt.cpp Don't pass StringRef by reference. 2010-07-14 22:38:02 +00:00
APSInt.cpp
circular_raw_ostream.cpp
CMakeLists.txt Unbreak my CMake build, say you'll compile for me again... 2010-07-28 17:17:46 +00:00
CommandLine.cpp
ConstantRange.cpp Clean up ConstantRange a bit: 2010-08-11 22:04:36 +00:00
COPYRIGHT.regex
CrashRecoveryContext.cpp Fix -Wmissing-field-initializers warnings. 2010-07-30 17:49:04 +00:00
DAGDeltaAlgorithm.cpp Use const_iterator where appropriate. 2010-06-08 17:21:57 +00:00
Debug.cpp
DeltaAlgorithm.cpp DeltaAlgorithm: Tweak split to split by first/second half instead of even/odd, since adjacent changes are more likely to be related. 2010-06-08 16:21:26 +00:00
Dwarf.cpp Add the entire range of DW_OP_lit[0..31], DW_OP_reg[0..31], and 2010-06-17 01:23:24 +00:00
ErrorHandling.cpp
FileUtilities.cpp fpcmp: Fix bug where fpcmp wouldn't early exit when files obviously differ and 2010-06-15 19:20:30 +00:00
FoldingSet.cpp Use calloc instead of new/memset, it is more efficient when the set is very large. 2010-06-19 17:00:31 +00:00
FormattedStream.cpp
GraphWriter.cpp
IsInf.cpp
IsNAN.cpp
Makefile
ManagedStatic.cpp
MemoryBuffer.cpp Rewrite MemoryBuffer::getSTDIN to use read(2) and a SmallVector buffer. 2010-06-25 16:07:18 +00:00
MemoryObject.cpp
PluginLoader.cpp
PrettyStackTrace.cpp Fix a couple of warnings. 2010-08-08 00:00:34 +00:00
raw_os_ostream.cpp
raw_ostream.cpp avoid undef behavior on minint, fixing PR7783. 2010-08-03 16:41:24 +00:00
regcclass.h
regcname.h
regcomp.c
regengine.inc
regerror.c
regex2.h
regex_impl.h
Regex.cpp Don't pass StringRef by reference. 2010-07-14 22:38:02 +00:00
regexec.c
regfree.c
regstrlcpy.c
regutils.h
SlowOperationInformer.cpp
SmallPtrSet.cpp Rather than giving SmallPtrSetImpl a member field SmallArray which is magically 2010-06-30 15:02:37 +00:00
SmallVector.cpp Use realloc instead of malloc+memcpy when growing a POD SmallVector. A smart 2010-06-08 11:44:30 +00:00
SourceMgr.cpp
Statistic.cpp
StringExtras.cpp
StringMap.cpp
StringPool.cpp Don't pass StringRef by reference. 2010-07-14 22:38:02 +00:00
StringRef.cpp
SystemUtils.cpp
TargetRegistry.cpp
Timer.cpp Roll back my last two commits, valgrind complains. 2010-08-07 13:27:41 +00:00
Triple.cpp Add a 'normalize' method to the Triple class, which takes a mucked up 2010-08-12 11:31:39 +00:00
Twine.cpp