History log of /external/llvm/lib/VMCore/BasicBlock.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7750c3fc9f1dc47fce14c5dbb6c17bf5b52f3ba1 31-Jan-2012 Bill Wendling <isanbard@gmail.com> Add a constified getLandingPad() method.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149303 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
d2e103daf8a093e0e25ddbaa7549c083887196e8 16-Aug-2011 Bill Wendling <isanbard@gmail.com> Add getFirstInsertionPt() method.

getFirstInsertionPt() returns an iterator to the first insertion point in a
basic block. This is after all PHIs and any other instruction which is required
to be at the top of the basic block (like LandingPadInst).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137744 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
e6e8826870bee3facb04f950f0bd725f8a88623d 12-Aug-2011 Bill Wendling <isanbard@gmail.com> Initial commit of the 'landingpad' instruction.

This implements the 'landingpad' instruction. It's used to indicate that a basic
block is a landing pad. There are several restrictions on its use (see
LangRef.html for more detail). These restrictions allow the exception handling
code to gather the information it needs in a much more sane way.

This patch has the definition, implementation, C interface, parsing, and bitcode
support in it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137501 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
77c714027ce4188be0af75b05cbbd493221fc22f 10-Aug-2011 NAKAMURA Takumi <geek4civic@gmail.com> VMCore/BasicBlock.cpp: Don't assume BasicBlock::iterator might end with a non-PHInode Instruction in successors.

Frontends(eg. clang) might pass incomplete form of IR, to step off the way beyond iterator end. In the case I had met, it took infinite loop due to meeting bogus PHInode.

Thanks to Jay Foad and John McCall.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137175 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
8fc9b3db536f1523263e8b380899fb4d7df23ce1 10-Aug-2011 NAKAMURA Takumi <geek4civic@gmail.com> Fix whitespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137174 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
77a2c372face15a302f4c9e5cb9acc035b8b3bd3 30-Jun-2011 Rafael Espindola <rafael.espindola@gmail.com> Add r134057 back, but splice the predecessor after the successors phi
nodes.

Original message:
Let simplify cfg simplify bb with only debug and lifetime intrinsics.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134182 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
ce77aa3edc0d07c8a2b9a613d9b57457dee43425 29-Jun-2011 Chad Rosier <mcrosier@apple.com> Temporarily revert r134057: "Let simplify cfg simplify bb with only debug and
lifetime intrinsics" due to buildbot failures.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134071 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
0fb7dcd48fd6580e3ebf35eafa952a9fe1cac8b2 29-Jun-2011 Rafael Espindola <rafael.espindola@gmail.com> Let simplify cfg simplify bb with only debug and lifetime intrinsics.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134057 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
95c3e48f9557adb6064d580684bb14cacec2f826 23-Jun-2011 Jay Foad <jay.foad@gmail.com> Reinstate r133513 (reverted in r133700) with an additional fix for a
-Wshorten-64-to-32 warning in Instructions.h.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133708 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
e59fbc04ad343435705c28b3cf7038d65fe4af0a 23-Jun-2011 Eric Christopher <echristo@apple.com> Revert r133513:

"Reinstate r133435 and r133449 (reverted in r133499) now that the clang
self-hosted build failure has been fixed (r133512)."

Due to some additional warnings.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133700 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
cd35e09a4a3c640b9da0b1dfe3548a605c929ae5 21-Jun-2011 Jay Foad <jay.foad@gmail.com> Reinstate r133435 and r133449 (reverted in r133499) now that the clang
self-hosted build failure has been fixed (r133512).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133513 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
a88a0ca8082006b37d14d8aee4a644b20bae8bc9 21-Jun-2011 Chad Rosier <mcrosier@apple.com> Revert r133435 and r133449 to appease buildbots.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133499 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
72f5f313d87558958696ce69593d82efcdfa9128 20-Jun-2011 Jay Foad <jay.foad@gmail.com> Change how PHINodes store their operands.

Change PHINodes to store simple pointers to their incoming basic blocks,
instead of full-blown Uses.

Note that this loses an optimization in SplitCriticalEdge(), because we
can no longer walk the use list of a BasicBlock to find phi nodes. See
the comment I removed starting "However, the foreach loop is slow for
blocks with lots of predecessors".

