llvm-6502/tools
Chandler Carruth b246acebf4 [PM] Switch the new pass manager to use a reference-based API for IR
units.

This was debated back and forth a bunch, but using references is now
clearly cleaner. Of all the code written using pointers thus far, in
only one place did it really make more sense to have a pointer. In most
cases, this just removes immediate dereferencing from the code. I think
it is much better to get errors on null IR units earlier, potentially
at compile time, than to delay it.

Most notably, the legacy pass manager uses references for its routines
and so as more and more code works with both, the use of pointers was
likely to become really annoying. I noticed this when I ported the
domtree analysis over and wrote the entire thing with references only to
have it fail to compile. =/ It seemed better to switch now than to
delay. We can, of course, revisit this is we learn that references are
really problematic in the API.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225145 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-05 02:47:05 +00:00
..
bugpoint
bugpoint-passes
dsymutil [dsymutil] Fix missing member initializer. 2014-12-18 00:45:32 +00:00
gold Fix a leak found by asan. 2014-12-23 18:18:37 +00:00
llc Remove an unnecessary reference variable that pointed to a unique_ptr variable. Just use the unique_ptr variable directly. 2014-12-12 07:52:06 +00:00
lli Silence gcc 4.9.1 warning 'xyz' is used uninitialized in this function. 2014-12-12 11:07:51 +00:00
llvm-ar Only seek once before writing the member offsets. 2014-12-11 16:34:00 +00:00
llvm-as
llvm-bcanalyzer Bitcode: Add METADATA_NODE and METADATA_VALUE 2014-12-11 23:02:24 +00:00
llvm-c-test Have llvm-c-test only use libLLVM if libLLVM has all the right components. 2014-12-18 21:03:49 +00:00
llvm-config [cmake] Teach the llvm-config program to respect LLVM_LIBDIR_SUFFIX. 2014-12-29 11:16:25 +00:00
llvm-cov Remove unused includes and out of date comment. NFC. 2014-12-17 03:07:20 +00:00
llvm-diff
llvm-dis Modernize the getStreamedBitcodeModule interface a bit. NFC. 2014-12-18 05:08:43 +00:00
llvm-dwarfdump Remove unused includes and out of date comment. NFC. 2014-12-17 03:07:20 +00:00
llvm-extract
llvm-go
llvm-jitlistener Fix line mapping information in LLVM JIT profiling with Vtune 2014-12-15 04:45:43 +00:00
llvm-link
llvm-lto llvm-lto: Add testing coverage for local contexts 2014-12-17 02:00:38 +00:00
llvm-mc Remove unused includes and out of date comment. NFC. 2014-12-17 03:07:20 +00:00
llvm-mcmarkup
llvm-nm Return ErrorOr<std::unique_ptr<Archive>> form getAsArchive. 2014-12-09 21:05:36 +00:00
llvm-objdump Another attempt to fix the LLVM Windows build bot lld-x86_64-win7, one last place to fix I think. 2014-12-24 00:16:51 +00:00
llvm-profdata
llvm-readobj llvm-readobj: add support to dump COFF export tables 2015-01-03 21:35:09 +00:00
llvm-rtdyld
llvm-shlib [cmake] Start making LLVM_LIBDIR_SUFFIX effective by adding it to 2014-12-29 11:16:19 +00:00
llvm-size Return ErrorOr<std::unique_ptr<Archive>> form getAsArchive. 2014-12-09 21:05:36 +00:00
llvm-stress
llvm-symbolizer
llvm-vtabledump
lto Unbreak cmake build with shared libraries enabled. 2014-12-20 01:51:02 +00:00
macho-dump Add printing the LC_LINKER_OPTION load command with llvm-objdump’s -private-headers. 2014-12-18 00:53:40 +00:00
msbuild
obj2yaml
opt [PM] Switch the new pass manager to use a reference-based API for IR 2015-01-05 02:47:05 +00:00
verify-uselistorder
yaml2obj
CMakeLists.txt Initial dsymutil tool commit. 2014-12-12 17:31:24 +00:00
LLVMBuild.txt Initial dsymutil tool commit. 2014-12-12 17:31:24 +00:00
Makefile Initial dsymutil tool commit. 2014-12-12 17:31:24 +00:00