- Sep 28, 2011
-
-
Akira Hatanaka authored
llvm-svn: 140704
-
Akira Hatanaka authored
llvm-svn: 140703
-
Greg Clayton authored
hash tables. Renamed the DWARF sections to ".apple_names" and ".apple_types" until we get more buy in from other vendors. llvm-svn: 140702
-
Andrew Trick authored
Handle general Add expressions to avoid leaving around redundant 32-bit IVs. llvm-svn: 140701
-
Howard Hinnant authored
llvm-svn: 140700
-
Justin Holewinski authored
Get rid of some of the no-longer-needed parts of PTXAsmPrinter. llvm-svn: 140698
-
Justin Holewinski authored
Lay some groundwork for converting to MC-based asm printer. This is the first of probably many patches to bring the back-end back up-to-date with all of the recent MC changes. llvm-svn: 140697
-
James Molloy authored
Build on previous patches to successfully distinguish between an M-series and A/R-series MSR and MRS instruction. These take different mask names and have a *slightly* different opcode format. Add decoder and disassembler tests. Improvement on the previous patch - successfully distinguish between valid v6m and v7m masks (one is a subset of the other). The patch had to be edited slightly to apply to ToT. llvm-svn: 140696
-
Garrison Venn authored
handling with references to http://sourcery.mentor.com/public/cxx-abi/abi-eh.html (r 1.22). llvm-svn: 140695
-
NAKAMURA Takumi authored
llvm-svn: 140694
-
Chandler Carruth authored
llvm-svn: 140693
-
Chandler Carruth authored
predefines based on the output of GCC as well as the CPU predefines. Invert tests for __AVX__, Clang's AVX feature is hard coded off still. Switch Atom from 'SSE3' to 'SSSE3'. This matches GCC's behavior, Intel's documentation, and ICC's documentation (such as I could dig up). Switch Athlon and Geode to enable 3dnowa rather than just 3dnow and nothing (resp.). llvm-svn: 140692
-
Chandler Carruth authored
automate the process of updating and generating these tests. If anyone is really interested, I can check my scripts for generating this test in, but its a horrible pile of shell... Not sure its really worth it. llvm-svn: 140691
-
Chandler Carruth authored
__tune_...__ define as well. llvm-svn: 140690
-
Chandler Carruth authored
the target identifying macros at the top, including subtarget macros. llvm-svn: 140689
-
Chandler Carruth authored
Add 64-bit preprocessor macro tests. llvm-svn: 140688
-
Chandler Carruth authored
fallthrough now that we're working with a switch. Also remove a dubious "feature" regarding k6 processors and 3dnow and leave a fixme... Not that anyone is likely to care about correct tuning for k6 processors with and w/o 3dnow... llvm-svn: 140687
-
Duncan Sands authored
when there is both a catch and a cleanup. Correct the comment. llvm-svn: 140686
-
Chandler Carruth authored
selected CPU model to the enumeration. This parses the string representation once using a StringSwitch on SetCPU. It returns an error for strings which are not recognized (yay!). Finally it replaces ridiculous if-chains with switches that cover all enumerators. The last change required adding several missing entries to the features function. These were obvious on inspection. Yay for a pattern that gives warnings when we miss one. No new test cases yet, as I want to get the 64-bit errors working first. I'll then start fleshing out the testing more. Currently I'm primarily testing on Linux, but I'm hoping check whether there are interesting differences on darwin before long... llvm-svn: 140685
-
Chandler Carruth authored
tried to give these nice doxyments, but if I've gotten any of my history wrong, please chime in. llvm-svn: 140684
-
Chandler Carruth authored
it an error if a CPU is provided for a target that doesn't implement logic handling CPU settings, to match the ABI settings. It also removes the CPU parameter from the getDefaultFeatures method. This parameter was always filled in with the same value as setCPU was called with, and at this point every single target implementation that referenced the CPU within this function has needed to store the CPU via setCPU anyways in order to implement other interface points. llvm-svn: 140683
-
Benjamin Kramer authored
llvm-svn: 140682
-
Ted Kremenek authored
llvm-svn: 140681
-
Benjamin Kramer authored
llvm-svn: 140680
-
Benjamin Kramer authored
The copies caused use-after-free bugs on std::string implementations without COW (i.e. anything but libstdc++) llvm-svn: 140679
-
Bill Wendling authored
llvm-svn: 140678
-
Bill Wendling authored
llvm-svn: 140677
-
Bill Wendling authored
This intrinsic is used to pass the index of the function context to the back-end for further processing. The back-end is in charge of filling in the rest of the entries. llvm-svn: 140676
-
Bill Wendling authored
The DWARF exception pass uses the call site information, which is set up here. A pre-RA pass is too late for it to use this information. So create and setup the function context here, and then insert the call site values here (and map the call sites for the DWARF EH pass). This is simpler than the original pass, and doesn't make the CFG lose its SSA-ness. It's a win-win-win-win-lose-win-win situation. llvm-svn: 140675
-
Bill Wendling authored
We may need an SjLj EH preparation pass for some call site information, at least in the short term. llvm-svn: 140674
-
Chandler Carruth authored
is *very* much a WIP that I'll be refining over the next several commits, but I need to get this checkpoint in place for sanity. This also adds a much more comprehensive test for architecture macros, which is roughly generated by inspecting the behavior of a trunk build of GCC. It still requires some massaging, but eventually I'll even check in the script that generates these so that others can use it to append more tests for more architectures, etc. Next up is a bunch of simplification of the Targets.cpp code, followed by a lot more test cases once we can reject invalid architectures. llvm-svn: 140673
-
Argyrios Kyrtzidis authored
a function/method/block it returns the corresponding DeclContext, otherwise it returns null. llvm-svn: 140672
-
Andrew Trick authored
llvm-svn: 140671
-
Andrew Trick authored
llvm-svn: 140670
-
Johnny Chen authored
Add the relevant utility functions to the lldbutil.py file. llvm-svn: 140669
-
Chad Rosier authored
armv7, go ahead as assume we're targeting iOS. rdar://10147774 llvm-svn: 140668
-
Eli Friedman authored
PR10628: Fix getModRefInfo so it queries the underlying alias() implementation correctly while checking nocapture calls. llvm-svn: 140666
-
Jakob Stoklund Olesen authored
No functional change intended. llvm-svn: 140664
-
Jakob Stoklund Olesen authored
I'll clean up the source in the next commit. llvm-svn: 140663
-
Jim Ingham authored
llvm-svn: 140662
-