- Apr 16, 2009
-
-
Devang Patel authored
Do not treat beginning of inlined scope as beginning of normal function scope if the location info is missing. Insetad of doing ... if (inlined_subroutine && known_location) DW_TAG_inline_subroutine else DW_TAG_subprogram do if (inlined_subroutine) { if (known_location) DW_TAG_inline_subroutine } else { DW_TAG_subprogram } llvm-svn: 69300
-
Sebastian Redl authored
Fix a crash bug when comparing overload quality of conversion operators with conversion constructors. Remove an atrocious amount of trailing whitespace in the overloaded operator mangler. Sorry, couldn't help myself. Change the DeclType parameter of Sema::CheckReferenceInit to be passed by value instead of reference. It wasn't changed anywhere. Let the parser handle C++'s irregular grammar around assignment-expression and conditional-expression. And finally, the reason for all this stuff: implement C++ semantics for the conditional operator. The implementation is complete except for determining lvalueness. llvm-svn: 69299
-
Eli Friedman authored
Douglas, can you check that this is doing the right thing? llvm-svn: 69298
-
Eli Friedman authored
llvm-svn: 69297
-
Dan Gohman authored
targets with pointers larger than 64 bits, due to the code not yet being APInt clean. llvm-svn: 69296
-
Dan Gohman authored
optimizer, which just happen to frequently involve optimizing GEPs. llvm-svn: 69295
-
Dan Gohman authored
not create ICmpInsts with operands of different types. This fixes a regression in Applications/d/make_dparser. llvm-svn: 69294
-
Dan Gohman authored
and ptrtoint-of-inttoptr expressions. This fixes a regression in 300.twolf. llvm-svn: 69293
-
Anders Carlsson authored
When we create an implicit CXXTemporaryObjectExpr we don't need to check that it's a valid init. Instead, just set it as the VarDecl's initializer. llvm-svn: 69292
-
Dan Gohman authored
since the operand is always a constant. llvm-svn: 69291
-
Dan Gohman authored
new instruction with SCEVExpander::InsertCastOfTo. llvm-svn: 69290
-
Daniel Dunbar authored
when generating a common definition. llvm-svn: 69287
-
Devang Patel authored
This line was accidently lost yesterday. llvm-svn: 69286
-
Rafael Espindola authored
llvm-svn: 69284
-
Daniel Dunbar authored
- <rdar://problem/6796848> implement -fdiagnostics-show-option llvm-svn: 69276
-
Chris Lattner authored
llvm-svn: 69275
-
Chris Lattner authored
llvm-svn: 69274
-
Chris Lattner authored
llvm-svn: 69273
-
Chris Lattner authored
llvm-svn: 69272
-
Chris Lattner authored
this implements -fdiagnostics-show-option in clang-cc. llvm-svn: 69271
-
Chris Lattner authored
llvm-svn: 69270
-
Chris Lattner authored
llvm-svn: 69269
-
Chris Lattner authored
passing down the right info yet. llvm-svn: 69268
-
Anders Carlsson authored
llvm-svn: 69267
-
Chris Lattner authored
out of Warnings.cpp. This simplifies warnings.cpp and makes it more efficient. llvm-svn: 69266
-
Chris Lattner authored
they are supposed to be. llvm-svn: 69265
-
Chris Lattner authored
"set to the default value". llvm-svn: 69264
-
Daniel Dunbar authored
generally need to know about these now we don't have to hold clang-cc's hand. llvm-svn: 69263
-
Chris Lattner authored
is about to become private. llvm-svn: 69262
-
Daniel Dunbar authored
Remove clang_W_Group and clang_ignored_W_Group. llvm-svn: 69261
-
Chris Lattner authored
llvm-svn: 69260
-
Chris Lattner authored
llvm-svn: 69259
-
Dan Gohman authored
have pointer types, though in contrast to C pointer types, SCEV addition is never implicitly scaled. This not only eliminates the need for special code like IndVars' EliminatePointerRecurrence and LSR's own GEP expansion code, it also does a better job because it lets the normal optimizations handle pointer expressions just like integer expressions. Also, since LLVM IR GEPs can't directly index into multi-dimensional VLAs, moving the GEP analysis out of client code and into the SCEV framework makes it easier for clients to handle multi-dimensional VLAs the same way as other arrays. Some existing regression tests show improved optimization. test/CodeGen/ARM/2007-03-13-InstrSched.ll in particular improved to the point where if-conversion started kicking in; I turned it off for this test to preserve the intent of the test. llvm-svn: 69258
-
Chris Lattner authored
llvm-svn: 69257
-
Douglas Gregor authored
llvm-svn: 69256
-
Douglas Gregor authored
that does not require PCH support for statements. Only AddrLabelExpr, StmtExpr, and BlockExpr remain (for C). llvm-svn: 69255
-
Devang Patel authored
This code could use some refactoring help! llvm-svn: 69254
-
Devang Patel authored
If FastISel is run and it has known DebugLoc then use it. llvm-svn: 69253
-
Devang Patel authored
If location where the function was inlined is not know then do not emit debug info describing inlinied region. llvm-svn: 69252
-
Douglas Gregor authored
llvm-svn: 69251
-