Chris Lattner [Thu, 13 Dec 2001 00:43:47 +0000 (00:43 +0000)]
Implement sprintf
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1445
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 13 Dec 2001 00:43:03 +0000 (00:43 +0000)]
Swap operands now preserves the semantics of the binary operator by changing
the opcode of the instruction if possible.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1444
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 13 Dec 2001 00:41:27 +0000 (00:41 +0000)]
Add debugging to make a more useful message if a value gets constructed with a null type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1443
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 13 Dec 2001 00:40:16 +0000 (00:40 +0000)]
Implement some nice functions useful for looking at types
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1442
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 13 Dec 2001 00:39:49 +0000 (00:39 +0000)]
Implement proper iterator tags
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1441
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 13 Dec 2001 00:39:33 +0000 (00:39 +0000)]
Subclasses can change the opcode of an instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1440
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 13 Dec 2001 00:38:57 +0000 (00:38 +0000)]
Constants KNOW they are of a derived type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1439
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Wed, 12 Dec 2001 15:19:55 +0000 (15:19 +0000)]
Added TRACEM option. Use -g when building native code for tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1438
91177308-0d34-0410-b5e6-
96231b3b80d8
Ruchira Sasanka [Sun, 9 Dec 2001 20:21:49 +0000 (20:21 +0000)]
Documentation (draft) for reg alloc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1437
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 9 Dec 2001 16:55:43 +0000 (16:55 +0000)]
Use _LOCAL_ gccas to build instead of Chris's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1436
91177308-0d34-0410-b5e6-
96231b3b80d8
Ruchira Sasanka [Sat, 8 Dec 2001 21:05:27 +0000 (21:05 +0000)]
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
Ruchira Sasanka [Sat, 8 Dec 2001 21:04:22 +0000 (21:04 +0000)]
Added comments are more documentation info
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1434
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 8 Dec 2001 20:31:32 +0000 (20:31 +0000)]
Tell the user if a file is corrupt or not... not that the file cannot be
found.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1433
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 7 Dec 2001 04:40:30 +0000 (04:40 +0000)]
Implement more general conversions for getelementptr instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1432
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 7 Dec 2001 04:39:01 +0000 (04:39 +0000)]
Remove code that is superceeded by code in ExprTypeConvert.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1431
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 7 Dec 2001 04:26:02 +0000 (04:26 +0000)]
Don't insert scales of 1 :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1430
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 7 Dec 2001 04:25:36 +0000 (04:25 +0000)]
Run DCE before cleanupGCCoutput which will cause some dead types (like FILE) to be removed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1429
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 6 Dec 2001 18:06:37 +0000 (18:06 +0000)]
Do not pessimize users of this function. Fix logic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1428
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 6 Dec 2001 18:06:13 +0000 (18:06 +0000)]
We can do cast-add elimination even on casts that reinterpret
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1427
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 6 Dec 2001 18:05:55 +0000 (18:05 +0000)]
Fix bug that caused invalid transformations to be applied
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1426
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Dec 2001 19:41:33 +0000 (19:41 +0000)]
Actually return true when a change has been made
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1425
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Dec 2001 19:41:16 +0000 (19:41 +0000)]
Handle more complex array indexing expressions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1424
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Dec 2001 19:40:32 +0000 (19:40 +0000)]
Fix pessimizations on sized arrays
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1423
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Dec 2001 19:39:15 +0000 (19:39 +0000)]
Fix a few bugs. Fix pessimization handling sized arrays
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1422
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Dec 2001 19:38:29 +0000 (19:38 +0000)]
"fix" problems processing floating point expressions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1421
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Dec 2001 06:40:17 +0000 (06:40 +0000)]
Hrm, don't do debugging output when debugging is off. :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1420
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Dec 2001 06:35:30 +0000 (06:35 +0000)]
Remove unnecesary namespace impot
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1419
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Dec 2001 06:34:58 +0000 (06:34 +0000)]
Simplify induction variables before 'raising' the representation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1418
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Dec 2001 06:34:00 +0000 (06:34 +0000)]
Fixes to type conversion stuff to match induction variables more frequently
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1417
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Dec 2001 06:32:30 +0000 (06:32 +0000)]
Fix a bug that clobbered the step value on some inputs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1416
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 4 Dec 2001 18:01:49 +0000 (18:01 +0000)]
Fix a bug introduced by "internal linkage" work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1415
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 4 Dec 2001 08:13:06 +0000 (08:13 +0000)]
Fix bugs, don't do external methods which causes segv.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1414
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 4 Dec 2001 08:12:53 +0000 (08:12 +0000)]
Remove printouts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1413
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 4 Dec 2001 08:12:47 +0000 (08:12 +0000)]
Fix a pessimization due to sucky LI testing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1412
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 4 Dec 2001 04:32:29 +0000 (04:32 +0000)]
Implement induction variable simplification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1411
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 4 Dec 2001 04:32:04 +0000 (04:32 +0000)]
Use new induction variable simplification code with -indvars option
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1410
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 4 Dec 2001 04:31:30 +0000 (04:31 +0000)]
Allow hyphens in identifier names
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1409
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 4 Dec 2001 00:03:30 +0000 (00:03 +0000)]
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
Chris Lattner [Mon, 3 Dec 2001 22:26:30 +0000 (22:26 +0000)]
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
Chris Lattner [Mon, 3 Dec 2001 18:05:13 +0000 (18:05 +0000)]
Simplify induction variables pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1406
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 3 Dec 2001 18:02:31 +0000 (18:02 +0000)]
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
Chris Lattner [Mon, 3 Dec 2001 17:28:42 +0000 (17:28 +0000)]
Initial checkin of indvar stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1404
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 3 Dec 2001 17:28:15 +0000 (17:28 +0000)]
Compile the scalar directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1403
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 3 Dec 2001 17:27:42 +0000 (17:27 +0000)]
Induction variables must be phi nodes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1402
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 29 Nov 2001 16:32:16 +0000 (16:32 +0000)]
Move support directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1401
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 27 Nov 2001 00:03:19 +0000 (00:03 +0000)]
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
Chris Lattner [Mon, 26 Nov 2001 23:04:08 +0000 (23:04 +0000)]
Move DataTypes.h from llvm/Support to just Support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1399
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 20:50:07 +0000 (20:50 +0000)]
New testcase for globaldce
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1398
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 19:37:43 +0000 (19:37 +0000)]
-raise includes constprop and dce
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1397
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 19:36:58 +0000 (19:36 +0000)]
Turn off debug info
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1396
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 19:22:39 +0000 (19:22 +0000)]
* Add hooks to globaldce
* Fix ugly hacks by implementing IPOs correctly
* Use an auto_ptr to manage the module lifecycle
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1395
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 19:21:02 +0000 (19:21 +0000)]
Link to ipo library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1394
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 19:20:38 +0000 (19:20 +0000)]
Fix problem where lli < foo.bc would have argc = 0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1393
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 26 Nov 2001 19:20:16 +0000 (19:20 +0000)]
Use pointertype where appropriate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1392
91177308-0d34-0410-b5e6-
96231b3b80d8
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