llvm-6502/lib/Analysis/IPA
Duncan Sands 2bb4a4d315 Rather than marking all internal globals "Ref"
when a readonly declaration is called, set a
flag.  This is faster and uses less memory.
In theory it is less accurate, because before
only those internal globals that were read
by someone were being marked "Ref", but now
all are.  But in practice, thanks to other
passes, all internal globals of the kind
considered here will be both read and stored
to: those only read will have been turned
into constants, and those only stored to will
have been deleted.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56143 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-12 07:29:58 +00:00
..
Andersens.cpp Tidy up several unbeseeming casts from pointer to intptr_t. 2008-09-04 17:05:41 +00:00
CallGraph.cpp Simplify this some more. No functionality change. 2008-09-09 19:56:34 +00:00
CallGraphSCCPass.cpp Tidy up several unbeseeming casts from pointer to intptr_t. 2008-09-04 17:05:41 +00:00
FindUsedTypes.cpp Don't use the result of WriteAsOperand or WriteTypeSymbolic. 2008-08-19 04:42:37 +00:00
GlobalsModRef.cpp Rather than marking all internal globals "Ref" 2008-09-12 07:29:58 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00