| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
since it is trivial and will be shared between ppc and x86.
This substantially simplifies the X86 backend also.
llvm-svn: 119089
|
|
|
|
| |
llvm-svn: 119088
|
|
|
|
|
|
|
|
| |
on the operand, required for .o file writing and fixing
the PowerPC/mult-alt-generic-powerpc64.ll failure with the new
instprinter.
llvm-svn: 119087
|
|
|
|
| |
llvm-svn: 119086
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
can too. So now the lldb_private::Variable class has support for this.
Variables now have support for having a basename ("i"), and a mangled name
("_ZN12_GLOBAL__N_11iE"), and a demangled name ("(anonymous namespace)::i").
Nowwhen searching for a variable by name, users might enter the fully qualified
name, or just the basename. So new test functions were added to the Variable
and Mangled classes as:
bool NameMatches (const ConstString &name);
bool NameMatches (const RegularExpression ®ex);
I also modified "ClangExpressionDeclMap::FindVariableInScope" to also search
for global variables that are not in the current file scope by first starting
with the current module, then moving on to all modules.
Fixed an issue in the DWARF parser that could cause a varaible to get parsed
more than once. Now, once we have parsed a VariableSP for a DIE, we cache
the result even if a variable wasn't made so we don't do any re-parsing. Some
DW_TAG_variable DIEs don't have locations, or are missing vital info that
stops a debugger from being able to display anything for it, we parse a NULL
variable shared pointer for these DIEs so we don't keep trying to reparse it.
llvm-svn: 119085
|
|
|
|
|
|
| |
the aborting printSpecial() method. This gets us to 8 failures.
llvm-svn: 119084
|
|
|
|
|
|
| |
printing nothing. This gets us back up to 24 failures.
llvm-svn: 119083
|
|
|
|
|
|
| |
about handling $stub, lo/hi etc.
llvm-svn: 119082
|
|
|
|
| |
llvm-svn: 119081
|
|
|
|
|
|
|
| |
ops the asmprinter supported, fixing PowerPC/rlwimi2.ll
among others. Down to 20 failures.
llvm-svn: 119080
|
|
|
|
|
|
| |
us further along. Only 28 failures now.
llvm-svn: 119079
|
|
|
|
|
|
| |
and printing support for call operands. Down to 77 failures.
llvm-svn: 119078
|
|
|
|
| |
llvm-svn: 119077
|
|
|
|
| |
llvm-svn: 119076
|
|
|
|
| |
llvm-svn: 119075
|
|
|
|
| |
llvm-svn: 119074
|
|
|
|
|
|
| |
directive.
llvm-svn: 119073
|
|
|
|
| |
llvm-svn: 119072
|
|
|
|
| |
llvm-svn: 119071
|
|
|
|
|
|
|
| |
a single function instead of a class. It doesn't need the
complexity that X86 does.
llvm-svn: 119070
|
|
|
|
| |
llvm-svn: 119069
|
|
|
|
| |
llvm-svn: 119068
|
|
|
|
| |
llvm-svn: 119067
|
|
|
|
| |
llvm-svn: 119066
|
|
|
|
|
|
| |
this fixes 3 more ppc tests.
llvm-svn: 119065
|
|
|
|
| |
llvm-svn: 119064
|
|
|
|
|
|
| |
failures in CodeGen/PowerPC from 120 -> 117
llvm-svn: 119063
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
add support for darwin vs aix syntax. We now can print instructions
like this:
add r3, r3, r4
blr
and (in aix mode):
add 3, 3, 4
blr
llvm-svn: 119062
|
|
|
|
|
|
| |
instprinter when -enable-ppc-inst-printer is passed to llc.
llvm-svn: 119061
|
|
|
|
| |
llvm-svn: 119060
|
|
|
|
| |
llvm-svn: 119059
|
|
|
|
| |
llvm-svn: 119058
|
|
|
|
|
|
|
| |
looking for lib/Target/*AsmPrinter.cpp. Fix llvm-config to handle targets
that don't have an explicit AsmPrinter library.
llvm-svn: 119057
|
|
|
|
|
|
|
| |
that should be split out is the InstPrinter (if a target is mc'ized).
This change makes all the targets be consistent.
llvm-svn: 119056
|
|
|
|
|
|
| |
it to get better phi node simplification.
llvm-svn: 119055
|
|
|
|
| |
llvm-svn: 119054
|
|
|
|
| |
llvm-svn: 119053
|
|
|
|
| |
llvm-svn: 119052
|
|
|
|
|
|
| |
and the Alpha backend isn't MCized yet. Approved by Andrew.
llvm-svn: 119051
|
|
|
|
| |
llvm-svn: 119050
|
|
|
|
| |
llvm-svn: 119049
|
|
|
|
| |
llvm-svn: 119048
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the Stmt* visitation in CursorVisitor to be
data-recursive.
Since AnnotationTokensWorker explicitly calls
CursorVisitor::VisitChildren(), it essentially
transforms the data-recursive algorithm in
CursorVisitor back into a non-data recursive one.
This is particularly bad because the data-recursive
algorithm uses more stack space per stack frame,
which can cause us to blow the stack in some cases.
"Fix" this by making the stack that AnnotationTokensWorker
runs in really huge. The real fix is to modify
AnnotationTokensWorker not to do the explicit
recursive call.
llvm-svn: 119047
|
|
|
|
|
|
|
|
|
|
|
|
| |
parent class
'LangOptionsBase' that default initializes all flags to 0. Now the ctor of LangOptions
only initializes the flags that might be non-zero (significantly simplifying things).
This also appeases Valgrind on Mac OS X, which no longer reports that one of the flags
may be uninitialized.
llvm-svn: 119045
|
|
|
|
|
|
|
|
|
| |
Elidable CXXConstructExpr should inhibit calling destructor for temporary
that is copied, not the one created. This is because eliding copy constructor
means that the object that was to be copied will be constructed directly in
memory the copy would be constructed in.
llvm-svn: 119044
|
|
|
|
|
|
|
|
|
|
| |
offload the work to hasConstantValue rather than do something more
complicated (such handling mutually recursive phis) because (1) it is
not clear it is worth it; and (2) if it is worth it, maybe such logic
would be better placed in hasConstantValue. Adjust some GVN tests
which are now cleaned up much further (eg: all phi nodes are removed).
llvm-svn: 119043
|
|
|
|
|
|
|
|
|
|
|
| |
operands are the phi node itself or undef, then return undef.
This logic already existed at a higher level so in practice it
shouldn't make the slightest difference. Note that this code
could be replaced by a call to PN->hasConstantValue(). However
since we bail out the moment we see a non-constant operand, it
is more efficient to have a specialized version of that logic.
llvm-svn: 119041
|
|
|
|
| |
llvm-svn: 119040
|
|
|
|
| |
llvm-svn: 119038
|
|
|
|
|
|
|
|
| |
Return the result of a complex assignment with the original values,
not by performing a load from the l-value; this is the correct
semantics in C, although not in C++.
llvm-svn: 119037
|