llvm-6502/lib/Transforms/Utils
Eli Friedman 4612e59779 Fix the inline cost calculation to take into account instructions
which cannot be folded even if they have constant operands. Significantly
helps if_spppsubr.c attached to PR4573.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76285 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-18 05:26:06 +00:00
..
AddrModeMatcher.cpp silence a vc++ warning. 2009-07-11 22:31:59 +00:00
BasicBlockUtils.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
BasicInliner.cpp available_externall linkage is not local, this was confusing the codegenerator, 2009-05-23 14:06:57 +00:00
BreakCriticalEdges.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
CloneFunction.cpp This started as a small change, I swear. Unfortunately, lots of things call the [I|F]CmpInst constructors. Who knew!? 2009-07-09 23:48:35 +00:00
CloneLoop.cpp Simplify code by using SmallVector's pop_back_val() instead of 2009-05-06 17:22:41 +00:00
CloneModule.cpp Switch GlobalVariable ctors to a sane API, where *either* a context or a module is required. 2009-07-08 19:03:57 +00:00
CloneTrace.cpp Remove 'unwinds to' support from mainline. This patch undoes r47802 r47989 2008-04-25 16:53:59 +00:00
CMakeLists.txt Fix build. 2009-07-03 22:11:58 +00:00
CodeExtractor.cpp Revert yesterday's change by removing the LLVMContext parameter to AllocaInst and MallocInst. 2009-07-15 23:53:25 +00:00
DemoteRegToStack.cpp Revert yesterday's change by removing the LLVMContext parameter to AllocaInst and MallocInst. 2009-07-15 23:53:25 +00:00
InlineCost.cpp Fix the inline cost calculation to take into account instructions 2009-07-18 05:26:06 +00:00
InlineFunction.cpp Revert yesterday's change by removing the LLVMContext parameter to AllocaInst and MallocInst. 2009-07-15 23:53:25 +00:00
InstructionNamer.cpp make instnamer name unnamed blocks as well as instructions and args. 2008-12-18 00:33:11 +00:00
LCSSA.cpp More LLVMContext-ification. 2009-07-05 22:41:43 +00:00
Local.cpp This started as a small change, I swear. Unfortunately, lots of things call the [I|F]CmpInst constructors. Who knew!? 2009-07-09 23:48:35 +00:00
LoopSimplify.cpp Make makeLoopInvariant report whether it made any changes or not, 2009-07-15 01:25:43 +00:00
LowerAllocations.cpp Initialize another Context, in the hopes of unbreaking CBE. 2009-07-17 16:20:23 +00:00
LowerInvoke.cpp Move the ConstantInt uniquing table into LLVMContextImpl. This exposed a number of issues in 2009-07-16 18:04:31 +00:00
LowerSwitch.cpp This started as a small change, I swear. Unfortunately, lots of things call the [I|F]CmpInst constructors. Who knew!? 2009-07-09 23:48:35 +00:00
Makefile Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
Mem2Reg.cpp More LLVMContext-ification. 2009-07-05 22:41:43 +00:00
PromoteMemoryToRegister.cpp "LLVMContext* " --> "LLVMContext *" 2009-07-06 23:00:19 +00:00
SimplifyCFG.cpp Replace isTrapping with a new, similar method called 2009-07-17 04:28:42 +00:00
SSI.cpp There's no need to consider PHI nodes in the same block as the instruction 2009-07-09 15:59:27 +00:00
UnifyFunctionExitNodes.cpp Tidy up #includes, deleting a bunch of unnecessary #includes. 2009-01-05 17:59:02 +00:00
UnrollLoop.cpp Thread LLVMContext through the constant folding APIs, which touches a lot of files. 2009-07-06 18:42:36 +00:00
ValueMapper.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00