Vikram S. Adve [Tue, 10 Dec 2002 13:07:12 +0000 (13:07 +0000)]
This file provides the function DemoteRegToStack(), which takes a
virtual register computed by an Instruction& X and replaces it with
a slot in the stack frame, allocated via alloca.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4963
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Tue, 10 Dec 2002 00:43:34 +0000 (00:43 +0000)]
This file implements a pass that automatically parallelizes a program,
using the Cilk multi-threaded runtime system to execute parallel code.
The current version inserts too many sync() operations in the program
because it does not attempt to optimize their placement.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4962
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Tue, 10 Dec 2002 00:42:22 +0000 (00:42 +0000)]
The pass Parallelize automatically parallelizes a program using the
Cilk multi-threaded runtime system to execute parallel code. This file
exposes some routines needed for code generation for that pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4961
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 9 Dec 2002 05:53:11 +0000 (05:53 +0000)]
Fix link errors due to new IPModRef pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4960
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 9 Dec 2002 04:46:25 +0000 (04:46 +0000)]
Repeat ipa.a. Since IPModRef is currently only used in analysis.o,
it was causing linking errors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4959
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Sun, 8 Dec 2002 14:13:19 +0000 (14:13 +0000)]
Iterator that enumerates the ProgramDependenceGraph (PDG) for a function,
i.e., enumerates all data and control dependences for the function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4958
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Sun, 8 Dec 2002 13:26:29 +0000 (13:26 +0000)]
An explicit representation of dependence graphs, and a pass that
computes a dependence graph for data dependences on memory locations
using interprocedural Mod/Ref information.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4957
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Dec 2002 06:01:34 +0000 (06:01 +0000)]
Namespacify more
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4956
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Dec 2002 05:51:08 +0000 (05:51 +0000)]
Add support to count the number of dynamic instructions executed by LLI
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4955
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 7 Dec 2002 23:24:24 +0000 (23:24 +0000)]
Add total instruction, bb, & function counts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4954
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 7 Dec 2002 21:27:16 +0000 (21:27 +0000)]
Fix bug that was bugging bugpoint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4953
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 7 Dec 2002 18:42:13 +0000 (18:42 +0000)]
Remove dead code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4952
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 7 Dec 2002 17:08:07 +0000 (17:08 +0000)]
Check in an old testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4951
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 7 Dec 2002 04:41:22 +0000 (04:41 +0000)]
Give better error message if two passes of the same argument are registered
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4950
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Fri, 6 Dec 2002 21:19:07 +0000 (21:19 +0000)]
Stronger assertion in getNodeId(): node id must exist in the map.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4949
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Fri, 6 Dec 2002 21:17:10 +0000 (21:17 +0000)]
Two bug fixes:
(1) Make entries for Constant values in the ScalarMap.
(2) Set MOD bit for the node pointed to by the
argument of a free instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4948
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Fri, 6 Dec 2002 21:15:21 +0000 (21:15 +0000)]
Fix several related bugs in DSNode::mergeWith() caused by the
fact that the incoming nodes may be merged away at intermediate
steps. Use an extra level of indirection via DSNodeHandles
to track the nodes being merged. All this now happens in a
static helper function MergeNodes().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4947
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Fri, 6 Dec 2002 21:10:17 +0000 (21:10 +0000)]
Added static helper method MergeNodes(). See DataStructure.cpp for more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4946
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Fri, 6 Dec 2002 15:02:22 +0000 (15:02 +0000)]
Bug fix in operator==() and in method fini().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4945
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 6 Dec 2002 10:49:33 +0000 (10:49 +0000)]
Implement a lot of cast functionality (no FP or 64)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4944
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Dec 2002 06:40:00 +0000 (06:40 +0000)]
Make sure to print indirect node again
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4943
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Dec 2002 04:42:16 +0000 (04:42 +0000)]
Fix bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4942
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Dec 2002 04:42:10 +0000 (04:42 +0000)]
Allow printing partially constructed bitsets
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4941
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Dec 2002 04:02:48 +0000 (04:02 +0000)]
Don't delete values that may still be referenced!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4940
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Dec 2002 03:55:39 +0000 (03:55 +0000)]
Tighten up assertion checking
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4939
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Dec 2002 03:53:40 +0000 (03:53 +0000)]
Only build jello when compiling on X86
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4938
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Dec 2002 03:52:51 +0000 (03:52 +0000)]
Fix to make jello compile on Sparc even though it won't run.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4937
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Dec 2002 03:45:20 +0000 (03:45 +0000)]
Export a new ARCH variable indicating what platform is being compiled
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4936
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 5 Dec 2002 22:41:53 +0000 (22:41 +0000)]
Fix bug: 2002-12-05-MissedConstProp.ll pointed out by Casey Carter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4935
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 5 Dec 2002 22:25:47 +0000 (22:25 +0000)]
New testcase pointed out by Casey Carter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4934
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Thu, 5 Dec 2002 17:17:26 +0000 (17:17 +0000)]
Cute bug fix: when moving links from N to this, some links could have
been missed if node *this got merged away due to recursive merging!
Also, links were not moved correctly if a node is collapsed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4933
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Thu, 5 Dec 2002 08:30:40 +0000 (08:30 +0000)]
Target/X86/Printer.cpp: Add sizePtr function, and use it instead of
" <SIZE> PTR " string when emitting assembly.
Target/X86/X86InstrInfo.def: Tidy up a bit:
Squashed everything down to 118 chars wide, wrapping lines so that
comment is at the same point on each line. Rename "NoImpRegs" as
"NoIR". (most instructions have NoImpRegs twice on a line, so this
saves 10 columns).
Also, annotate various instructions with flags for size of memory operand.
(MemArg16, MemArg32, MemArg64, etc.)
Target/X86/X86InstrInfo.h: Define flags for size of memory operand.
(MemArg16, MemArg32, MemArg64, etc.)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4932
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 4 Dec 2002 23:58:41 +0000 (23:58 +0000)]
Return 0 to make it into a fully-functioning "Hello, World!" test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4931
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 4 Dec 2002 23:58:08 +0000 (23:58 +0000)]
Added code generation for function prologues and epilogues.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4930
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 4 Dec 2002 23:57:03 +0000 (23:57 +0000)]
Implemented functions for emitting prologues and epilogues;
removed EBP from the list of callee-saved registers (it isn't one).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4929
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 4 Dec 2002 23:56:26 +0000 (23:56 +0000)]
Added push and pop instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4928
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 4 Dec 2002 23:55:56 +0000 (23:55 +0000)]
Added prototypes for emitting prologue and epilogue for function code
generation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4927
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 4 Dec 2002 23:51:44 +0000 (23:51 +0000)]
Fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4926
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 4 Dec 2002 23:50:28 +0000 (23:50 +0000)]
Fix handling of function calls that return void
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4925
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 4 Dec 2002 23:45:28 +0000 (23:45 +0000)]
Implement initial support for return values from call instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4924
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 4 Dec 2002 19:24:45 +0000 (19:24 +0000)]
Fun arithmetic with iterators aimed at fixing a bug: inserting instructions
after the *current* instruction while keeping the iterator in the same
'logical' place.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4923
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 4 Dec 2002 19:22:53 +0000 (19:22 +0000)]
Adjust the stack pointer after a function call, proportional to the number of
arguments pushed onto the stack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4922
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 4 Dec 2002 19:15:22 +0000 (19:15 +0000)]
Added instructions to add/subtract imm32 to/from a reg32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4921
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 4 Dec 2002 17:35:11 +0000 (17:35 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4920
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 4 Dec 2002 17:32:52 +0000 (17:32 +0000)]
Fix bogus assertion failures
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4919
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 4 Dec 2002 17:28:40 +0000 (17:28 +0000)]
Avoid bad assertion
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4918
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 4 Dec 2002 17:18:30 +0000 (17:18 +0000)]
Remove think-o assertion
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4917
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 4 Dec 2002 17:15:34 +0000 (17:15 +0000)]
Avoid crashing on Arguments, just silently miscompile
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4916
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 4 Dec 2002 17:15:07 +0000 (17:15 +0000)]
Add main functions to benchmarks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4915
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 4 Dec 2002 17:14:13 +0000 (17:14 +0000)]
storeReg2RegOffset() and loadRegOffset2Reg() now take the iterator by value
instead of by reference, since they return the modified iterator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4914
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 4 Dec 2002 17:08:15 +0000 (17:08 +0000)]
On `make clean', kill the core files produced, which are of the form:
core.### where ### is the process ID. We use core.[0-9][0-9]* to avoid killing
core.c, core.cpp, and core.h files which may be part of benchmarks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4913
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 4 Dec 2002 17:00:25 +0000 (17:00 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4912
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 4 Dec 2002 16:47:04 +0000 (16:47 +0000)]
Moved buildReg2RegClassMap() into from X86RegisterInfo to MRegisterInfo, since
it is target-independent.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4911
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 4 Dec 2002 16:12:54 +0000 (16:12 +0000)]
Add a "Lazy Function Resolution in Jello" section
Remove some todo's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4910
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 4 Dec 2002 06:56:56 +0000 (06:56 +0000)]
Fix a bug I introduced in a previous change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4909
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 4 Dec 2002 06:45:40 +0000 (06:45 +0000)]
Add support for global value references
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4908
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 4 Dec 2002 06:45:19 +0000 (06:45 +0000)]
Add support for referencing global variables/functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4907
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 4 Dec 2002 06:44:41 +0000 (06:44 +0000)]
Print out direct global references
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4906
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 4 Dec 2002 06:44:27 +0000 (06:44 +0000)]
Add support for direct global references
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4905
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 4 Dec 2002 06:09:04 +0000 (06:09 +0000)]
Initial checkin of global var support code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4904
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 4 Dec 2002 06:04:17 +0000 (06:04 +0000)]
Implement simple global variable support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4903
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 4 Dec 2002 06:04:07 +0000 (06:04 +0000)]
Implement external function support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4902
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 4 Dec 2002 05:20:12 +0000 (05:20 +0000)]
Expose target data through a method for uniformity
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4901
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 4 Dec 2002 05:05:26 +0000 (05:05 +0000)]
Initial checkin of Unresolved function fault handler
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4900
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 4 Dec 2002 04:47:34 +0000 (04:47 +0000)]
Implement lazy resolution of function calls
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4899
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 3 Dec 2002 23:15:19 +0000 (23:15 +0000)]
This should fix the bug seen with some registers not being allocated
correctly: skipping instructions by incorrectly incrementing the pointer.
Also adds support for building a reg-to-regclass map, and splits the function
for saving register to stack into two, one suitable for virtual registers
(which also assigns it a physical register) and one for simply storing back
physical registers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4898
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 3 Dec 2002 23:11:21 +0000 (23:11 +0000)]
Added support for callee- and caller-save registers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4897
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 3 Dec 2002 23:09:53 +0000 (23:09 +0000)]
RegisterInfo now supports handing out caller- and callee-save registers, as
well as building a map from a physical register to its register class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4896
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Dec 2002 22:50:02 +0000 (22:50 +0000)]
Fix broken ret opcode, grr...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4895
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Dec 2002 22:48:59 +0000 (22:48 +0000)]
Initial checkin of virtual machine implementation.
We can now run very trivial test cases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4894
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Dec 2002 20:56:42 +0000 (20:56 +0000)]
Checkin debug implementation of MCE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4893
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Dec 2002 20:56:20 +0000 (20:56 +0000)]
Add virtual dtor, expose a debug impl
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4892
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Dec 2002 20:30:12 +0000 (20:30 +0000)]
Fix instsel for calls
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4891
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Dec 2002 20:30:03 +0000 (20:30 +0000)]
Testcase for call instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4890
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Dec 2002 20:25:43 +0000 (20:25 +0000)]
Standard hello-world test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4889
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Dec 2002 20:01:04 +0000 (20:01 +0000)]
Add code that can be used for debugging
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4888
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Dec 2002 19:42:26 +0000 (19:42 +0000)]
Disable timing of bytecode loader
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4887
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Dec 2002 19:40:16 +0000 (19:40 +0000)]
Simplify code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4886
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Dec 2002 18:32:30 +0000 (18:32 +0000)]
Fix big bug introduced with symbol table changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4885
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Dec 2002 18:15:59 +0000 (18:15 +0000)]
Fix the build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4884
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Tue, 3 Dec 2002 07:36:03 +0000 (07:36 +0000)]
brg
Add support for cast ... to bool in visitCastInst (it's a start, anyways...)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4883
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Dec 2002 06:34:06 +0000 (06:34 +0000)]
Split the machine code emitter completely out of the printer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4882
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Dec 2002 06:33:30 +0000 (06:33 +0000)]
Final tweak to printer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4881
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Dec 2002 06:09:26 +0000 (06:09 +0000)]
Implement trivially simple debugger for MachineCodeEmitter interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4880
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Dec 2002 06:00:33 +0000 (06:00 +0000)]
Continue implementing field initializers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4879
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Dec 2002 06:00:11 +0000 (06:00 +0000)]
Don't delete temporary files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4878
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Dec 2002 05:42:53 +0000 (05:42 +0000)]
* Move information about Implicit Defs/Uses into X86InstrInfo.def.
* Expose information about implicit defs/uses of register through the
MachineInstrInfo.h file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4877
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Dec 2002 05:41:54 +0000 (05:41 +0000)]
Initialize implicit uses/defs fields for sparc backend to empty list
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4876
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Dec 2002 05:41:32 +0000 (05:41 +0000)]
Add entries to track information about implicit uses and definitions of
the instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4875
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Tue, 3 Dec 2002 00:51:09 +0000 (00:51 +0000)]
brg
X86Implicit.cpp, X86Implicit.h: New files.
InstSelectSimple.cpp: Add some clarifications in visitCallInst comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4874
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 2 Dec 2002 21:56:28 +0000 (21:56 +0000)]
More support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4873
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 2 Dec 2002 21:56:18 +0000 (21:56 +0000)]
More support for machine code emission: raw instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4872
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 2 Dec 2002 21:50:41 +0000 (21:50 +0000)]
Expose explicit type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4871
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 2 Dec 2002 21:44:34 +0000 (21:44 +0000)]
Start implementing MachineCodeEmitter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4870
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 2 Dec 2002 21:44:13 +0000 (21:44 +0000)]
Start adding to the meat of MachineCodeEmitter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4869
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 2 Dec 2002 21:40:58 +0000 (21:40 +0000)]
Eliminate OtherFrm
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4868
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 2 Dec 2002 21:40:46 +0000 (21:40 +0000)]
Remove comment
Remove handling of OtherFrm
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4867
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 2 Dec 2002 21:24:12 +0000 (21:24 +0000)]
Initial support for machine code emission
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4866
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 2 Dec 2002 21:22:04 +0000 (21:22 +0000)]
Add initial support for machine code emission
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4865
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 2 Dec 2002 21:21:36 +0000 (21:21 +0000)]
Initial version of MachineCodeEmitter interface: empty
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4864
91177308-0d34-0410-b5e6-
96231b3b80d8