aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add some comments, add a new getGlobalVariable methodChris Lattner2003-12-311-4/+28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10670 91177308-0d34-0410-b5e6-96231b3b80d8
* Add missing #includeChris Lattner2003-12-311-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10669 91177308-0d34-0410-b5e6-96231b3b80d8
* * Make Module::getTypeName constChris Lattner2003-12-312-17/+28
| | | | | | | | * Add new Module::getTypeByName method * Group methods in Module.cpp better git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10668 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the lookup method const.Chris Lattner2003-12-312-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10667 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a bunch of fine tunings that Reid contributed. Thanks Reid!Chris Lattner2003-12-316-10/+137
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10666 91177308-0d34-0410-b5e6-96231b3b80d8
* add new functionChris Lattner2003-12-312-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10665 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new functionChris Lattner2003-12-311-0/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10664 91177308-0d34-0410-b5e6-96231b3b80d8
* clarify commentsChris Lattner2003-12-312-20/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10663 91177308-0d34-0410-b5e6-96231b3b80d8
* New class, useful for command-line interactive programs.Chris Lattner2003-12-313-0/+206
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10662 91177308-0d34-0410-b5e6-96231b3b80d8
* doxygenifyChris Lattner2003-12-312-8/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10661 91177308-0d34-0410-b5e6-96231b3b80d8
* testcase for PR198Chris Lattner2003-12-311-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10660 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR198Chris Lattner2003-12-311-8/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10659 91177308-0d34-0410-b5e6-96231b3b80d8
* Add commentsChris Lattner2003-12-311-2/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10658 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor code cleanups. The only bugfix is to the UR_DEBUG stuff which didn'tChris Lattner2003-12-311-15/+20
| | | | | | | compile when enabled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10657 91177308-0d34-0410-b5e6-96231b3b80d8
* Updated from files in llvm/autoconf. This was done immediently followingJohn Criswell2003-12-301-38/+26
| | | | | | | the renaming of aclocal.m4 to acinclude.m4. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10656 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved aclocal.m4 to acinclude.m4. To re-generate the configure script,John Criswell2003-12-301-0/+0
| | | | | | | | | | | | | | do the following: % cd llvm/autoconf % aclocal % autoconf -o ../configure This changes facilitaties the following: 1) It should be easier to incorporate new autoconf macros. 2) It allows for conversion to Automake (should we ever desire it). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10655 91177308-0d34-0410-b5e6-96231b3b80d8
* remove some useless #includesChris Lattner2003-12-301-9/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10654 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove some pointless #includesChris Lattner2003-12-301-6/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10653 91177308-0d34-0410-b5e6-96231b3b80d8
* Use getFileSize() instead of sys/stat.h directlyChris Lattner2003-12-301-9/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10652 91177308-0d34-0410-b5e6-96231b3b80d8
* Use new getFileSize function. Eliminate some using directives. Reorder ↵Chris Lattner2003-12-301-27/+20
| | | | | | #includes a bit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10651 91177308-0d34-0410-b5e6-96231b3b80d8
* Use new getFileSize function instead of sys/stat.h directly.Chris Lattner2003-12-304-28/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10650 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new methodChris Lattner2003-12-301-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10649 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new functionChris Lattner2003-12-302-56/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10648 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a -disable-opt flag to gccas, so that we can use -Wa,-disable-opt justChris Lattner2003-12-301-0/+7
| | | | | | | like -Wl,-disable-opt git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10647 91177308-0d34-0410-b5e6-96231b3b80d8
* Further revisions of the FDHandle idea. In this version we use ownershipChris Lattner2003-12-303-18/+44
| | | | | | | | semantics that are the same as those used by std::auto_ptr. This allows copying of FDHandle's, but copying transfers ownership. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10646 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new class useful for providing fully materialized modules to ↵Chris Lattner2003-12-301-0/+12
| | | | | | ExecutionEngine's git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10645 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow C++ programs to end in .cc. This allows C++ test programs in theJohn Criswell2003-12-291-1/+2
| | | | | | | test suite to compile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10644 91177308-0d34-0410-b5e6-96231b3b80d8
* Add trivial exception specs to produce better code since the methods cannotChris Lattner2003-12-293-9/+9
| | | | | | | be inlined. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10643 91177308-0d34-0410-b5e6-96231b3b80d8
* Factor FDHandle out of the bytecode reader into the FileUtilities.h supportChris Lattner2003-12-294-16/+69
| | | | | | | routines. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10642 91177308-0d34-0410-b5e6-96231b3b80d8
* implement new getToken functionChris Lattner2003-12-291-0/+43
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10639 91177308-0d34-0410-b5e6-96231b3b80d8
* add new functionChris Lattner2003-12-292-0/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10638 91177308-0d34-0410-b5e6-96231b3b80d8
* What do you know, we actually do accomplish some things around here :)Chris Lattner2003-12-281-11/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10637 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up a lot of the code I added yesterday by exposing the IntrinsicLoweringChris Lattner2003-12-2821-107/+76
| | | | | | | implementation from the TargetMachine directly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10636 91177308-0d34-0410-b5e6-96231b3b80d8
* Reserve ECX and EDI instead of EBX and EDI. Since EBX is a calleeAlkis Evlogimenos2003-12-281-8/+8
| | | | | | | | | saved register it has a longer free range than ECX (which is defined every time there is a fnuction call) which makes ECX a better register to reserve. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10635 91177308-0d34-0410-b5e6-96231b3b80d8
* Add coalescing to register allocator. A hint is added to each intervalAlkis Evlogimenos2003-12-285-2/+32
| | | | | | | | | | | | which denotes the register we would like to be assigned to (virtual or physical). In register allocation, if this hint exists and we can map it to a physical register (it is either a physical register or it is a virtual register that already got assigned to a physical one) we use that register if it is available instead of a random one in the free pool. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10634 91177308-0d34-0410-b5e6-96231b3b80d8
* Add TargetInstrInfo::isMoveInstr() to support coalescing in registerAlkis Evlogimenos2003-12-283-0/+33
| | | | | | | allocation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10633 91177308-0d34-0410-b5e6-96231b3b80d8
* Whoops, don't try to lower non intrinsic callsChris Lattner2003-12-284-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10632 91177308-0d34-0410-b5e6-96231b3b80d8
* Pass extra arguments around n stuphChris Lattner2003-12-282-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10631 91177308-0d34-0410-b5e6-96231b3b80d8
* We may now pass IntrinsicLowering implementations into these methodsChris Lattner2003-12-282-17/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10630 91177308-0d34-0410-b5e6-96231b3b80d8
* implement support for the intrinsic lowering functionalityChris Lattner2003-12-288-59/+126
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10629 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate some code that is not needed now that we have the intrinsic ↵Chris Lattner2003-12-284-58/+30
| | | | | | lowering pass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10628 91177308-0d34-0410-b5e6-96231b3b80d8
* Pass around IntrinsicLowering instances as appropriate.Chris Lattner2003-12-287-50/+74
| | | | | | | Reimplement the Interpreters implementation of va_* to be more direct. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10627 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the intrinsic lowering functionalityChris Lattner2003-12-282-30/+88
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10626 91177308-0d34-0410-b5e6-96231b3b80d8
* add argumentChris Lattner2003-12-281-4/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10625 91177308-0d34-0410-b5e6-96231b3b80d8
* ABC's must have virtual dtors! Shame on me!Chris Lattner2003-12-282-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10624 91177308-0d34-0410-b5e6-96231b3b80d8
* Move into the VMCore libraryChris Lattner2003-12-282-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10623 91177308-0d34-0410-b5e6-96231b3b80d8
* Move header into top-level llvm dirChris Lattner2003-12-282-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10622 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the default implementation of the intrinsic lowering classChris Lattner2003-12-282-0/+114
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10621 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new interface that allows removal of some code from the code generators,Chris Lattner2003-12-282-0/+126
| | | | | | | | | provides for future extensibility, might help the LLVA project avoid having to hack their own LLI, and provides support required for the experimental Venus project. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10620 91177308-0d34-0410-b5e6-96231b3b80d8
* finegrainify namespacificationChris Lattner2003-12-281-9/+7
| | | | | | | minor cleanups git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10619 91177308-0d34-0410-b5e6-96231b3b80d8