- Dec 13, 2002
-
-
Misha Brukman authored
register-allocated them appropriately. llvm-svn: 4976
-
Misha Brukman authored
need to be declared as such. llvm-svn: 4975
-
Misha Brukman authored
X86, but would be 3-address in any normail architecture. llvm-svn: 4974
-
- Dec 12, 2002
-
-
Brian Gaeke authored
This checkin is brought to you by the brian gaeke allnighter fund. (lib/Target/X86) InstSelectSimple.cpp: Include llvm/DerivedTypes.h and iostream. Refactor visitMul out into a wrapper around doMultiply(), so that we can do multiplications on temporary values when we are doing getelementptrs. Refactor part of getReg out into makeAnotherReg, so that we can create registers willy-nilly to hold temporary values, when we are doing getelementptrs. Add stub implementations of visitMallocInst and visitAllocaInst. Add initial implementation of visitGetElementPtrInst. In copyConstantToRegister: We throw a *lot* of our asserts here. So, when we want to throw an assert, print out to stderr whatever expr or whatever constant made us barf. Support copying ConstantPointerNull to register, using a move immediate of zero. Rename FLDr4 and FLDr8 to FLDr32 and FLDr64, so that they match the meanings of the numbers in the other instruction names. All uses modified. Teach visitCallInst to extract byte- and short-class return values from subregs of EAX. Add a FIXME note about how we would do it for float-class return values. Add a FIXME note about how we would cast float to int and back. X86InstrInfo.def: Rename FLDr4 and FLDr8 to FLDr32 and FLDr64, so that they match the meanings of the numbers in the other instruction names. All uses modified. (tools/jello) GlobalVars.cpp: Include iostream. If we have to emit a floating-point constant to memory, gamble and use the same method as for ints. If we have to emit a ConstantPointerNull to memory, try using a "void *" and "NULL". Otherwise, if we are going to throw an assert, print out whatever constant made us barf, first. llvm-svn: 4973
-
Misha Brukman authored
Also added Statistic counters for NoAlias and MayAlias. llvm-svn: 4972
-
Chris Lattner authored
llvm-svn: 4971
-
Misha Brukman authored
tabs for readability. llvm-svn: 4970
-
Misha Brukman authored
llvm-svn: 4969
-
Chris Lattner authored
llvm-svn: 4968
-
Chris Lattner authored
llvm-svn: 4967
-
Chris Lattner authored
llvm-svn: 4966
-
- Dec 10, 2002
-
-
Vikram S. Adve authored
parallelization pass. llvm-svn: 4965
-
Vikram S. Adve authored
virtual register computed by an Instruction& X and replaces it with a slot in the stack frame, allocated via alloca. llvm-svn: 4964
-
Vikram S. Adve authored
virtual register computed by an Instruction& X and replaces it with a slot in the stack frame, allocated via alloca. llvm-svn: 4963
-
Vikram S. Adve authored
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. llvm-svn: 4962
-
Vikram S. Adve authored
Cilk multi-threaded runtime system to execute parallel code. This file exposes some routines needed for code generation for that pass. llvm-svn: 4961
-
- Dec 09, 2002
-
-
Vikram S. Adve authored
llvm-svn: 4960
-
Vikram S. Adve authored
it was causing linking errors. llvm-svn: 4959
-
- Dec 08, 2002
-
-
Vikram S. Adve authored
i.e., enumerates all data and control dependences for the function. llvm-svn: 4958
-
Vikram S. Adve authored
computes a dependence graph for data dependences on memory locations using interprocedural Mod/Ref information. llvm-svn: 4957
-
Chris Lattner authored
llvm-svn: 4956
-
Chris Lattner authored
llvm-svn: 4955
-
Chris Lattner authored
llvm-svn: 4954
-
- Dec 07, 2002
-
-
Chris Lattner authored
llvm-svn: 4953
-
Chris Lattner authored
llvm-svn: 4952
-
Chris Lattner authored
llvm-svn: 4951
-
Chris Lattner authored
llvm-svn: 4950
-
- Dec 06, 2002
-
-
Vikram S. Adve authored
llvm-svn: 4949
-
Vikram S. Adve authored
(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. llvm-svn: 4948
-
Vikram S. Adve authored
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(). llvm-svn: 4947
-
Vikram S. Adve authored
llvm-svn: 4946
-
Vikram S. Adve authored
llvm-svn: 4945
-
Brian Gaeke authored
llvm-svn: 4944
-
Chris Lattner authored
llvm-svn: 4943
-
Chris Lattner authored
llvm-svn: 4942
-
Chris Lattner authored
llvm-svn: 4941
-
Chris Lattner authored
llvm-svn: 4940
-
Chris Lattner authored
llvm-svn: 4939
-
Chris Lattner authored
llvm-svn: 4938
-
Chris Lattner authored
llvm-svn: 4937
-