| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | core changes for varargs | Andrew Lenharth | 2005-06-18 | 4 | -12/+3 |
| | | | | | llvm-svn: 22254 | ||||
| * | Some cleanups for compilation with GCC 4.0.0 to remove warnings: | Reid Spencer | 2005-05-15 | 1 | -0/+3 |
| | | | | | | | | * Use C++ style casts, not C style casts * Abstract base classes should have virtual destructor. llvm-svn: 22057 | ||||
| * | Verify that varargs functions all have ccc | Chris Lattner | 2005-05-08 | 1 | -1/+5 |
| | | | | | llvm-svn: 21792 | ||||
| * | add support for explicit calling conventions | Chris Lattner | 2005-05-06 | 3 | -3/+44 |
| | | | | | llvm-svn: 21746 | ||||
| * | Add a 'tail' marker for call instructions, patch contributed by | Chris Lattner | 2005-05-06 | 3 | -2/+9 |
| | | | | | | | Alexander Friedman. llvm-svn: 21722 | ||||
| * | Implement count leading zeros (ctlz), count trailing zeros (cttz), and count | Andrew Lenharth | 2005-05-03 | 2 | -0/+17 |
| | | | | | | | | | | population (ctpop). Generic lowering is implemented, however only promotion is implemented for SelectionDAG at the moment. More coming soon. llvm-svn: 21676 | ||||
| * | fix a bug in the 1 index GEP handling code | Chris Lattner | 2005-05-03 | 1 | -1/+1 |
| | | | | | llvm-svn: 21670 | ||||
| * | add direct support for making GEP instrs with one index | Chris Lattner | 2005-05-03 | 1 | -0/+31 |
| | | | | | llvm-svn: 21665 | ||||
| * | Use ANSI-approved way of getting the value infinity (otherwise VC++ won't ↵ | Jeff Cohen | 2005-05-03 | 1 | -3/+4 |
| | | | | | | | compile it) llvm-svn: 21662 | ||||
| * | fold fp div by 0 to inf, the way gcc does. This is legal according to the ↵ | Andrew Lenharth | 2005-05-02 | 1 | -0/+7 |
| | | | | | | | FP spec llvm-svn: 21655 | ||||
| * | Add llvm.sqrt intrinsic, patch contributed by Morten Ofstad | Chris Lattner | 2005-04-30 | 2 | -0/+11 |
| | | | | | llvm-svn: 21627 | ||||
| * | Unbreak the sparc backend. | Chris Lattner | 2005-04-27 | 1 | -2/+4 |
| | | | | | llvm-svn: 21598 | ||||
| * | don't let Reid build void*'s :) | Chris Lattner | 2005-04-26 | 1 | -0/+2 |
| | | | | | llvm-svn: 21571 | ||||
| * | Make dominates(A,B) work with post dominators. Patch contributed by | Chris Lattner | 2005-04-25 | 1 | -2/+7 |
| | | | | | | | Naveen Neelakantam, thanks! llvm-svn: 21543 | ||||
| * | Older compilers won't like the inline virtual destructor in the header file | Reid Spencer | 2005-04-25 | 1 | -0/+3 |
| | | | | | | | so we put the destructor in Pass.cpp and make it non-inline. llvm-svn: 21520 | ||||
| * | Shut GCC 4.0 up about classes with virtual functions but no virtual | Reid Spencer | 2005-04-24 | 1 | -0/+5 |
| | | | | | | | destructor. llvm-svn: 21510 | ||||
| * | Allow these methods to take a generic Value* to simplify clients. Use | Chris Lattner | 2005-04-24 | 1 | -11/+12 |
| | | | | | | | const_cast instead of c casts. llvm-svn: 21493 | ||||
| * | Fix a bug in my previous checkin | Chris Lattner | 2005-04-23 | 1 | -22/+22 |
| | | | | | llvm-svn: 21485 | ||||
| * | Add a method, remove last use of Type.def | Chris Lattner | 2005-04-23 | 1 | -2/+28 |
| | | | | | llvm-svn: 21483 | ||||
| * | Eliminate tabs and trailing spaces | Jeff Cohen | 2005-04-23 | 2 | -4/+4 |
| | | | | | llvm-svn: 21480 | ||||
| * | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 22 | -386/+386 |
| | | | | | llvm-svn: 21427 | ||||
| * | Improve doxygen, from part of Evan's patch that didn't apply. | Chris Lattner | 2005-04-21 | 1 | -6/+6 |
| | | | | | llvm-svn: 21394 | ||||
| * | Improve doxygen documentation, patch contributed by Evan Jones! | Chris Lattner | 2005-04-21 | 1 | -11/+11 |
| | | | | | llvm-svn: 21393 | ||||
| * | add an argument to allow avoiding deleting phi nodes. | Chris Lattner | 2005-04-12 | 1 | -6/+9 |
| | | | | | llvm-svn: 21255 | ||||
| * | First step in adding pcmarker intrinsic. Second step (soon) is adding ↵ | Andrew Lenharth | 2005-03-28 | 2 | -0/+6 |
| | | | | | | | backend support. llvm-svn: 20900 | ||||
| * | Add new function getPtrPtrFromArrayPtr(). | Alkis Evlogimenos | 2005-03-19 | 1 | -0/+7 |
| | | | | | llvm-svn: 20684 | ||||
| * | Convert tabs to spaces | Misha Brukman | 2005-03-16 | 1 | -5/+5 |
| | | | | | llvm-svn: 20638 | ||||
| * | stop using arg_front | Chris Lattner | 2005-03-15 | 1 | -1/+1 |
| | | | | | llvm-svn: 20599 | ||||
| * | This mega patch converts us from using Function::a{iterator|begin|end} to | Chris Lattner | 2005-03-15 | 4 | -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 Lattner | 2005-03-09 | 1 | -3/+8 |
| | | | | | llvm-svn: 20533 | ||||
| * | Fix a typo in an assertion comment. | Reid Spencer | 2005-03-09 | 1 | -1/+1 |
| | | | | | | | Patch contributed by Vladimir Merzliakov. llvm-svn: 20529 | ||||
| * | rename insertEntry to insert | Chris Lattner | 2005-03-06 | 1 | -1/+2 |
| | | | | | llvm-svn: 20484 | ||||
| * | Merge SymbolTable::removeEntry into SymbolTable::remove, its only caller | Chris Lattner | 2005-03-06 | 1 | -28/+21 |
| | | | | | llvm-svn: 20483 | ||||
| * | Delete the really inefficient method: void remove(const Type* Typ); | Chris Lattner | 2005-03-06 | 1 | -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 that | Chris Lattner | 2005-03-06 | 1 | -27/+6 |
| | | | | | | | InternallyInconsistent is always false. llvm-svn: 20477 | ||||
| * | Simplify some code. | Chris Lattner | 2005-03-06 | 1 | -7/+5 |
| | | | | | llvm-svn: 20476 | ||||
| * | remove these methods. | Chris Lattner | 2005-03-06 | 1 | -42/+0 |
| | | | | | llvm-svn: 20474 | ||||
| * | This fixes PR531, a crash when running the CBE on a bytecode file. | Chris Lattner | 2005-03-06 | 2 | -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 into | Chris Lattner | 2005-03-05 | 6 | -50/+28 |
| | | | | | | | Value::setName, which is no longer virtual. llvm-svn: 20464 | ||||
| * | 2nd arg to setName goes away. | Chris Lattner | 2005-03-05 | 1 | -8/+5 |
| | | | | | llvm-svn: 20460 | ||||
| * | Constants never get names. | Chris Lattner | 2005-03-05 | 1 | -5/+2 |
| | | | | | llvm-svn: 20459 | ||||
| * | Remove the 2nd argument to Value::setName | Chris Lattner | 2005-03-05 | 4 | -17/+6 |
| | | | | | llvm-svn: 20458 | ||||
| * | Fix the spelling of the word `the' | Misha Brukman | 2005-03-02 | 1 | -1/+1 |
| | | | | | llvm-svn: 20412 | ||||
| * | Print the module ID as a comment. | Chris Lattner | 2005-03-02 | 1 | -0/+6 |
| | | | | | llvm-svn: 20411 | ||||
| * | Fix a nasty order of evaluation bug that Gabor Greif ran into. Here's an | Chris Lattner | 2005-03-02 | 1 | -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 Lattner | 2005-02-28 | 1 | -0/+3 |
| | | | | | llvm-svn: 20377 | ||||
| * | Verify llvm.prefetch. | Chris Lattner | 2005-02-28 | 1 | -0/+2 |
| | | | | | llvm-svn: 20376 | ||||
| * | Fix some problems where the verifier would crash on invalid input instead of | Chris Lattner | 2005-02-24 | 2 | -3/+7 |
| | | | | | | | reporting the problem and exiting. llvm-svn: 20302 | ||||
| * | switch instructions only allow constantints for their values, be more specific. | Chris Lattner | 2005-02-24 | 1 | -1/+1 |
| | | | | | llvm-svn: 20298 | ||||
| * | add a new method. | Chris Lattner | 2005-02-24 | 1 | -0/+10 |
| | | | | | llvm-svn: 20293 | ||||

