llvm-6502/include/llvm
Jakob Stoklund Olesen 40d07bbebb Add CoalescerPair helper class.
Given a copy instruction, CoalescerPair can determine which registers to
coalesce in order to eliminate the copy. It deals with all the subreg fun to
determine a tuple (DstReg, SrcReg, SubIdx) such that:

- SrcReg is a virtual register that will disappear after coalescing.
- DstReg is a virtual or physical register whose live range will be extended.
- SubIdx is 0 when DstReg is a physical register.
- SrcReg can be joined with DstReg:SubIdx.

CoalescerPair::isCoalescable() determines if another copy instruction is
compatible with the same tuple. This fixes some NEON miscompilations where
shuffles are getting coalesced as if they were copies.

The CoalescerPair class will replace a lot of the spaghetti logic in JoinCopy
later.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105997 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-15 16:04:21 +00:00
..
ADT Define ContextualFoldingSet, which stores a context parameter to pass down to 2010-06-11 11:06:44 +00:00
Analysis Support for nested functions/classes in debug output. (Again.) Radar 7424645. 2010-06-11 20:08:44 +00:00
Assembly Ok, third time's the charm. No changes from last time except the CMake 2010-04-02 23:17:14 +00:00
Bitcode Don't special-case stdout in llvm::WriteBitcodeToFile; just consider 2010-05-27 20:06:51 +00:00
CodeGen Add CoalescerPair helper class. 2010-06-15 16:04:21 +00:00
CompilerDriver Make it not an error to specify -O* options several times. 2010-03-05 04:46:39 +00:00
Config improve portability to systems that don't have round, patch by 2010-05-15 17:11:55 +00:00
ExecutionEngine Move --march, --mcpu, and --mattr from JIT/TargetSelect.cpp to lli.cpp. 2010-02-05 16:19:36 +00:00
MC Don't call flush() at a library level which isn't checking for errors 2010-06-01 16:31:34 +00:00
Support Make ParseIRFile and getLazyIRFileModule incoporate the underlying 2010-05-27 20:47:38 +00:00
System Add llvm::sys::RunInterruptHandlers(), which runs the registered SIGINT cleanup 2010-05-08 02:10:34 +00:00
Target Fix a comment typo. 2010-06-14 18:29:23 +00:00
Transforms Move FindAvailableLoadedValue isSafeToLoadUnconditionally out of 2010-05-28 16:19:17 +00:00
AbstractTypeUser.h
Argument.h sink twine.h down out of Value.h. It is annoying that you need 2009-12-29 07:12:03 +00:00
Attributes.h Reduce size of 'StackAlignment' field from 5 to 3 bits. Seriously, who needs a 2010-02-21 04:26:06 +00:00
AutoUpgrade.h
BasicBlock.h Skip debug info when looking for existing EH calls at the 2010-04-02 21:49:27 +00:00
CallGraphSCCPass.h move ReplaceNode out of line, rename scc_iterator::fini -> isAtEnd(). 2010-04-16 22:59:24 +00:00
CallingConv.h Add support for thiscall calling convention. 2010-05-16 09:08:45 +00:00
CMakeLists.txt
Constant.h eliminate a bunch of pointless LLVMContext arguments. 2010-02-01 20:48:08 +00:00
Constants.h Add some comments about undef. 2010-05-14 23:01:02 +00:00
DerivedTypes.h Add support for a union type in LLVM IR. Patch by Talin! 2010-02-12 20:49:41 +00:00
Function.h Finally land the InvokeInst operand reordering. 2010-03-24 13:21:49 +00:00
GlobalAlias.h sink twine.h down out of Value.h. It is annoying that you need 2009-12-29 07:12:03 +00:00
GlobalValue.h Add static methods to handle Linkage Types. 2010-03-06 07:22:39 +00:00
GlobalVariable.h sink twine.h down out of Value.h. It is annoying that you need 2009-12-29 07:12:03 +00:00
GVMaterializer.h Kill ModuleProvider and ghost linkage by inverting the relationship between 2010-01-27 20:34:15 +00:00
InlineAsm.h Three changes: 2010-04-07 05:20:54 +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 rename indbr -> indirectbr to appease the residents of #llvm. 2009-10-28 00:19:10 +00:00
Instruction.h rename NewDebugLoc -> DebugLoc, prune #includes in DebugLoc.h. 2010-04-02 20:21:22 +00:00
Instructions.h Create new accessors to get arguments for call/invoke instructions. It breaks 2010-06-07 19:05:06 +00:00
IntrinsicInst.h Revert 101465, it broke internal OpenGL testing. 2010-04-16 23:37:20 +00:00
Intrinsics.h Mention vAny and iPTRAny in a comment. 2010-02-09 16:59:14 +00:00
Intrinsics.td back out 104862/104869. Can reuse stacksave after all. Very cool. 2010-05-27 23:11:57 +00:00
IntrinsicsAlpha.td
IntrinsicsARM.td [llvm_void_ty] is no longer needed for result types, 2010-03-23 23:46:07 +00:00
IntrinsicsCellSPU.td
IntrinsicsPowerPC.td [llvm_void_ty] is no longer needed for result types, 2010-03-23 23:46:07 +00:00
IntrinsicsX86.td Make sure aeskeygenassist uses an unsigned immediate field. 2010-05-25 17:33:22 +00:00
IntrinsicsXCore.td
LinkAllPasses.h Add a simple module-level debug info printer. It just sets up a 2010-05-07 16:22:32 +00:00
LinkAllVMCore.h fix a warning. 2010-01-16 21:55:24 +00:00
Linker.h Fix "the the" and similar typos. 2010-02-10 16:03:48 +00:00
LLVMContext.h introduce a new recoverable error handling API to LLVMContext 2010-04-07 23:40:44 +00:00
Metadata.h Fix comment typo. 2010-04-29 12:32:45 +00:00
Module.h Kill ModuleProvider and ghost linkage by inverting the relationship between 2010-01-27 20:34:15 +00:00
OperandTraits.h fix PR6589 2010-03-16 10:59:48 +00:00
Operator.h Remove a bunch of unused arguments from functions, silencing a 2009-10-14 20:28:33 +00:00
Pass.h Ok, third time's the charm. No changes from last time except the CMake 2010-04-02 23:17:14 +00:00
PassAnalysisSupport.h eliminate dynamic_cast from the pass manager. 2010-01-21 02:07:07 +00:00
PassManager.h Fix PR6875: 2010-05-10 20:24:27 +00:00
PassManagers.h reapply my timer rewrite with a change for PassManager to store 2010-03-30 04:03:22 +00:00
PassSupport.h add a helper method. 2010-01-20 19:25:45 +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 VMCore: Add Type::getIntN[Ptr]Ty, which are the obvious generic forms of 2010-04-13 01:39:07 +00:00
TypeSymbolTable.h Pass StringRef by value. 2009-11-06 10:58:06 +00:00
Use.h Add includes to get ptrdiff_t. This is needed by gcc-4.6 which has 2010-06-10 10:13:58 +00:00
User.h
Value.h Fix typo. 2010-05-29 06:11:16 +00:00
ValueSymbolTable.h Before existing NamedMDNode entry in the symbol table, remove any existing entry with the same name. 2010-01-26 22:03:41 +00:00