- Jan 04, 2012
-
-
Sean Callanan authored
resolves values in registers. llvm-svn: 147551
-
Benjamin Kramer authored
llvm-svn: 147550
-
Sean Callanan authored
breakpoints. llvm-svn: 147549
-
Douglas Gregor authored
any language variant), and restrict __has_feature(objc_modules) to mean that we also have the Objective-C @import syntax. I anticipate __has_feature(cxx_modules) and/or __has_feature(c_modules) for when we nail down the module syntax for C/C++. llvm-svn: 147548
-
Howard Hinnant authored
Just getting started on the personality routine. This is just a skeleton. Still learning how to fill it in... llvm-svn: 147547
-
Benjamin Kramer authored
llvm-svn: 147546
-
Eli Friedman authored
llvm-svn: 147545
-
Benjamin Kramer authored
Using DenseMap iterators isn't free as they have to check for empty buckets. Dominator queries are common so this gives a minor speedup. llvm-svn: 147544
-
Sebastian Pop authored
llvm-svn: 147543
-
Sebastian Pop authored
Get back getHostTriple. For JIT compilation, use the host triple instead of the default target: this fixes some JIT testcases that used to fail when the compiler has been configured as a cross compiler. llvm-svn: 147542
-
Akira Hatanaka authored
llvm-svn: 147541
-
Sean Callanan authored
to include -- in sample command lines. Now LLDB prints expression [-f <format>] -- <expr> instead of expression [-f <format>] <expr> and also adds a new example line: expression <expr> to show that in the absense of arguments the -- can be ommitted. llvm-svn: 147540
-
Sean Callanan authored
eFormatCString is specified, I have made DataExtractor::Dump properly escape the string. This prevents LLDB from printing characters that confuse terminals. llvm-svn: 147536
-
Douglas Gregor authored
llvm-svn: 147535
-
Douglas Gregor authored
different modules. This implementation is a first approximation of what we want, using only the function type to determine equivalence. Later, we'll want to deal with some of the more subtle issues, including: - C allows a prototyped declaration and a non-prototyped declaration to be merged, which we should support - We may want to ignore the return type when merging, then complain if the return types differ. Or, we may want to leave it as it us, so that we only complain if overload resolution eventually fails. - C++ non-static member functions need to consider cv-qualifiers and ref-qualifiers. - Function templates need to consider the template parameters and return type. - Function template specializations will have special rules. - We can now (accidentally!) end up overloading in C, even without the "overloadable" attribute, and will need to detect this at some point. The actual detection of "is this an overload?" is implemented by Sema::IsOverload(), which will need to be moved into the AST library for re-use here. That will be a future refactor. llvm-svn: 147534
-
Douglas Gregor authored
modules, so long as the typedefs refer to the same underlying type. This ensures that the typedefs end up in the same redeclaration chain. To test this, fix name lookup for C/Objective-C to properly deal with multiple declarations with the same name in the same scope. llvm-svn: 147533
-
Marshall Clow authored
llvm-svn: 147532
-
Benjamin Kramer authored
While the code took care of disabling the sse42 flag it didn't know about popcnt. This broke -march=native on penryn. llvm-svn: 147531
-
David Chisnall authored
llvm-svn: 147530
-
Nick Lewycky authored
llvm-svn: 147529
-
Nick Lewycky authored
nsw bits on them. llvm-svn: 147528
-
Craig Topper authored
Allow vector shuffle normalizing to use concat vector even if the sources are commuted in the shuffle mask. llvm-svn: 147527
-
Ted Kremenek authored
llvm-svn: 147526
-
Craig Topper authored
llvm-svn: 147525
-
Douglas Gregor authored
Don't treat 'import' as a contextual keyword when we're in a caching lexer, or when modules are disabled. llvm-svn: 147524
-
Rafael Espindola authored
PR11690. llvm-svn: 147523
-
Eli Friedman authored
Add an explicit LambdaExprContext to Declarator, to parallel BlockLiteralContext. Use it to ensure semantic analysis of types isn't confused by the lack of a type specifier. llvm-svn: 147522
-
NAKAMURA Takumi authored
llvm-svn: 147521
-
Akira Hatanaka authored
is either N32 or N64. llvm-svn: 147520
-
Akira Hatanaka authored
llvm-svn: 147519
-
Akira Hatanaka authored
versions derive from them. - JALR64 is not needed since N64 does not emit jal. - Add template parameter to BranchLink that sets the rt field. - Fix the set of temporary registers for O32 and N64. llvm-svn: 147518
-
Eli Friedman authored
llvm-svn: 147517
-
Akira Hatanaka authored
is Mips64. llvm-svn: 147516
-
Eli Friedman authored
Stub out the Sema interface for lambda expressions, and change the parser to use it. Unconditionally error on lambda expressions because they don't work in any meaningful way yet. llvm-svn: 147515
-
Kostya Serebryany authored
llvm-svn: 147514
-
Evan Cheng authored
llvm-svn: 147513
-
Evan Cheng authored
(x > y) ? x : y => (x >= y) ? x : y So for something like (x - y) > 0 : (x - y) ? 0 It will be (x - y) >= 0 : (x - y) ? 0 This makes is possible to test sign-bit and eliminate a comparison against zero. e.g. subl %esi, %edi testl %edi, %edi movl $0, %eax cmovgl %edi, %eax => xorl %eax, %eax subl %esi, $edi cmovsl %eax, %edi rdar://10633221 llvm-svn: 147512
-
Rafael Espindola authored
llvm-svn: 147511
-
Kostya Serebryany authored
llvm-svn: 147509
-
Ted Kremenek authored
llvm-svn: 147506
-