llvm/lib/VMCore
Chris Lattner 4e4caeffbd Fix a nasty problem with dominance calculation for unreachable blocks.
If we had a CFG that look like Entry -> B, Unreachable -> B, then we would
not correctly determine that Entry dominated B, because Entry did not
apparently dominate "unreachable".  This patch fixes this by making the entry
node dominate all blocks, including unreachable ones.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4037 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-04 14:45:48 +00:00
..
AsmWriter.cpp - Print the predecessors of a basic block instead of the number of uses of 2002-10-02 19:38:55 +00:00
BasicBlock.cpp - Add new ctor to BasicBlock to allow insertion before any BB, not just at 2002-09-26 05:03:22 +00:00
ConstantFold.cpp Implement setcc for booleans. Fixes bug: 2002-09-03 20:09:49 +00:00
ConstantFold.h - Renamed Type::isIntegral() to Type::isInteger() 2002-09-03 01:05:48 +00:00
ConstantFolding.h - Renamed Type::isIntegral() to Type::isInteger() 2002-09-03 01:05:48 +00:00
ConstantRange.cpp Minor bug fix. 2002-09-03 23:12:40 +00:00
Constants.cpp include/llvm/DataTypes.h includes this #define so we don't need it anymore 2002-09-13 22:24:57 +00:00
Dominators.cpp Fix a nasty problem with dominance calculation for unreachable blocks. 2002-10-04 14:45:48 +00:00
Function.cpp Remove specification of argument default from cpp file. 2002-09-17 01:17:57 +00:00
iBranch.cpp Add convenience ctor to BranchInst 2002-09-10 23:54:58 +00:00
iCall.cpp Add capability to insert an instruction into a basic block immediately after 2002-09-10 15:45:53 +00:00
iMemory.cpp Change the MallocInst & AllocaInst ctors to take the allocated type, not the 2002-09-13 22:28:50 +00:00
InstrTypes.cpp Add capability to insert an instruction into a basic block immediately after 2002-09-10 15:45:53 +00:00
Instruction.cpp Add capability to insert an instruction into a basic block immediately after 2002-09-10 15:45:53 +00:00
iOperators.cpp Tighten up assertion checking for binary operators, not allowing invalid 2002-09-10 19:57:53 +00:00
iSwitch.cpp Add capability to insert an instruction into a basic block immediately after 2002-09-10 15:45:53 +00:00
LeakDetector.cpp Add an optimization to support the most common access pattern for the 2002-09-19 19:22:11 +00:00
Linker.cpp Insert resolved constants into the global map so they are reused correctly. 2002-09-23 18:14:15 +00:00
Makefile *** empty log message *** 2002-07-23 17:52:38 +00:00
Module.cpp Enable "garbage detection" of LLVM objects. Now users should be obnoxious 2002-09-08 18:59:35 +00:00
Pass.cpp Factor timer code out of PassManager implementation, into a generic interface 2002-10-01 19:54:07 +00:00
PassManagerT.h Make sure to use the TimerGroup that we created! 2002-10-01 20:12:06 +00:00
SlotCalculator.cpp *** empty log message *** 2002-07-24 22:08:53 +00:00
SymbolTable.cpp MEGAPATCH checkin. 2002-06-25 16:13:24 +00:00
SymbolTableListTraitsImpl.h *** empty log message *** 2002-07-24 22:08:53 +00:00
Type.cpp - Renamed Type::isIntegral() to Type::isInteger() 2002-09-03 01:08:28 +00:00
Value.cpp Enable "garbage detection" of LLVM objects. Now users should be obnoxious 2002-09-08 18:59:35 +00:00
Verifier.cpp Make sure that we abort if an error happens as early as neccesary. Before 2002-09-19 16:12:19 +00:00