Extend replaceAllUsesWith() on a BasicBlock to also update any phi
nodes in the block's successors. This mimics what would have happened
when PHINodes were proper Users of their incoming blocks. (Note that
this only works if OldBB->replaceAllUsesWith(NewBB) is called when
OldBB still has a terminator instruction, so it still has some
successors.)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133435 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
c137120bb047a7017cbab21f5f9c9e6f65e2b84f 20-Jun-2011 Jay Foad <jay.foad@gmail.com> Make better use of the PHINode API.

Change various bits of code to make better use of the existing PHINode
API, to insulate them from forthcoming changes in how PHINodes store
their operands.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133434 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
5d7a5a4f53304869ae5b76771ab67213447b65a5 11-Apr-2011 Bill Wendling <isanbard@gmail.com> Revert r129235 pending a vetting of the EH rewrite.
--- Reverse-merging r129235 into '.':
D test/Feature/bb_attrs.ll
U include/llvm/BasicBlock.h
U include/llvm/Bitcode/LLVMBitCodes.h
U lib/VMCore/AsmWriter.cpp
U lib/VMCore/BasicBlock.cpp
U lib/AsmParser/LLParser.cpp
U lib/AsmParser/LLLexer.cpp
U lib/AsmParser/LLToken.h
U lib/Bitcode/Reader/BitcodeReader.cpp
U lib/Bitcode/Writer/BitcodeWriter.cpp



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129259 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
d7bb295d223e028aa9ba7fbeafc8928db4a74972 10-Apr-2011 Bill Wendling <isanbard@gmail.com> Beginning of the Great Exception Handling Rewrite.

* Add a "landing pad" attribute to the BasicBlock.
* Modify the bitcode reader and writer to handle said attribute.

