diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-07-29 23:18:29 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-07-29 23:18:29 +0000 |
commit | 9c426524f8c1e0cd3fb1b05ceefb903629a4cda8 (patch) | |
tree | ad75ea6eec15c8e9d0a6bee3b32c0c14ad7beea5 /llvm/lib/Analysis/ScalarEvolution.cpp | |
parent | 6b1cc46fee3cb5f5c3140f68036346eef0079100 (diff) | |
download | bcm5719-llvm-9c426524f8c1e0cd3fb1b05ceefb903629a4cda8.tar.gz bcm5719-llvm-9c426524f8c1e0cd3fb1b05ceefb903629a4cda8.zip |
Rework codegen emission of globals
- No (intended) functionality change.
- Primary purpose is to clearly separate (lazy) construction of
globals that are a forward declaration or tentative definition from
those that are the final definition.
- Lazy construction is now encapsulated in
GetAddrOf{Function,GlobalVar} while final definitions are
constructed in EmitGlobal{Function,Var}Definition.
- External interface for dealing with globals is now limited to
EmitGlobal and GetAddrOf{Function,GlobalVar}.
- Also updated helper functions dealing with statics, annotations,
and ctors to be private.
llvm-svn: 54179
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
0 files changed, 0 insertions, 0 deletions