Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix rdar://7879828 - crash in CallGraph, a self host issue. | Chris Lattner | 2010-04-20 | 2 | -3/+47 |
| | | | | | | | | Arg promotion was deleting call graph nodes that still had references from the 'indirect' CGN. Like the inliner, it should only delete the function if all references are gone. llvm-svn: 101845 | ||||
* | Remove MachineFunction's DefaultDebugLoc member, and make DwarfDebug.cpp | Dan Gohman | 2010-04-20 | 3 | -23/+16 |
| | | | | | | responsible for figuring out what that's supposed to be on its own. llvm-svn: 101844 | ||||
* | Reapply the removal of SelectionDAGISel's BB, with a fix for the case | Dan Gohman | 2010-04-20 | 2 | -24/+28 |
| | | | | | | | where multiple blocks are emitted; functions which do this need to return the new BB so that their callers can stay current. llvm-svn: 101843 | ||||
* | Fix tests for Neon load/store intrinsics to match the i8* types expected by | Bob Wilson | 2010-04-20 | 10 | -94/+188 |
| | | | | | | | | | | the intrinsics. The reason for those i8* types is that the intrinsics are overloaded on the vector type and we don't have a way to declare an intrinsic where one argument is an overloaded vector type and another argument is a pointer to the vector element type. The bitcasts added here will match what the frontend will typically generate when these intrinsics are used. llvm-svn: 101840 | ||||
* | More IT instruction error-handling improvements from fuzzing. | Johnny Chen | 2010-04-20 | 1 | -3/+17 |
| | | | | llvm-svn: 101839 | ||||
* | Revert 101825, which is causing trouble. | Dan Gohman | 2010-04-19 | 2 | -19/+18 |
| | | | | llvm-svn: 101832 | ||||
* | Make BreakAntiDependencies' SUnits argument const, and make the Begin | Dan Gohman | 2010-04-19 | 5 | -41/+42 |
| | | | | | | and End arguments by-value rather than by-reference. llvm-svn: 101830 | ||||
* | Better error handling of invalid IT mask '0000', instead of just asserting. | Johnny Chen | 2010-04-19 | 3 | -5/+11 |
| | | | | llvm-svn: 101827 | ||||
* | Eliminate SelectionDAGISel's "current block" member. Just pass it as | Dan Gohman | 2010-04-19 | 2 | -18/+19 |
| | | | | | | an argument to things that need it. llvm-svn: 101825 | ||||
* | Delete an unnecessary reference to SelectionDAGISel::BB. | Dan Gohman | 2010-04-19 | 1 | -1/+0 |
| | | | | llvm-svn: 101824 | ||||
* | Eliminate the CurMBB member from SelectionDAGBuilder. For places that | Dan Gohman | 2010-04-19 | 3 | -84/+106 |
| | | | | | | | need it, just pass around the parent block of the current instruction explicitly. llvm-svn: 101822 | ||||
* | Remove the Expr member from IVUsers. Instead of remembering the expression, | Dan Gohman | 2010-04-19 | 4 | -58/+65 |
| | | | | | | | just ask ScalarEvolution for it on demand. This helps IVUsers be more robust in the case of expressions changing underneath it. This fixes PR6862. llvm-svn: 101819 | ||||
* | According to A8.6.16 B (Encoding T3) and A8.3 Conditional execution -- A8.3.1 | Johnny Chen | 2010-04-19 | 2 | -8/+16 |
| | | | | | | | | | | Pseudocode details of conditional, Condition bits '111x' indicate the instruction is always executed. That is, '1111' is a leagl condition field value, which is now mapped to ARMCC::AL. Also add a test case for condition field '1111'. llvm-svn: 101817 | ||||
* | Fix typo. add a test case. | Devang Patel | 2010-04-19 | 2 | -1/+31 |
| | | | | llvm-svn: 101812 | ||||
* | More progress on promoting i16 operations to i32 for x86. Work in progress. | Evan Cheng | 2010-04-19 | 2 | -17/+153 |
| | | | | llvm-svn: 101808 | ||||
* | Give SelectionDAG a TargetMachine too, rather than having it | Dan Gohman | 2010-04-19 | 3 | -9/+6 |
| | | | | | | fetch one from the MachineFunction. llvm-svn: 101807 | ||||
* | More 80 col violation. | Evan Cheng | 2010-04-19 | 1 | -2/+4 |
| | | | | llvm-svn: 101806 | ||||
* | Add DW_AT_APPLE_omit_frame_ptr to encode -fomit-frame-pointer flag. | Devang Patel | 2010-04-19 | 3 | -1/+8 |
| | | | | llvm-svn: 101805 | ||||
* | Code that needs a TargetMachine should have access to one directly, rather | Dan Gohman | 2010-04-19 | 7 | -21/+23 |
| | | | | | | than just getting one through a TargetLowering. llvm-svn: 101802 | ||||
* | Move isInTailCallPosition out of SelectionDAGBuilder, as it isn't | Dan Gohman | 2010-04-19 | 3 | -86/+95 |
| | | | | | | SelectionDAG-specific. llvm-svn: 101801 | ||||
* | Enable -Wcast-qual for C++ files, where intentional qualifier-stripping can | Dan Gohman | 2010-04-19 | 1 | -0/+2 |
| | | | | | | be done with const_cast. llvm-svn: 101798 | ||||
* | Remove -module, which appears to be a leftover from prior libtool usage. | Dan Gohman | 2010-04-19 | 1 | -7/+0 |
| | | | | llvm-svn: 101793 | ||||
* | This doesn't need SmallVector.h anymore. | Dan Gohman | 2010-04-19 | 1 | -1/+0 |
| | | | | llvm-svn: 101790 | ||||
* | Support .a files directly (without -l). | Mikhail Glushenkov | 2010-04-19 | 1 | -1/+2 |
| | | | | llvm-svn: 101789 | ||||
* | Better error-handling for DisassembleThumb2DPSoReg() where the 3-reg operand | Johnny Chen | 2010-04-19 | 1 | -3/+6 |
| | | | | | | | | instructions should have Rd (Inst{11-8}) != 0b1111. Ref: A6.3 32-bit Thumb instruction encoding A6.3.11 Data-processing (shifted register) llvm-svn: 101788 | ||||
* | Fix this for std::vectors which don't have .data(). | Dan Gohman | 2010-04-19 | 1 | -1/+1 |
| | | | | llvm-svn: 101785 | ||||
* | ARM disassembler did not react to recent changes to the NEON instruction table. | Johnny Chen | 2010-04-19 | 2 | -10/+26 |
| | | | | | | VLD1q*_UPD and VST1q*_UPD have the ${dst:dregpair} operand now. llvm-svn: 101784 | ||||
* | Don't write into MemoryBuffers. | Benjamin Kramer | 2010-04-19 | 5 | -20/+15 |
| | | | | llvm-svn: 101783 | ||||
* | Fix -Wcast-qual warnings. | Dan Gohman | 2010-04-19 | 1 | -6/+10 |
| | | | | llvm-svn: 101782 | ||||
* | Revert 91528 and use a std::vector instead, fixing an abuse of std::string. | Dan Gohman | 2010-04-19 | 1 | -10/+16 |
| | | | | llvm-svn: 101781 | ||||
* | Fix -Wcast-qual warnings. | Dan Gohman | 2010-04-19 | 3 | -6/+11 |
| | | | | llvm-svn: 101779 | ||||
* | Add a few more ELF bits. | Dan Gohman | 2010-04-19 | 1 | -0/+11 |
| | | | | llvm-svn: 101778 | ||||
* | Add a const. | Dan Gohman | 2010-04-19 | 1 | -1/+1 |
| | | | | llvm-svn: 101777 | ||||
* | These functions don't need to access this. | Dan Gohman | 2010-04-19 | 1 | -2/+2 |
| | | | | llvm-svn: 101776 | ||||
* | Add missed part of prev. commit | Anton Korobeynikov | 2010-04-18 | 1 | -1/+2 |
| | | | | llvm-svn: 101755 | ||||
* | Make processor FUs unique for given itinerary. This extends the limit of 32 | Anton Korobeynikov | 2010-04-18 | 15 | -858/+894 |
| | | | | | | | FU per CPU arch to 32 per intinerary allowing precise modelling of quite complex pipelines in the future. llvm-svn: 101754 | ||||
* | avoid temporary std::string in non posix_spawn path. | Chris Lattner | 2010-04-18 | 1 | -4/+4 |
| | | | | llvm-svn: 101723 | ||||
* | Eliminate temporary string. | Benjamin Kramer | 2010-04-18 | 1 | -4/+4 |
| | | | | llvm-svn: 101711 | ||||
* | Properly inherit the environment on darwin where environ is not available ↵ | Benjamin Kramer | 2010-04-18 | 1 | -1/+6 |
| | | | | | | for shared libraries. llvm-svn: 101710 | ||||
* | This is horrible. Split the difference, and declare 'environ' on all non-Darwin | Nick Lewycky | 2010-04-18 | 1 | -0/+7 |
| | | | | | | | platforms to unbreak the darwin and linux builds. The BSD folks should feel free to change the #if, if this breaks them. llvm-svn: 101703 | ||||
* | Revert r101701, Darwin doesn't have 'environ'. Go figure. | Nick Lewycky | 2010-04-18 | 1 | -3/+0 |
| | | | | llvm-svn: 101702 | ||||
* | Fix linux build. posix_spawn doesn't inherit the environment by default. | Nick Lewycky | 2010-04-18 | 1 | -1/+4 |
| | | | | llvm-svn: 101701 | ||||
* | make Program::Execute use posix_spawn on systems that support it, | Chris Lattner | 2010-04-18 | 1 | -9/+64 |
| | | | | | | | | | as it is more efficient than fork/exec. Thanks to Eric for adding the autoconf check. It would be nice if a cmake guru could add a cmake check for posix_spawn as well. llvm-svn: 101693 | ||||
* | reduce indentation | Chris Lattner | 2010-04-18 | 1 | -21/+21 |
| | | | | llvm-svn: 101692 | ||||
* | unnest from namespace. | Chris Lattner | 2010-04-18 | 1 | -5/+1 |
| | | | | llvm-svn: 101691 | ||||
* | silence some -Wmissing-field-initializers warnings. | Chris Lattner | 2010-04-18 | 1 | -2/+2 |
| | | | | llvm-svn: 101690 | ||||
* | silence some unused-value warnings. | Chris Lattner | 2010-04-18 | 1 | -4/+4 |
| | | | | llvm-svn: 101689 | ||||
* | Don't rely upon the MCSymbol "isDefined" method to indicate if a label has been | Bill Wendling | 2010-04-18 | 1 | -2/+2 |
| | | | | | | | emitted or not. The JIT doesn't set that. Look it up in the label location table instead. llvm-svn: 101686 | ||||
* | Formatting changes. No functionality change. | Bill Wendling | 2010-04-18 | 1 | -29/+28 |
| | | | | llvm-svn: 101685 | ||||
* | Add a "PadTo" field to the emitULEB128Bytes method. This will pad out to the | Bill Wendling | 2010-04-18 | 1 | -2/+9 |
| | | | | | | indicated number of bytes. llvm-svn: 101684 |