summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore
Commit message (Collapse)AuthorAgeFilesLines
* add an argument to allow avoiding deleting phi nodes.Chris Lattner2005-04-121-6/+9
| | | | llvm-svn: 21255
* First step in adding pcmarker intrinsic. Second step (soon) is adding ↵Andrew Lenharth2005-03-282-0/+6
| | | | | | backend support. llvm-svn: 20900
* Add new function getPtrPtrFromArrayPtr().Alkis Evlogimenos2005-03-191-0/+7
| | | | llvm-svn: 20684
* Convert tabs to spacesMisha Brukman2005-03-161-5/+5
| | | | llvm-svn: 20638
* stop using arg_frontChris Lattner2005-03-151-1/+1
| | | | llvm-svn: 20599
* This mega patch converts us from using Function::a{iterator|begin|end} toChris Lattner2005-03-154-10/+10
| | | | | | | | using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! llvm-svn: 20597
* correct the computation of the isAbstract bit for types.Chris Lattner2005-03-091-3/+8
| | | | llvm-svn: 20533
* Fix a typo in an assertion comment.Reid Spencer2005-03-091-1/+1
| | | | | | Patch contributed by Vladimir Merzliakov. llvm-svn: 20529
* rename insertEntry to insertChris Lattner2005-03-061-1/+2
| | | | llvm-svn: 20484
* Merge SymbolTable::removeEntry into SymbolTable::remove, its only callerChris Lattner2005-03-061-28/+21
| | | | llvm-svn: 20483
* Delete the really inefficient method: void remove(const Type* Typ);Chris Lattner2005-03-061-18/+2
| | | | | | | | | | Speed up the symbol stripping code by avoiding a linear search of the type table. Get rid of removeEntry(type_iterator), since 'remove' is exactly the same operation. llvm-svn: 20481
* Remove some really gross and hard to understand code now thatChris Lattner2005-03-061-27/+6
| | | | | | InternallyInconsistent is always false. llvm-svn: 20477
* Simplify some code.Chris Lattner2005-03-061-7/+5
| | | | llvm-svn: 20476
* remove these methods.Chris Lattner2005-03-061-42/+0
| | | | llvm-svn: 20474
* This fixes PR531, a crash when running the CBE on a bytecode file.Chris Lattner2005-03-062-4/+50
| | | | | | | | | | | | | | | | | | The problem is that Function::renameLocalSymbols is iterating through the symbol table planes, occasionally calling setName to rename a value (which used to do a symbol table remove/insert pair). The problem is that if there is only a single value in a particular type plane that the remove will nuke the symbol table plane, and the insert will create and insert a new one. This hoses Function::renameLocalSymbols because it has an iterator to the old plane, under the (very reasonable) assumption that simply renaming a value won't cause the type plane to disappear. This patch fixes the bug by making the rename operation a single atomic operation, which has a side effect of making the whole thing faster too. :) llvm-svn: 20469
* remove all of the various setName implementations, consolidating them intoChris Lattner2005-03-056-50/+28
| | | | | | Value::setName, which is no longer virtual. llvm-svn: 20464
* 2nd arg to setName goes away.Chris Lattner2005-03-051-8/+5
| | | | llvm-svn: 20460
* Constants never get names.Chris Lattner2005-03-051-5/+2
| | | | llvm-svn: 20459
* Remove the 2nd argument to Value::setNameChris Lattner2005-03-054-17/+6
| | | | llvm-svn: 20458
* Fix the spelling of the word `the'Misha Brukman2005-03-021-1/+1
| | | | llvm-svn: 20412
* Print the module ID as a comment.Chris Lattner2005-03-021-0/+6
| | | | llvm-svn: 20411
* Fix a nasty order of evaluation bug that Gabor Greif ran into. Here's anChris Lattner2005-03-021-1/+2
| | | | | | | | | | | | | | | | | explanation from IRC: |sabre| I think it's an order of evaluation thing |sabre| for me, the RHS of the assignment is evaluated first |sabre| getTypeDescription checks to see if ConcreteTypeDescription[Ty] contains anything |sabre| since it doesn't, it computes and returns the value |sabre| this gets put into the map. |sabre| For you, the LHS is evaluated first. |sabre| Map[Ty] (aka ConcreteTypeDescriptions[Ty]) inserts an empty string into the map, returning a reference |sabre| getTypeDesc then sees the empty string in the map |sabre| and returns it |sabre| bork :) llvm-svn: 20394
* recognize llvm.prefetch. Patch contributed by Justin Wick!Chris Lattner2005-02-281-0/+3
| | | | llvm-svn: 20377
* Verify llvm.prefetch.Chris Lattner2005-02-281-0/+2
| | | | llvm-svn: 20376
* Fix some problems where the verifier would crash on invalid input instead ofChris Lattner2005-02-242-3/+7
| | | | | | reporting the problem and exiting. llvm-svn: 20302
* switch instructions only allow constantints for their values, be more specific.Chris Lattner2005-02-241-1/+1
| | | | llvm-svn: 20298
* add a new method.Chris Lattner2005-02-241-0/+10
| | | | llvm-svn: 20293
* make this more efficient. Scan up to 16 nodes, not the whole list.Chris Lattner2005-02-231-1/+1
| | | | llvm-svn: 20289
* new methodChris Lattner2005-02-231-0/+13
| | | | llvm-svn: 20288
* Reduce the amount of searching this assertion does. On a testcase of mine,Chris Lattner2005-02-231-1/+3
| | | | | | this reduces the time for -simplifycfg in a debug build from 106s to 14.82s llvm-svn: 20286
* Nuke blank line.Chris Lattner2005-02-131-1/+0
| | | | llvm-svn: 20154
* Fix test/Regression/Assembler/2005-02-09-AsmWriterStoreBug.llChris Lattner2005-02-091-1/+1
| | | | llvm-svn: 20089
* Instead of initializing the volatile field, use accessors to set it.Chris Lattner2005-02-051-11/+16
| | | | llvm-svn: 20045
* Initialize new field.Chris Lattner2005-02-051-1/+2
| | | | llvm-svn: 20044
* Updates for new use list changes.Chris Lattner2005-02-011-6/+23
| | | | llvm-svn: 19961
* Update for API change.Chris Lattner2005-02-011-1/+1
| | | | llvm-svn: 19960
* Improve conformance with the Misha spelling benchmark suiteChris Lattner2005-01-303-5/+5
| | | | llvm-svn: 19930
* Adjust to ilist changes.Chris Lattner2005-01-293-5/+5
| | | | llvm-svn: 19923
* Make sure that we always grow a multiple of 2 operands.Chris Lattner2005-01-291-2/+3
| | | | llvm-svn: 19902
* Adjust to changes in User class.Chris Lattner2005-01-294-18/+18
| | | | llvm-svn: 19892
* Merge InstrTypes.cpp into this fileChris Lattner2005-01-291-193/+424
| | | | | | | | Adjust to changes in the User class, operand handling is very different. PHI node and switch statements must handle explicit resizing of operand lists. llvm-svn: 19891
* Adjust to changes in User class. Aggregate constants now must explicitlyChris Lattner2005-01-291-46/+81
| | | | | | manage their operands. llvm-svn: 19890
* This file is now merged into Instructions.cppChris Lattner2005-01-291-64/+0
| | | | llvm-svn: 19889
* Fix a nasty thinko in my previous commit.Chris Lattner2005-01-281-1/+1
| | | | llvm-svn: 19881
* Fix ConstProp/2005-01-28-SetCCGEP.ll: indexing over zero sized elements doesChris Lattner2005-01-281-5/+36
| | | | | | not change the address. llvm-svn: 19874
* Fix grammarMisha Brukman2005-01-272-2/+2
| | | | llvm-svn: 19854
* Use binary mode for reading/writing bytecode filesJeff Cohen2005-01-221-4/+4
| | | | llvm-svn: 19751
* Make this compatible with the HP/intel compiler. Fix by Duraid, thanks!Chris Lattner2005-01-141-1/+1
| | | | llvm-svn: 19548
* Allow arrays to have more than 4G elements.Chris Lattner2005-01-081-5/+5
| | | | llvm-svn: 19395
* Add convenience method.Chris Lattner2005-01-071-0/+4
| | | | llvm-svn: 19321
OpenPOWER on IntegriCloud