Chris Lattner
35e18b0d05
rename getSlot -> getSlotType and getOrCreateSlot ->getOrCreateTypeSlot
...
for types.
llvm-svn: 34113
2007-02-10 04:15:40 +00:00
Evan Cheng
276b44b0f9
Add function live-ins to entry block live-in set.
...
llvm-svn: 34112
2007-02-10 02:43:39 +00:00
Evan Cheng
bcf1d7faef
Add live-ins to MachineBasicBlock.
...
llvm-svn: 34111
2007-02-10 02:38:19 +00:00
Evan Cheng
de6083463d
Rename some variables to avoid confusion with SelectionDAGISel::BB.
...
llvm-svn: 34110
2007-02-10 01:08:18 +00:00
Evan Cheng
540f5e0d41
These vectors are frequently large. Use std::vector instead.
...
llvm-svn: 34109
2007-02-09 23:59:14 +00:00
Chris Lattner
d2e8e55ae0
Fix clients like this:
...
delete ParseBytecodeFile(InputFilename, 0, &ErrorMessage);
llvm_shutdown();
delete ParseBytecodeFile(InputFilename, 0, &ErrorMessage);
The primitive type objects failed to ressurect themselves after shutdown, leading
to crashes in clients that used them after llvm_shutdown().
This solution isn't wonderful, because we clearly have static ctors. However,
the code it replaces was just as bad, so it's not a regression.
llvm-svn: 34106
2007-02-09 22:24:04 +00:00
Evan Cheng
8b7700f146
Add reference counting to constantpool entries. Delete the unused ones.
...
llvm-svn: 34105
2007-02-09 20:54:44 +00:00
Reid Spencer
5808739fac
Use int32_t and uint32_t to hopefully help weak compilers (cygwin) not
...
generate errors about being unable to resolve overloaded type.
llvm-svn: 34103
2007-02-09 18:03:35 +00:00
Reid Spencer
850f09baca
int -> i32, etc.
...
llvm-svn: 34102
2007-02-09 17:56:02 +00:00
Chris Lattner
c9088b4c8e
add a note
...
llvm-svn: 34101
2007-02-09 17:38:01 +00:00
Reid Spencer
82f223475d
Get the use of \ right.
...
llvm-svn: 34100
2007-02-09 17:18:42 +00:00
Reid Spencer
7cec4f2e8a
Fix some bugs in module building that broke llvm-stacker project.
...
llvm-svn: 34099
2007-02-09 17:09:14 +00:00
Reid Spencer
49785b92f0
Now that gccas and gccld are just schell scripts, adjust the build ordering
...
for parallel builds so that we space out the large links.
llvm-svn: 34098
2007-02-09 17:02:07 +00:00
Reid Spencer
6bc8576e74
Remove gccas.pod and references to gccas and gccld.
...
llvm-svn: 34097
2007-02-09 16:56:25 +00:00
Reid Spencer
2543a22035
Change a reference to gccas to a reference to opt.
...
llvm-svn: 34095
2007-02-09 16:00:28 +00:00
Reid Spencer
a7974ccd97
Remove references to gccld and gccas, adjusting the documentation to
...
mention llvm-ld and opt instead (if appropriate).
llvm-svn: 34094
2007-02-09 15:59:08 +00:00
Reid Spencer
b63d0c4ad2
Don't use gccld or gccas
...
llvm-svn: 34093
2007-02-09 15:52:07 +00:00
Reid Spencer
dac9bac45e
gccld is gone.
...
llvm-svn: 34092
2007-02-09 15:33:12 +00:00
Reid Spencer
ca444882bd
Make SlotCalculator::getPlane an inline function. It is used inside loops.
...
llvm-svn: 34091
2007-02-09 15:25:50 +00:00
Reid Spencer
ba09f90ddc
End of life for gccld. Remove its source code and enable the generation
...
of a shell script to stand in its place. The shell script just pawns the
execution off to llvm-ld.
llvm-svn: 34090
2007-02-09 15:21:02 +00:00
Reid Spencer
a7bbb0ed70
Write the deprecation message to stderr instead of stdout so that it
...
doesn't get mingled with the output bytecode.
llvm-svn: 34089
2007-02-09 15:16:59 +00:00
Reid Spencer
a83a1dc3dd
Eliminate the use of gccas in the test suite.
...
llvm-svn: 34088
2007-02-09 15:15:21 +00:00
Reid Spencer
2193b85ab0
Write the deprecation message to stderr instead of stdout so that it
...
doesn't get mingled with the output bytecode.
llvm-svn: 34087
2007-02-09 15:10:26 +00:00
Chris Lattner
02be9919ab
remove unneeded #includes
...
llvm-svn: 34086
2007-02-09 07:54:13 +00:00
Chris Lattner
b3905c70c4
remove dead code, the outputConstants function is now only called at module scope.
...
llvm-svn: 34085
2007-02-09 07:53:20 +00:00
Chris Lattner
fc30d1bb69
1. constants can never occur in the symbol table.
...
2. All function-level constants are now incorporated into the module-level
constant pool, since the compaction table was removed. Eliminate extra
work to check for them.
This speeds up the bcwriter from 24.4s to 13.1s on 447.dealII and .73 -> .56s
on kc++ in a release build.
llvm-svn: 34084
2007-02-09 07:51:47 +00:00
Zhou Sheng
e93db8fba2
Eliminates friend function declaration inside APInt, instead, adds public
...
methods as those global function's internal implementation.
llvm-svn: 34083
2007-02-09 07:48:24 +00:00
Chris Lattner
133ae0b2a6
Add ppc-specific test for better i64 compare codegen.
...
llvm-svn: 34082
2007-02-09 04:49:46 +00:00
Nate Begeman
ba52b94fa2
Remove fixed item
...
llvm-svn: 34081
2007-02-09 04:19:54 +00:00
Reid Spencer
7ff39512a2
Fix some formatting mistakes.
...
llvm-svn: 34080
2007-02-09 04:15:08 +00:00
Reid Spencer
ddef5ab074
Merge gccld documentation in here. gccld will go away soon.
...
llvm-svn: 34079
2007-02-09 04:12:51 +00:00
Reid Spencer
690a9f105f
Put in a disabled template for when gccld is replaced by the shell script.
...
llvm-svn: 34076
2007-02-09 03:15:18 +00:00
Reid Spencer
7eca5e3d19
Get the right warning message.
...
llvm-svn: 34075
2007-02-09 03:12:21 +00:00
Reid Spencer
6c302d8403
New shell script to replace gccld, eventually.
...
llvm-svn: 34074
2007-02-09 03:09:26 +00:00
Reid Spencer
1ed974aded
Clean up error handling.
...
llvm-svn: 34073
2007-02-09 03:08:06 +00:00
Evan Cheng
f76bb63555
This is done.
...
llvm-svn: 34072
2007-02-08 23:53:38 +00:00
Evan Cheng
815c25d191
i64 setcc tests.
...
llvm-svn: 34067
2007-02-08 22:27:55 +00:00
Evan Cheng
93049457ee
Make use of TLI.SimplifySetCC() in LegalizeSetCCOperands().
...
llvm-svn: 34066
2007-02-08 22:16:19 +00:00
Evan Cheng
92658d5648
Move SimplifySetCC to TargetLowering and allow it to be shared with legalizer.
...
llvm-svn: 34065
2007-02-08 22:13:59 +00:00
Chris Lattner
751a42010b
Rename CStringMap -> StringMap, since it now supports nul characters in the
...
strings.
llvm-svn: 34064
2007-02-08 19:20:57 +00:00
Chris Lattner
d81d7be3cd
update this.
...
llvm-svn: 34063
2007-02-08 19:14:21 +00:00
Chris Lattner
259ba20bd8
Allow cstringmap to contain strings with nul characters in them.
...
llvm-svn: 34062
2007-02-08 19:08:37 +00:00
Reid Spencer
5d211e24d9
For PR1153:
...
Copy a couple more missing options from gccld to llvm-ld.
llvm-svn: 34061
2007-02-08 19:03:11 +00:00
Reid Spencer
55717ece1e
For PR1153:
...
Make llvm-ld more gccld-like by having it run the same set of passes. The
delta was probably due to lack of llvm-ld being maintained. Just another
reason to have only one optimizing linker in in LLVM.
llvm-svn: 34058
2007-02-08 18:13:59 +00:00
Andrew Lenharth
9a4a1515ee
return addresses, those I already have
...
llvm-svn: 34056
2007-02-08 17:37:41 +00:00
Reid Spencer
26e1f92f55
Describe llvm/test more accurately given recent changes.
...
llvm-svn: 34055
2007-02-08 17:00:55 +00:00
Zhou Sheng
11eea86410
Switched this file on accidently.
...
llvm-svn: 34054
2007-02-08 16:45:48 +00:00
Zhou Sheng
fbf61eaba7
As Chris and Reid suggested, remove "isSigned" field from APInt, instead,
...
add some signed/unsigned arithmetic operation functions into APInt.h to
handle the signed/unsigned issue. These functions will be defined inside a
namespace "APIntOps" which is inside llvm namespace.
llvm-svn: 34053
2007-02-08 14:35:19 +00:00
Reid Spencer
d958a2b2d8
New test cases for PR1187
...
llvm-svn: 34052
2007-02-08 09:10:22 +00:00
Reid Spencer
6dde337628
Make this legal input.
...
llvm-svn: 34051
2007-02-08 09:09:36 +00:00