Revision tags: llvmorg-2.2.0 |
|
#
d96dd346 |
| 11-Feb-2008 |
Dan Gohman <gohman@apple.com> |
From Chris' review: change MemOperandSDNode's constructor to pass its argument by reference, rather than by value.
llvm-svn: 46960
|
#
65f63eba |
| 08-Feb-2008 |
Dan Gohman <gohman@apple.com> |
Change ConstantSDNode to store an APInt instead of a uint64_t, and begin adding some methods to use it this way.
llvm-svn: 46899
|
#
140a73ef |
| 08-Feb-2008 |
Dan Gohman <gohman@apple.com> |
Avoid needlessly casting away const qualifiers.
llvm-svn: 46876
|
#
2d489b50 |
| 06-Feb-2008 |
Dan Gohman <gohman@apple.com> |
Re-apply the memory operand changes, with a fix for the static initializer problem, a minor tweak to the way the DAGISelEmitter finds load/store nodes, and a renaming of the new PseudoSourceValue obj
Re-apply the memory operand changes, with a fix for the static initializer problem, a minor tweak to the way the DAGISelEmitter finds load/store nodes, and a renaming of the new PseudoSourceValue objects.
llvm-svn: 46827
show more ...
|
#
ac3cd69a |
| 04-Feb-2008 |
Evan Cheng <evan.cheng@apple.com> |
Typo.
llvm-svn: 46725
|
#
efd142a9 |
| 02-Feb-2008 |
Evan Cheng <evan.cheng@apple.com> |
SDIsel processes llvm.dbg.declare by recording the variable debug information descriptor and its corresponding stack frame index in MachineModuleInfo. This only works if the local variable is "homed"
SDIsel processes llvm.dbg.declare by recording the variable debug information descriptor and its corresponding stack frame index in MachineModuleInfo. This only works if the local variable is "homed" in the stack frame. It does not work for byval parameter, etc. Added ISD::DECLARE node type to represent llvm.dbg.declare intrinsic. Now the intrinsic calls are lowered into a SDNode and lives on through out the codegen passes. For now, since all the debugging information recording is done at isel time, when a ISD::DECLARE node is selected, it has the side effect of also recording the variable. This is a short term solution that should be fixed in time.
llvm-svn: 46659
show more ...
|
#
27b32b87 |
| 31-Jan-2008 |
Evan Cheng <evan.cheng@apple.com> |
Revert 46556 and 46585. Dan please fix the PseudoSourceValue problem and re-commit.
llvm-svn: 46623
|
#
1c6c16ea |
| 31-Jan-2008 |
Evan Cheng <evan.cheng@apple.com> |
Add an extra operand to LABEL nodes which distinguishes between debug, EH, or misc labels. This fixes the EH breakage. However I am not convinced this is *the* solution.
llvm-svn: 46609
|
#
9ba4d768 |
| 31-Jan-2008 |
Dan Gohman <gohman@apple.com> |
Rename ISD::FLT_ROUNDS to ISD::FLT_ROUNDS_ to avoid conflicting with the real FLT_ROUNDS (defined in <float.h>).
llvm-svn: 46587
|
#
3646fdda |
| 31-Jan-2008 |
Dan Gohman <gohman@apple.com> |
Create a new class, MemOperand, for describing memory references in the backend. Introduce a new SDNode type, MemOperandSDNode, for holding a MemOperand in the SelectionDAG IR, and add a MemOperand l
Create a new class, MemOperand, for describing memory references in the backend. Introduce a new SDNode type, MemOperandSDNode, for holding a MemOperand in the SelectionDAG IR, and add a MemOperand list to MachineInstr, and code to manage them. Remove the offset field from SrcValueSDNode; uses of SrcValueSDNode that were using it are all all using MemOperandSDNode now.
Also, begin updating some getLoad and getStore calls to use the PseudoSourceValue objects.
Most of this was written by Florian Brander, some reorganization and updating to TOT by me.
llvm-svn: 46585
show more ...
|
#
47a7d6fa |
| 30-Jan-2008 |
Dan Gohman <gohman@apple.com> |
Factor the addressing mode and the load/store VT out of LoadSDNode and StoreSDNode into their common base class LSBaseSDNode. Member functions getLoadedVT and getStoredVT are replaced with the common
Factor the addressing mode and the load/store VT out of LoadSDNode and StoreSDNode into their common base class LSBaseSDNode. Member functions getLoadedVT and getStoredVT are replaced with the common getMemoryVT to simplify code that will handle both loads and stores.
llvm-svn: 46538
show more ...
|
#
5e8bf567 |
| 27-Jan-2008 |
Chris Lattner <sabre@nondot.org> |
make isExactlyValue work for long double.
llvm-svn: 46410
|
#
686dfe82 |
| 17-Jan-2008 |
Chris Lattner <sabre@nondot.org> |
add some helper methods.
llvm-svn: 46128
|
#
72733e57 |
| 17-Jan-2008 |
Chris Lattner <sabre@nondot.org> |
* Introduce a new SelectionDAG::getIntPtrConstant method and switch various codegen pieces and the X86 backend over to using it.
* Add some comments to SelectionDAGNodes.h
* Introduce a second
* Introduce a new SelectionDAG::getIntPtrConstant method and switch various codegen pieces and the X86 backend over to using it.
* Add some comments to SelectionDAGNodes.h
* Introduce a second argument to FP_ROUND, which indicates whether the FP_ROUND changes the value of its input. If not it is safe to xform things like fp_extend(fp_round(x)) -> x.
llvm-svn: 46125
show more ...
|
#
2e50a6f9 |
| 16-Jan-2008 |
Chris Lattner <sabre@nondot.org> |
Factor the ReachesChainWithoutSideEffects out of dag combiner into a public SDOperand::reachesChainWithoutSideEffects method. No functionality change.
llvm-svn: 46050
|
#
6bbbc4cb |
| 15-Jan-2008 |
Anton Korobeynikov <asl@math.spbu.ru> |
For PR1839: add initial support for __builtin_trap. llvm-gcc part is missed as well as PPC codegen
llvm-svn: 46001
|
#
1f503dda |
| 11-Jan-2008 |
Chris Lattner <sabre@nondot.org> |
remove some incorrect classof's.
llvm-svn: 45893
|
#
8d5841ae |
| 11-Jan-2008 |
Scott Michel <scottm@aero.org> |
More CellSPU refinement and progress:
- Cleaned up custom load/store logic, common code is now shared [see note below], cleaned up address modes
- More test cases: various intrinsics, structure e
More CellSPU refinement and progress:
- Cleaned up custom load/store logic, common code is now shared [see note below], cleaned up address modes
- More test cases: various intrinsics, structure element access (load/store test), updated target data strings, indirect function calls.
Note: This patch contains a refactoring of the LoadSDNode and StoreSDNode structures: they now share a common base class, LSBaseSDNode, that provides an interface to their common functionality. There is some hackery to access the proper operand depending on the derived class; otherwise, to do a proper job would require finding and rearranging the SDOperands sent to StoreSDNode's constructor. The current refactor errs on the side of being conservatively and backwardly compatible while providing functionality that reduces redundant code for targets where loads and stores are custom-lowered.
llvm-svn: 45851
show more ...
|
#
281653b2 |
| 07-Jan-2008 |
Nate Begeman <natebegeman@mac.com> |
Update the comment on scalar to vector to be a bit more clear.
llvm-svn: 45707
|
#
e9cc742a |
| 29-Dec-2007 |
Chris Lattner <sabre@nondot.org> |
Don't attribute in file headers anymore. See llvmdev for the discussion of this change. Boy are my fingers tired. ;-)
llvm-svn: 45411
|
#
843cad4d |
| 22-Dec-2007 |
Chris Lattner <sabre@nondot.org> |
Add a new FGETSIGN operation, which defaults to expand on all targets.
llvm-svn: 45320
|
#
7df585d9 |
| 12-Dec-2007 |
Evan Cheng <evan.cheng@apple.com> |
Cosmetic change.
llvm-svn: 44961
|
#
12a86104 |
| 19-Nov-2007 |
Dan Gohman <gohman@apple.com> |
Fix a typo in a comment.
llvm-svn: 44235
|
#
66b91e66 |
| 15-Nov-2007 |
Anton Korobeynikov <asl@math.spbu.ru> |
Implement necessary bits for flt_rounds gcc builtin. Codegen bits and llvm-gcc support will follow.
llvm-svn: 44182
|
#
7e6e33be |
| 25-Oct-2007 |
Duncan Sands <baldrick@free.fr> |
Fix comment typos.
llvm-svn: 43338
|