Chris Lattner
|
cb0a1202af
|
* Switch to new TmpInstruction model
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1654 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-02-03 07:49:49 +00:00 |
|
Chris Lattner
|
cf4525bd20
|
* Swithc to new MachineCodeForInstruction model
* Implement memory freeing for instruction temporaries
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1653 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-02-03 07:49:15 +00:00 |
|
Chris Lattner
|
c019a17137
|
* prune #includes
* Implement permethod output of machine code to assembly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1652 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-02-03 07:48:06 +00:00 |
|
Chris Lattner
|
884f4b5af0
|
Add #include that is no longer implicitly included
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1651 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-02-03 07:47:05 +00:00 |
|
Chris Lattner
|
dd1e40b4ce
|
Lots of code cleanups, no functional changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1650 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-02-03 07:46:34 +00:00 |
|
Chris Lattner
|
fb3b1ec982
|
* Switch over to cleaner TmpInstruction model
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1648 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-02-03 07:39:06 +00:00 |
|
Chris Lattner
|
06cb1b7382
|
* Straighten out #includes
* Switch to MAchineCodeForInstruction model instead of MachineCodeForVMInstr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1647 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-02-03 07:33:46 +00:00 |
|
Chris Lattner
|
a8bbb6bced
|
* Swich to annotation model for MachineCodeForInstruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1646 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-02-03 07:31:41 +00:00 |
|
Chris Lattner
|
de6dbabaee
|
Remove extraneous #includes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1645 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-02-03 07:30:08 +00:00 |
|
Chris Lattner
|
0861b0c3e6
|
* Straighten out #includes
* Switch from MachineCodeForVMInstr to MachineCodeForInstruction model
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1644 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-02-03 07:29:45 +00:00 |
|
Chris Lattner
|
3462cae44f
|
* Get machine instrs from Instructin's by using MachineCodeForInstruction::get
* Convert a few (*X). to X->
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1643 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-02-03 07:28:30 +00:00 |
|
Chris Lattner
|
56cf02d5a0
|
Lots of nonfunctional code cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1642 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-02-03 07:25:25 +00:00 |
|
Chris Lattner
|
29f4c06b7f
|
Add a class forward decl
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1637 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-02-03 07:13:04 +00:00 |
|
Chris Lattner
|
92a12d5c6b
|
LoopDepth calculation is now in CFG namespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1601 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-01-31 00:41:13 +00:00 |
|
Chris Lattner
|
a16c3efb9f
|
Make it build with 2.95.3
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1554 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-01-23 05:47:57 +00:00 |
|
Chris Lattner
|
3d0fda2f56
|
Remove dead variable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1515 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-01-21 22:50:38 +00:00 |
|
Chris Lattner
|
d4b051135c
|
Remove dead variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1514 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-01-21 22:44:57 +00:00 |
|
Chris Lattner
|
dbe5304f77
|
Oops lost a parenthesis somehow :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1504 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-01-21 01:33:12 +00:00 |
|
Chris Lattner
|
697954c15d
|
Changes to build successfully with GCC 3.02
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1503 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-01-20 22:54:45 +00:00 |
|
Ruchira Sasanka
|
ce773da223
|
Fixed a bug in spill cost estimation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1500 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-01-08 16:29:23 +00:00 |
|
Ruchira Sasanka
|
6a3db8c117
|
PhyRegAlloc.cpp: Added temp area resetting before every call
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1499 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-01-07 21:09:06 +00:00 |
|
Ruchira Sasanka
|
bf915524a1
|
Added more comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1498 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-01-07 21:03:42 +00:00 |
|
Ruchira Sasanka
|
690f367f6b
|
removed SizeOfStackOperand constant from the SparcRegInfo class - no longer used
by code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1497 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-01-07 20:33:44 +00:00 |
|
Ruchira Sasanka
|
2563a98f3d
|
Added more comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1496 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-01-07 20:28:49 +00:00 |
|
Ruchira Sasanka
|
d00982a81c
|
Added comments and correct logic for finding register sizes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1494 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-01-07 19:20:28 +00:00 |
|
Ruchira Sasanka
|
4f3eb22e1f
|
Added destructors and comments.
Added correct spill candidate selection logic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1493 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-01-07 19:19:18 +00:00 |
|
Ruchira Sasanka
|
42bd177eae
|
Added comments, destructors where necessary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1491 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-01-07 19:16:26 +00:00 |
|
Vikram S. Adve
|
fa24897f9f
|
Eliminate all uses of memInst->getIndicesBROKEN().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1485 91177308-0d34-0410-b5e6-96231b3b80d8
|
2001-12-15 00:36:32 +00:00 |
|
Vikram S. Adve
|
dd08e32deb
|
getIndexedOffset() shd take vector of Values, not of Constants!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1484 91177308-0d34-0410-b5e6-96231b3b80d8
|
2001-12-15 00:35:48 +00:00 |
|
Vikram S. Adve
|
cee9d1c3fa
|
Remove int hack to allow unsigned numbers greater than 2^63 - 1...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1483 91177308-0d34-0410-b5e6-96231b3b80d8
|
2001-12-15 00:33:36 +00:00 |
|
Chris Lattner
|
5618cb60c2
|
Allow pointer indexing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1462 91177308-0d34-0410-b5e6-96231b3b80d8
|
2001-12-14 16:31:26 +00:00 |
|
Chris Lattner
|
90865150e4
|
Remove unsized array support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1461 91177308-0d34-0410-b5e6-96231b3b80d8
|
2001-12-14 16:30:51 +00:00 |
|
Ruchira Sasanka
|
545cc35b82
|
added a section on how to modify live variable code to use LLVM instructions
instead of machine instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1451 91177308-0d34-0410-b5e6-96231b3b80d8
|
2001-12-13 21:25:46 +00:00 |
|
Chris Lattner
|
f59ce92763
|
Not just arrays are unsized
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1450 91177308-0d34-0410-b5e6-96231b3b80d8
|
2001-12-13 00:46:11 +00:00 |
|
Ruchira Sasanka
|
789cebb908
|
Added more comments. Added code to destructor in MethodLiveVarInfo to delete
LiveVarSet caches.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1435 91177308-0d34-0410-b5e6-96231b3b80d8
|
2001-12-08 21:05:27 +00:00 |
|
Ruchira Sasanka
|
b720a8bc1d
|
Added comments are more documentation info
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1434 91177308-0d34-0410-b5e6-96231b3b80d8
|
2001-12-08 21:04:22 +00:00 |
|
Chris Lattner
|
7a17675206
|
Renamed inst_const_iterator -> const_inst_iterator
Renamed op_const_iterator -> const_op_iterator
Renamed PointerType::getValueType() -> PointerType::getElementType()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1408 91177308-0d34-0410-b5e6-96231b3b80d8
|
2001-12-04 00:03:30 +00:00 |
|
Chris Lattner
|
e9bb2df410
|
Rename ConstPoolVal -> Constant
Rename ConstPool* -> Constant*
Rename ConstPoolVals.h -> ConstantVals.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1407 91177308-0d34-0410-b5e6-96231b3b80d8
|
2001-12-03 22:26:30 +00:00 |
|
Chris Lattner
|
7061dc50b2
|
Split the PHINode class out from the iOther.h file into the iPHINode.h file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1405 91177308-0d34-0410-b5e6-96231b3b80d8
|
2001-12-03 18:02:31 +00:00 |
|
Chris Lattner
|
cee8f9ae67
|
Create a new #include "Support/..." directory structure to move things
from "llvm/Support/..." that are not llvm dependant.
Move files and fix #includes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1400 91177308-0d34-0410-b5e6-96231b3b80d8
|
2001-11-27 00:03:19 +00:00 |
|
Chris Lattner
|
4ed17bad69
|
Stuff after a #endif is not valid CPP input and breaks some compilers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1375 91177308-0d34-0410-b5e6-96231b3b80d8
|
2001-11-26 18:56:52 +00:00 |
|
Chris Lattner
|
69a86e4e23
|
The old getIndices has been deprecated, because it no longer works. It now
is named getIndicesBROKEN() and shall be removed when the codebase is updated
to not call it
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1338 91177308-0d34-0410-b5e6-96231b3b80d8
|
2001-11-26 16:56:19 +00:00 |
|
Ruchira Sasanka
|
3113375f90
|
commented out popAllTempValues since it leads to a bug - see code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1327 91177308-0d34-0410-b5e6-96231b3b80d8
|
2001-11-15 22:03:04 +00:00 |
|
Ruchira Sasanka
|
f90870f622
|
Commented some popTempArg.. since it leads to a bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1326 91177308-0d34-0410-b5e6-96231b3b80d8
|
2001-11-15 22:02:06 +00:00 |
|
Ruchira Sasanka
|
07c7086bd2
|
Added naming to inserted phi copy values - for easy debugging
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1325 91177308-0d34-0410-b5e6-96231b3b80d8
|
2001-11-15 20:46:40 +00:00 |
|
Ruchira Sasanka
|
295264dcb4
|
changed since names of some methods in PhyRegAlloc changed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1324 91177308-0d34-0410-b5e6-96231b3b80d8
|
2001-11-15 20:25:07 +00:00 |
|
Ruchira Sasanka
|
ba9d5dba25
|
Fixed a bug in setReLRegsUsedByMI
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1323 91177308-0d34-0410-b5e6-96231b3b80d8
|
2001-11-15 20:23:19 +00:00 |
|
Ruchira Sasanka
|
825dd55429
|
Changed some names of methods, added const etc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1322 91177308-0d34-0410-b5e6-96231b3b80d8
|
2001-11-15 20:22:37 +00:00 |
|
Vikram S. Adve
|
345bcc8be1
|
Fix use of AllocateLocalVar for alloca instruction!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1319 91177308-0d34-0410-b5e6-96231b3b80d8
|
2001-11-15 15:22:39 +00:00 |
|
Ruchira Sasanka
|
f6dfca1395
|
fixed setUsedRegAtMI
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1317 91177308-0d34-0410-b5e6-96231b3b80d8
|
2001-11-15 15:00:53 +00:00 |
|