Later: The verifier will ensure that the landing pad attribute is used in the
appropriate manner. I.e., not applied to the entry block, and applied only to
basic blocks that are branched to via a `dispatch' instruction.

(This is a work-in-progress.)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129235 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
23a19572b2839ee3a6a3520d60d62a465cec7d53 17-Nov-2010 Duncan Sands <baldrick@free.fr> Now that hasConstantValue has been made simpler, it may return the
phi node itself if it occurs in an unreachable basic block. Protect
against this. Hopefully this will fix some more buildbots.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119493 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
7249ef04557cc6f9af7b6df93728683be3b65048 02-Apr-2010 Dale Johannesen <dalej@apple.com> Skip debug info when looking for existing EH calls at the
beginning of a block.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100230 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
c63ca0a71b299ee0b8fc7dc8405d7f3c856ecfa3 19-Dec-2009 John McCall <rjmccall@apple.com> Qualify a bunch of explicit template instantiations to satisfy clang++.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91736 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
7896c9f436a4eda5ec15e882a7505ba482a2fcd0 03-Dec-2009 Chris Lattner <sabre@nondot.org> improve portability to avoid conflicting with std::next in c++'0x.
Patch by Howard Hinnant!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90365 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
cdfc940912d56a63b6f12eaa7f3faf79cf74c693 01-Nov-2009 Chris Lattner <sabre@nondot.org> Revert 85678/85680. The decision is to stay with the current form of
indirectbr, thus we don't need "blockaddr(@func, null)". Eliminate it
for simplicity.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85699 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
7d83ebcadd725d050cc58962e9b7c4312d676e7f 31-Oct-2009 Chris Lattner <sabre@nondot.org> Make blockaddress(@func, null) be valid, and make 'deleting a basic
block with a blockaddress still referring to it' replace the invalid
blockaddress with a new blockaddress(@func, null) instead of a
inttoptr(1).

This changes the bitcode encoding format, and still needs codegen
support (this should produce a non-zero value, referring to the entry
block of the function would also be quite reasonable).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85678 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
dac8bde235b92b28202fe64ada3695aedbb8bf6d 30-Oct-2009 Chris Lattner <sabre@nondot.org> if basic blocks are destroyed while there are *just* BlockAddress' hanging
around, then zap them. This is analogous to dangling constantexprs hanging
off functions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85627 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
3821176b2eb9fe5e66929f3df6f204fa6cb2e4d6 30-Oct-2009 Chris Lattner <sabre@nondot.org> make hasAddressTaken() constant time by storing a refcount in BB's subclass data.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85625 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
eeb8ef1f37a8d106a9fb77b9dd6a7ab6866904e5 29-Oct-2009 Dan Gohman <gohman@apple.com> Add a hasAddressTaken for BasicBlock.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85449 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
1d0be15f89cb5056e20e2d24faa8d6afb1573bca 13-Aug-2009 Owen Anderson <resistor@mac.com> Push LLVMContexts through the IntegerType APIs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78948 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
ffef8acc3e3398bdd04e947c7949befdd52faf86 11-Aug-2009 Dan Gohman <gohman@apple.com> Tidy #includes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78677 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
9e9a0d5fc26878e51a58a8b57900fcbf952c2691 31-Jul-2009 Owen Anderson <resistor@mac.com> Move more code back to 2.5 APIs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77635 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
6e0d1cb30957a636c53158d3089e6fb88348a57a 25-Jul-2009 Daniel Dunbar <daniel@zuster.org> Initial update to VMCore to use Twines for string arguments.
- The only meat here is in Value.{h,cpp} the rest is essential 'const
std::string &' -> 'const Twine &'.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77048 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
e922c0201916e0b980ab3cfe91e1413e68d55647 22-Jul-2009 Owen Anderson <resistor@mac.com> Get rid of the Pass+Context magic.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76702 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
f81b57694b3c34a79b1464ffd21e6768c8d22662 08-Jul-2009 Owen Anderson <resistor@mac.com> LLVMContext-ification.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74973 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
07cf79ef537caff6d39145f190a28a336e629b6f 07-Jul-2009 Owen Anderson <resistor@mac.com> "LLVMContext* " --> "LLVMContext *"


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74878 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
0a205a459884ec745df1c529396dd921f029dafd 06-Jul-2009 Owen Anderson <resistor@mac.com> More LLVMContext-ification.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74807 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
0dd2a6a89f49438b239638ab147ac5746d6c32c3 07-Mar-2009 Gabor Greif <ggreif@gmail.com> simplify the way how traits get hold of the symbol table

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66336 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
7afd3e1599222dc691cca9e601800878c8546663 07-Mar-2009 Gabor Greif <ggreif@gmail.com> further simplifications arising from peruse of the more declarative interface

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66333 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
0a0e68a7eac0513505aff3079e2d5d6864e51895 27-Feb-2009 Gabor Greif <ggreif@gmail.com> Introduce a new technique for merging BasicBlock with Instruction sentinel by superposition.
This looks dangerous, but isn't because the sentinel is accessed in special way only,
namely the Next and Prev fields of it, and these are guaranteed to exist.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65626 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
9053a739e50cb6f6b68268cc7c6b95146e66d396 11-Dec-2008 Torok Edwin <edwintorok@gmail.com> fix grammar, thanks Duncan!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60875 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
87f1e7796d02ea991bdbf084f312879988732a26 11-Dec-2008 Torok Edwin <edwintorok@gmail.com> introduce BasicBlock::getUniquePredecessor()


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60872 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
fed90b6d097d50881afb45e4d79f430db66dd741 28-Jul-2008 Dan Gohman <gohman@apple.com> Fold the useful features of alist and alist_node into ilist, and
a new ilist_node class, and remove them. Unlike alist_node,
ilist_node doesn't attempt to manage storage itself, so it avoids
the associated problems, including being opaque in gdb.

Adjust the Recycler class so that it doesn't depend on alist_node.
Also, change it to use explicit Size and Align parameters, allowing
it to work when the largest-sized node doesn't have the greatest
alignment requirement.

Change MachineInstr's MachineMemOperand list from a pool-backed
alist to a std::list for now.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54146 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
0a4fd1ab7e7c83b3ecf03cbd6b35d2b164995267 27-May-2008 Gabor Greif <ggreif@gmail.com> back out last commit: The .cpp file for a module should include its corresponding header first, even if redundant.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51598 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
3d8710e80acf496657feb092a79d226913742593 27-May-2008 Gabor Greif <ggreif@gmail.com> prune unneeded #includes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51590 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
02dea8b39f3acad5de1df36273444d149145e7fc 23-May-2008 Dan Gohman <gohman@apple.com> Tidy up BasicBlock::getFirstNonPHI, and change a bunch of places to
use it instead of duplicating its functionality.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51499 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
280a6e607d8eb7401749a92db624a82de47da777 25-Apr-2008 Nick Lewycky <nicholas@mxc.ca> Remove 'unwinds to' support from mainline. This patch undoes r47802 r47989
r48047 r48084 r48085 r48086 r48088 r48096 r48099 r48109 and r48123.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50265 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
051a950000e21935165db56695e35bade668193b 06-Apr-2008 Gabor Greif <ggreif@gmail.com> API changes for class Use size reduction, wave 1.
Specifically, introduction of XXX::Create methods
for Users that have a potentially variable number of
Uses.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49277 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
c6694228fa8df57193cbd924d627814384106ba2 09-Mar-2008 Nick Lewycky <nicholas@mxc.ca> Two things. Preserve the unwind_to when splitting a BB.
Add the ability to remove just one instance of a BB from a phi node. This fixes
the compile error in the tree now.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48085 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
fc82fabe00b0b820e3c0d7fc9e289bace0295f11 02-Mar-2008 Nick Lewycky <nicholas@mxc.ca> Add an unwind_to field to basic blocks, making them Users instead of Values.
This is the first checkin for PR1269, the new EH infrastructure.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47802 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
4ee451de366474b9c228b4e5fa573795a715216d 29-Dec-2007 Chris Lattner <sabre@nondot.org> Remove attribution from file headers, per discussion on llvmdev.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45418 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
afba8fe662d65b25b4baf46bb26cc18e1f9cc0a5 10-Dec-2007 Gordon Henriksen <gordonhenriksen@mac.com> Reverting dtor devirtualization patch.
_sabre_: it has a major problem: by the time ~Value is run, all of the "parts" of the derived classes have been destroyed
_sabre_: the vtable lives to fight another day

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44760 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
ed455c8fa25dd37a13b33f0afa66be03ac49b5bb 09-Dec-2007 Gordon Henriksen <gordonhenriksen@mac.com> Devirtualizing Value destructor (PR889). Patch by Pawel Kunio!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44747 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
50cdabcfd52e88381ade61450d98a1c757195bef 19-Nov-2007 Dan Gohman <gohman@apple.com> Remove meaningless qualifiers from return types, avoiding compiler warnings.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44240 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
9adcdf25352514d637ddbd68cf3d1713712722cc 26-Jul-2007 Dan Gohman <gohman@apple.com> DummyInst's member functions don't need to be virtual.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40530 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
f8dfef74376dd85f37601855f7519d8256700dab 17-Apr-2007 Chris Lattner <sabre@nondot.org> The (negative) offset from a SymbolTableListTraits-using ilist to its container
object is always constant. As such, evaluate it at compile time instead of storing
it as an ivar in SymbolTableListTraits. This shrinks every SymbolTableListTraits
ilist by a word, shrinking BasicBlock from 44->40 bytes, Function from 96->88 bytes,
and Module from 60->52 bytes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36189 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
17fcdd5e1b78b829068ca657c97357a39d6e768b 17-Apr-2007 Chris Lattner <sabre@nondot.org> Refactor SymbolTableListTraits to only have a single pointer in it, instead
of two. This shrinkifies Function by 8 bytes (104->96) and Module by 8
bytes (68->60). On a testcase of mine, this reduces the memory used to
read a module header from 565680b to 561024, a little over 4K.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36188 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
dec628eead87b20773c98a00830580df211acc98 12-Feb-2007 Chris Lattner <sabre@nondot.org> Switch ValueSymbolTable to use StringMap<Value*> instead of std::map<std::string, Value*>
as its main datastructure. There are many improvements yet to be made, but
this speeds up opt --std-compile-opts on 447.dealII by 7.3%.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34193 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
a71965b1adf6bfeddfd3b38fdf7df9b4412bc6c2 23-Sep-2006 Chris Lattner <sabre@nondot.org> add method, correct comment


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30584 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
a4f0b3a084d120cfc5b5bb06f64b222f5cb72740 27-Aug-2006 Chris Lattner <sabre@nondot.org> s|llvm/Support/Visibility.h|llvm/Support/Compiler.h|


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29911 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
9ef7e06ccef062dfa5df516913b12b7c3ca17805 29-Jun-2006 Chris Lattner <sabre@nondot.org> Use hidden visibility to reduce codesize


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28974 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
90245d4cbb7816ef21f038ec5ef7e01971283436 14-Jun-2006 Owen Anderson <resistor@mac.com> When asked not to delete useless PHIs, really don't delete them, no matter how
redundant they are.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28777 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
28962f353b16f34571b3ed3127f7e17e1c0a76f2 08-Jun-2006 Vladimir Prus <ghost@cs.msu.su> Remove dead code.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28725 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
dd49dbfe44098eb53b1ac29f017e422147572bbb 08-Jun-2006 Vladimir Prus <ghost@cs.msu.su> New method BasicBlock::getFirstNonPHI.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28724 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
6a13aed525f586fc8f475ce17ce7f6cf77ddd2f4 13-Aug-2005 Chris Lattner <sabre@nondot.org> Add a helper method


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22768 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
80f4d88a97e1b925c2ea67f932dd9c3ce1df1f8d 05-Aug-2005 Chris Lattner <sabre@nondot.org> Fix an iterator invalidation problem when we decide a phi has a constant value


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22675 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
1325b42a7dc38e99e1aa3531395d1678b31d3c55 05-Aug-2005 Chris Lattner <sabre@nondot.org> Now that hasConstantValue is more careful w.r.t. returning values that only
dominate the PHI node, this code can go away. This also makes passes more
aggressive, e.g. implementing Transforms/CondProp/phisimplify2.ll


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22670 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
a83ba0f5c934e2cdbb5724cab365ecc0b5aae6c6 05-Aug-2005 Nate Begeman <natebegeman@mac.com> Fix a fixme in CondPropagate.cpp by moving a PhiNode optimization into
BasicBlock's removePredecessor routine. This requires shuffling around
the definition and implementation of hasContantValue from Utils.h,cpp into
Instructions.h,cpp


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22664 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
9d80930e950214d026afd3a3d18cda32629efdb9 23-Apr-2005 Jeff Cohen <jeffc@jolt-lang.org> Eliminate tabs and trailing spaces


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21480 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
fd93908ae8b9684fe71c239e3c6cfe13ff6a2663 22-Apr-2005 Misha Brukman <brukman+llvm@gmail.com> Remove trailing whitespace


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21427 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
566f600779d8c28a81bb08951ec1962fe34322ab 21-Apr-2005 Chris Lattner <sabre@nondot.org> Improve doxygen, from part of Evan's patch that didn't apply.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21394 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
0f67dd6237eb7227aa58e9b77cd95f354989b891 21-Apr-2005 Chris Lattner <sabre@nondot.org> Improve doxygen documentation, patch contributed by Evan Jones!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21393 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
3464547968b58dda0acbf6e0e192f03f66652848 12-Apr-2005 Chris Lattner <sabre@nondot.org> add an argument to allow avoiding deleting phi nodes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21255 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
0d1e40728d668085257b78657b381e1f13d77d52 05-Mar-2005 Chris Lattner <sabre@nondot.org> remove all of the various setName implementations, consolidating them into
Value::setName, which is no longer virtual.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20464 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
18221ed50707342bc4c655b33a3d3dc652463811 05-Mar-2005 Chris Lattner <sabre@nondot.org> Remove the 2nd argument to Value::setName


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20458 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
ad993cbb77b26b36cee938686b3377c0d92abd5e 24-Feb-2005 Chris Lattner <sabre@nondot.org> add a new method.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20293 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
1f21ef1511ce003fc177121b980e783b83992f82 23-Feb-2005 Chris Lattner <sabre@nondot.org> make this more efficient. Scan up to 16 nodes, not the whole list.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20289 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
35f0aecdb012ba150953f6f3a98862be9c72d265 23-Feb-2005 Chris Lattner <sabre@nondot.org> Reduce the amount of searching this assertion does. On a testcase of mine,
this reduces the time for -simplifycfg in a debug build from 106s to 14.82s


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20286 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
bca81448ac8e19c588c9a4ad16fc70732b76327c 30-Jan-2005 Chris Lattner <sabre@nondot.org> Improve conformance with the Misha spelling benchmark suite


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19930 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
3cf8e6857e1e5545048fc6fb6d834d50a7b7cf8e 29-Jan-2005 Chris Lattner <sabre@nondot.org> Adjust to ilist changes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19923 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
96d83f63cdbb33c075901b1b84eb07622d86386f 29-Jan-2005 Chris Lattner <sabre@nondot.org> Adjust to changes in User class.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19892 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
f23586c7efe615d061c00c24cf62f03f7962776f 11-Dec-2004 Chris Lattner <sabre@nondot.org> Check in the file I forgot last night, to solve all of the crashes in every
test in the suite. :(


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18804 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
4b83380f330b1c77bb9b4ad8f63bdcf1a596afd6 12-Oct-2004 Chris Lattner <sabre@nondot.org> Implement remove/eraseFromParent methods


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16922 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
551ccae044b0ff658fe629dd67edd5ffe75d10e8 02-Sep-2004 Reid Spencer <rspencer@reidspencer.com> Changes For Bug 352
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16137 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
44336292fcd9f3f99cbfc2c3366bea0cf95bb675 29-Jul-2004 Misha Brukman <brukman+llvm@gmail.com> Fix #includes of i*.h files => Instructions.h as per PR403


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15327 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
a9e7781b3b8e457946491529816feab73c66d774 06-Jul-2004 Chris Lattner <sabre@nondot.org> Find bugs sooner rather than later. In this case, don't allow the creation
of instructions that don't have a first-class or void type.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14646 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
9bf2a926cbdf05c5b412ec35e72908a08a4cf34b 05-Jun-2004 Chris Lattner <sabre@nondot.org> Fix GCC warnings


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14044 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
f878218c972dc570eb50e739c2ee2b9dd75ee5dd 05-Jun-2004 Chris Lattner <sabre@nondot.org> As much as I dislike doing this, it's the only fix for VC8.0 that I can come
up with, even though it's perfectly conformant code. :(


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14034 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
ea51deb18a60d37e546909af4aa95ca6f2c5d56f 16-Apr-2004 Misha Brukman <brukman+llvm@gmail.com> Fix retriving parent Function.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13001 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
98eb6264d45a8872431bab7d1dccde0b4b7ca931 16-Apr-2004 Misha Brukman <brukman+llvm@gmail.com> Assert if deleting BasicBlock before removing it from Function.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12983 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
b171942441fc1e4bf1d09166d74f14255b872ce7 11-Feb-2004 Chris Lattner <sabre@nondot.org> Remove obsolete method


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11302 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
4f05611ed948ed1fb3e861d178aae18bd025ce1c 04-Feb-2004 Chris Lattner <sabre@nondot.org> Adjust to the new BB ctor


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11113 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
c6aa017eae3f6d9a8bf60c31c4614e5ade478e5f 04-Feb-2004 Chris Lattner <sabre@nondot.org> When splitting a basic block, insert the new half immediately after the first
half.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11110 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
f2c3106866137b0c06e99f453a83d9558c0c6934 04-Feb-2004 Chris Lattner <sabre@nondot.org> In BasicBlock::splitBasicBlock, just use islist::splice to move the instructions,
instead of a loop that is really inefficient with large basic blocks.

This speeds up the inliner pass on the testcase in PR209 from 13.8s to 2.24s
which still isn't exactly speedy, but is a lot better. :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11105 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
108e4ab159b59a616b0868e396dc7ddc1fb48616 21-Nov-2003 Chris Lattner <sabre@nondot.org> Minor cleanups and simplifications


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10127 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
f8485c643412dbff46fe87ea2867445169a5c28e 20-Nov-2003 Chris Lattner <sabre@nondot.org> Start using the nicer terminator auto-insertion API


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10111 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
d0fde30ce850b78371fd1386338350591f9ff494 11-Nov-2003 Brian Gaeke <gaeke@uiuc.edu> Put all LLVM code into the llvm namespace, as per bug 109.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
e860e0d69c9c155704cd3c4b2533410a8c782d9e 05-Nov-2003 Chris Lattner <sabre@nondot.org> Make code gcc 3.4 clean


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9719 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
b576c94c15af9a440f69d9d03c2afead7971118c 20-Oct-2003 John Criswell <criswell@uiuc.edu> Added LLVM project notice to the top of every C++ source file.
Header files will be on the way.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
1c9ab515de41707c8e04a51694a50479068e891d 25-Sep-2003 Chris Lattner <sabre@nondot.org> Do not use BasicBlock::succ_iterator


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8700 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
4bd4aa5e3c41c0fc803e960252bb6fe75b804b1d 24-Aug-2003 Chris Lattner <sabre@nondot.org> Allow specifying the name for the newly split basic block


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8097 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
02a78cf7eacf97f2c9584e29d02f77612aead35f 26-Apr-2003 Chris Lattner <sabre@nondot.org> Fix a bug that occurred when removing the last predecessor INTO an
infinite loop


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5953 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
e408e25132b8de8c757db1e3ddcd70432dfeb24d 23-Apr-2003 Chris Lattner <sabre@nondot.org> Remove unnecesary &*'s


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5872 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
6e6026b46569b01f8f6d4dcdb6c899c3a9c76b3e 20-Nov-2002 Chris Lattner <sabre@nondot.org> - Eliminated the deferred symbol table stuff in Module & Function, it really
wasn't an optimization and it was causing lots of bugs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4779 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
0b16ae209a1d0876a7ea6800bb567d925443cba3 13-Oct-2002 Chris Lattner <sabre@nondot.org> - Rename Instruction::First*Op to *OpsBegin, and Num*Ops to *OpsEnd to
reflect the fact that it's a range being defined.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4147 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
dee430d26e14a3d7c8d86688d49ac8b116aa044f 08-Oct-2002 Chris Lattner <sabre@nondot.org> Changes to support PHINode::removeIncoming changes


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4080 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
0a1a874d1f4659f02c0d4fdd6be69f1188bd0625 26-Sep-2002 Chris Lattner <sabre@nondot.org> - Add new ctor to BasicBlock to allow insertion before any BB, not just at
the end of the function.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3934 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
d1e693f2a3883dacf213aa2b477540c57b53b714 08-Sep-2002 Chris Lattner <sabre@nondot.org> Enable "garbage detection" of LLVM objects. Now users should be obnoxious
warnings. If they accidentally leak LLVM Value's.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3620 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
bded132d00ed626a6541b67ad101ef0fd47d3491 06-Sep-2002 Chris Lattner <sabre@nondot.org> Move code out of header files into .cpp files to make future changes easier


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3605 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
b2e80a69514485c36442ea849063313e6db13e09 25-Jul-2002 Chris Lattner <sabre@nondot.org> Avoid warning: control reaches end of non-void function


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3081 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
08272fbdb2dd227346789d9d9c4243dffe1ea3a6 09-Jul-2002 Vikram S. Adve <vadve@cs.uiuc.edu> Moved MachineCodeForBB to be an annotation on BasicBlock.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2818 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
7e70829632f82de15db187845666aaca6e04b792 25-Jun-2002 Chris Lattner <sabre@nondot.org> MEGAPATCH checkin.

For details, See: docs/2002-06-25-MegaPatchInfo.txt


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2779 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
89d46b0f095cf7f536c6ad40b4541b73d259445f 23-May-2002 Chris Lattner <sabre@nondot.org> Fix bug: test/Regression/Transforms/ADCE/2002-05-23-ZeroArgPHITest.ll
Which contains a description of why this is neccesary.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2733 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
87a09b10f8e03182e9edcb6e9ee8386f4a5d8dae 21-May-2002 Chris Lattner <sabre@nondot.org> Fix bug: test/Regression/Transforms/CFGSimplify/2002-05-21-PHIElimination.ll


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2694 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
c6f3ae5c66c8e0dab6a2bd9601d0e253ef9ba794 29-Apr-2002 Chris Lattner <sabre@nondot.org> Eliminate duplicate or unneccesary #include's


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2397 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
31bcdb822fe9133b1973de51519d34e5813a6184 28-Apr-2002 Chris Lattner <sabre@nondot.org> Split ConstantVals.h into Constant.h and Constants.h


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2378 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
b7653df0853f06112b741be09f1b7ae5a6aa6fde 09-Apr-2002 Chris Lattner <sabre@nondot.org> s/Method/Function


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2180 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
1907aba9f4a2e4b9abb41657a37c3ea8be35248c 08-Apr-2002 Chris Lattner <sabre@nondot.org> Move include/llvm/ValueHolderImpl.h to lib/VMCore/ValueHolderImpl.h


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2156 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
e8e320d2faa997605c76a7c3ab9e9b4fb578e8c0 25-Feb-2002 Chris Lattner <sabre@nondot.org> Fix bug: test/Regression/Other/2002-02-24-InlineBrokePHINodes.ll


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1798 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
455889aa79e3463a4b0f2161e3d9d72a683268b6 12-Feb-2002 Chris Lattner <sabre@nondot.org> * Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and into
llvm/Support/CFG.h
* Make pred & succ iterators for intervals global functions
* Add #includes that are now neccesary because BasicBlock.h doesn't include
InstrTypes.h anymore


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1750 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
697954c15da58bd8b186dbafdedd8b06db770201 20-Jan-2002 Chris Lattner <sabre@nondot.org> Changes to build successfully with GCC 3.02


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1503 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
e9bb2df410f7a22decad9a883f7139d5857c1520 03-Dec-2001 Chris Lattner <sabre@nondot.org> Rename ConstPoolVal -> Constant
Rename ConstPool* -> Constant*
Rename ConstPoolVals.h -> ConstantVals.h


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1407 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
7061dc50b2513731d7b346ab16183cda4a44619f 03-Dec-2001 Chris Lattner <sabre@nondot.org> Split the PHINode class out from the iOther.h file into the iPHINode.h file


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1405 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
b00c582b6d40e6b9ff2d1ed4f5eaf7930e792ace 02-Oct-2001 Chris Lattner <sabre@nondot.org> Commit more code over to new cast style


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@697 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
1d87bcf4909b06dcd86320722653341f08b8b396 01-Oct-2001 Chris Lattner <sabre@nondot.org> Convert more code to use new style casts
Eliminate old style casts from value.h


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@696 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
f0604b84c7273fc2503454ecaa198eaee5b615bd 01-Oct-2001 Chris Lattner <sabre@nondot.org> Pull predecessor and successor iterators out of the CFG*.h files, and plop them into
the BasicBlock class where they should be. pred_begin/pred_end become methods on BasicBlock,
and the cfg namespace isn't used anymore.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@691 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
6892b126e3d3b90f13744cc1a7c83fd7f8d615f2 07-Sep-2001 Chris Lattner <sabre@nondot.org> Support new setName itf


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@459 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
b63933975f7d7381bc4310925ce2a7ceb6095a88 30-Jul-2001 Vikram S. Adve <vadve@cs.uiuc.edu> Added vector of machine instructions for the basic block.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
a3d3c2b64545c00f70453642e5d84b028dfce671 14-Jul-2001 Chris Lattner <sabre@nondot.org> * ValueHolder now takes 3 arguments
* Added a few methods to ConstantPool
* ConstPoolVal no longer derives from Value
* Method & Module multiply inherit from SymTabValue & Value now
* Added a GetElementPtrInst::isStructSelector() method


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
b47af25099cac5c59795d6f1eb3b7cf9f962b32f 29-Jun-2001 Chris Lattner <sabre@nondot.org> Add implementation of BasicBlock::removePredecessor code that was factored
out of DCE.cpp


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
7fc9fe34390c66ca58646d09a87f7dbaacb6c1f8 28-Jun-2001 Chris Lattner <sabre@nondot.org> Miscellaneous cleanups:
* Convert post to pre-increment for for loops
* Use generic programming more
* Use new Value::cast* instructions
* Use new Module, Method, & BasicBlock forwarding methods
* Use new facilities in STLExtras.h
* Use new Instruction::isPHINode() method


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp
009505452b713ed2e3a8e99c5545a6e721c65495 06-Jun-2001 Chris Lattner <sabre@nondot.org> Initial revision


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/BasicBlock.cpp