| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | fix the expansion of va_arg instruction on PPC to know the arg | Chris Lattner | 2010-10-10 | 1 | -0/+4 | |
| | | | | | | | | | | alignment for PPC32/64, avoiding some masking operations. llvm-gcc expands vaarg inline instead of using the instruction so it has never hit this. llvm-svn: 116168 | |||||
| * | update a bunch of code to use the MachinePointerInfo version of getStore. | Chris Lattner | 2010-09-21 | 1 | -26/+30 | |
| | | | | | llvm-svn: 114461 | |||||
| * | eliminate an old SelectionDAG::getTruncStore method, propagating | Chris Lattner | 2010-09-21 | 1 | -4/+6 | |
| | | | | | | | MachinePointerInfo around more. llvm-svn: 114452 | |||||
| * | propagate MachinePointerInfo through various uses of the old | Chris Lattner | 2010-09-21 | 1 | -1/+2 | |
| | | | | | | | SelectionDAG::getExtLoad overload, and eliminate it. llvm-svn: 114446 | |||||
| * | convert the targets off the non-MachinePointerInfo of getLoad. | Chris Lattner | 2010-09-21 | 1 | -25/+30 | |
| | | | | | llvm-svn: 114410 | |||||
| * | reimplement memcpy/memmove/memset lowering to use MachinePointerInfo | Chris Lattner | 2010-09-21 | 1 | -1/+2 | |
| | | | | | | | | instead of srcvalue/offset pairs. This corrects SV info for mem operations whose size is > 32-bits. llvm-svn: 114401 | |||||
| * | convert targets to the new MF.getMachineMemOperand interface. | Chris Lattner | 2010-09-21 | 1 | -2/+3 | |
| | | | | | llvm-svn: 114391 | |||||
| * | Use indirect calls in PowerPC JIT. | Torok Edwin | 2010-08-04 | 1 | -10/+23 | |
| | | | | | | | | | | See PR5201. There is no way to know if direct calls will be within the allowed range for BL. Hence emit all calls as indirect when in JIT mode. Without this long-running applications will fail to JIT on PowerPC with a relocation failure. llvm-svn: 110246 | |||||
| * | PR7781: Fix incorrect shifting in PPCTargetLowering::LowerBUILD_VECTOR. | Eli Friedman | 2010-08-02 | 1 | -3/+3 | |
| | | | | | llvm-svn: 109998 | |||||
| * | Move getExtLoad() and (some) getLoad() DebugLoc argument after EVT argument ↵ | Evan Cheng | 2010-07-07 | 1 | -1/+1 | |
| | | | | | | | for consistency sake. llvm-svn: 107820 | |||||
| * | Split the SDValue out of OutputArg so that SelectionDAG-independent | Dan Gohman | 2010-07-07 | 1 | -11/+16 | |
| | | | | | | | code can do calling-convention queries. This obviates OutputArgReg. llvm-svn: 107786 | |||||
| * | Propagate debug loc. | Devang Patel | 2010-07-06 | 1 | -4/+5 | |
| | | | | | llvm-svn: 107710 | |||||
| * | Reapply r107655 with fixes; insert the pseudo instruction into | Dan Gohman | 2010-07-06 | 1 | -17/+29 | |
| | | | | | | | | the block before calling the expansion hook. And don't put EFLAGS in a mbb's live-in list twice. llvm-svn: 107691 | |||||
| * | Revert r107655. | Dan Gohman | 2010-07-06 | 1 | -29/+17 | |
| | | | | | llvm-svn: 107668 | |||||
| * | Fix a bunch of custom-inserter functions to handle the case where | Dan Gohman | 2010-07-06 | 1 | -17/+29 | |
| | | | | | | | the pseudo instruction is not at the end of the block. llvm-svn: 107655 | |||||
| * | Remove isSS argument from CreateFixedObject. Fixed objects cannot be spill ↵ | Evan Cheng | 2010-07-03 | 1 | -15/+11 | |
| | | | | | | | slots so it's always false. llvm-svn: 107550 | |||||
| * | Remove initialized but otherwise unused variables. | Duncan Sands | 2010-06-29 | 1 | -1/+0 | |
| | | | | | llvm-svn: 107127 | |||||
| * | The hasMemory argument is irrelevant to how the argument | Dale Johannesen | 2010-06-25 | 1 | -5/+2 | |
| | | | | | | | | | | for an "i" constraint should get lowered; PR 6309. While this argument was passed around a lot, this is the only place it was used, so it goes away from a lot of other places. llvm-svn: 106893 | |||||
| * | Eliminate unnecessary uses of getZExtValue(). | Dan Gohman | 2010-06-18 | 1 | -3/+3 | |
| | | | | | llvm-svn: 106279 | |||||
| * | Implement @llvm.returnaddress. rdar://8015977. | Evan Cheng | 2010-05-22 | 1 | -1/+4 | |
| | | | | | llvm-svn: 104421 | |||||
| * | Implement builtin_return_address(x) and builtin_frame_address(x) | Dale Johannesen | 2010-05-03 | 1 | -23/+34 | |
| | | | | | | | on PPC for x!=0. 7624113. llvm-svn: 102972 | |||||
| * | Get rid of the EdgeMapping map. Instead, just check for BasicBlock | Dan Gohman | 2010-05-01 | 1 | -6/+2 | |
| | | | | | | | changes before doing phi lowering for switches. llvm-svn: 102809 | |||||
| * | Implement -disable-non-leaf-fp-elim which disable frame pointer elimination | Evan Cheng | 2010-04-21 | 1 | -1/+1 | |
| | | | | | | | | optimization for non-leaf functions. This will be hooked up to gcc's -momit-leaf-frame-pointer option. rdar://7886181 llvm-svn: 101984 | |||||
| * | Add more const qualifiers on TargetMachine and friends. | Dan Gohman | 2010-04-21 | 1 | -2/+2 | |
| | | | | | llvm-svn: 101977 | |||||
| * | Use const qualifiers with TargetLowering. This eliminates several | Dan Gohman | 2010-04-17 | 1 | -37/+45 | |
| | | | | | | | | | | | | | | const_casts, and it reinforces the design of the Target classes being immutable. SelectionDAGISel::IsLegalToFold is now a static member function, because PIC16 uses it in an unconventional way. There is more room for API cleanup here. And PIC16's AsmPrinter no longer uses TargetLowering. llvm-svn: 101635 | |||||
| * | Move per-function state out of TargetLowering subclasses and into | Dan Gohman | 2010-04-17 | 1 | -30/+31 | |
| | | | | | | | MachineFunctionInfo subclasses. llvm-svn: 101634 | |||||
| * | Eliminate an unnecessary SelectionDAG dependency in getOptimalMemOpType. | Dan Gohman | 2010-04-16 | 1 | -3/+3 | |
| | | | | | llvm-svn: 101531 | |||||
| * | Add const qualifiers to CodeGen's use of LLVM IR constructs. | Dan Gohman | 2010-04-15 | 1 | -4/+4 | |
| | | | | | llvm-svn: 101334 | |||||
| * | Avoid using f64 to lower memcpy from constant string. It's cheaper to use ↵ | Evan Cheng | 2010-04-08 | 1 | -2/+5 | |
| | | | | | | | i32 store of immediates. llvm-svn: 100751 | |||||
| * | Reapply address space patch after fixing an issue in MemCopyOptimizer. | Mon P Wang | 2010-04-04 | 1 | -1/+1 | |
| | | | | | | | | Added support for address spaces and added a isVolatile field to memcpy, memmove, and memset, e.g., llvm.memcpy.i32(i8*, i8*, i32, i32) -> llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) llvm-svn: 100304 | |||||
| * | use DebugLoc default ctor instead of DebugLoc::getUnknownLoc() | Chris Lattner | 2010-04-02 | 1 | -4/+4 | |
| | | | | | llvm-svn: 100214 | |||||
| * | Correctly lower memset / memcpy of undef. It should be a nop. PR6767. | Evan Cheng | 2010-04-02 | 1 | -7/+10 | |
| | | | | | llvm-svn: 100208 | |||||
| * | Revert r100191 since it breaks objc in clang | Mon P Wang | 2010-04-02 | 1 | -1/+1 | |
| | | | | | llvm-svn: 100199 | |||||
| * | Reapply address space patch after fixing an issue in MemCopyOptimizer. | Mon P Wang | 2010-04-02 | 1 | -1/+1 | |
| | | | | | | | | Added support for address spaces and added a isVolatile field to memcpy, memmove, and memset, e.g., llvm.memcpy.i32(i8*, i8*, i32, i32) -> llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) llvm-svn: 100191 | |||||
| * | Add comments about DstAlign and SrcAlign. | Evan Cheng | 2010-04-01 | 1 | -0/+7 | |
| | | | | | llvm-svn: 100132 | |||||
| * | - Avoid using floating point stores to implement memset unless the value is ↵ | Evan Cheng | 2010-04-01 | 1 | -0/+1 | |
| | | | | | | | | | zero. - Do not try to infer GV alignment unless its type is sized. It's not possible to infer alignment if it has opaque type. llvm-svn: 100118 | |||||
| * | Fix sdisel memcpy, memset, memmove lowering: | Evan Cheng | 2010-04-01 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | 1. Makes it possible to lower with floating point loads and stores. 2. Avoid unaligned loads / stores unless it's fast. 3. Fix some memcpy lowering logic bug related to when to optimize a load from constant string into a constant. 4. Adjust x86 memcpy lowering threshold to make it more sane. 5. Fix x86 target hook so it uses vector and floating point memory ops more effectively. rdar://7774704 llvm-svn: 100090 | |||||
| * | Revert Mon Ping's change 99928, since it broke all the llvm-gcc buildbots. | Bob Wilson | 2010-03-30 | 1 | -1/+1 | |
| | | | | | llvm-svn: 99948 | |||||
| * | Added support for address spaces and added a isVolatile field to memcpy, ↵ | Mon P Wang | 2010-03-30 | 1 | -1/+1 | |
| | | | | | | | | | | memmove, and memset, e.g., llvm.memcpy.i32(i8*, i8*, i32, i32) -> llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) A update of langref will occur in a subsequent checkin. llvm-svn: 99928 | |||||
| * | Now that the default for Darwin platforms is to place the LSDA into the TEXT | Bill Wendling | 2010-03-15 | 1 | -2/+1 | |
| | | | | | | | section, remove the target-specific code that performs this. llvm-svn: 98580 | |||||
| * | tidy indentation | Chris Lattner | 2010-03-14 | 1 | -3/+3 | |
| | | | | | llvm-svn: 98523 | |||||
| * | The same situation that effected ARM effects PPC with regards to placing the | Bill Wendling | 2010-03-12 | 1 | -3/+4 | |
| | | | | | | | | | | LSDA into the TEXT section. We need to generate non-lazy pointers to it on Mach-O. However, the object the NLP points to may be local to the translation unit. If so, then the NLP needs to have the value of that object specified instead of "0", which the linker interprets as "external". llvm-svn: 98325 | |||||
| * | The address of an indirect call must be in R12 on Darwin. | Dale Johannesen | 2010-03-09 | 1 | -0/+10 | |
| | | | | | | | | | Make it so. (This patch is in LowerCall_Darwin, which seems to be used by SVR4 code as well; since that doesn't belong here, I haven't worried about this case.) llvm-svn: 98077 | |||||
| * | Remove dead parameter passing. | Bill Wendling | 2010-03-02 | 1 | -1/+1 | |
| | | | | | llvm-svn: 97536 | |||||
| * | Move TLOF implementations to libCodegen to resolve layering violation. | Anton Korobeynikov | 2010-02-15 | 1 | -1/+1 | |
| | | | | | llvm-svn: 96288 | |||||
| * | Remove an assumption of default arguments. This is in anticipation of a | David Greene | 2010-02-15 | 1 | -41/+79 | |
| | | | | | | | change to SelectionDAG build APIs. llvm-svn: 96236 | |||||
| * | Rename the PerformTailCallOpt variable to GuaranteedTailCallOpt to reflect | Dan Gohman | 2010-02-08 | 1 | -7/+7 | |
| | | | | | | | its current purpose. llvm-svn: 95564 | |||||
| * | Revert 95130. | Evan Cheng | 2010-02-02 | 1 | -1/+1 | |
| | | | | | llvm-svn: 95160 | |||||
| * | Pass callsite return type to TargetLowering::LowerCall and use that to check ↵ | Evan Cheng | 2010-02-02 | 1 | -1/+1 | |
| | | | | | | | sibcall eligibility. llvm-svn: 95130 | |||||
| * | PPC is not ready for sibcall optimization. | Evan Cheng | 2010-01-29 | 1 | -0/+3 | |
| | | | | | llvm-svn: 94853 | |||||

