llvm-6502/lib
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
..
Analysis [multiversion] Implement the old pass manager's TTI wrapper pass in 2015-02-01 12:26:09 +00:00
AsmParser Remove unused tokens in the ll lexer. 2015-01-29 14:45:09 +00:00
Bitcode Check bit widths before trying to get a type. 2015-01-30 18:13:50 +00:00
CodeGen [multiversion] Implement the old pass manager's TTI wrapper pass in 2015-02-01 12:26:09 +00:00
DebugInfo Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00
ExecutionEngine Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00
Fuzzer [fuzzer] add flags to run fuzzer in multiple parallel processes 2015-01-31 01:14:40 +00:00
IR Factor out statepoint verification into separate function. (NFC) 2015-01-30 23:28:05 +00:00
IRReader
LineEditor
Linker
LTO [multiversion] Implement the old pass manager's TTI wrapper pass in 2015-02-01 12:26:09 +00:00
MC Compute the ELF SectionKind from the flags. 2015-01-29 17:33:21 +00:00
Object [ELFYAML] Provide default value 0 for YAML relocation addendum field 2015-01-29 06:56:24 +00:00
Option
ProfileData llvm-cov: Only combine segments if they overlap exactly 2015-01-24 20:58:52 +00:00
Support NFC. Making printOptionValues an API on the parser class. 2015-01-30 22:16:01 +00:00
TableGen
Target [multiversion] Implement the old pass manager's TTI wrapper pass in 2015-02-01 12:26:09 +00:00
Transforms [multiversion] Thread a function argument through all the callers of the 2015-02-01 12:01:35 +00:00
CMakeLists.txt Reverting r227452, which adds back the fuzzer library. Now excluding the fuzzer library based on LLVM_USE_SANITIZE_COVERAGE being set or unset. 2015-01-29 16:58:29 +00:00
LLVMBuild.txt
Makefile Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00