llvm-6502/include/llvm
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
..
ADT Add a 'normalize' method to the Triple class, which takes a mucked up 2010-08-12 11:31:39 +00:00
Analysis Make LoopPass::getContainedPass return a LoopPass* instead of a Pass* 2010-08-11 20:34:43 +00:00
Assembly
Bitcode Don't special-case stdout in llvm::WriteBitcodeToFile; just consider 2010-05-27 20:06:51 +00:00
CodeGen Fix a FIXME. The SlotIndex::Slot enum should be private. 2010-08-11 16:50:17 +00:00
CompilerDriver Return -1 only on failure to execute a program. 2010-07-27 11:19:36 +00:00
Config configure: Add detection of the linker version string. 2010-08-11 23:53:59 +00:00
ExecutionEngine remove the JIT "NeedsExactSize" feature and supporting logic. 2010-07-22 21:17:55 +00:00
MC llvm-mc: Add -show-inst-operands, for dumping the parsed instruction representation before matching. 2010-08-11 06:37:09 +00:00
Support Clean up ConstantRange a bit: 2010-08-11 22:04:36 +00:00
System Add an erase() method to llvm::ThreadLocal. 2010-07-28 22:49:43 +00:00
Target MC/AsmParser: Push the burdon of emitting diagnostics about unmatched 2010-08-12 00:55:38 +00:00
Transforms Eliminate PromoteMemoryToRegisterID; just use addPreserved("mem2reg") 2010-08-06 21:48:06 +00:00
AbstractTypeUser.h give PATypeHolder an explicit copy ctor which initializes the type pointer, 2010-06-29 19:20:38 +00:00
Argument.h
Attributes.h
AutoUpgrade.h
BasicBlock.h
CallGraphSCCPass.h Remove assignPassManager's default arguments. It's really 2010-08-07 01:25:32 +00:00
CallingConv.h
CMakeLists.txt
Constant.h
Constants.h
DerivedTypes.h eliminate unlockedRefineAbstractTypeTo, types are all per-llvmcontext, 2010-07-16 20:50:13 +00:00
Function.h
GlobalAlias.h
GlobalValue.h Make GlobalValue alignment consistent with load, store, and alloca 2010-07-28 20:56:48 +00:00
GlobalVariable.h
GVMaterializer.h
InlineAsm.h Propagate the AlignStack bit in InlineAsm's to the 2010-07-02 20:16:09 +00:00
InstrTypes.h Split the logic behind CastInst::isNoopCast into a separate static function, 2010-05-28 21:41:37 +00:00
Instruction.def
Instruction.h Rename removeAllMetadata to clearMetadataHashEntries and simplify 2010-07-20 22:25:04 +00:00
Instructions.h Add a predicate to determine if a call is an inline asm statement. 2010-08-07 00:19:59 +00:00
IntrinsicInst.h fit in 80 columns 2010-07-22 14:13:14 +00:00
Intrinsics.h
Intrinsics.td Remove IntrWriteMem, as it's the default. Rename IntrWriteArgMem 2010-08-05 23:36:21 +00:00
IntrinsicsAlpha.td
IntrinsicsARM.td Remove IntrWriteMem, as it's the default. Rename IntrWriteArgMem 2010-08-05 23:36:21 +00:00
IntrinsicsCellSPU.td
IntrinsicsPowerPC.td Remove IntrWriteMem, as it's the default. Rename IntrWriteArgMem 2010-08-05 23:36:21 +00:00
IntrinsicsX86.td Remove rsqrt/sqrt_nr intrinsics since there are no more builtins for them on clang 2010-08-11 19:21:05 +00:00
IntrinsicsXCore.td
LinkAllPasses.h Add an atomic lowering pass 2010-08-03 16:19:16 +00:00
LinkAllVMCore.h
Linker.h
LLVMContext.h Remove an obsolete comment. 2010-07-20 21:45:17 +00:00
Metadata.h Make NamedMDNode not be a subclass of Value, and simplify the interface 2010-07-21 23:38:33 +00:00
Module.h Warnings patrol. 2010-07-22 21:51:30 +00:00
OperandTraits.h
Operator.h
Pass.h Remove BasicBlockPass::runOnFunction, which was unused. 2010-08-11 20:28:16 +00:00
PassAnalysisSupport.h More #include cleanups. 2010-08-07 01:18:18 +00:00
PassManager.h Tidy some #includes and forward-declarations, and move the C binding code 2010-08-07 00:43:20 +00:00
PassManagers.h More #include cleanups. 2010-08-07 01:18:18 +00:00
PassRegistry.h Reapply r110396, with fixes to appease the Linux buildbot gods. 2010-08-06 18:33:48 +00:00
PassSupport.h Tidy some #includes and forward-declarations, and move the C binding code 2010-08-07 00:43:20 +00:00
SymbolTableListTraits.h Avoid many "variable 'Sub' set but not used [-Wunused-but-set-variable]" warnings 2010-06-10 15:06:05 +00:00
Type.h give PATypeHolder an explicit copy ctor which initializes the type pointer, 2010-06-29 19:20:38 +00:00
TypeSymbolTable.h
Use.h re-commit r109220, the compile error has already been fixed 2010-07-26 18:48:07 +00:00
User.h
Value.h Move MaximumAlignment to be a member of the Value class. 2010-07-30 21:07:05 +00:00
ValueSymbolTable.h Make NamedMDNode not be a subclass of Value, and simplify the interface 2010-07-21 23:38:33 +00:00