- Jul 18, 2011
-
-
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
-
Jakub Staszak authored
llvm-svn: 135352
-
Owen Anderson authored
llvm-svn: 135343
-
Eric Christopher authored
llvm-svn: 135342
-
Matt Beaumont-Gay authored
llvm-svn: 135339
-
Eli Friedman authored
Make the disassembler able to disassemble a bunch of instructions with names in the TableGen files containing "64" on x86-32. This includes a bunch of x87 instructions, like fld, and a bunch of SSSE3 instructions on MMX registers like pshufb. Part of PR8873. llvm-svn: 135337
-
Andrew Trick authored
assertion I added in r135333. Check for the existence of a preheader before expanding a recurrence. llvm-svn: 135335
-
Andrew Trick authored
llvm-svn: 135334
-
Andrew Trick authored
related bug fixes and corresponding assertions for uninitialized data and missing NULL check. Test cases will be included with the new LFTR. llvm-svn: 135333
-
Bruno Cardoso Lopes authored
llvm-svn: 135332
-
Eric Christopher authored
llvm-svn: 135330
-
Jakob Stoklund Olesen authored
This should unbreak the build-self-4-mingw32 tester. I have a very complicated test case that I will try to clean up. llvm-svn: 135329
-
-
Chris Lattner authored
llvm-svn: 135323
-