Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove unneccesary #includes | Chris Lattner | 2002-10-29 | 2 | -2/+0 | |
| | | | | llvm-svn: 4408 | |||||
* | Rename Sparc.h to TargetMachineImpls.h | Chris Lattner | 2002-10-29 | 1 | -1/+1 | |
| | | | | llvm-svn: 4407 | |||||
* | Bug fix: align size for dynamic allocas according to stack pointer | Vikram S. Adve | 2002-10-29 | 1 | -19/+47 | |
| | | | | | | alignment restrictions. This is incomplete for one case. llvm-svn: 4397 | |||||
* | *** empty log message *** | Chris Lattner | 2002-10-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 4390 | |||||
* | MachineInstrInfo doesn't need a TargetMachine | Chris Lattner | 2002-10-29 | 3 | -4/+3 | |
| | | | | llvm-svn: 4372 | |||||
* | Use BuildMI instead of explicit code. | Chris Lattner | 2002-10-28 | 1 | -34/+15 | |
| | | | | llvm-svn: 4362 | |||||
* | Remove all traces of the "Opcode Mask" field in the MachineInstr class | Chris Lattner | 2002-10-28 | 2 | -15/+0 | |
| | | | | llvm-svn: 4359 | |||||
* | Fix minor bug | Chris Lattner | 2002-10-28 | 1 | -3/+3 | |
| | | | | llvm-svn: 4355 | |||||
* | Don't pass default args | Chris Lattner | 2002-10-28 | 1 | -8/+7 | |
| | | | | llvm-svn: 4354 | |||||
* | Rewrote uses of deprecated `MachineFunction::get(BasicBlock *BB)'. | Misha Brukman | 2002-10-28 | 2 | -17/+17 | |
| | | | | llvm-svn: 4352 | |||||
* | Replaced uses of deprecated `MachineFunction::get(BasicBlock *BB)'. | Misha Brukman | 2002-10-28 | 2 | -20/+31 | |
| | | | | llvm-svn: 4351 | |||||
* | Don't bother passing in default value | Chris Lattner | 2002-10-28 | 1 | -13/+13 | |
| | | | | llvm-svn: 4347 | |||||
* | Fixes to work with updated RegAlloc | Chris Lattner | 2002-10-28 | 1 | -10/+10 | |
| | | | | llvm-svn: 4345 | |||||
* | Rename the redundant MachineOperand::getOperandType() to ↵ | Chris Lattner | 2002-10-28 | 3 | -10/+9 | |
| | | | | | | MachineOperand::getType() llvm-svn: 4331 | |||||
* | *** empty log message *** | Chris Lattner | 2002-10-28 | 2 | -2/+0 | |
| | | | | llvm-svn: 4323 | |||||
* | Rename MachineCodeForBasicBlock to MachineBasicBlock | Chris Lattner | 2002-10-28 | 4 | -37/+29 | |
| | | | | llvm-svn: 4318 | |||||
* | Move machine code generation/destruction passes out of Sparc.cpp because | Chris Lattner | 2002-10-28 | 1 | -44/+2 | |
| | | | | | | they are generic llvm-svn: 4310 | |||||
* | Move addPassesToEmitAssembly from TargetMachine to UltraSparc because it | Chris Lattner | 2002-10-28 | 2 | -1/+121 | |
| | | | | | | really is sparc specific. llvm-svn: 4308 | |||||
* | Changed `MachineCodeForMethod' to `MachineFunction'. | Misha Brukman | 2002-10-28 | 8 | -36/+36 | |
| | | | | llvm-svn: 4301 | |||||
* | change ++ to +1 when using random access iterators | Chris Lattner | 2002-10-27 | 1 | -4/+2 | |
| | | | | llvm-svn: 4292 | |||||
* | Prune #includes | Chris Lattner | 2002-10-25 | 1 | -2/+0 | |
| | | | | llvm-svn: 4277 | |||||
* | Fix misspelling | Chris Lattner | 2002-10-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 4276 | |||||
* | Minor cleanups | Chris Lattner | 2002-10-23 | 1 | -19/+22 | |
| | | | | | | Make sure to have a pass name llvm-svn: 4268 | |||||
* | - Two minor improvements to the MachineInstr class to reduce footprint and | Chris Lattner | 2002-10-22 | 1 | -5/+5 | |
| | | | | | | | overhead: Merge 3 parallel vectors into 1, change regsUsed hash_set to be a bitvector. Sped up LLC a little less than 10% in a debug build! llvm-svn: 4261 | |||||
* | Make sure to escape \'s when they are output | Chris Lattner | 2002-10-15 | 1 | -0/+2 | |
| | | | | llvm-svn: 4179 | |||||
* | Print "circular" warning message only in debug mode. | Vikram S. Adve | 2002-10-14 | 1 | -2/+1 | |
| | | | | llvm-svn: 4170 | |||||
* | Removed misleading const keyword. | Vikram S. Adve | 2002-10-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 4169 | |||||
* | Allow emission of names that start with an underscore. This is needed to | Chris Lattner | 2002-10-14 | 1 | -14/+10 | |
| | | | | | | | | | interface with code that uses symbols in the ansi-c protected namespace. In most cases this comes from system header files, such as stdio.h. In particular, without this change, a reference to the __iob symbol is mangled into ll_iob, which is not resolved by libc. llvm-svn: 4165 | |||||
* | - Rename Instruction::First*Op to *OpsBegin, and Num*Ops to *OpsEnd to | Chris Lattner | 2002-10-13 | 2 | -10/+10 | |
| | | | | | | reflect the fact that it's a range being defined. llvm-svn: 4147 | |||||
* | Several major fixes, particularly in emitting constant aggregates: | Vikram S. Adve | 2002-10-13 | 1 | -59/+104 | |
| | | | | | | | | | | | | (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 | |||||
* | Don't use %l0 for large operands to a SAVE since it is needed *before* SAVE! | Vikram S. Adve | 2002-10-13 | 1 | -7/+7 | |
| | | | | | | We now use %g1 instead since that is shared and volatile. llvm-svn: 4133 | |||||
* | Don't mark JMPLCALL and JMPLRET as branches. | Vikram S. Adve | 2002-10-13 | 1 | -4/+4 | |
| | | | | llvm-svn: 4132 | |||||
* | (1) Try to evaluate constant when multiplying 2 constants. | Vikram S. Adve | 2002-10-13 | 1 | -29/+19 | |
| | | | | | | | | | (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 | |||||
* | Eliminate duplicate target pointer in SparcRegInfo. | Vikram S. Adve | 2002-10-13 | 1 | -11/+0 | |
| | | | | llvm-svn: 4129 | |||||
* | Eliminate duplicate target pointer. Also add a few assertions. | Vikram S. Adve | 2002-10-13 | 1 | -6/+14 | |
| | | | | llvm-svn: 4128 | |||||
* | Make sure to handle small negative values hiding as large unsigned longs -- | Vikram S. Adve | 2002-10-13 | 1 | -4/+10 | |
| | | | | | | this is a common case created by the front-end. llvm-svn: 4127 | |||||
* | Major fix: extract ConstantExpr nodes and decompose them into symbolic | Vikram S. Adve | 2002-10-13 | 1 | -22/+90 | |
| | | | | | | | | | 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 | |||||
* | Return address register should be marked as "result" for the JMPL instruction | Vikram S. Adve | 2002-09-28 | 1 | -3/+4 | |
| | | | | | | since it is defined by the instruction. llvm-svn: 3966 | |||||
* | Live ranges for Return value and return address of a Call are no longer | Vikram S. Adve | 2002-09-28 | 1 | -49/+26 | |
| | | | | | | | created here. Instead they are created in LiveRangeInfo.cpp. This simplifies the code here quite a bit. llvm-svn: 3965 | |||||
* | Simplified code that handles call args and rets, so it no longer | Vikram S. Adve | 2002-09-28 | 1 | -4/+2 | |
| | | | | | | needs the RegClass list to be passed in. llvm-svn: 3964 | |||||
* | Simplify Call translation slightly. | Vikram S. Adve | 2002-09-28 | 1 | -25/+13 | |
| | | | | llvm-svn: 3963 | |||||
* | Overhaul integer conversions to match C++ ISO standard. | Vikram S. Adve | 2002-09-27 | 1 | -95/+85 | |
| | | | | | | | 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 | |||||
* | Modify operand order for Create{Sign,Zero}ExtensionInstructions. | Vikram S. Adve | 2002-09-27 | 2 | -21/+21 | |
| | | | | llvm-svn: 3960 | |||||
* | Bug fix: some redundant copies were not being deleted after detection :-|. | Vikram S. Adve | 2002-09-27 | 1 | -7/+9 | |
| | | | | llvm-svn: 3959 | |||||
* | Decompose FP-to-UInt casts into FP-to-ULong-toUInt. | Vikram S. Adve | 2002-09-27 | 1 | -0/+28 | |
| | | | | llvm-svn: 3957 | |||||
* | Put intermediate source files in a subdirectory here instead of with | Vikram S. Adve | 2002-09-23 | 1 | -5/+18 | |
| | | | | | | object files. Also, llvm-svn: 3884 | |||||
* | Initial version: it adds 2 empty slots at the top of stack | Anand Shukla | 2002-09-21 | 1 | -0/+41 | |
| | | | | llvm-svn: 3872 | |||||
* | Added class MachineOptInfo as interface to target-specific | Vikram S. Adve | 2002-09-20 | 2 | -3/+27 | |
| | | | | | | | routines supporting machine code optimization. Also added method MachineInstrInfo::getNOPOpCode(). llvm-svn: 3845 | |||||
* | Peephole optimization pass on final machine code. | Vikram S. Adve | 2002-09-20 | 1 | -0/+136 | |
| | | | | llvm-svn: 3840 | |||||
* | Moving these files from Code/PreSelection to here. | Vikram S. Adve | 2002-09-20 | 1 | -0/+286 | |
| | | | | | | | | | | | | | | | | 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 |