summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* The old logic would add non-struct and non C++ struct variables to the localZhongxing Xu2010-10-011-7/+6
| | | | | | | scope. Now we only add C++ struct with non-trivial destructor variables to the local scope. llvm-svn: 115269
* Make C++ constructors and destructors correctly within the clang types weGreg Clayton2010-10-014-18/+52
| | | | | | generate from DWARF. llvm-svn: 115268
* Fixed handling of signed short types in expressions.Sean Callanan2010-10-012-2/+2
| | | | llvm-svn: 115267
* Added generating CFGAutomaticObjDtors for exception variable in catch statement.Marcin Swiderski2010-10-012-0/+53
| | | | llvm-svn: 115266
* Added generating CFGAutomaticObjDtors for init statement, condition variable ↵Marcin Swiderski2010-10-012-3/+152
| | | | | | and implicit scope in for statement. llvm-svn: 115265
* dded generating CFGAutomaticObjDtors for condition variable and implicit ↵Marcin Swiderski2010-10-012-0/+129
| | | | | | scopes in switch statement. llvm-svn: 115264
* If we get a TU_CONTEXT update from a chained PCH file before weDouglas Gregor2010-10-011-2/+14
| | | | | | | actually have an ASTContext, delay the processing of that update. Patch by Sebastian Redl! Fixes <rdar://problem/8499034>. llvm-svn: 115263
* Added generating CFGAutomaticObjDtors for condition variable and implicit ↵Marcin Swiderski2010-10-012-1/+248
| | | | | | scopes in while and do statements. llvm-svn: 115262
* Fix pasto.Dale Johannesen2010-10-011-1/+1
| | | | llvm-svn: 115261
* Enable chained precompiled headers for use with precompiled preamblesDouglas Gregor2010-10-011-3/+1
| | | | llvm-svn: 115260
* When an identifier that has a macro definition in the original PCHDouglas Gregor2010-10-014-2/+11
| | | | | | | file is somehow changed in a chained PCH file, make sure that we write out the macro definition. Fixes part of <rdar://problem/8499034>. llvm-svn: 115259
* Remove test until further notice.Fariborz Jahanian2010-10-011-34/+0
| | | | llvm-svn: 115258
* Disable these tests for now; it's not obvious why they fail on Linux.Dale Johannesen2010-10-012-3/+3
| | | | llvm-svn: 115257
* Added generating CFGAutomaticObjDtors for condition variable and implicit ↵Marcin Swiderski2010-10-012-0/+140
| | | | | | scopes in if statement. llvm-svn: 115256
* Add some doc for the x86mmx type.Dale Johannesen2010-10-011-0/+18
| | | | llvm-svn: 115255
* Fixed checking for trivial destructor in ↵Marcin Swiderski2010-10-011-3/+4
| | | | | | CFGBuilder::addLocalScopeForVarDecl. Checked type does not have to represent C++ class. llvm-svn: 115254
* Fix test.Fariborz Jahanian2010-10-011-1/+1
| | | | llvm-svn: 115253
* Added:Marcin Swiderski2010-10-012-0/+161
| | | | | | | | - Adding LocalScope for CompoundStmt, - Adding CFGAutomaticObjDtors for end of scope, return, goto, break, continue, - Regression tests for above cases. llvm-svn: 115252
* Attempt to outwit overly smart compiler.Dale Johannesen2010-10-011-0/+1
| | | | llvm-svn: 115251
* Make test not sensitive to register choice.Dale Johannesen2010-10-011-2/+2
| | | | llvm-svn: 115250
* Add a simple test for the lldb 'disassemble' command. The initial version justJohnny Chen2010-10-012-1/+88
| | | | | | | sets some breakpoints and invokes 'disassemble' when the breakpoint hits, which just disassembles the bytes in the current function, i.e., frame #0's function. llvm-svn: 115249
* Output debug info. for ivars declared in classFariborz Jahanian2010-10-012-3/+36
| | | | | | | extension and implementation. Fixes rdar://8493239. llvm-svn: 115248
* Add test case I forgot for r115159 (support implicit includes along with PCH).Argyrios Kyrtzidis2010-10-013-0/+8
| | | | llvm-svn: 115247
* Implement double return values in calls. Fixes Eric Christopher2010-10-011-9/+35
| | | | | | SingleSource/Regression/C/casts.c. llvm-svn: 115246
* Clang part of MMX rewrite (goes with 115243).Dale Johannesen2010-09-302-50/+46
| | | | llvm-svn: 115244
* Massive rewrite of MMX: Dale Johannesen2010-09-3040-1191/+1432
| | | | | | | | | | | | | | | | | | | The x86_mmx type is used for MMX intrinsics, parameters and return values where these use MMX registers, and is also supported in load, store, and bitcast. Only the above operations generate MMX instructions, and optimizations do not operate on or produce MMX intrinsics. MMX-sized vectors <2 x i32> etc. are lowered to XMM or split into smaller pieces. Optimizations may occur on these forms and the result casted back to x86_mmx, provided the result feeds into a previous existing x86_mmx operation. The point of all this is prevent optimizations from introducing MMX operations, which is unsafe due to the EMMS problem. llvm-svn: 115243
* Add an explicit initialization to work around what appears to be a valgrindDaniel Dunbar2010-09-301-1/+3
| | | | | | false positive, at least on Darwin. I haven't filed this, but you can feel free. llvm-svn: 115242
* Temporarily add a flag to make it easier to compare the new-style ARM ifOwen Anderson2010-09-301-0/+19
| | | | | | conversion heuristics to the old-style ones. llvm-svn: 115239
* Clean up asm writer usage for x86 and msp430 to flag that the writer shouldJim Grosbach2010-09-305-6/+3
| | | | | | | use MC instructions in the printInstruction() method via the tablegen flag for it rather than a #define prior to including the autogenerated bits. llvm-svn: 115238
* Added methods for adding LocalScopes and CFGAutomaticObjDtors.Marcin Swiderski2010-09-301-0/+131
| | | | llvm-svn: 115237
* Added methods for inserting CFGAutomaticObjDtors to CFGBlocks,Marcin Swiderski2010-09-302-1/+55
| | | | | | Fixed some misspells in comments. llvm-svn: 115236
* Updated to remove most of the @expectedFailure decorators for:Johnny Chen2010-09-302-20/+4
| | | | | | | | | # rdar://problem/8493023 # test/types failures for Test*TypesExpr.py: element offset computed wrong and sign error? Two failures remain for test_short* test cases. llvm-svn: 115229
* Added:Marcin Swiderski2010-09-301-5/+36
| | | | | | | | | - post-increament, distance and bool conversion methods to LocalScope::const_iterator, - adding VarDecl to LocalScope. Fixed some misspells in comments. llvm-svn: 115227
* Movement and cleanup.Eric Christopher2010-09-301-26/+26
| | | | llvm-svn: 115225
* perform_code_completion(): fix type declaration for TU.Dawn Perchik2010-09-301-1/+1
| | | | llvm-svn: 115224
* Fixed an issue where byte sizes were not able to be calculated for forwardGreg Clayton2010-09-303-96/+100
| | | | | | | declarations because we lost the original context which was needed to be able to figure out the byte size. llvm-svn: 115223
* Modification required to test clang, gcc, and llvm-gcc.Johnny Chen2010-09-302-14/+16
| | | | llvm-svn: 115216
* test/CodeGen/X86/sibcall.ll: Add explicit triplets and remove XFAIL: ↵NAKAMURA Takumi2010-09-301-4/+2
| | | | | | apple-darwin8. llvm-svn: 115215
* Comments about operand cycles and pipeline forwarding pathes.Evan Cheng2010-09-301-1/+17
| | | | llvm-svn: 115214
* Cleaned up a unused member variable in Debugger.Greg Clayton2010-09-3011-131/+227
| | | | | | | | | | | | | | Added the start of Host specific launch services, though it currently isn't hookup up to anything. We want to be able to launch a process and use the native launch services to launch an app like it would be launched by the user double clicking on the app. We also eventually want to be able to run a command line app in a newly spawned terminal to avoid terminal sharing. Fixed an issue with the new DWARF forward type declaration stuff. A crasher was found that was happening when trying to properly expand the forward declarations. llvm-svn: 115213
* Change how we call Target::CreateBreakpoint to account for the new "name ↵Jim Ingham2010-09-301-2/+2
| | | | | | type" parameter. llvm-svn: 115210
* Correct this name so I stop giving out the wrong email address.Nick Lewycky2010-09-301-1/+1
| | | | llvm-svn: 115209
* Switched the expression parser from using TargetDataSean Callanan2010-09-303-38/+37
| | | | | | | | | | | | to using Clang to get type sizes. This fixes a bug where the type size for a double[2] was being wrongly reported as 8 instead of 16 bytes, causing problems for IRForTarget. Also improved logging so that the next bug in this area will be easier to find. llvm-svn: 115208
* [atomics.flag] completed. Initialization is not working on clang and can't ↵Howard Hinnant2010-09-3012-4/+515
| | | | | | be made to work without defaulted default constructors. llvm-svn: 115207
* Pacify a noisy compiler, and sink this variable declaration closer to its uses.Nick Lewycky2010-09-301-1/+1
| | | | llvm-svn: 115206
* We do want to allow LoadPRE to perform LICM-like transformations: we already ↵Owen Anderson2010-09-302-13/+39
| | | | | | | | | consider PHI nodes to be negligible for code size (making this transform code size neutral), and it allows us to hoist values out of loops, which is always a good thing. llvm-svn: 115205
* Try again to disable critical edge splitting in CodeGenPrepare.Jakob Stoklund Olesen2010-09-3010-23/+24
| | | | | | The bug that broke i386 linux has been fixed in r115191. llvm-svn: 115204
* Start of generalized call support for ARM fast isel.Eric Christopher2010-09-301-4/+146
| | | | llvm-svn: 115203
* Add a more complex test scenario for breakpoint locations, with breakpoint ↵Johnny Chen2010-09-303-0/+136
| | | | | | enable/disable. llvm-svn: 115202
* Rewriting array element type of qualified-id.Fariborz Jahanian2010-09-302-0/+13
| | | | | | Fixes rdra://8475819. llvm-svn: 115201
OpenPOWER on IntegriCloud