#
9d46110f |
| 24-Dec-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Use a std::string rather than a dynamically allocated char* buffer.
This affords us to use std::string's allocation routines and use the destructor for the memory management. Switching to that also
Use a std::string rather than a dynamically allocated char* buffer.
This affords us to use std::string's allocation routines and use the destructor for the memory management. Switching to that also means that we can use operator==(const std::string&, const char *) to perform the string comparison rather than resorting to libc functionality (i.e. strcmp).
Patch by Saleem Abdulrasool!
Differential Revision: http://llvm-reviews.chandlerc.com/D230
llvm-svn: 171042
show more ...
|
#
5521b94b |
| 21-Dec-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Cleanup compiler warnings on discarding type qualifiers in casts. Switch to C++ style casts.
Patch by Saleem Abdulrasool!
Differential Revision: http://llvm-reviews.chandlerc.com/D204
llvm-svn: 17
Cleanup compiler warnings on discarding type qualifiers in casts. Switch to C++ style casts.
Patch by Saleem Abdulrasool!
Differential Revision: http://llvm-reviews.chandlerc.com/D204
llvm-svn: 170917
show more ...
|
Revision tags: llvmorg-3.2.0, llvmorg-3.2.0-rc3 |
|
#
ed0881b2 |
| 03-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Use the new script to sort the includes of every file under lib.
Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module
Use the new script to sort the includes of every file under lib.
Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module include to be the nearest plausible thing I could find. If you own or care about any of these source files, I encourage you to take some time and check that these edits were sensible. I can't have broken anything (I strictly added headers, and reordered them, never removed), but they may not be the headers you'd really like to identify as containing the API being implemented.
Many forward declarations and missing includes were added to a header files to allow them to parse cleanly when included first. The main module rule does in fact have its merits. =]
llvm-svn: 169131
show more ...
|
Revision tags: llvmorg-3.2.0-rc2, llvmorg-3.2.0-rc1, llvmorg-3.1.0, llvmorg-3.1.0-rc3, llvmorg-3.1.0-rc2, llvmorg-3.1.0-rc1 |
|
#
b22310fd |
| 18-Feb-2012 |
Jia Liu <proljc@gmail.com> |
Emacs-tag and some comment fix for all ARM, CellSPU, Hexagon, MBlaze, MSP430, PPC, PTX, Sparc, X86, XCore.
llvm-svn: 150878
|
#
e55c556a |
| 07-Feb-2012 |
Craig Topper <craig.topper@gmail.com> |
Convert assert(0) to llvm_unreachable
llvm-svn: 149961
|
#
486df738 |
| 16-Jan-2012 |
David Blaikie <dblaikie@gmail.com> |
Removing unused default switch cases in switches over enums that already account for all enumeration values explicitly.
(This time I believe I've checked all the -Wreturn-type warnings from GCC & ad
Removing unused default switch cases in switches over enums that already account for all enumeration values explicitly.
(This time I believe I've checked all the -Wreturn-type warnings from GCC & added the couple of llvm_unreachables necessary to silence them. If I've missed any, I'll happily fix them as soon as I know about them)
llvm-svn: 148262
show more ...
|
Revision tags: llvmorg-3.0.0, llvmorg-3.0.0-rc4, llvmorg-3.0.0-rc3, llvmorg-3.0.0-rc2 |
|
#
f33bfbba |
| 24-Oct-2011 |
Evan Cheng <evan.cheng@apple.com> |
ARMConstantPoolMBB::print should print BB number.
llvm-svn: 142867
|
Revision tags: llvmorg-3.0.0-rc1 |
|
#
d072b73d |
| 01-Oct-2011 |
Bill Wendling <isanbard@gmail.com> |
No one should be using the method directly. Assert if they do.
llvm-svn: 140947
|
#
f977ff5f |
| 01-Oct-2011 |
Bill Wendling <isanbard@gmail.com> |
Add a convenience method to tell if two things are equal.
llvm-svn: 140946
|
#
4a4772fa |
| 01-Oct-2011 |
Bill Wendling <isanbard@gmail.com> |
Use the ARMConstantPoolMBB class to handle the MBB values.
llvm-svn: 140943
|
#
6dbc9fe8 |
| 01-Oct-2011 |
Bill Wendling <isanbard@gmail.com> |
Add ARMConstantPoolMBB to hold an MBB value in the constant pool.
llvm-svn: 140942
|
#
c5a86069 |
| 01-Oct-2011 |
Bill Wendling <isanbard@gmail.com> |
Remove dead code.
llvm-svn: 140941
|
#
9ff05f74 |
| 01-Oct-2011 |
Bill Wendling <isanbard@gmail.com> |
Remove now dead methods and ivar.
llvm-svn: 140940
|
#
c214cb05 |
| 01-Oct-2011 |
Bill Wendling <isanbard@gmail.com> |
Use the new ARMConstantPoolSymbol class to handle external symbols.
llvm-svn: 140939
|
#
d7fa0167 |
| 01-Oct-2011 |
Bill Wendling <isanbard@gmail.com> |
Add an ARMConstantPool class for external symbols. This will split out the support for external symbols from the base class.
llvm-svn: 140938
|
#
d115c4d3 |
| 01-Oct-2011 |
Bill Wendling <isanbard@gmail.com> |
Remove now dead methods and ivar from ARMConstantPoolValue.
llvm-svn: 140937
|
#
7753d664 |
| 01-Oct-2011 |
Bill Wendling <isanbard@gmail.com> |
Switch over to using ARMConstantPoolConstant for global variables, functions, and block addresses.
llvm-svn: 140936
|
#
f117a35d |
| 01-Oct-2011 |
Bill Wendling <isanbard@gmail.com> |
Some more refactoring.
* Add a couple of Create methods to the ARMConstantPoolConstant class, * Add its own version of getExistingMachineCPValue, and * Modify hasSameValue to return false if the obj
Some more refactoring.
* Add a couple of Create methods to the ARMConstantPoolConstant class, * Add its own version of getExistingMachineCPValue, and * Modify hasSameValue to return false if the object isn't an ARMConstantPoolConstant.
llvm-svn: 140935
show more ...
|
#
67225563 |
| 01-Oct-2011 |
Bill Wendling <isanbard@gmail.com> |
Add a Create method that accepts 'kind' and 'pcadj' arguments.
llvm-svn: 140934
|
#
396c211a |
| 01-Oct-2011 |
Bill Wendling <isanbard@gmail.com> |
Refactoring: Separate out the ARM constant pool Constant from the ARM constant pool value.
It's not used right now, but will be soon.
llvm-svn: 140933
|
#
e8e4dbf4 |
| 30-Sep-2011 |
Bill Wendling <isanbard@gmail.com> |
Constify 'isLSDA' and move a method out-of-line.
llvm-svn: 140868
|
#
a1127b2f |
| 29-Sep-2011 |
Bill Wendling <isanbard@gmail.com> |
Support creating a constant pool value for a machine basic block.
This is used when we want to take the address of a machine basic block, but it's not associated with a BB in LLVM IR.
llvm-svn: 140
Support creating a constant pool value for a machine basic block.
This is used when we want to take the address of a machine basic block, but it's not associated with a BB in LLVM IR.
llvm-svn: 140823
show more ...
|
#
af136f71 |
| 27-Sep-2011 |
Jim Grosbach <grosbach@apple.com> |
Rename AddSelectionDAGCSEId() to addSelectionDAGCSEId().
Naming conventions consistency. No functional change.
llvm-svn: 140636
|
#
229907cd |
| 18-Jul-2011 |
Chris Lattner <sabre@nondot.org> |
land David Blaikie's patch to de-constify Type, with a few tweaks.
llvm-svn: 135375
|
Revision tags: llvmorg-2.9.0, llvmorg-2.9.0-rc3, llvmorg-2.9.0-rc2, llvmorg-2.9.0-rc1 |
|
#
d602c2cc |
| 01-Dec-2010 |
Jan Wen Voung <jvoung@google.com> |
Initialize an ARMConstantPoolValue field.
llvm-svn: 120525
|