summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/DataLayout.cpp
diff options
context:
space:
mode:
authorPhilip Pfaffe <philip.pfaffe@gmail.com>2019-01-02 15:41:47 +0000
committerPhilip Pfaffe <philip.pfaffe@gmail.com>2019-01-02 15:41:47 +0000
commit6bc98ad7e879fb2c56bc998b57320db3405fd5af (patch)
treec5516520caf48e01c01f11b76c083dbd59133549 /llvm/lib/IR/DataLayout.cpp
parent0682afbaeed4471483ed6069a080f0cfd922767b (diff)
downloadbcm5719-llvm-6bc98ad7e879fb2c56bc998b57320db3405fd5af.tar.gz
bcm5719-llvm-6bc98ad7e879fb2c56bc998b57320db3405fd5af.zip
Extend Module::getOrInsertGlobal to control the construction of the
GlobalVariable Summary: Extend Module::getOrInsertGlobal to accept a callback for creating a new GlobalVariable if necessary instead of calling the GV constructor directly using default arguments. Additionally overload getOrInsertGlobal for the previous default behavior. Reviewers: chandlerc Subscribers: hiraditya, llvm-commits, bollu Differential Revision: https://reviews.llvm.org/D56130 llvm-svn: 350219
Diffstat (limited to 'llvm/lib/IR/DataLayout.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud