Chris Lattner [Tue, 22 Apr 2003 20:20:28 +0000 (20:20 +0000)]
Use a union to cast int to fp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5849
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 22 Apr 2003 20:20:11 +0000 (20:20 +0000)]
It's "necessary"...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5848
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 22 Apr 2003 20:19:52 +0000 (20:19 +0000)]
Add support for the switch instruction to the CWriter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5847
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 22 Apr 2003 19:31:55 +0000 (19:31 +0000)]
Update to add new keywords
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5846
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 22 Apr 2003 19:13:20 +0000 (19:13 +0000)]
Add warning when linking modules with disagreeing target properties
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5845
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 22 Apr 2003 19:07:19 +0000 (19:07 +0000)]
Emit information about target
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5844
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 22 Apr 2003 19:07:06 +0000 (19:07 +0000)]
Allow information about the target to be specified in the .ll file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5843
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 22 Apr 2003 19:06:48 +0000 (19:06 +0000)]
Add testcase for target information
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5842
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 22 Apr 2003 18:43:23 +0000 (18:43 +0000)]
ADd newline to end of file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5841
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 22 Apr 2003 18:42:41 +0000 (18:42 +0000)]
Namespacify
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5840
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 22 Apr 2003 18:15:10 +0000 (18:15 +0000)]
Add support for reading and writing pointersize/endianness to and from bytecode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5839
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 22 Apr 2003 18:10:32 +0000 (18:10 +0000)]
Build the appropriate target machine for the input pointer size and endianness
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5838
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 22 Apr 2003 18:03:13 +0000 (18:03 +0000)]
Add information about the module source
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5837
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 22 Apr 2003 18:02:52 +0000 (18:02 +0000)]
Preserve module source information in the ModuleID
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5836
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 22 Apr 2003 18:02:26 +0000 (18:02 +0000)]
Preserve the new moduleID field
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5835
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 22 Apr 2003 18:02:04 +0000 (18:02 +0000)]
Add support for tracking whether a module is 64/32 bit and big/little endian
Also add a moduleID field which can be used for diagnostics
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5834
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 22 Apr 2003 17:54:23 +0000 (17:54 +0000)]
It's "necessary" to spell "necessarily" correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5833
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 21 Apr 2003 22:44:36 +0000 (22:44 +0000)]
Make stderr, stdout, stdin work with LLI
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5832
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 21 Apr 2003 22:43:32 +0000 (22:43 +0000)]
Fix wierd idiom
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5831
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 21 Apr 2003 22:43:20 +0000 (22:43 +0000)]
fprintf CAN take exactly 2 args
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5830
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 21 Apr 2003 21:33:44 +0000 (21:33 +0000)]
Add support for a simple constantexpr: cast of one ptr type to another
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5829
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 21 Apr 2003 21:15:04 +0000 (21:15 +0000)]
Fix bug: 2003-01-30-LinkerRename.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5828
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 21 Apr 2003 21:07:05 +0000 (21:07 +0000)]
Fix linking a function with qualifiers to a external function declaration:
Fixed bug: Linker/2003-04-21-Linkage.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5827
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 21 Apr 2003 21:06:25 +0000 (21:06 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5826
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 21 Apr 2003 19:53:24 +0000 (19:53 +0000)]
Add support for allowing the user to extend the GCCLD searchpath
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5825
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 21 Apr 2003 19:15:26 +0000 (19:15 +0000)]
Fix bug where use still existed in dead code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5824
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 19 Apr 2003 23:07:33 +0000 (23:07 +0000)]
Eliminate useless duplicate libraries
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5823
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 19 Apr 2003 22:44:38 +0000 (22:44 +0000)]
Add first support for linking in .a files correctly and minimally, like a real linker does
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5822
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 19 Apr 2003 21:45:52 +0000 (21:45 +0000)]
Add prototype to read .a files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5821
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 19 Apr 2003 21:45:34 +0000 (21:45 +0000)]
Initial support for reading standard .a files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5820
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 19 Apr 2003 21:45:17 +0000 (21:45 +0000)]
Add support for reading unaligned bytecode buffers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5819
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 19 Apr 2003 00:50:37 +0000 (00:50 +0000)]
Remove arbitrary limitation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5818
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 19 Apr 2003 00:17:11 +0000 (00:17 +0000)]
Update testcases to match what is currently output by the CFE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5817
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 19 Apr 2003 00:15:27 +0000 (00:15 +0000)]
Implement: FunctionResolve/2003-04-18-ForwardDeclGlobal.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5816
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 19 Apr 2003 00:15:00 +0000 (00:15 +0000)]
Add testcase for constantexpr gep
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5815
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 18 Apr 2003 23:46:44 +0000 (23:46 +0000)]
Test case for forward declared global array with no size
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5814
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 18 Apr 2003 23:38:22 +0000 (23:38 +0000)]
Add crufty compatibility stuff for ld
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5813
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 18 Apr 2003 23:38:09 +0000 (23:38 +0000)]
Eliminate some compatibility stuff no longer needed :P
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5812
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 18 Apr 2003 23:01:25 +0000 (23:01 +0000)]
Use anonymous namespace instead of "static"
Kill using decl
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5811
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 18 Apr 2003 19:25:22 +0000 (19:25 +0000)]
Fix bug: Mem2reg/2003-04-18-DeadBlockProblem.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5810
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 18 Apr 2003 19:22:39 +0000 (19:22 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5809
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 18 Apr 2003 04:34:29 +0000 (04:34 +0000)]
Global constants CAN be external
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5808
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 18 Apr 2003 04:11:56 +0000 (04:11 +0000)]
Fix a big bad bug I checked in yesterday :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5807
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 18 Apr 2003 03:50:09 +0000 (03:50 +0000)]
Refactor CloneFunction to expose the new CloneBasicBlock function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5806
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 18 Apr 2003 03:49:49 +0000 (03:49 +0000)]
New const_cast instead of c style cast
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5805
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 18 Apr 2003 03:49:22 +0000 (03:49 +0000)]
Add prototype for new CloneBasicBlock function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5804
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 17 Apr 2003 22:19:23 +0000 (22:19 +0000)]
Add a simple test for hex constant integers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5803
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 17 Apr 2003 22:17:32 +0000 (22:17 +0000)]
Allow hexadecimal integer constants to be used
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5802
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 17 Apr 2003 19:24:48 +0000 (19:24 +0000)]
Don't build constantexprs that could be folded
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5801
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 17 Apr 2003 19:24:18 +0000 (19:24 +0000)]
Allow constant folding of GEP instructions, even if we don't do a whole lot yet.
Fold ConstExpr casts better
castToPointer shouldn't be forced to return a constantpointer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5800
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 17 Apr 2003 19:22:47 +0000 (19:22 +0000)]
Don't force a ConstantPointer to be returned
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5799
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 17 Apr 2003 19:21:22 +0000 (19:21 +0000)]
Test case to make sure that constexprs are automatically folded
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5798
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Apr 2003 23:02:16 +0000 (23:02 +0000)]
Don't support codegen passes in opt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5797
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Apr 2003 22:55:55 +0000 (22:55 +0000)]
Remove codegen libraries to speed up linking opt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5796
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Apr 2003 22:50:19 +0000 (22:50 +0000)]
Fix bug: IndVarSimplify/2003-04-16-ExprAnalysis.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5795
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Apr 2003 22:46:16 +0000 (22:46 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5794
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Apr 2003 22:40:51 +0000 (22:40 +0000)]
Change the interface to constant expressions to allow automatic folding
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5793
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Apr 2003 21:43:22 +0000 (21:43 +0000)]
Allow the user to disable the internalize pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5792
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Apr 2003 21:21:35 +0000 (21:21 +0000)]
Add tests for linker and linkonce globals
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5791
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Apr 2003 21:16:05 +0000 (21:16 +0000)]
Add support to the bytecode reader/writer for the new linkage types
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5790
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Apr 2003 20:51:36 +0000 (20:51 +0000)]
Give verbose error messages if bytecode file cannot be parsed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5789
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Apr 2003 20:42:40 +0000 (20:42 +0000)]
Add code to verify correctly linkages
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5788
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Apr 2003 20:30:02 +0000 (20:30 +0000)]
Revert modulo scheduling change that should be part of the modulo-sched pass itself,
not part of the Instruction class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5787
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Apr 2003 20:28:45 +0000 (20:28 +0000)]
Add new linkage types to support a real frontend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5786
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Apr 2003 20:26:11 +0000 (20:26 +0000)]
Add missing keyword, add new linkage keywords
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5785
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Apr 2003 20:25:57 +0000 (20:25 +0000)]
Add new linkage keywords. Spell uninitialized correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5784
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Apr 2003 20:23:42 +0000 (20:23 +0000)]
Add PRE directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5783
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Apr 2003 20:20:02 +0000 (20:20 +0000)]
Improve the efficiency and cleanup writing a bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5782
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Apr 2003 18:13:57 +0000 (18:13 +0000)]
Don't allow declaring an external internal variable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5781
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Apr 2003 17:49:18 +0000 (17:49 +0000)]
Improve compatibility with system AS further by allowing input from stdin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5780
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Apr 2003 17:41:08 +0000 (17:41 +0000)]
* Get rid of using declaration
* Add two compatibility options to work better with new GCC frontend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5779
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 16 Apr 2003 17:34:29 +0000 (17:34 +0000)]
Namespacify command line options
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5778
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Apr 2003 16:09:31 +0000 (16:09 +0000)]
Fix bug: Assember2003-04-15-ConstantInitAssertion.llx
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5777
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 15 Apr 2003 16:07:05 +0000 (16:07 +0000)]
New testcase that triggered assertion failure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5776
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 13 Apr 2003 03:50:14 +0000 (03:50 +0000)]
Make help message more clear
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5775
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 10 Apr 2003 22:01:15 +0000 (22:01 +0000)]
Simple arithmetic loop-based test case for modulo scheduling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5774
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 10 Apr 2003 21:49:13 +0000 (21:49 +0000)]
Adding a simple test case in the hope that commit-diffs.pl will pick this up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5773
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 10 Apr 2003 21:43:58 +0000 (21:43 +0000)]
Not only is this the first test case for ModuloScheduing, it's also the first
test case for the CVS commit-diffs.pl script which should show the entire
contents of this file below:
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5772
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 10 Apr 2003 19:41:13 +0000 (19:41 +0000)]
* Fix bug: Mem2Reg/2003-04-10-DFNotFound.ll
* Make Mem2Reg assign version numbers now for renamed variables instead of
.mem2reg suffixes. This produces what people think of as SSA.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5771
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 10 Apr 2003 19:21:07 +0000 (19:21 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5770
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 10 Apr 2003 19:19:23 +0000 (19:19 +0000)]
Fixed compilation errors, command-line argument declarations, cleaned up code to
look nicer and removed useless stuff.
Also renamed a few variables, moved them into namespaces, converted outputting
to a file into a print to std::cerr with a DEBUG() guard, as all passes should
do anyway.
No functional changes have been made. However, this code now compiles.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5769
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 9 Apr 2003 21:51:34 +0000 (21:51 +0000)]
Made the code readable:
* Lines must be wrapped at 80 chars. This is a hard limit.
* Consistent style on functions, braces, if, for, etc. Code must be readable.
No functional changes have been made, even though I added a new typedef.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5768
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 7 Apr 2003 00:25:09 +0000 (00:25 +0000)]
Must use std::pair instead of just 'pair'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5767
91177308-0d34-0410-b5e6-
96231b3b80d8
Guochun Shi [Mon, 7 Apr 2003 00:00:36 +0000 (00:00 +0000)]
added a function and a member to the TargetSchedInfo class
which is used by Modulo Scheduling pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5766
91177308-0d34-0410-b5e6-
96231b3b80d8
Guochun Shi [Sun, 6 Apr 2003 23:58:44 +0000 (23:58 +0000)]
added some memory for clone function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5765
91177308-0d34-0410-b5e6-
96231b3b80d8
Guochun Shi [Sun, 6 Apr 2003 23:56:19 +0000 (23:56 +0000)]
change the include file names and some class names to make it compile
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5764
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 31 Mar 2003 22:12:37 +0000 (22:12 +0000)]
Implement scanf and fix sscanf to actually endian swap the results correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5763
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 31 Mar 2003 21:26:06 +0000 (21:26 +0000)]
Update to work with newer versions of bison
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5762
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 31 Mar 2003 21:19:23 +0000 (21:19 +0000)]
Initial checkin of PRE test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5761
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 31 Mar 2003 19:57:36 +0000 (19:57 +0000)]
Initial checkin of PRE tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5760
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 31 Mar 2003 19:55:43 +0000 (19:55 +0000)]
Initial checkin of PRE on LLVM. This implementation is still lacking in
several ways:
* Load expressions are not PRE'd well. Alias Analysis should be used to
get accurate information when computing anticipatibility.
* The expression collection implementation does not handle PHI nodes properly,
thus the implementation misses many opportunities to PRE.
* This code could be sped up quite a bit
Despite these flaws, the code seems to work well, and handles PR's as one
would expect.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5759
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 31 Mar 2003 17:30:35 +0000 (17:30 +0000)]
Minor tweak
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5758
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 31 Mar 2003 17:30:25 +0000 (17:30 +0000)]
* We now preserve the no-critical-edge pass (because we cannot insert critical edges)
* Small modification to be more efficient
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5757
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 31 Mar 2003 17:29:18 +0000 (17:29 +0000)]
Add getAnalysisUsage method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5756
91177308-0d34-0410-b5e6-
96231b3b80d8
Guochun Shi [Thu, 27 Mar 2003 17:57:44 +0000 (17:57 +0000)]
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5755
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 21 Mar 2003 21:43:19 +0000 (21:43 +0000)]
Move BreakCriticalEdges pass to lib/Transforms/Utils
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5754
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 21 Mar 2003 21:41:02 +0000 (21:41 +0000)]
Add helper method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5753
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 21 Mar 2003 21:40:39 +0000 (21:40 +0000)]
Update comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5752
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 20 Mar 2003 21:21:05 +0000 (21:21 +0000)]
Add more graph traits specializations for dominator tree nodes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5751
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 19 Mar 2003 20:57:22 +0000 (20:57 +0000)]
* Change the order that globals and constants are processed in
* Add support for implicit zero initializers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5750
91177308-0d34-0410-b5e6-
96231b3b80d8