summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PCH support for CompoundLiteralExpr. This is the last C expressionDouglas Gregor2009-04-166-3/+40
| | | | | | | that does not require PCH support for statements. Only AddrLabelExpr, StmtExpr, and BlockExpr remain (for C). llvm-svn: 69255
* In -fast mode do what FastISel does.Devang Patel2009-04-162-30/+71
| | | | | | This code could use some refactoring help! llvm-svn: 69254
* If FastISel is run and it has known DebugLoc then use it.Devang Patel2009-04-163-3/+10
| | | | llvm-svn: 69253
* If location where the function was inlined is not know then do not emit ↵Devang Patel2009-04-161-5/+11
| | | | | | debug info describing inlinied region. llvm-svn: 69252
* PCH support for InitListExpr, DesignatedInitExpr, and ImplicitValueInitExpr.Douglas Gregor2009-04-167-5/+264
| | | | llvm-svn: 69251
* when tblgen fills in all the subgroup info, clang is ready for it.Chris Lattner2009-04-161-11/+24
| | | | | | This depends on r69249 of llvm. llvm-svn: 69250
* start producing subgroup info.Chris Lattner2009-04-161-8/+31
| | | | llvm-svn: 69249
* Another testcase for IV shortening.Dale Johannesen2009-04-161-0/+161
| | | | llvm-svn: 69247
* add scafolding to represent heirarchical warnings, start with -Wall.Chris Lattner2009-04-161-15/+27
| | | | llvm-svn: 69246
* Add support for the __has_trivial_constructor type trait.Anders Carlsson2009-04-167-1/+88
| | | | llvm-svn: 69245
* PCH support for ShuffleVectorExpr and BlockDeclRefExprDouglas Gregor2009-04-167-4/+94
| | | | llvm-svn: 69244
* PCH support for TypesCompatibleExpr, ChooseExpr, and GNUNullExpr.Douglas Gregor2009-04-156-1/+122
| | | | llvm-svn: 69242
* Eliminate zext over (iv | const) or (signed iv),Dale Johannesen2009-04-151-22/+77
| | | | | | | | and sext over (iv | const), if a longer iv is available. Allow expressions to have more than one zext/sext parent. All from OpenSSL. llvm-svn: 69241
* PCH support for ExtVectorElementExpr and VAArgExpr.Douglas Gregor2009-04-157-9/+90
| | | | llvm-svn: 69240
* make unknown warnings a warning, not an error.Chris Lattner2009-04-151-4/+5
| | | | llvm-svn: 69239
* add anonymous groups for all the warning command line flags that the clangChris Lattner2009-04-151-3/+55
| | | | | | driver accepts and discards. llvm-svn: 69238
* PCH support for CompoundAssignOperator and ConditionalOperatorDouglas Gregor2009-04-156-1/+77
| | | | llvm-svn: 69237
* add support for -Wextra and -WChris Lattner2009-04-152-1/+7
| | | | llvm-svn: 69236
* make sure that empty diag groups get known by clang.Chris Lattner2009-04-151-2/+8
| | | | llvm-svn: 69235
* comment out IsGroup: tblgen isn't instantiating these dependent defs quite ↵Chris Lattner2009-04-151-1/+1
| | | | | | right yet. llvm-svn: 69234
* PCH support for ImaginaryLiteral and ArraySubscriptExprDouglas Gregor2009-04-156-4/+74
| | | | llvm-svn: 69233
* Fixup codegen for copy/dispose for block literals. Radar 6791245Mike Stump2009-04-151-4/+10
| | | | llvm-svn: 69232
* Defer generation of tentative definitions.Daniel Dunbar2009-04-155-35/+76
| | | | | | | | | | | | | | - PR3980. - <rdar://problem/6762287> [irgen] crash when generating tentative definition of incomplete structure - This also avoids creating common definitions for things which are later overwritten. - XFAIL'ed external-defs.c, it isn't completing types properly yet. llvm-svn: 69231
* PCH support for ExtQualTypeDouglas Gregor2009-04-153-8/+27
| | | | llvm-svn: 69230
* Fix decl type merges when they haveFariborz Jahanian2009-04-152-3/+19
| | | | | | __string/__weak attributes. llvm-svn: 69229
* Set DebugInfo at the beginning of GenerateBlockFunction().Devang Patel2009-04-152-0/+18
| | | | llvm-svn: 69228
* When declaring a variable that has a constructor and a direct initializer, ↵Anders Carlsson2009-04-151-9/+13
| | | | | | | | | | | | | | | | | | for example: struct X { X(int, int); }; X x(10, 10); we model that as X x = X(10, 10); inserting a temporary object expr. llvm-svn: 69227
* Add warning when a tentative array definition is assumed to have one element.Daniel Dunbar2009-04-154-5/+8
| | | | | | - Also, fixed one to actually be one (instead of zero). :) llvm-svn: 69226
* PCH support for declaration attributesDouglas Gregor2009-04-158-32/+351
| | | | llvm-svn: 69225
* Actually generate code for the simple constructors we know we can generate ↵Anders Carlsson2009-04-151-1/+22
| | | | | | code for. llvm-svn: 69222
* use tablgen-generated warning groups.Chris Lattner2009-04-151-49/+13
| | | | llvm-svn: 69221
* generate diagnostic group tables, this requires llvm r69219 or later.Chris Lattner2009-04-151-6/+7
| | | | llvm-svn: 69220
* implement support for writing out diagnostic group tables.Chris Lattner2009-04-151-137/+51
| | | | llvm-svn: 69219
* fix a name shadowing problem in tblgen.Chris Lattner2009-04-151-1/+1
| | | | llvm-svn: 69218
* s/RootDbgScope/FunctionDbgScope/gDevang Patel2009-04-151-13/+13
| | | | llvm-svn: 69216
* Eliminate zext over (iv & const) or ((iv+const)&const)Dale Johannesen2009-04-151-31/+89
| | | | | | | if a longer iv is available. These subscript forms are not common; they're a bottleneck in OpenSSL. llvm-svn: 69215
* use slightly more verbose to work around a tblgen bug for now.Chris Lattner2009-04-153-10/+10
| | | | llvm-svn: 69214
* use UppercaseString instead of EmitAllCapsChris Lattner2009-04-151-16/+7
| | | | llvm-svn: 69213
* use escape string.Chris Lattner2009-04-151-13/+6
| | | | llvm-svn: 69212
* teach EscapeString and UnescapeString to handle ".Chris Lattner2009-04-151-0/+3
| | | | llvm-svn: 69211
* Add DISubprogram is not null check.Devang Patel2009-04-151-2/+4
| | | | | | This fixes test/CodeGen//2009-01-21-invalid-debug-info.m test case. llvm-svn: 69210
* Generalize one of the SelectionDAG::ReplaceAllUsesWith overloadsDan Gohman2009-04-154-18/+13
| | | | | | | | to support replacing a node with another that has a superset of the result types. Use this instead of calling ReplaceAllUsesOfValueWith for each value. llvm-svn: 69209
* rename -gen-clang-diags-options -> -gen-clang-diag-groupsChris Lattner2009-04-153-8/+8
| | | | llvm-svn: 69208
* move clang specific makefile goop to clang instead of llvm. This may requireChris Lattner2009-04-151-1/+13
| | | | | | updating the llvm tree. llvm-svn: 69207
* move clang-specific makefile goop to clang makefile.Chris Lattner2009-04-151-13/+0
| | | | llvm-svn: 69206
* Don't use \01 in symbol name if unnecessary.Daniel Dunbar2009-04-153-7/+3
| | | | | | | | - This was particularly bad since I fixed one instance of this name and not another, meaning we got an LLVM module with the same effective name in two different globals! llvm-svn: 69205
* Fix 80-column violations.Dan Gohman2009-04-152-3/+4
| | | | llvm-svn: 69204
* Add a folding table entry for MOV8rr_NOREX.Dan Gohman2009-04-151-0/+1
| | | | llvm-svn: 69203
* Check isInlinedSubroutine() before creating DW_TAG_inlined_subroutine.Devang Patel2009-04-151-1/+2
| | | | llvm-svn: 69202
* Fix <rdar://problem/6786597> varargs not supported for Blocks under clang.Steve Naroff2009-04-152-2/+47
| | | | | | Teach Sema::SemaBuiltinVAStart() about blocks. llvm-svn: 69201
OpenPOWER on IntegriCloud