summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ScalarEvolution.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-07-29 23:18:29 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-07-29 23:18:29 +0000
commit9c426524f8c1e0cd3fb1b05ceefb903629a4cda8 (patch)
treead75ea6eec15c8e9d0a6bee3b32c0c14ad7beea5 /llvm/lib/Analysis/ScalarEvolution.cpp
parent6b1cc46fee3cb5f5c3140f68036346eef0079100 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud