- Oct 18, 2012
-
-
Michael Liao authored
- In general, it's unsafe for this transformation. llvm-svn: 166135
-
Reed Kotler authored
llvm-svn: 166134
-
Enrico Granata authored
llvm-svn: 166133
-
Sean Callanan authored
using a reference-counted pointer. This avoids memory-management problems when the TargetOptions are deleted. llvm-svn: 166132
-
Sean Callanan authored
the expression parser (also wchar_t) and added a test case. llvm-svn: 166131
-
- Oct 17, 2012
-
-
Fariborz Jahanian authored
XML comment for declarations which pretty-prints declaration. I had to XFAIL one test annotate-comments.cpp. This test is currently unmaintainable as written. Dmitri G., can you see what we can do about this test. We should change this test such that adding a new tag does not wreck havoc to the test. llvm-svn: 166130
-
Anna Zaks authored
clang_version, fix the compare routine. llvm-svn: 166129
-
Roman Divacky authored
llvm-svn: 166128
-
Greg Clayton authored
Added register write examples and also how to modify the pc. For this we show and example of GDB using the "jump" command, and LLDB using "register write" with an expression. llvm-svn: 166127
-
Michael Liao authored
- If the extracted vector has the same type of all vectored being concatenated together, it should be simplified directly into v_i, where i is the index of the element being extracted. llvm-svn: 166125
-
Jakob Stoklund Olesen authored
This is a more compact, less redundant representation, and it avoids scanning long lists of aliases for ARM D-registers, for example. llvm-svn: 166124
-
Nadav Rotem authored
llvm-svn: 166123
-
Evan Cheng authored
any scheduling heuristics nor does it build up any scheduling data structure that other heuristics use. It essentially linearize by doing a DFA walk but it does handle glues correctly. IMPORTANT: it probably can't handle all the physical register dependencies so it's not suitable for x86. It also doesn't deal with dbg_value nodes right now so it's definitely is still WIP. rdar://12474515 llvm-svn: 166122
-
Jordan Rose authored
This actually looks through several kinds of expression, such as OpaqueValueExpr and ExprWithCleanups. The idea is that binding and lookup should be consistent, and so if the environment needs to be modified later, the code doing the modification will not have to manually look through these "transparent" expressions to find the real binding to change. This is necessary for proper updating of struct rvalues as described in the previous commit. llvm-svn: 166121
-
Jordan Rose authored
In C++, rvalues that need to have their address taken (for example, to be passed to a function by const reference) will be wrapped in a MaterializeTemporaryExpr, which lets CodeGen know to create a temporary region to store this value. However, MaterializeTemporaryExprs are /not/ created when a method is called on an rvalue struct, even though the 'this' pointer needs a valid value. CodeGen works around this by creating a temporary region anyway; now, so does the analyzer. The analyzer also does this when accessing a field of a struct rvalue. This is a little unfortunate, since the rest of the struct will soon be thrown away, but it does make things consistent with the rest of the analyzer. This allows us to bring back the assumption that all known 'this' values are Locs. This is a revised version of r164828-9, reverted in r164876-7. <rdar://problem/12137950> llvm-svn: 166120
-
rdar://problem/12503640Enrico Granata authored
<rdar://problem/12503640> Fixing an issue where the dynamic type of an Objective-C pointer changed but we still reported the one-true-definition for the previous type. This was causing issues where a variable could be reported as being of an entirely different type after an assignment llvm-svn: 166119
-
David Blaikie authored
Addressing feedback on r166039 given by Matt Beaumont-Gay. llvm-svn: 166118
-
Jakob Stoklund Olesen authored
All callers of these functions really want the isPhysRegOrOverlapUsed() functionality which also checks aliases. For historical reasons, targets without register aliases were calling isPhysRegUsed() instead. Change isPhysRegUsed() to also check aliases, and switch all isPhysRegOrOverlapUsed() callers to isPhysRegUsed(). llvm-svn: 166117
-
Nadav Rotem authored
llvm-svn: 166116
-
Nadav Rotem authored
llvm-svn: 166115
-
Daniel Dunbar authored
- The cctools' ranlib on 10.6 has a bug and can't understand our ARM object files. llvm-svn: 166114
-
Nadav Rotem authored
llvm-svn: 166113
-
Nadav Rotem authored
llvm-svn: 166112
-
Daniel Dunbar authored
makes trees less comparable. llvm-svn: 166111
-
Jakob Stoklund Olesen authored
The previous MRI.isPhysRegUsed(YMM0) would also return true when the function contains a call to a function that may clobber YMM0. That's most of them. Checking the use-def chains allows us to skip functions that don't explicitly mention YMM registers. llvm-svn: 166110
-
Eric Christopher authored
debug info. llvm-svn: 166109
-
Anton Korobeynikov authored
Patch by Job Noorman! llvm-svn: 166108
-
Andrew Trick authored
llvm-svn: 166107
-
Sean Silva authored
llvm-svn: 166106
-
Daniel Dunbar authored
- Similar to Path::eraseFromDisk(), we don't want LLVM to remove things like /dev/null, even if it has the permission. llvm-svn: 166105
-
Alexey Samsonov authored
llvm-svn: 166104
-
Kostya Serebryany authored
[asan] added a test for a bug in asan at -O0 introduced by r165936 (making asan a FunctionPass). The test is not actually enabled for -O0 yet (since it fails) llvm-svn: 166103
-
Kostya Serebryany authored
llvm-svn: 166102
-
Alexey Samsonov authored
[ASan] Fix strchr/index tests for users who have 'char* strchr(char*,int)' instead of 'char* strchr(const char*, int)' llvm-svn: 166101
-
Daniel Jasper authored
platforms to make buildbots happy. llvm-svn: 166100
-
Alexey Samsonov authored
llvm-svn: 166099
-
Alexey Samsonov authored
llvm-svn: 166098
-
Chandler Carruth authored
Based loosely on a patch from David Hill. llvm-svn: 166096
-
Chandler Carruth authored
a pointer. A very bad idea. Let's not do that. Fixes PR14105. Note that this wasn't *that* glaring of an oversight. Originally, these routines were only called on offsets within an alloca, which are intrinsically positive. But over the evolution of the pass, they ended up being called for arbitrary offsets, and things went downhill... llvm-svn: 166095
-
Daniel Jasper authored
Review: http://llvm-reviews.chandlerc.com/D47 llvm-svn: 166094
-