This is a convenience iterator that allows clients to enumerate the
GlobalObjects within a Module.
Also start using it in a few places where it is obviously the right thing
to use.
Paths
| Differential D21580
IR: Introduce Module::global_objects(). ClosedPublic Authored by pcc on Jun 21 2016, 5:46 PM.
Details Summary This is a convenience iterator that allows clients to enumerate the Also start using it in a few places where it is obviously the right thing
Diff Detail Event Timelinepcc updated this object.
This revision is now accepted and ready to land.Jun 22 2016, 12:15 PM
Closed by commit rL273470: IR: Introduce Module::global_objects(). (authored by pcc). · Explain WhyJun 22 2016, 1:36 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 61584 include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h
include/llvm/IR/Module.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/ExecutionEngine/ExecutionEngine.cpp
lib/IR/AsmWriter.cpp
lib/Transforms/IPO/GlobalDCE.cpp
test/CodeGen/XCore/linkage.ll
|
Why do you need the template?
MType is always Module, for example.