1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/lib
Chandler Carruth d8a3f95fb1 Make the inline cost a proper analysis pass. This remains essentially
a dynamic analysis done on each call to the routine. However, now it can
use the standard pass infrastructure to reference other analyses,
instead of a silly setter method. This will become more interesting as
I teach it about more analysis passes.

This updates the two inliner passes to use the inline cost analysis.
Doing so highlights how utterly redundant these two passes are. Either
we should find a cheaper way to do always inlining, or we should merge
the two and just fiddle with the thresholds to get the desired behavior.
I'm leaning increasingly toward the latter as it would also remove the
Inliner sub-class split.

llvm-svn: 173030
2013-01-21 11:39:18 +00:00
..
Analysis Make the inline cost a proper analysis pass. This remains essentially 2013-01-21 11:39:18 +00:00
Archive Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
AsmParser Use hexDigitValue in LLLexer. 2013-01-18 23:05:41 +00:00
Bitcode trivial micro-optimization: lazily call the virtual method instead of eagerly calling it. 2013-01-20 02:54:05 +00:00
CodeGen Revert 172708. 2013-01-20 08:35:56 +00:00
DebugInfo Fix the assembly and dissassembly of DW_FORM_sec_offset. Found this by 2013-01-17 03:00:04 +00:00
ExecutionEngine Introduce llvm::sys::getProcessTriple() function. 2013-01-16 17:27:22 +00:00
IR Fix a latent bug exposed by recent static member debug info changes. 2013-01-19 23:00:25 +00:00
Linker [Linker] Kill Linker::LoadObject which is dead, and drop the BitReader dependency again. 2013-01-18 19:37:11 +00:00
MC This is a resubmittal. For some reason it broke the bots yesterday 2013-01-18 21:20:38 +00:00
Object [MC/Mach-O] Add support for linker options in Mach-O files. 2013-01-18 01:26:07 +00:00
Option Resort the #include lines in include/... and lib/... with the 2013-01-02 10:22:59 +00:00
Support Add llvm::hexDigitValue to convert single characters to hex. 2013-01-18 21:45:30 +00:00
TableGen TableGen: Keep track of superclass reference ranges. 2013-01-10 18:50:11 +00:00
Target Use <0 checks in place of ==-1 because it results in simpler code. 2013-01-21 07:25:16 +00:00
Transforms Make the inline cost a proper analysis pass. This remains essentially 2013-01-21 11:39:18 +00:00
CMakeLists.txt Rename VMCore directory to IR. 2013-01-02 09:10:48 +00:00
LLVMBuild.txt Rename VMCore directory to IR. 2013-01-02 09:10:48 +00:00
Makefile Rename VMCore directory to IR. 2013-01-02 09:10:48 +00:00