summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix rdar://7879828 - crash in CallGraph, a self host issue.Chris Lattner2010-04-202-3/+47
| | | | | | | | Arg promotion was deleting call graph nodes that still had references from the 'indirect' CGN. Like the inliner, it should only delete the function if all references are gone. llvm-svn: 101845
* Remove MachineFunction's DefaultDebugLoc member, and make DwarfDebug.cppDan Gohman2010-04-203-23/+16
| | | | | | responsible for figuring out what that's supposed to be on its own. llvm-svn: 101844
* Reapply the removal of SelectionDAGISel's BB, with a fix for the caseDan Gohman2010-04-202-24/+28
| | | | | | | where multiple blocks are emitted; functions which do this need to return the new BB so that their callers can stay current. llvm-svn: 101843
* Don't bother looking for (or diagnosing problems with) the 'operator delete'John McCall2010-04-205-3/+31
| | | | | | associated with a new expression if -fno-exceptions is set. llvm-svn: 101841
* Fix tests for Neon load/store intrinsics to match the i8* types expected byBob Wilson2010-04-2010-94/+188
| | | | | | | | | | the intrinsics. The reason for those i8* types is that the intrinsics are overloaded on the vector type and we don't have a way to declare an intrinsic where one argument is an overloaded vector type and another argument is a pointer to the vector element type. The bitcasts added here will match what the frontend will typically generate when these intrinsics are used. llvm-svn: 101840
* More IT instruction error-handling improvements from fuzzing.Johnny Chen2010-04-201-3/+17
| | | | llvm-svn: 101839
* Do not diagnose unused-parameter errors in template instantiations. WeDouglas Gregor2010-04-192-1/+33
| | | | | | will already have done so when the template is declared. llvm-svn: 101838
* Revert 101825, which is causing trouble.Dan Gohman2010-04-192-19/+18
| | | | llvm-svn: 101832
* Make BreakAntiDependencies' SUnits argument const, and make the BeginDan Gohman2010-04-195-41/+42
| | | | | | and End arguments by-value rather than by-reference. llvm-svn: 101830
* Better error handling of invalid IT mask '0000', instead of just asserting.Johnny Chen2010-04-193-5/+11
| | | | llvm-svn: 101827
* Keep track of the actual storage specifier written on a variable orDouglas Gregor2010-04-1923-107/+230
| | | | | | | | function declaration, since it may end up being changed (e.g., "extern" can become "static" if a prior declaration was static). Patch by Enea Zaffanella and Paolo Bolzoni. llvm-svn: 101826
* Eliminate SelectionDAGISel's "current block" member. Just pass it asDan Gohman2010-04-192-18/+19
| | | | | | an argument to things that need it. llvm-svn: 101825
* Delete an unnecessary reference to SelectionDAGISel::BB.Dan Gohman2010-04-191-1/+0
| | | | llvm-svn: 101824
* Eliminate the CurMBB member from SelectionDAGBuilder. For places thatDan Gohman2010-04-193-84/+106
| | | | | | | need it, just pass around the parent block of the current instruction explicitly. llvm-svn: 101822
* Only suppress the "extern variable has an initializer" warning when the ↵Douglas Gregor2010-04-192-2/+3
| | | | | | extern entity being initialized is const. llvm-svn: 101821
* Remove the Expr member from IVUsers. Instead of remembering the expression,Dan Gohman2010-04-194-58/+65
| | | | | | | just ask ScalarEvolution for it on demand. This helps IVUsers be more robust in the case of expressions changing underneath it. This fixes PR6862. llvm-svn: 101819
* Disable the "'extern' variable has an initializer" warning in C++,Douglas Gregor2010-04-192-1/+4
| | | | | | | since it makes sense there to have const extern variables. Fixes PR6495. llvm-svn: 101818
* According to A8.6.16 B (Encoding T3) and A8.3 Conditional execution -- A8.3.1Johnny Chen2010-04-192-8/+16
| | | | | | | | | | Pseudocode details of conditional, Condition bits '111x' indicate the instruction is always executed. That is, '1111' is a leagl condition field value, which is now mapped to ARMCC::AL. Also add a test case for condition field '1111'. llvm-svn: 101817
* AST: Dump ASTRecordLayout objects when they are created with ↵Daniel Dunbar2010-04-193-13/+31
| | | | | | -fdump-record-layouts. llvm-svn: 101815
* IRgen: Kill unused function and move the type match assert to after record ↵Daniel Dunbar2010-04-191-13/+8
| | | | | | dumping. llvm-svn: 101814
* add a PPCallback handler for a skipped #include, patch byChris Lattner2010-04-192-6/+24
| | | | | | Zhanyong Wan! llvm-svn: 101813
* Fix typo. add a test case.Devang Patel2010-04-192-1/+31
| | | | llvm-svn: 101812
* When normal name lookup to disambiguiate an Objective-C message sendDouglas Gregor2010-04-191-0/+10
| | | | | | | fails to find anything, perform ivar lookup and, if we find one, consider this an instance message. llvm-svn: 101810
* More progress on promoting i16 operations to i32 for x86. Work in progress.Evan Cheng2010-04-192-17/+153
| | | | llvm-svn: 101808
* Give SelectionDAG a TargetMachine too, rather than having itDan Gohman2010-04-193-9/+6
| | | | | | fetch one from the MachineFunction. llvm-svn: 101807
* More 80 col violation.Evan Cheng2010-04-191-2/+4
| | | | llvm-svn: 101806
* Add DW_AT_APPLE_omit_frame_ptr to encode -fomit-frame-pointer flag.Devang Patel2010-04-193-1/+8
| | | | llvm-svn: 101805
* More tests for Objective-C-related name lookup weirdness. Yes, it'sDouglas Gregor2010-04-192-0/+37
| | | | | | weird; yes, it's what GCC does. Almost. llvm-svn: 101803
* Code that needs a TargetMachine should have access to one directly, ratherDan Gohman2010-04-197-21/+23
| | | | | | than just getting one through a TargetLowering. llvm-svn: 101802
* Move isInTailCallPosition out of SelectionDAGBuilder, as it isn'tDan Gohman2010-04-193-86/+95
| | | | | | SelectionDAG-specific. llvm-svn: 101801
* Add a testcase for PR6501 (too many/too few arguments to a function call).Eric Christopher2010-04-191-0/+6
| | | | llvm-svn: 101800
* Check for darwin befoer cheking for version.Fariborz Jahanian2010-04-191-1/+2
| | | | | | (related to radar 7866951). llvm-svn: 101799
* Enable -Wcast-qual for C++ files, where intentional qualifier-stripping canDan Gohman2010-04-191-0/+2
| | | | | | be done with const_cast. llvm-svn: 101798
* Make this test darwin10 specific.Fariborz Jahanian2010-04-191-1/+1
| | | | llvm-svn: 101797
* Temporarily XFAIL this test on windows.Eric Christopher2010-04-191-0/+2
| | | | llvm-svn: 101796
* Remove the argument number from the constant integer diagnostic.Eric Christopher2010-04-196-8/+8
| | | | | | Update all of the testcases accordingly. llvm-svn: 101795
* Some renaming of methods, fixes typoFariborz Jahanian2010-04-194-6/+8
| | | | | | (related to PR6769). llvm-svn: 101794
* Remove -module, which appears to be a leftover from prior libtool usage.Dan Gohman2010-04-191-7/+0
| | | | llvm-svn: 101793
* When searching for code-completion and typo-correction candidates,Douglas Gregor2010-04-192-0/+49
| | | | | | | | look from an Objective-C class or category to its implementation, to pick up synthesized ivars. Fixes a problem reported by David Chisnall. llvm-svn: 101792
* Force clang to produce legacy api for messagingFariborz Jahanian2010-04-192-1/+23
| | | | | | | in for pre-snowleoprd (NeXt runtime). Fixes radar 7866951 llvm-svn: 101791
* This doesn't need SmallVector.h anymore.Dan Gohman2010-04-191-1/+0
| | | | llvm-svn: 101790
* Support .a files directly (without -l).Mikhail Glushenkov2010-04-191-1/+2
| | | | llvm-svn: 101789
* Better error-handling for DisassembleThumb2DPSoReg() where the 3-reg operandJohnny Chen2010-04-191-3/+6
| | | | | | | | instructions should have Rd (Inst{11-8}) != 0b1111. Ref: A6.3 32-bit Thumb instruction encoding A6.3.11 Data-processing (shifted register) llvm-svn: 101788
* Add comment explaning the use of c99 inline in c++.Rafael Espindola2010-04-191-0/+4
| | | | llvm-svn: 101787
* Fix -Wcast-qual warnings.Dan Gohman2010-04-1912-14/+25
| | | | llvm-svn: 101786
* Fix this for std::vectors which don't have .data().Dan Gohman2010-04-191-1/+1
| | | | llvm-svn: 101785
* ARM disassembler did not react to recent changes to the NEON instruction table.Johnny Chen2010-04-192-10/+26
| | | | | | VLD1q*_UPD and VST1q*_UPD have the ${dst:dregpair} operand now. llvm-svn: 101784
* Don't write into MemoryBuffers.Benjamin Kramer2010-04-195-20/+15
| | | | llvm-svn: 101783
* Fix -Wcast-qual warnings.Dan Gohman2010-04-191-6/+10
| | | | llvm-svn: 101782
* Revert 91528 and use a std::vector instead, fixing an abuse of std::string.Dan Gohman2010-04-191-10/+16
| | | | llvm-svn: 101781
OpenPOWER on IntegriCloud