Owen Anderson
|
a7aed18624
|
Reapply r110396, with fixes to appease the Linux buildbot gods.
llvm-svn: 110460
|
2010-08-06 18:33:48 +00:00 |
Owen Anderson
|
bda59bd247
|
Revert r110396 to fix buildbots.
llvm-svn: 110410
|
2010-08-06 00:23:35 +00:00 |
Owen Anderson
|
755aceb5d0
|
Don't use PassInfo* as a type identifier for passes. Instead, use the address of the static
ID member as the sole unique type identifier. Clean up APIs related to this change.
llvm-svn: 110396
|
2010-08-05 23:42:04 +00:00 |
Gabor Greif
|
84012a93ef
|
simplify
llvm-svn: 109101
|
2010-07-22 13:07:39 +00:00 |
Gabor Greif
|
b8686360a1
|
do not access arguments via low-level interface, do not multiply dereference use_iterators
llvm-svn: 109100
|
2010-07-22 13:04:32 +00:00 |
Owen Anderson
|
a57b97e7e7
|
Fix batch of converting RegisterPass<> to INTIALIZE_PASS().
llvm-svn: 109045
|
2010-07-21 22:09:45 +00:00 |
Devang Patel
|
0dc3c2d37e
|
Use ValueMap instead of DenseMap.
The ValueMapper used by various cloning utility maps MDNodes also.
llvm-svn: 106706
|
2010-06-24 00:33:28 +00:00 |
Kenneth Uildriks
|
1850444000
|
Partial specialization was not checking the callsite to make sure it was using the same constants as the specialization, leading to calls to the wrong specialization. Patch by Takumi Nakamura\!
llvm-svn: 105528
|
2010-06-05 14:50:21 +00:00 |
Nick Lewycky
|
974e12b2d3
|
Remove includes of Support/Compiler.h that are no longer needed after the
VISIBILITY_HIDDEN removal.
llvm-svn: 85043
|
2009-10-25 06:57:41 +00:00 |
Nick Lewycky
|
02d5f77d26
|
Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces.
Chris claims we should never have visibility_hidden inside any .cpp file but
that's still not true even after this commit.
llvm-svn: 85042
|
2009-10-25 06:33:48 +00:00 |
Owen Anderson
|
47db941fd3
|
Get rid of the Pass+Context magic.
llvm-svn: 76702
|
2009-07-22 00:24:57 +00:00 |
Owen Anderson
|
20b34ac794
|
Move the ConstantInt uniquing table into LLVMContextImpl. This exposed a number of issues in
our current context-passing stuff, which is also fixed here
llvm-svn: 76089
|
2009-07-16 18:04:31 +00:00 |
Nick Lewycky
|
dc9642feb1
|
Keep calling-convention and tail-call bit when creating new invoke or call.
llvm-svn: 66384
|
2009-03-08 19:02:17 +00:00 |
Andrew Lenharth
|
348f3fa6a7
|
add a period at the end of the comment, ignoring the fact that the comment would be hard pressed to be considered a sentence, but if it makes Bill happy...
llvm-svn: 58630
|
2008-11-03 19:29:29 +00:00 |
Andrew Lenharth
|
45b86322f2
|
Ensure that we are checking only calls to the function we are interested in specializing
llvm-svn: 58615
|
2008-11-03 16:05:35 +00:00 |
Nuno Lopes
|
06c67f88d7
|
dont specialize weak functions and the like
llvm-svn: 57305
|
2008-10-08 18:45:59 +00:00 |
Andrew Lenharth
|
19fb2aba50
|
try to seperate the mechanism into something others can use
llvm-svn: 55785
|
2008-09-04 18:51:26 +00:00 |
Dan Gohman
|
a79db30d28
|
Tidy up several unbeseeming casts from pointer to intptr_t.
llvm-svn: 55779
|
2008-09-04 17:05:41 +00:00 |
Andrew Lenharth
|
95d573a7f0
|
cleanup as per Duncan's review
llvm-svn: 55766
|
2008-09-04 14:34:22 +00:00 |
Andrew Lenharth
|
9fed8f5b9c
|
Initial version of a Partial Specialization IPO pass. It triggers a couple hundred times on 176.gcc. I don't know the performance impact yet, the heuristic is quite simple still.
llvm-svn: 55734
|
2008-09-03 21:00:28 +00:00 |