llvm-6502/lib/Transforms/Utils
Gabor Greif a36791da41 Simplify the logic of getting hold of a PHI predecessor block.
There is now a direct way from value-use-iterator to incoming block in PHINode's API.
This way we avoid the iterator->index->iterator trip, and especially the costly
getOperandNo() invocation. Additionally there is now an assertion that the iterator
really refers to one of the PHI's Uses.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62869 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-23 19:40:15 +00:00
..
BasicBlockUtils.cpp Factor some code into a new FoldSingleEntryPHINodes method. 2008-12-03 19:44:02 +00:00
BasicInliner.cpp Add the private linkage. 2009-01-15 20:18:42 +00:00
BreakCriticalEdges.cpp Tidy up several unbeseeming casts from pointer to intptr_t. 2008-09-04 17:05:41 +00:00
CloneFunction.cpp Correctly set attributes when removing args during cloning. Fixes PR2765 2008-10-07 18:08:38 +00:00
CloneLoop.cpp Remove 'unwinds to' support from mainline. This patch undoes r47802 r47989 2008-04-25 16:53:59 +00:00
CloneModule.cpp Don't drop alignment on globals when cloning. 2008-10-09 06:27:14 +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 CMake: Removed source file. 2008-11-19 19:32:19 +00:00
CodeExtractor.cpp Fix PR2929 by making bugpoint/code extract propagate the nothrow 2008-12-18 05:52:56 +00:00
DemoteRegToStack.cpp Fix warning when assertions disabled. 2008-06-21 19:49:01 +00:00
InlineCost.cpp Add the private linkage. 2009-01-15 20:18:42 +00:00
InlineFunction.cpp introduce typedef for complicated vector, and use it too 2009-01-17 00:09:08 +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 Simplify the logic of getting hold of a PHI predecessor block. 2009-01-23 19:40:15 +00:00
Local.cpp rewrite RecursivelyDeleteTriviallyDeadInstructions to use a more efficient 2008-11-28 01:20:46 +00:00
LoopSimplify.cpp Tidy up several unbeseeming casts from pointer to intptr_t. 2008-09-04 17:05:41 +00:00
LowerAllocations.cpp Rename getABITypeSize to getTypePaddedSize, as 2009-01-12 20:38:59 +00:00
LowerInvoke.cpp Large mechanical patch. 2008-09-25 21:00:45 +00:00
LowerSwitch.cpp Tidy up several unbeseeming casts from pointer to intptr_t. 2008-09-04 17:05:41 +00:00
Makefile Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
Mem2Reg.cpp Tidy up several unbeseeming casts from pointer to intptr_t. 2008-09-04 17:05:41 +00:00
PromoteMemoryToRegister.cpp Let AnalyzeAlloca() remove debug intrinsics. 2008-11-17 18:37:53 +00:00
SimplifyCFG.cpp another fix for PR3354 2009-01-20 01:15:41 +00:00
UnifyFunctionExitNodes.cpp Tidy up #includes, deleting a bunch of unnecessary #includes. 2009-01-05 17:59:02 +00:00
UnrollLoop.cpp Factor some code into a new FoldSingleEntryPHINodes method. 2008-12-03 19:44:02 +00:00
ValueMapper.cpp rewrite operand loops to use iterators 2008-05-30 21:24:22 +00:00