Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Revert 84315 for now. Re-thinking the patch. | Evan Cheng | 2009-10-17 | 1 | -1/+1 | |
| | | | | llvm-svn: 84321 | |||||
* | Rename getFixedStack to getStackObject. The stack objects represented are not | Evan Cheng | 2009-10-17 | 1 | -1/+1 | |
| | | | | | | necessarily fixed. Only those will negative frame indices are "fixed." llvm-svn: 84315 | |||||
* | Fix PR4926. When target hook EmitInstrWithCustomInserter() insert new basic ↵ | Evan Cheng | 2009-09-19 | 1 | -0/+4 | |
| | | | | | | blocks and update CFG, it should also inform sdisel of the changes so the phi source operands will come from the right basic blocks. llvm-svn: 82311 | |||||
* | Enhance EmitInstrWithCustomInserter() so target can specify CFG changes that ↵ | Evan Cheng | 2009-09-18 | 1 | -1/+2 | |
| | | | | | | | | sdisel will use to properly complete phi nodes. Not functionality change yet. llvm-svn: 82273 | |||||
* | Retype from unsigned to CallingConv::ID accordingly. Approved by Bob Wilson. | Sandeep Patel | 2009-09-02 | 1 | -6/+6 | |
| | | | | llvm-svn: 80773 | |||||
* | eliminate uses of cerr() | Chris Lattner | 2009-08-23 | 1 | -1/+2 | |
| | | | | llvm-svn: 79834 | |||||
* | Expand few nodes until someone will be crazy enough to implement them ↵ | Anton Korobeynikov | 2009-08-21 | 1 | -2/+6 | |
| | | | | | | natively :) llvm-svn: 79659 | |||||
* | Handle 'r' inline asm constraint | Anton Korobeynikov | 2009-08-21 | 1 | -0/+40 | |
| | | | | llvm-svn: 79648 | |||||
* | Split EVT into MVT and EVT, the former representing _just_ a primitive type, ↵ | Owen Anderson | 2009-08-11 | 1 | -84/+84 | |
| | | | | | | | | while the latter is capable of representing either a primitive or an extended type. llvm-svn: 78713 | |||||
* | Rename MVT to EVT, in preparation for splitting SimpleValueType out into its ↵ | Owen Anderson | 2009-08-10 | 1 | -83/+83 | |
| | | | | | | own struct type. llvm-svn: 78610 | |||||
* | Major calling convention code refactoring. | Dan Gohman | 2009-08-05 | 1 | -78/+82 | |
| | | | | | | | | | | | | | | | | | | | Instead of awkwardly encoding calling-convention information with ISD::CALL, ISD::FORMAL_ARGUMENTS, ISD::RET, and ISD::ARG_FLAGS nodes, TargetLowering provides three virtual functions for targets to override: LowerFormalArguments, LowerCall, and LowerRet, which replace the custom lowering done on the special nodes. They provide the same information, but in a more immediately usable format. This also reworks much of the target-independent tail call logic. The decision of whether or not to perform a tail call is now cleanly split between target-independent portions, and the target dependent portion in IsEligibleForTailCallOptimization. This also synchronizes all in-tree targets, to help enable future refactoring and feature work. llvm-svn: 78142 | |||||
* | Rip all of the global variable lowering logic out of TargetAsmInfo. Since | Chris Lattner | 2009-07-28 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | | | | | | it is highly specific to the object file that will be generated in the end, this introduces a new TargetLoweringObjectFile interface that is implemented for each of ELF/MachO/COFF/Alpha/PIC16 and XCore. Though still is still a brutal and ugly refactoring, this is a major step towards goodness. This patch also: 1. fixes a bunch of dangling pointer problems in the PIC16 backend. 2. disables the TargetLowering copy ctor which PIC16 was accidentally using. 3. gets us closer to xcore having its own crazy target section flags and pic16 not having to shadow sections with its own objects. 4. fixes wierdness where ELF targets would set CStringSection but not CStringSection_. Factor the code better. 5. fixes some bugs in string lowering on ELF targets. llvm-svn: 77294 | |||||
* | Get rid of the Pass+Context magic. | Owen Anderson | 2009-07-22 | 1 | -4/+4 | |
| | | | | llvm-svn: 76702 | |||||
* | Missed a piece of the commit to remove the shift flavor. | Eli Friedman | 2009-07-21 | 1 | -1/+0 | |
| | | | | llvm-svn: 76635 | |||||
* | Expand frem | Anton Korobeynikov | 2009-07-18 | 1 | -0/+2 | |
| | | | | llvm-svn: 76315 | |||||
* | Turn abort() into unreachable | Anton Korobeynikov | 2009-07-18 | 1 | -4/+6 | |
| | | | | llvm-svn: 76314 | |||||
* | Turn few asserts into errors / unreachable's | Anton Korobeynikov | 2009-07-18 | 1 | -5/+7 | |
| | | | | llvm-svn: 76313 | |||||
* | Provide expansion for ct* intrinsics | Anton Korobeynikov | 2009-07-18 | 1 | -0/+7 | |
| | | | | llvm-svn: 76311 | |||||
* | Expand sext_inreg for i1 | Anton Korobeynikov | 2009-07-18 | 1 | -0/+2 | |
| | | | | llvm-svn: 76310 | |||||
* | Unbreak | Anton Korobeynikov | 2009-07-16 | 1 | -4/+5 | |
| | | | | llvm-svn: 76064 | |||||
* | Expand 32-bit bitconverts via memory | Anton Korobeynikov | 2009-07-16 | 1 | -2/+2 | |
| | | | | llvm-svn: 76050 | |||||
* | i32 values are passed extended also on stack. Handle this in generic way | Anton Korobeynikov | 2009-07-16 | 1 | -23/+24 | |
| | | | | llvm-svn: 76047 | |||||
* | We definitely have 1-0 bools | Anton Korobeynikov | 2009-07-16 | 1 | -0/+1 | |
| | | | | llvm-svn: 76046 | |||||
* | Out GR128 regclass is not a 'real' i128 one. | Anton Korobeynikov | 2009-07-16 | 1 | -1/+0 | |
| | | | | llvm-svn: 76044 | |||||
* | Handle bitconverts | Anton Korobeynikov | 2009-07-16 | 1 | -0/+4 | |
| | | | | llvm-svn: 76042 | |||||
* | Expand fp_to_uint too | Anton Korobeynikov | 2009-07-16 | 1 | -0/+3 | |
| | | | | llvm-svn: 76040 | |||||
* | We don't have FP truncstores | Anton Korobeynikov | 2009-07-16 | 1 | -0/+3 | |
| | | | | llvm-svn: 76039 | |||||
* | Expand uint_to_fp | Anton Korobeynikov | 2009-07-16 | 1 | -0/+2 | |
| | | | | llvm-svn: 76038 | |||||
* | Make FP zero to be legal FP immediate via LOAD ZERO | Anton Korobeynikov | 2009-07-16 | 1 | -0/+5 | |
| | | | | llvm-svn: 76034 | |||||
* | Proper FP extloads | Anton Korobeynikov | 2009-07-16 | 1 | -6/+6 | |
| | | | | llvm-svn: 76028 | |||||
* | Add proper PWS impdef's | Anton Korobeynikov | 2009-07-16 | 1 | -0/+1 | |
| | | | | llvm-svn: 76027 | |||||
* | Propagate FP select_cc to dag inserters | Anton Korobeynikov | 2009-07-16 | 1 | -2/+8 | |
| | | | | llvm-svn: 76026 | |||||
* | We don't have native sine / cosine instructions | Anton Korobeynikov | 2009-07-16 | 1 | -0/+5 | |
| | | | | llvm-svn: 76021 | |||||
* | We don't have any FP extloads | Anton Korobeynikov | 2009-07-16 | 1 | -0/+7 | |
| | | | | llvm-svn: 76018 | |||||
* | Implement all comparisons | Anton Korobeynikov | 2009-07-16 | 1 | -6/+38 | |
| | | | | llvm-svn: 76017 | |||||
* | Add constpool lowering / printing | Anton Korobeynikov | 2009-07-16 | 1 | -1/+23 | |
| | | | | llvm-svn: 76016 | |||||
* | Allow FP arguments pass / return | Anton Korobeynikov | 2009-07-16 | 1 | -20/+29 | |
| | | | | llvm-svn: 76015 | |||||
* | Register FP regclasses | Anton Korobeynikov | 2009-07-16 | 1 | -0/+6 | |
| | | | | llvm-svn: 76014 | |||||
* | Implement 'large' PIC model | Anton Korobeynikov | 2009-07-16 | 1 | -3/+31 | |
| | | | | llvm-svn: 76006 | |||||
* | Implement shifts properly (hopefilly - finally!) | Anton Korobeynikov | 2009-07-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 76005 | |||||
* | Properly handle divides. As a bonus - implement memory versions of them. | Anton Korobeynikov | 2009-07-16 | 1 | -0/+11 | |
| | | | | llvm-svn: 76003 | |||||
* | Emit proper lowering of load from arg stack slot | Anton Korobeynikov | 2009-07-16 | 1 | -10/+6 | |
| | | | | llvm-svn: 75986 | |||||
* | Implement dynamic allocas | Anton Korobeynikov | 2009-07-16 | 1 | -0/+1 | |
| | | | | llvm-svn: 75985 | |||||
* | Add jump tables | Anton Korobeynikov | 2009-07-16 | 1 | -0/+11 | |
| | | | | llvm-svn: 75984 | |||||
* | Exapnd br_jt into indirect branch. Provide pattern for indirect branches. | Anton Korobeynikov | 2009-07-16 | 1 | -0/+1 | |
| | | | | llvm-svn: 75983 | |||||
* | Proper lower 'small' results | Anton Korobeynikov | 2009-07-16 | 1 | -3/+20 | |
| | | | | llvm-svn: 75962 | |||||
* | Lower addresses of globals | Anton Korobeynikov | 2009-07-16 | 1 | -0/+13 | |
| | | | | llvm-svn: 75960 | |||||
* | Provide "wide" muls and divs/rems | Anton Korobeynikov | 2009-07-16 | 1 | -10/+5 | |
| | | | | llvm-svn: 75958 | |||||
* | Preliminary mul lowering | Anton Korobeynikov | 2009-07-16 | 1 | -0/+11 | |
| | | | | llvm-svn: 75951 | |||||
* | More extloads | Anton Korobeynikov | 2009-07-16 | 1 | -0/+3 | |
| | | | | llvm-svn: 75950 |