summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove extraneous commit.Eric Christopher2009-11-131-5/+0
| | | | llvm-svn: 88716
* Print out something, even if it's non-parseable later when we'veEric Christopher2009-11-131-2/+7
| | | | | | got ghost linkage. It's better than aborting. llvm-svn: 88715
* Code gen. For virtual destructor call on array objectsFariborz Jahanian2009-11-133-2/+21
| | | | | | (still part of pr5472). llvm-svn: 88712
* Move the FixedStackPseudoSourceValueVal enum value before InstructionValDan Gohman2009-11-131-1/+3
| | | | | | | | so that isa<Instructon> doesn't return true for FixedStackPseudoSourceValue values. This fixes a variety of problems, including crashes with -debug and -print-machineinstrs. Also, add a comment to warn about this. llvm-svn: 88711
* More VTT and constructor vtable testcases from recent work.Mike Stump2009-11-131-0/+43
| | | | llvm-svn: 88710
* Disable the JITTest.NoStubs test for Darwin PPC. It apparently doesn't implementBill Wendling2009-11-131-0/+4
| | | | | | emitFunctionStubAtAddr. llvm-svn: 88708
* Fix PHIElimination optimization that uses MBB->getBasicBlock.Jakob Stoklund Olesen2009-11-132-34/+23
| | | | | | | | | | | The BasicBlock associated with a MachineBasicBlock does not necessarily correspond to the code in the MBB. Don't insert a new IR BasicBlock when splitting critical edges. We are not supposed to modify the IR during codegen, and we should be able to do just fine with a NULL BB. llvm-svn: 88707
* Add MachineFunction::verify() to call the machine code verifier directly.Jakob Stoklund Olesen2009-11-132-0/+8
| | | | llvm-svn: 88706
* The instruction pointer %RIP is a reserved register on x86_64.Jakob Stoklund Olesen2009-11-131-0/+5
| | | | llvm-svn: 88705
* Fix polarity of a CFG check in machine verifier.Jakob Stoklund Olesen2009-11-131-5/+14
| | | | llvm-svn: 88704
* Use .data() instead of .c_str() when nul-termination is not needed.Dan Gohman2009-11-132-2/+2
| | | | llvm-svn: 88703
* Add more testcase for construction vtables and VTTs.Mike Stump2009-11-131-0/+28
| | | | llvm-svn: 88702
* Do not use value handle to wrap MDNode in DIDescriptor.Devang Patel2009-11-131-1/+3
| | | | llvm-svn: 88700
* Add some more VTT testcases.Mike Stump2009-11-131-0/+21
| | | | llvm-svn: 88699
* Move DebugInfo checks into EmitComments and remove them fromDavid Greene2009-11-1314-28/+35
| | | | | | | | target-specific AsmPrinters. Not all comments need DebugInfo. Re-enable the line numbers comment test. llvm-svn: 88697
* Obvious fix for PR5474.Eli Friedman2009-11-132-1/+7
| | | | llvm-svn: 88696
* Fixes a code gen. bug for array delete operator callFariborz Jahanian2009-11-131-3/+6
| | | | | | | | | | int 32bit abi (pr5472 related). -This line, and those below, will be ignored-- M lib/CodeGen/CGCXXExpr.cpp llvm-svn: 88695
* When optimizing for size, don't tail-merge unless it's likely to be aDan Gohman2009-11-132-9/+125
| | | | | | | | | | code-size win, and not when it's only likely to be code-size neutral, such as when only a single instruction would be eliminated and a new branch would be required. This fixes rdar://7392894. llvm-svn: 88692
* Fix PR5410: LiveVariables lost subreg def:Evan Cheng2009-11-132-1/+27
| | | | | | | | | | | | | | D0<def,dead> = ... ... = S0<use, kill> S0<def> = ... ... D0<def> = The first D0 def is correctly marked dead, however, livevariables should have added an implicit def of S0 or we end up with a use without a def. llvm-svn: 88690
* Clear temporaries in more places.Anders Carlsson2009-11-131-0/+9
| | | | llvm-svn: 88687
* Remove test case's dependency on header file.Ted Kremenek2009-11-131-1/+3
| | | | llvm-svn: 88685
* Add two new test cases for the Malloc/Free checker. Both have to do withTed Kremenek2009-11-131-0/+18
| | | | | | storing malloc'ed memory to global storage. llvm-svn: 88684
* Add test case that shows a leak we don't catch.Ted Kremenek2009-11-131-0/+5
| | | | llvm-svn: 88683
* Allow target to specify regclass for which antideps will only be broken ↵David Goodwin2009-11-139-44/+123
| | | | | | along the critical path. llvm-svn: 88682
* Add a testcase for the recent VTT work.Mike Stump2009-11-131-0/+10
| | | | llvm-svn: 88681
* Code gen for arrady delete operator. Fixes pr5472.Fariborz Jahanian2009-11-134-10/+97
| | | | llvm-svn: 88680
* Fix bug Doug noticed.Anders Carlsson2009-11-132-0/+15
| | | | llvm-svn: 88679
* Add test for expr.delete p5, with a FIXME.Daniel Dunbar2009-11-131-0/+34
| | | | llvm-svn: 88678
* Do not store DIDescriptor directly into a container. Store MDNode directly, ↵Devang Patel2009-11-132-15/+14
| | | | | | through TrackingVH. llvm-svn: 88677
* This falls into the category of stupid pet tricks. I hate to do this,Mike Stump2009-11-132-5/+6
| | | | | | | | but this is necessary to continue work on virtual vtables. We don't want to penalize virtual table building testcases, just because complex virtual conversions don't yet work. llvm-svn: 88676
* add missing slashes to separator line; also testing commit accessKen Dyck2009-11-131-1/+1
| | | | llvm-svn: 88675
* Support fp64 immediate zero, this fixes only part of PR5445 Bruno Cardoso Lopes2009-11-132-3/+22
| | | | | | because the testcase is triggering one more bug. llvm-svn: 88674
* Use 'eq' operator, and enable regular experimental checks when ↵Ted Kremenek2009-11-132-1/+2
| | | | | | --experimental-checks is passed to scan-build. llvm-svn: 88673
* Don't let a noalias difference disrupt the tailcall optimization.Dan Gohman2009-11-132-4/+19
| | | | llvm-svn: 88672
* Add clang-cc option "--analyzer-experimental-internal-checks". ThisTed Kremenek2009-11-1369-162/+193
| | | | | | | option enables new "internal" checks that will eventually be turned on by default but still require broader testing. llvm-svn: 88671
* When performing copy initialization (= "implicit conversion", here) toDouglas Gregor2009-11-132-6/+39
| | | | | | | | | a class type from itself or a derived class thereof, enumerate constructors and permit user-defined conversions to the arguments of those constructors. This fixes the wacky implicit conversion sequence used in std::auto_ptr's lame emulation of move semantics. llvm-svn: 88670
* When transforming an expression statement (e.g., for templateDouglas Gregor2009-11-132-2/+2
| | | | | | | | | instantiation), be sure to finish the expression statement by providing a FullExprArg, making sure that temporaries get destroyed. Fixes an obscure failure when parsing llvm/LinkAllPasses.h. llvm-svn: 88668
* Add CompilerInstance utility functions for creating output files.Daniel Dunbar2009-11-133-48/+112
| | | | llvm-svn: 88667
* Instead of storing CXXMethodDecls in the vtable builder, store GlobalDecls ↵Anders Carlsson2009-11-133-61/+98
| | | | | | | | so we can represent both the complete and deleting destructors. Also, when encountering a destructor decl, emit entries for both the complete and deleting destructors. Mike, please review. With this change, FileCheck builds and runs the clang test suite without failures! llvm-svn: 88663
* Don't bind arguments to temporaries if the argument has a reference type.Anders Carlsson2009-11-132-1/+16
| | | | llvm-svn: 88662
* Remove local splitLines reimplementation.Daniel Dunbar2009-11-131-29/+7
| | | | llvm-svn: 88661
* Remove duplicate APIs and state WRT spill objects.David Greene2009-11-131-16/+0
| | | | llvm-svn: 87106
* Add output file list to CompilerInstance, so that it can track them instead ofDaniel Dunbar2009-11-133-70/+91
| | | | | | forcing all clients to do it. llvm-svn: 87103
* clang-cc: Move output file initialization closer to use.Daniel Dunbar2009-11-131-13/+12
| | | | llvm-svn: 87102
* Simplify, in anticipation of introducing explicit action instances.Daniel Dunbar2009-11-131-19/+16
| | | | llvm-svn: 87101
* Add CodeCompletion consumer to CompilerInvocation.Daniel Dunbar2009-11-133-28/+90
| | | | llvm-svn: 87100
* Rework Sema code completion interface.Daniel Dunbar2009-11-138-122/+98
| | | | | | | | | | | | | - Provide Sema in callbacks, instead of requiring it in constructor. This eliminates the need for a factory function. Clients now just pass the object to consume the results in directly. - CodeCompleteConsumer is cheap to construct, so building it whenever we are doing code completion is reasonable. Doug, please review. llvm-svn: 87099
* Add CompilerInstance::createPCHExternalASTSource.Daniel Dunbar2009-11-133-46/+55
| | | | llvm-svn: 87097
* Add CompilerInstance::has* methods for testing if the instance has a particularDaniel Dunbar2009-11-132-3/+17
| | | | | | subobject. llvm-svn: 87096
* Add ASTContext to CompilerInstance.Daniel Dunbar2009-11-133-14/+47
| | | | llvm-svn: 87095
OpenPOWER on IntegriCloud