- Sep 28, 2011
-
-
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
-
Akira Hatanaka authored
llvm-svn: 140661
-
Howard Hinnant authored
Another installment on debug mode. This addresses list. However this should be considered a temporary state. The API of the debug database and how vector and list use it, is unsatisfactory at the moment. It is both inefficient and overly verbose. I wanted to get this functionality checked in though. In the next day or so I'll refactor what is there in an attempt to streamline things. llvm-svn: 140660
-
Jakob Stoklund Olesen authored
This also enables domain swizzling for AVX code which required a few trivial test changes. The pass will be moved to lib/CodeGen shortly. llvm-svn: 140659
-
Eli Friedman authored
PR11002: Make sure we emit sentinel warnings with a valid source location. (Ideally, we want to use the location returned by getLocForEndOfToken, but that is not always successful.) llvm-svn: 140658
-
Ted Kremenek authored
llvm-svn: 140657
-
Douglas Gregor authored
macro whose only replacement token is '_Bool'. llvm-svn: 140656
-
Ted Kremenek authored
llvm-svn: 140655
-
Johnny Chen authored
In particular, it iterates through the executable module's SBSections, looking for the '__TEXT' section and further iterates on its subsections (of SBSection type, too). llvm-svn: 140654
-
Jakob Stoklund Olesen authored
llvm-svn: 140653
-
Jakob Stoklund Olesen authored
I am going to unify the SSEDomainFix and NEONMoveFix passes into a single target independent pass. They are essentially doing the same thing. llvm-svn: 140652
-
Douglas Gregor authored
versions of libc++. Newer versions of libc++ know how to deal with ARC properly. Fixes <rdar://problem/10062179>. llvm-svn: 140651
-
Douglas Gregor authored
'bool' rather than '_Bool' within types, to make things a bit more readable. Fixes <rdar://problem/10063263>. llvm-svn: 140650
-
Fariborz Jahanian authored
attribute must match its overriden method. Same also for ns_returns_retained/not_retained on the result type. This is one half of // rdar://10187884 llvm-svn: 140649
-
Anna Zaks authored
llvm-svn: 140648
-
Jim Grosbach authored
Add inst alias to handle these assembly forms. Add tests, too. rdar://10178799 llvm-svn: 140647
-
Bill Wendling authored
current IR-level pass. The old SjLj EH pass has some problems, especially with the new EH model. Most significantly, it violates some of the new restrictions the new model has. For instance, the 'dispatch' table wants to jump to the landing pad, but we cannot allow that because only an invoke's unwind edge can jump to a landing pad. This requires us to mangle the code something awful. In addition, we need to keep the now dead landingpad instructions around instead of CSE'ing them because the DWARF emitter uses that information (they are dead because no control flow edge will execute them - the control flow edge from an invoke's unwind is superceded by the edge coming from the dispatch). Basically, this pass belongs not at the IR level where SSA is king, but at the code-gen level, where we have more flexibility. llvm-svn: 140646
-
David Chisnall authored
Check for GCC paths that have the target triple in them. This is required for a lot of cross-compile toolchains. Also add some slightly better support for -B. llvm-svn: 140645
-
Akira Hatanaka authored
of the instruction definitions using Pat<>. llvm-svn: 140644
-
- Sep 27, 2011
-
-
Cameron Zwarich authored
a suboptimal schedule. llvm-svn: 140643
-
Eli Friedman authored
llvm-svn: 140642
-
NAKAMURA Takumi authored
test/CMakeLists.txt: Depend on llvm-objdump. "make check" is expected to resolve test-dependent targets on CMake build. llvm-svn: 140641
-
Johnny Chen authored
llvm-svn: 140640
-
Douglas Gregor authored
with the copy line failing with an error, yet the make will complete successfully. From Greg Clayton! llvm-svn: 140639
-
Johnny Chen authored
Modify get_description() utility function in lldbutil.py to handle that. llvm-svn: 140638
-
Benjamin Kramer authored
llvm-svn: 140637
-
Jim Grosbach authored
Naming conventions consistency. No functional change. llvm-svn: 140636
-
Anna Zaks authored
llvm-svn: 140635
-