- Jul 19, 2011
-
-
Evan Cheng authored
better location welcome). llvm-svn: 135438
-
Owen Anderson authored
Mark the Darwin assembler workout as isCodeGenOnly, so that it doesn't cause decoding conflicts in the new-style disassembler. llvm-svn: 135434
-
- Jul 18, 2011
-
-
Jeffrey Yasskin authored
errors like the one corrected by r135261. Migrate all LLVM callers of the old constructor to the new one. llvm-svn: 135431
-
Eli Friedman authored
llvm-svn: 135427
-
Andrew Trick authored
llvm-svn: 135426
-
Evan Cheng authored
to MCRegisterInfo. Also initialize the mapping at construction time. This patch eliminate TargetRegisterInfo from TargetAsmInfo. It's another step towards fixing the layering violation. llvm-svn: 135424
-
Devang Patel authored
During bottom up fast-isel, instructions emitted to materalize registers are at top of basic block and do not have debug location. This may misguide debugger while entering the basic block and sometimes debugger provides semi useful view of current location to developer by picking up previous known location as current location. Assign a sensible location to the first instruction in a basic block, if it does not have one location derived from source file, so that debugger can provide meaningful user experience to developers in edge cases. [take 2] llvm-svn: 135423
-
Andrew Trick authored
For -disable-iv-rewrite, perform LFTR without generating a new "canonical" induction variable. Instead find the "best" existing induction variable for use in the loop exit test and compute the final value of that IV for use in the new loop exit test. In short, convert to a simple eq/ne exit test as long as it's cheap to do so. llvm-svn: 135420
-
Akira Hatanaka authored
llvm-svn: 135418
-
Akira Hatanaka authored
moving them out of the loop. Previously, stores and loads to a stack frame object were inserted to accomplish this. Remove the code that was needed to do this. Patch by Sasa Stankovic. llvm-svn: 135415
-
Owen Anderson authored
Original Log: Get rid of the separate opcodes for the Darwin versions of tBL, tBLXi, and tBLXr, using pseudo-instructions to lower to the single final opcode. Update the ARM disassembler for this change. llvm-svn: 135414
-
Jakob Stoklund Olesen authored
When splitting a live range immediately before an LDR_POST instruction that redefines the address register, make sure to use the correct value number in leaveIntvBefore. We need the value number entering the instruction. <rdar://problem/9793765> llvm-svn: 135413
-
Andrew Trick authored
not interfere with BackedgeTakenCount computation. llvm-svn: 135412
-
Andrew Trick authored
preheader for the sole purpose of LFTR, since LFTR itself is usually not a clear optimization. llvm-svn: 135409
-
Bruno Cardoso Lopes authored
definitions. llvm-svn: 135407
-
Bruno Cardoso Lopes authored
llvm-svn: 135404
-
Akira Hatanaka authored
virtual registers are used. llvm-svn: 135403
-
Jakob Stoklund Olesen authored
Make all of the RecTy constructors private, and use get() factory methods instead. Return singleton instances when it makes sense. ListTy instance pointers are stored in the element RecTy instance. BitsRecTy instance pointers, one per length, are stored in a static vector. Also unique DefInit instances. A Record has a unique DefInit which has a unique RecordRecTy instance. This saves some 200k-300k RecTy allocations when parsing ARM.td. It reduces TableGen's heap usage by almost 50%. llvm-svn: 135399
-
Chris Lattner authored
llvm-svn: 135396
-
Chris Lattner authored
llvm-svn: 135394
-
Frits van Bommel authored
Hopefully fix some GCC-based buildbots. GCC apparently decays the array to a pointer here before overload resolution, so construct with an explicit length instead. llvm-svn: 135391
-
Frits van Bommel authored
Migrate LLVM and Clang to use the new makeArrayRef(...) functions where previously explicit non-default constructors were used. Mostly mechanical with some manual reformatting. llvm-svn: 135390
-
Frits van Bommel authored
Introduce the 'makeArrayRef(...)' family of functions, which fills a similar role for ArrayRef<> as std::make_pair() fills for std::pair<>: they return the right instantiation of ArrayRef<T> based on the types of the parameters. They mostly mirror the ArrayRef constructors, with two exceptions: * There's no function mirroring the default constructor because it wouldn't have any parameters to deduce the right ArrayRef<T> from. * There's an explicit SmallVector<T> overload in addition to the SmallVectorImpl<T> overload. Without it, the single-element overload would try to create an ArrayRef<Smallvector<T> > because it's a better match according to the overloading rules. (And both overloads are used in the current tree, so neither is redundant) llvm-svn: 135389
-
Nick Lewycky authored
llvm-svn: 135379
-
Jakob Stoklund Olesen authored
When trying to rematerialize a value before an instruction that has an early-clobber redefine of the virtual register, make sure to look up the correct value number. Early-clobber defs are moved one slot back, so getBaseIndex is needed to find the used value number. Bugpoint was unable to reduce the test case for this, see PR10388. llvm-svn: 135378
-
Chris Lattner authored
llvm-svn: 135376
-
Chris Lattner authored
llvm-svn: 135375
-
Chris Lattner authored
update for recent api changes. I have a hard time believing that this is actually a useful example. llvm-svn: 135374
-
Chris Lattner authored
llvm-svn: 135373
-
Evan Cheng authored
llvm-svn: 135369
-
Chris Lattner authored
llvm-svn: 135367
-
Chris Lattner authored
mallocs. llvm-svn: 135366
-
Chris Lattner authored
llvm-svn: 135365
-
Benjamin Kramer authored
llvm-svn: 135364
-
- Jul 17, 2011
-
-
Nadav Rotem authored
llvm-svn: 135362
-
Oscar Fuentes authored
When building LLVM/Clang on Solaris. The generated makefiles would have an extraneous semi-colon character in them prior to this change due to the way the 'CMAKE_CXX_FLAGS' variable was defined. Simply adjusting the definition by moving the current CMAKE_CXX_FLAGS value within the quotes solves the problem. Patch by Art Haas! llvm-svn: 135361
-
Chris Lattner authored
llvm-svn: 135360
-
Benjamin Kramer authored
llvm-svn: 135358
-
- Jul 16, 2011
-
-
Jakub Staszak authored
llvm-svn: 135354
-
Jakub Staszak authored
llvm-svn: 135353
-