- Oct 13, 2002
-
-
Vikram S. Adve authored
llvm-svn: 4135
-
Vikram S. Adve authored
(1) Padding bytes between structure fields (for alignment) were never being emitted into the constant pool so the layout did not match! (2) In printing constants, structures containing structures or arrays were never handled. (3) Support new model for external/uninitialized/initialized globals. Uninitialized globals are no longer emitted since they are external. Initialized globals may go either in .bss or in .data. llvm-svn: 4134
-
Vikram S. Adve authored
We now use %g1 instead since that is shared and volatile. llvm-svn: 4133
-
Vikram S. Adve authored
llvm-svn: 4132
-
Vikram S. Adve authored
(2) Use intelligent multiply selection code for array allocas. (3) Don't use cache padding for alloca'd stack slots! (4) Bug fix in handling call arguments: was not copying sixth FP arg to int reg. when calling a function with no prototype. llvm-svn: 4130
-
Vikram S. Adve authored
llvm-svn: 4129
-
Vikram S. Adve authored
llvm-svn: 4128
-
Vikram S. Adve authored
this is a common case created by the front-end. llvm-svn: 4127
-
Vikram S. Adve authored
instructions so that (a) constant folding is done automatically before code generation, and (b) selection does not have to deal with them. Also, check for ConstantPointerRefs in additional to GlobalValues when creating a GEP to load a global address. llvm-svn: 4126
-
- Sep 28, 2002
-
-
Vikram S. Adve authored
since it is defined by the instruction. llvm-svn: 3966
-
Vikram S. Adve authored
created here. Instead they are created in LiveRangeInfo.cpp. This simplifies the code here quite a bit. llvm-svn: 3965
-
Vikram S. Adve authored
needs the RegClass list to be passed in. llvm-svn: 3964
-
Vikram S. Adve authored
llvm-svn: 3963
-
- Sep 27, 2002
-
-
Vikram S. Adve authored
Don't allow direct FP-to-uint conversion (must be eliminated by preselection). Address arithmetic for arrays is now entirely 64-bit so no sign-ext needed. llvm-svn: 3961
-
Vikram S. Adve authored
llvm-svn: 3960
-
Vikram S. Adve authored
llvm-svn: 3959
-
Vikram S. Adve authored
llvm-svn: 3957
-
- Sep 26, 2002
-
-
Chris Lattner authored
llvm-svn: 3927
-
- Sep 23, 2002
-
-
Vikram S. Adve authored
object files. Also, llvm-svn: 3884
-
Vikram S. Adve authored
llvm-svn: 3883
-
- Sep 21, 2002
-
-
Anand Shukla authored
llvm-svn: 3873
-
Anand Shukla authored
llvm-svn: 3872
-
- Sep 20, 2002
-
-
Vikram S. Adve authored
llvm-svn: 3846
-
Vikram S. Adve authored
routines supporting machine code optimization. Also added method MachineInstrInfo::getNOPOpCode(). llvm-svn: 3845
-
Vikram S. Adve authored
llvm-svn: 3840
-
Vikram S. Adve authored
Original logs for PreSelection.cpp: revision 1.2 date: 2002/09/17 23:50:32; author: lattner; state: Exp; lines: +1 -3 Don't put default parameter values into .cpp files, it breaks 3.x compilers revision 1.1 date: 2002/09/16 15:31:13; author: vadve; state: Exp; New preselection pass that specializes LLVM code for a target machine, while remaining in legal portable LLVM form and preserving type information and type safety. llvm-svn: 3838
-
- Sep 17, 2002
-
-
Anand Shukla authored
llvm-svn: 3778
-
- Sep 16, 2002
-
-
Vikram S. Adve authored
llvm-svn: 3744
-
Vikram S. Adve authored
constants). Useful for target-dependent LLVM transformations like Preselection. llvm-svn: 3743
-
Vikram S. Adve authored
constructors so passes can be inserted by TargetMachine.cpp. llvm-svn: 3742
-
Vikram S. Adve authored
TargetMachine.cpp, since it is entirely machine-independent. Also, add options to disable optional back-end passes (preselection and instr. scheduling). llvm-svn: 3740
-
- Sep 14, 2002
-
-
Misha Brukman authored
Again, including Module makes Function unnecessary. llvm-svn: 3714
-
- Sep 11, 2002
-
-
Chris Lattner authored
indexes for sequential types. llvm-svn: 3683
-
Chris Lattner authored
- Change getelementptr instruction to use long indexes instead of uint indexes for sequential types. llvm-svn: 3682
-
- Sep 09, 2002
-
-
Vikram S. Adve authored
e.g., cast double to double. llvm-svn: 3633
-
- Sep 05, 2002
-
-
Vikram S. Adve authored
llvm-svn: 3581
-
Vikram S. Adve authored
Add UltraSparcInstrInfo::CreateZeroExtensionInstructions to help with that. llvm-svn: 3580
-
Vikram S. Adve authored
-- A few bug fixes in casting between floats and ints. -- Use SRL reg, 0 instead of AND reg, 0xffffffff to clear high 32 bits. llvm-svn: 3579
-
Vikram S. Adve authored
-- Add support for ConstantExpr constants (only cast and add operators so far) -- Avoid generating label Bbss.bss, which sometimes came out twice. llvm-svn: 3578
-
- Sep 03, 2002
-
-
Chris Lattner authored
- Added new method Type::isIntegral() that is the same as isInteger, but also accepts bool. llvm-svn: 3574
-