summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Start adding to the meat of MachineCodeEmitterChris Lattner2002-12-021-1/+19
| | | | llvm-svn: 4869
* Eliminate OtherFrmChris Lattner2002-12-021-10/+6
| | | | llvm-svn: 4868
* Remove commentChris Lattner2002-12-021-7/+0
| | | | | | Remove handling of OtherFrm llvm-svn: 4867
* Initial support for machine code emissionChris Lattner2002-12-023-0/+81
| | | | llvm-svn: 4866
* Add initial support for machine code emissionChris Lattner2002-12-021-0/+21
| | | | llvm-svn: 4865
* Initial version of MachineCodeEmitter interface: emptyChris Lattner2002-12-021-0/+20
| | | | llvm-svn: 4864
* The hopefully final version of addPassesToEmitMachineCode which does notChris Lattner2002-12-021-3/+2
| | | | | | have any question about ownership llvm-svn: 4863
* Ignore generated files gram.tab.c and gram.tab.hMisha Brukman2002-12-021-0/+1
| | | | llvm-svn: 4862
* Ignore generated files Lexer.cpp and llvmAsmParser.*Misha Brukman2002-12-021-0/+2
| | | | llvm-svn: 4861
* Ignore generated files FileLexer.* and FileParser.*Misha Brukman2002-12-021-0/+2
| | | | llvm-svn: 4860
* Add comment about ownership semanticsChris Lattner2002-12-021-1/+2
| | | | llvm-svn: 4859
* * Abstracted out stack space allocation into its own functionMisha Brukman2002-12-021-34/+36
| | | | | | * Added saving of register values to the stack llvm-svn: 4858
* Fix order of operands on a store from reg to [reg+offset].Misha Brukman2002-12-021-2/+2
| | | | llvm-svn: 4857
* Add stub to emit machine code for JITChris Lattner2002-12-021-7/+19
| | | | llvm-svn: 4856
* Continued support for field intitializersChris Lattner2002-12-022-17/+36
| | | | llvm-svn: 4855
* Continued support for field initializerChris Lattner2002-12-021-11/+46
| | | | llvm-svn: 4854
* Continued support for Field InitializerChris Lattner2002-12-021-14/+42
| | | | llvm-svn: 4853
* Adjustments due to new FieldInit stuffChris Lattner2002-12-021-6/+12
| | | | llvm-svn: 4852
* Add comments, factor out common codeChris Lattner2002-12-021-10/+22
| | | | llvm-svn: 4851
* Add support for field exprsChris Lattner2002-12-021-0/+7
| | | | llvm-svn: 4850
* * Move BitsInit::resolveReferences up with the rest of BitsInit codeChris Lattner2002-12-021-19/+25
| | | | | | * Initial support for field expressions llvm-svn: 4849
* Initial support for Field ExpressionsChris Lattner2002-12-021-0/+34
| | | | llvm-svn: 4848
* Add correct dependencyChris Lattner2002-12-021-4/+3
| | | | llvm-svn: 4847
* Split up targetsChris Lattner2002-12-021-2/+7
| | | | llvm-svn: 4846
* Add commentsChris Lattner2002-12-021-0/+44
| | | | llvm-svn: 4845
* Make sure to build lib/Support before the utilities, then use the newChris Lattner2002-12-021-1/+1
| | | | | | makefile in utils to build the utilities llvm-svn: 4844
* Initial checkin of TableGen utilityChris Lattner2002-12-026-0/+1704
| | | | llvm-svn: 4843
* Add makefile to build subdirsChris Lattner2002-12-021-0/+4
| | | | llvm-svn: 4842
* Add rawfrm flagsChris Lattner2002-12-012-7/+26
| | | | llvm-svn: 4841
* Don't add implicit regsChris Lattner2002-12-011-1/+1
| | | | llvm-svn: 4840
* brgBrian Gaeke2002-11-301-49/+74
| | | | | | | | InstSelectSimple.cpp: Refactor out conversion of byte, short -> int from visitReturnInst() to new method, promote32(). Use it in both visitReturnInst() and visitCallInst(). llvm-svn: 4839
* brgBrian Gaeke2002-11-292-4/+27
| | | | | | | | | InstSelectSimple.cpp: First draft of visitCallInst method, handling int/float args. X86InstrInfo.def: Add entries for CALL with 32-bit pc relative arg, and PUSH with 32-bit reg arg. llvm-svn: 4838
* Several fixes:Vikram S. Adve2002-11-271-18/+47
| | | | | | | | | | | (1) Applied patch from Casey to implement iterator::operator= correctly: it should use a pointer, not a reference. (2) Added operators == and !=, and method all(). (3) Important bug fix: excess bits need to be ignored in operations like ==, count(), and all(). We do this by ensuring excess bits in the last bitset are always 0. llvm-svn: 4837
* Fix logical error in TD pass: we should clear Mod/Ref bits of each callerVikram S. Adve2002-11-273-8/+17
| | | | | | | before inlining their graphs into a function. To support this, added flags to CloneFlags to strip/keep Mod/Ref bits. llvm-svn: 4836
* Added flags to CloneFlags to strip/keep Mod/Ref bits when cloning a graph.Vikram S. Adve2002-11-271-0/+1
| | | | llvm-svn: 4835
* No longer need local graph to find call sites.Vikram S. Adve2002-11-271-7/+5
| | | | | | Also some major fixes within IPModRef.cpp. llvm-svn: 4834
* (1) Bug fix that was causing nodes with dangling references to be freed.Vikram S. Adve2002-11-271-77/+201
| | | | | | | | | | We run removeDeadNodes() on the TD graph up front before using it. (2) Major enhancement to printing of results: now we list the actual objects that are mod/ref instead of just printing the bit vectors. Also an important bug fix in TDDataStructures pass (no change here): clear Mod/Ref bits of callers before inlining into a function. llvm-svn: 4833
* brgBrian Gaeke2002-11-261-3/+33
| | | | | | | InstSelectSimple.cpp: Add some comments that say what I'm going to do for calls and casts. llvm-svn: 4832
* Keep global nodes in each DS Graph (by forcing them to be marked live).Vikram S. Adve2002-11-251-3/+3
| | | | llvm-svn: 4831
* Oops. Got the MOVrm and MOVmr mixed up. Fixed. We can now print outMisha Brukman2002-11-221-2/+2
| | | | | | instructions correctly. llvm-svn: 4830
* Enable the register allocator pass.Misha Brukman2002-11-221-1/+5
| | | | llvm-svn: 4829
* A simple (spilling) register allocator.Misha Brukman2002-11-221-0/+219
| | | | llvm-svn: 4828
* Added methods to read/write values to stack in .h, fixed implementation inMisha Brukman2002-11-222-21/+39
| | | | | | .cpp to return the iterator correctly. llvm-svn: 4827
* Added -*- C++ -*- mode to the comments.Misha Brukman2002-11-221-1/+1
| | | | llvm-svn: 4826
* Add a simple way to add memory locations of format [reg+offset]Misha Brukman2002-11-221-0/+9
| | | | llvm-svn: 4825
* Added virtual functions for storing and retrieving values from the stack.Misha Brukman2002-11-221-9/+14
| | | | llvm-svn: 4824
* Instead of checking op.getType() against MO_VirtualRegister andMisha Brukman2002-11-221-0/+14
| | | | | | | | | | MO_MachineRegister, we no longer distinguish Virtual vs. Machine registers externally, they're ALL registers, all equal. Registers are only differentiated whether they are >= MRegisterInfo::FirstVirtual or not. llvm-svn: 4823
* Set SSARegMap to NULL after deleting it.Misha Brukman2002-11-221-1/+4
| | | | llvm-svn: 4822
* lib/Target/X86/InstSelectSimple.cpp: Add visitCallInst, visitCastInst.Brian Gaeke2002-11-221-0/+14
| | | | llvm-svn: 4821
* Make testcase more interestingChris Lattner2002-11-211-0/+3
| | | | llvm-svn: 4820
OpenPOWER on IntegriCloud