llvm-6502/tools
Chandler Carruth 276f405407 [multiversion] Implement the old pass manager's TTI wrapper pass in
terms of the new pass manager's TargetIRAnalysis.

Yep, this is one of the nicer bits of the new pass manager's design.
Passes can in many cases operate in a vacuum and so we can just nest
things when convenient. This is particularly convenient here as I can
now consolidate all of the TargetMachine logic on this analysis.

The most important change here is that this pushes the function we need
TTI for all the way into the TargetMachine, and re-creates the TTI
object for each function rather than re-using it for each function.
We're now prepared to teach the targets to produce function-specific TTI
objects with specific subtargets cached, etc.

One piece of feedback I'd love here is whether its worth renaming any of
this stuff. None of the names really seem that awesome to me at this
point, but TargetTransformInfoWrapperPass is particularly ... odd.
TargetIRAnalysisWrapper might make more sense. I would want to do that
rename separately anyways, but let me know what you think.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227731 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-01 12:26:09 +00:00
..
bugpoint
bugpoint-passes
dsymutil Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00
gold Fixup gold-plugin after r227576. 2015-01-30 19:14:04 +00:00
llc Move DataLayout back to the TargetMachine from TargetSubtargetInfo 2015-01-26 19:03:15 +00:00
lli Fix lli after the DebugInfo move. 2015-01-30 18:42:03 +00:00
llvm-ar llvm-ar: Remove unimplemented -N option from -help 2015-01-28 06:00:01 +00:00
llvm-as
llvm-bcanalyzer [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
llvm-c-test Fix build breakage caused by memory leaks in llvm-c-test 2015-01-28 18:32:31 +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 llvm-cov: Don't use llvm::outs() in library code 2015-01-23 23:09:27 +00:00
llvm-diff
llvm-dis Use the DiagnosticHandler to print diagnostics when reading bitcode. 2015-01-10 00:07:30 +00:00
llvm-dwarfdump Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00
llvm-extract
llvm-go Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00
llvm-jitlistener Fix lli after the DebugInfo move. 2015-01-30 18:42:03 +00:00
llvm-link
llvm-lto [llvm-lto] Add a line for setting LTOCodeGenerator's CPU string from command 2015-01-30 01:14:28 +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 [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
llvm-objdump Add the -section option to llvm-objdump used with -macho that takes the argument 2015-01-31 00:37:11 +00:00
llvm-pdbdump Oops -- accidentally commit some debug code! Removing that code; NFC (this time for real). 2015-01-29 16:18:59 +00:00
llvm-profdata Assigning and copying command line option objects shouldn't be allowed. 2015-01-22 01:49:59 +00:00
llvm-readobj Add STB_GNU_UNIQUE to the ELF writer. 2015-01-23 04:44:35 +00:00
llvm-rtdyld Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00
llvm-shlib [cmake] Start making LLVM_LIBDIR_SUFFIX effective by adding it to 2014-12-29 11:16:19 +00:00
llvm-size Assigning and copying command line option objects shouldn't be allowed. 2015-01-22 01:49:59 +00:00
llvm-stress
llvm-symbolizer Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00
llvm-vtabledump
lto [lto] Disable dialog boxes on crash on Windows. 2015-01-29 17:20:41 +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 [multiversion] Implement the old pass manager's TTI wrapper pass in 2015-02-01 12:26:09 +00:00
verify-uselistorder
yaml2obj [ELFYAML] Support mips64 relocation record format in yaml2obj/obj2yaml 2015-01-25 13:29:25 +00:00
CMakeLists.txt Really really don't build llvm-pdbdump on MSVC < 2013. 2015-01-30 18:08:05 +00:00
LLVMBuild.txt Add llvm-pdbdump to tools. 2015-01-27 20:46:21 +00:00
Makefile