Chris Lattner [Mon, 26 Nov 2001 19:19:27 +0000 (19:19 +0000)]
Remove invalid,unneccesary ## token
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1391
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 19:18:30 +0000 (19:18 +0000)]
Add support to enable -lfoo to be processed correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1390
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 19:18:11 +0000 (19:18 +0000)]
Add hooks to print natural loop information and induction variables
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1389
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 19:17:06 +0000 (19:17 +0000)]
Add testcases for internal
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1388
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 19:16:37 +0000 (19:16 +0000)]
Rename irreducible to cfgstructures.ll Include other interesting structures
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1387
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 19:15:25 +0000 (19:15 +0000)]
MAke sure diffs match
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1386
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 19:14:56 +0000 (19:14 +0000)]
Implement internal
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1385
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 19:14:33 +0000 (19:14 +0000)]
Make strings be internal
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1384
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 19:14:16 +0000 (19:14 +0000)]
Remove debugging output
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1383
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 19:14:03 +0000 (19:14 +0000)]
Support internal linkage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1382
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:59:30 +0000 (18:59 +0000)]
Build IPO directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1381
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:59:18 +0000 (18:59 +0000)]
Implement support for internal methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1380
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:58:55 +0000 (18:58 +0000)]
Include const prop as part of -raise
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1379
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:58:34 +0000 (18:58 +0000)]
* Implement support for folding multiple single letter arguments together like
with ls: ls -la === ls -l -a
* Implement support for trimming arguments that start with a single letter
argument so that -lfoo is recognized as -l foo for the linker
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1378
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:57:38 +0000 (18:57 +0000)]
Misc cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1377
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:57:12 +0000 (18:57 +0000)]
Expose constant propogation of an instruction in a clean way
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1376
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:56:52 +0000 (18:56 +0000)]
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
Chris Lattner [Mon, 26 Nov 2001 18:56:10 +0000 (18:56 +0000)]
Implement internal method support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1374
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:54:16 +0000 (18:54 +0000)]
Implement support for internal methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1373
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:53:29 +0000 (18:53 +0000)]
Implement writer support for Loops, Induction Variables, and CallGraphs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1372
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:53:07 +0000 (18:53 +0000)]
Make Mul work right
Make sub work right
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1371
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:52:02 +0000 (18:52 +0000)]
Fix a bad assertion to be correct . The root basic block can be used by PHI nodes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1370
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:51:25 +0000 (18:51 +0000)]
Implement a new entry node that has edges to all external methods in the module
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1369
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:50:26 +0000 (18:50 +0000)]
Remove unused method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1368
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:50:11 +0000 (18:50 +0000)]
Expose constant prop of an instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1367
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:49:54 +0000 (18:49 +0000)]
Fix field initialization order problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1366
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:49:33 +0000 (18:49 +0000)]
Allow output of manipulators for GCC 2.96 compatibility
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1365
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:47:46 +0000 (18:47 +0000)]
Add writer support for call graph nodes and loops and induction variables
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1364
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:47:11 +0000 (18:47 +0000)]
Implement an entry node for the call graph
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1363
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:46:40 +0000 (18:46 +0000)]
Implement "internal vs external linkage" which corresponds to the C notion of static
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1362
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:42:55 +0000 (18:42 +0000)]
Implement stuff, remove todos
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1361
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:42:17 +0000 (18:42 +0000)]
Implement DCE of global values
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1360
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:41:20 +0000 (18:41 +0000)]
* Implement dominator based loop identification
* Implement cleaner induction variable identification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1359
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:18:53 +0000 (18:18 +0000)]
Change swapstructs itf
Add nasty hack to be removed later
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1356
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:18:18 +0000 (18:18 +0000)]
* Implement array indexing in lli
* Add external atoi method as well as floor, and srand
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1355
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 18:16:07 +0000 (18:16 +0000)]
Run constprop before -raise
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1354
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 17:02:56 +0000 (17:02 +0000)]
Test array indexing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1349
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 17:02:05 +0000 (17:02 +0000)]
Support Array Indexing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1348
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 17:01:47 +0000 (17:01 +0000)]
Implement: isLosslesslyConvertableTo and new CompositeType base class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1347
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 17:01:18 +0000 (17:01 +0000)]
If a name conflict occurs when inserting a value, rename it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1346
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 17:00:43 +0000 (17:00 +0000)]
Support array indexing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1345
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 17:00:13 +0000 (17:00 +0000)]
Support Composite's, not just structs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1344
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 16:59:47 +0000 (16:59 +0000)]
losslessCastableTypes is moved to Type class
getStructOffsetType supports array indexing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1343
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 16:59:10 +0000 (16:59 +0000)]
Support selectable structure transformations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1342
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 16:58:33 +0000 (16:58 +0000)]
Support mutation of array indexing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1341
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 16:58:14 +0000 (16:58 +0000)]
Clean up code, implement array indexing stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1340
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 16:57:31 +0000 (16:57 +0000)]
Implement array indexing reverse engineering
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1339
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 16:56:19 +0000 (16:56 +0000)]
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
Chris Lattner [Mon, 26 Nov 2001 16:54:55 +0000 (16:54 +0000)]
Implement array indexing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1337
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 16:54:11 +0000 (16:54 +0000)]
Implement array indexing with uints
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1336
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 16:53:50 +0000 (16:53 +0000)]
* Implement more powerful expr analysis of cast instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1335
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 16:49:49 +0000 (16:49 +0000)]
Rearrange code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1334
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 16:49:12 +0000 (16:49 +0000)]
Allow array indexing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1333
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 16:48:56 +0000 (16:48 +0000)]
Be more const correct
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1332
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 16:48:41 +0000 (16:48 +0000)]
* Remove the indexVec stuff which gets out of sync with the operands of the
instruction.
* Change the indices to take a vector of Value's instead of ConstPoolVal's
for array indexing
* Add new idx_ iterator support for iterating over indices
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1331
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 16:47:10 +0000 (16:47 +0000)]
New Method isLosslesslyConvertableTo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1330
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 16:46:45 +0000 (16:46 +0000)]
Add new CompositeType shared baseclass of ArrayType and StructType
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1329
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 16:46:09 +0000 (16:46 +0000)]
Add casts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1328
91177308-0d34-0410-b5e6-
96231b3b80d8
Ruchira Sasanka [Thu, 15 Nov 2001 22:03:04 +0000 (22:03 +0000)]
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
Ruchira Sasanka [Thu, 15 Nov 2001 22:02:06 +0000 (22:02 +0000)]
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
Ruchira Sasanka [Thu, 15 Nov 2001 20:46:40 +0000 (20:46 +0000)]
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
Ruchira Sasanka [Thu, 15 Nov 2001 20:25:07 +0000 (20:25 +0000)]
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
Ruchira Sasanka [Thu, 15 Nov 2001 20:23:19 +0000 (20:23 +0000)]
Fixed a bug in setReLRegsUsedByMI
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1323
91177308-0d34-0410-b5e6-
96231b3b80d8
Ruchira Sasanka [Thu, 15 Nov 2001 20:22:37 +0000 (20:22 +0000)]
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
Chris Lattner [Thu, 15 Nov 2001 15:24:31 +0000 (15:24 +0000)]
Fix protection probs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1321
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Thu, 15 Nov 2001 15:23:02 +0000 (15:23 +0000)]
Modify method AllocateLocalVar to take size argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1320
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Thu, 15 Nov 2001 15:22:39 +0000 (15:22 +0000)]
Fix use of AllocateLocalVar for alloca instruction!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1319
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Thu, 15 Nov 2001 15:22:26 +0000 (15:22 +0000)]
Modify AllocateLocalVar method to take a size argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1318
91177308-0d34-0410-b5e6-
96231b3b80d8
Ruchira Sasanka [Thu, 15 Nov 2001 15:00:53 +0000 (15:00 +0000)]
fixed setUsedRegAtMI
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1317
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Thu, 15 Nov 2001 15:00:48 +0000 (15:00 +0000)]
Bug fix for Chris.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1316
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Thu, 15 Nov 2001 15:00:16 +0000 (15:00 +0000)]
Print incoming arguments and return values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1315
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Thu, 15 Nov 2001 14:59:56 +0000 (14:59 +0000)]
Fix int->float conversion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1314
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 15 Nov 2001 04:34:46 +0000 (04:34 +0000)]
-cleangcc pass now remove type names that are never referenced and type names for pointers to primitive types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1312
91177308-0d34-0410-b5e6-
96231b3b80d8
Ruchira Sasanka [Thu, 15 Nov 2001 00:27:14 +0000 (00:27 +0000)]
Changed phi elimination code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1311
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Wed, 14 Nov 2001 21:24:44 +0000 (21:24 +0000)]
Fix cute little bug that was causing the last
structure offset to be ignored in computing an offset!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1310
91177308-0d34-0410-b5e6-
96231b3b80d8
Ruchira Sasanka [Wed, 14 Nov 2001 20:05:23 +0000 (20:05 +0000)]
Small changed to printing a machine operand - It the operand is a def, it prints
a star after it - only for debugging
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1309
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Wed, 14 Nov 2001 18:49:45 +0000 (18:49 +0000)]
Don't assume constant operand can only be in position 1!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1308
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Wed, 14 Nov 2001 18:48:36 +0000 (18:48 +0000)]
Add function returning which operand holds immediate constant
for a given opcode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1307
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Wed, 14 Nov 2001 17:55:02 +0000 (17:55 +0000)]
Idiotic error in last fix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1306
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Wed, 14 Nov 2001 17:24:49 +0000 (17:24 +0000)]
Don't need to load a NULL pointer constant from memory!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1305
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Wed, 14 Nov 2001 15:54:44 +0000 (15:54 +0000)]
Change latency of SETX to improve schedule -- just a hack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1304
91177308-0d34-0410-b5e6-
96231b3b80d8
Ruchira Sasanka [Wed, 14 Nov 2001 15:37:13 +0000 (15:37 +0000)]
Added support method for setting interference for pseudo instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1303
91177308-0d34-0410-b5e6-
96231b3b80d8
Ruchira Sasanka [Wed, 14 Nov 2001 15:35:51 +0000 (15:35 +0000)]
added isPseudoInstr()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1302
91177308-0d34-0410-b5e6-
96231b3b80d8
Ruchira Sasanka [Wed, 14 Nov 2001 15:35:13 +0000 (15:35 +0000)]
Added M_PSEUDO_FLAG for SETX .. instr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1301
91177308-0d34-0410-b5e6-
96231b3b80d8
Ruchira Sasanka [Wed, 14 Nov 2001 15:33:58 +0000 (15:33 +0000)]
Added interference for args in pseudo instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1300
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 14 Nov 2001 11:28:18 +0000 (11:28 +0000)]
Rename cruft
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1299
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 14 Nov 2001 11:27:58 +0000 (11:27 +0000)]
Remove much cruft from the MemAccessInst instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1298
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 14 Nov 2001 11:03:17 +0000 (11:03 +0000)]
Fix link prob
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1297
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 14 Nov 2001 11:02:49 +0000 (11:02 +0000)]
Better heuristics for handling arrays
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1296
91177308-0d34-0410-b5e6-
96231b3b80d8
Ruchira Sasanka [Tue, 13 Nov 2001 23:12:53 +0000 (23:12 +0000)]
commented out lines printing code after scheduling
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1295
91177308-0d34-0410-b5e6-
96231b3b80d8
Ruchira Sasanka [Tue, 13 Nov 2001 23:09:30 +0000 (23:09 +0000)]
Fixed a bug concering LR spilling. Earlier, added spilled code was not inserted
into the instruction stream correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1294
91177308-0d34-0410-b5e6-
96231b3b80d8
Ruchira Sasanka [Tue, 13 Nov 2001 23:08:19 +0000 (23:08 +0000)]
Changed checking for invalid register number - earlier it was uisng a contant
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1293
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 13 Nov 2001 06:27:19 +0000 (06:27 +0000)]
Only use one form of printVal per program to avoid spurious link errors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1292
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 13 Nov 2001 05:46:08 +0000 (05:46 +0000)]
Implement some more rand functions for em3d benchmark
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1291
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 13 Nov 2001 05:44:27 +0000 (05:44 +0000)]
Overwrite files when linked
Remove native files when cleaned
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1289
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 13 Nov 2001 05:01:36 +0000 (05:01 +0000)]
* Change ExpressionConvertableToType to more closely match map behavior of
ConvertExpressionToType
* Make ValueHandle's remove instruction from maps when they are deleted so that
no false map hits occur if a subsequent instruction is allocated to the same
space in memory. This was a VERY VERY VERY EVIL NASTY BUG to track down. :-P
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1288
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 13 Nov 2001 04:59:58 +0000 (04:59 +0000)]
Minor style cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1287
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 13 Nov 2001 04:59:41 +0000 (04:59 +0000)]
Avoid assertion failure when taking size of unsized array. Todo item herE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1286
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 12 Nov 2001 23:40:22 +0000 (23:40 +0000)]
Do the same for allocating spills to get their alignment right too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1285
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 12 Nov 2001 23:26:35 +0000 (23:26 +0000)]
When allocating space on stack for writing a register,
use the size of the register, not the size of the Value type,
to get the right alignment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1284
91177308-0d34-0410-b5e6-
96231b3b80d8