llvm-6502/include/llvm
Nick Lewycky 3e63076980 Add 'umax' similar to 'smax' SCEV. Closes PR2003.
Parse reversed smax and umax as smin and umin and express them with negative
or binary-not SCEVs (which are really just subtract under the hood).

Parse 'xor %x, -1' as (-1 - %x).

Remove dead code (ConstantInt::get always returns a ConstantInt).

Don't use getIntegerSCEV(-1, Ty). The first value is an int, then it gets
passed into a uint64_t. Instead, create the -1 directly from
ConstantInt::getAllOnesValue().


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47360 91177308-0d34-0410-b5e6-96231b3b80d8
2008-02-20 06:48:22 +00:00
..
ADT Make tblgen a little smarter about constants smaller than i32. Currently, 2008-02-15 23:05:48 +00:00
Analysis Add 'umax' similar to 'smax' SCEV. Closes PR2003. 2008-02-20 06:48:22 +00:00
Assembly Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Bitcode Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
CodeGen - When DAG combiner is folding a bit convert into a BUILD_VECTOR, it should check if it's essentially a SCALAR_TO_VECTOR. Avoid turning (v8i16) <10, u, u, u> to <10, 0, u, u, u, u, u, u>. Instead, simply convert it to a SCALAR_TO_VECTOR of the proper type. 2008-02-18 23:04:32 +00:00
Config Remove use of ltdl 2008-02-13 17:11:39 +00:00
Debugger Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
ExecutionEngine Enable exception handling int JIT 2008-02-13 18:39:37 +00:00
Support Add GetResultInst. First step for multiple return value support. 2008-02-19 22:15:16 +00:00
System Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Target Added CommuteChangesDestination(). This returns true if commuting the specified 2008-02-15 18:21:33 +00:00
Transforms remove the LowerSelect pass. The last client was the old Sparc backend, which is long dead by now. 2008-02-19 07:49:17 +00:00
AbstractTypeUser.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Argument.h Add a predicate to Argument to check for the StructRet attribute. 2008-02-17 23:22:28 +00:00
AutoUpgrade.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
BasicBlock.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
CallGraphSCCPass.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
CallingConv.h Implement sseregparm. 2008-02-05 20:46:33 +00:00
Constant.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Constants.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
DerivedTypes.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Function.h Expand ParameterAttributes to 32 bits (in preparation 2008-02-19 21:38:47 +00:00
GlobalAlias.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
GlobalValue.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
GlobalVariable.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
InlineAsm.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
InstrTypes.h When transforming a call to a bitcast function into 2008-01-06 10:12:28 +00:00
Instruction.def Add GetResultInst. First step for multiple return value support. 2008-02-19 22:15:16 +00:00
Instruction.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Instructions.h Add GetResultInst. First step for multiple return value support. 2008-02-19 22:15:16 +00:00
IntrinsicInst.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Intrinsics.h Add some comments to Intrinsic::getDeclaration to clarify how to 2008-02-20 01:07:51 +00:00
Intrinsics.td llvm.memory.barrier, and impl for x86 and alpha 2008-02-16 01:24:58 +00:00
IntrinsicsARM.td remove attribution from a variety of miscellaneous files. 2007-12-29 22:59:10 +00:00
IntrinsicsCellSPU.td More CellSPU refinement and progress: 2008-01-11 02:53:15 +00:00
IntrinsicsPowerPC.td remove attribution from a variety of miscellaneous files. 2007-12-29 22:59:10 +00:00
IntrinsicsX86.td Missed one. 2008-02-05 01:12:10 +00:00
LinkAllPasses.h remove the LowerSelect pass. The last client was the old Sparc backend, which is long dead by now. 2008-02-19 07:49:17 +00:00
LinkAllVMCore.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Linker.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
LinkTimeOptimizer.h - Introduces versioning macro LLVM_LTO_VERSION 2008-01-15 23:52:34 +00:00
Module.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
ModuleProvider.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
ParameterAttributes.h Add Alignment field to ParameterAttributes and 2008-02-19 23:51:49 +00:00
Pass.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
PassAnalysisSupport.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
PassManager.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
PassManagers.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
PassSupport.h Add explicit keywords. 2008-01-29 11:36:12 +00:00
SymbolTableListTraits.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Type.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
TypeSymbolTable.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Use.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
User.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Value.h Re-apply the memory operand changes, with a fix for the static 2008-02-06 22:27:42 +00:00
ValueSymbolTable.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00