1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/lib
Duncan Sands d8ab4c3485 Correct callgraph construction. It has two problems:
(1) code left over from the days of ConstantPointerRef:
if a use of a function is a GlobalValue then that is
not considered a reason to add an edge from the external
node, even though the use may be as an initializer for
an externally visible global!  There might be some point
to this behaviour when the use is by an alias (though the
code predated aliases by some centuries), but I think
PR2782 is a better way of handling that.  (2) If function
F calls function G, and also G is a parameter to the
call, then an F->G edge is not added to the callgraph.
While this doesn't seem to matter much, adding such an
edge makes the callgraph more regular.
In addition, the new code should be faster as well as
simpler.

llvm-svn: 55987
2008-09-09 12:40:47 +00:00
..
Analysis Correct callgraph construction. It has two problems: 2008-09-09 12:40:47 +00:00
Archive
AsmParser Update generated files. 2008-09-09 01:13:24 +00:00
Bitcode Temporarily disable vector select in the bitcode reader. The 2008-09-09 02:08:49 +00:00
CodeGen Check for type legality before materializing integer constants in fast isel. With this change, 2008-09-09 06:32:02 +00:00
Debugger
ExecutionEngine MMI may be null. 2008-09-02 08:14:01 +00:00
Linker
Support Updating VC++ project. 2008-08-24 11:56:40 +00:00
System
Target Fix a constant lowering bug. Now we can do load and store instructions with funky getelementptr embedded in the address operand. 2008-09-09 01:26:59 +00:00
Transforms Fix simplifycfg crash in handing block merge. 2008-09-09 01:06:56 +00:00
VMCore Extend the vcmp/fcmp LLVM IR instructions to take vectors as arguments 2008-09-09 01:02:47 +00:00
Makefile