summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Allow user toggling between plist and html output with scan-build/ccc-analyzer.Ted Kremenek2008-11-042-12/+40
| | | | llvm-svn: 58657
* Update VC++ project file.Steve Naroff2008-11-041-0/+4
| | | | llvm-svn: 58656
* The ANDMask node folds to a constant, and isn't the node that needs toDan Gohman2008-11-032-2/+28
| | | | | | | have its node id set. The new and and shift nodes are the nodes that need the IDs. This fixes PR2982. llvm-svn: 58655
* Fix <rdar://problem/6339636> clang ObjC rewriter: Assertion failed: FileID-1 ↵Steve Naroff2008-11-034-37/+42
| | | | | | < FileIDs.size() && "Invalid FileID!", file c:\cygwin\home\Administrator\llvm\tools\clang\include\clang/Basic/SourceManager.h, line 513 llvm-svn: 58654
* Fix unused variable warnings.Devang Patel2008-11-032-0/+13
| | | | llvm-svn: 58653
* Hook up the Plist diagnostic client to the driver.Ted Kremenek2008-11-036-18/+59
| | | | | | Fix Plist output. llvm-svn: 58652
* Fix unused variable warnings.Devang Patel2008-11-031-1/+5
| | | | llvm-svn: 58651
* Add C bindings for extractvalue and insertvalue. Patch by Frits van Bommel!Dan Gohman2008-11-032-0/+36
| | | | llvm-svn: 58650
* Check that this cannot be used in a default argument. Happily, it was ↵Douglas Gregor2008-11-032-2/+11
| | | | | | already implemented llvm-svn: 58649
* Add path diagnostics client for emitting path reports using Plists.Ted Kremenek2008-11-032-5/+236
| | | | llvm-svn: 58647
* Rename 'HTMLDiagnostics.h' to 'PathDiagnosticClients.h'Ted Kremenek2008-11-035-4/+4
| | | | llvm-svn: 58646
* Remove a dead switch statement.Evan Cheng2008-11-031-17/+0
| | | | llvm-svn: 58644
* Minor code restructuring. No functionality change.Evan Cheng2008-11-031-6/+6
| | | | llvm-svn: 58643
* Fix some ppcf128 regressions: make ExpandFloatRes_LOADDale Johannesen2008-11-031-8/+8
| | | | | | | work correctly, and bring over a late change to ppcf128 SetCC handling. llvm-svn: 58642
* Implicit support for direct initialization of objects of class type, e.g.,Douglas Gregor2008-11-036-10/+147
| | | | | | X x(5, 7); llvm-svn: 58641
* Make VAARG promotion work correctly with large funkyDuncan Sands2008-11-031-19/+27
| | | | | | | | | | | | | | | | | sized integers like i129, and also reduce the number of assumptions made about how vaarg is implemented. This still doesn't work correctly for small integers like (eg) i1 on x86, since x86 passes each of them (essentially an i8) in a 4 byte stack slot, so the pointer needs to be advanced by 4 bytes not by 1 byte as now. But this is no longer a LegalizeTypes problem (it was also wrong in LT before): it is a bug in the operation expansion in LegalizeDAG: now LegalizeTypes turns an i1 vaarg into an i8 vaarg which would work fine if only the i8 vaarg was turned into correct code later. llvm-svn: 58635
* Clarify performance experiments description based on feedback fromDaniel Dunbar2008-11-031-1/+7
| | | | | | Eric C, thanks! llvm-svn: 58634
* Overload AddInteger on int/long/long long instead of on int/int64_t,Dan Gohman2008-11-032-8/+20
| | | | | | | to avoid overload ambiguities. This fixes build errors introduced by r58623. llvm-svn: 58632
* Ignore conditions that are outside the loop.Devang Patel2008-11-032-2/+51
| | | | llvm-svn: 58631
* add a period at the end of the comment, ignoring the fact that the comment ↵Andrew Lenharth2008-11-031-1/+1
| | | | | | would be hard pressed to be considered a sentence, but if it makes Bill happy... llvm-svn: 58630
* Standard conversion sequences now have a CopyConstructor field, toDouglas Gregor2008-11-037-46/+106
| | | | | | | | | | | | | | | cope with the case where a user-defined conversion is actually a copy construction, and therefore can be compared against other standard conversion sequences. While I called this a hack before, now I'm convinced that it's the right way to go. Compare overloads based on derived-to-base conversions that invoke copy constructors. Suppress user-defined conversions when attempting to call a user-defined conversion. llvm-svn: 58629
* Add binary encoding support for multiply instructions. Some blanks left to ↵Jim Grosbach2008-11-034-41/+105
| | | | | | fill in, but the basics are there. llvm-svn: 58626
* Turn floating point IVs into integer IVs where possible.Devang Patel2008-11-032-0/+167
| | | | | | | | This allows SCEV users to effectively calculate trip count. LSR later on transforms back integer IVs to floating point IVs later on to avoid int-to-float casts inside the loop. llvm-svn: 58625
* Refactor various TargetAsmInfo subclasses' TargetMachine members awayDan Gohman2008-11-0313-42/+36
| | | | | | adding a TargetMachine member to the base TargetAsmInfo class instead. llvm-svn: 58624
* Change how extended types are represented in MVTs. Instead of fiddlingDan Gohman2008-11-035-82/+255
| | | | | | | | | | | | | | | | | | | | | | | | bits, use a union of a SimpleValueType enum and a regular Type*. This increases the size of MVT on 64-bit hosts from 32 bits to 64 bits. In most cases, this doesn't add significant overhead. There are places in codegen that use arrays of MVTs, so these are now larger, but they're small in common cases. This eliminates restrictions on the size of integer types and vector types that can be represented in codegen. As the included testcase demonstrates, it's now possible to codegen very large add operations. There are still some complications with using very large types. PR2880 is still open so they can't be used as return values on normal targets, there are no libcalls defined for very large integers so operations like multiply and divide aren't supported. This also introduces a minimal tablgen Type library, capable of handling IntegerType and VectorType. This will allow parts of TableGen that don't depend on using SimpleValueType values to handle arbitrary integer and vector types. llvm-svn: 58623
* Add implicitly-declared default and copy constructors to C++ classes,Douglas Gregor2008-11-037-15/+194
| | | | | | | | | | | when appropriate. Conversions for class types now make use of copy constructors. I've replaced the egregious hack allowing class-to-class conversions with a slightly less egregious hack calling these conversions standard conversions (for overloading reasons). llvm-svn: 58622
* Comment fix.Daniel Dunbar2008-11-031-1/+1
| | | | llvm-svn: 58621
* Remove redundant inline keywords from functions defined withinDan Gohman2008-11-031-27/+27
| | | | | | class definitions. llvm-svn: 58620
* Ensure that we are checking only calls to the function we are interested in ↵Andrew Lenharth2008-11-031-2/+4
| | | | | | specializing llvm-svn: 58615
* Eliminate header dependency ASTContext -> TargetInfoDouglas Gregor2008-11-032-5/+8
| | | | llvm-svn: 58613
* Implement C++ DR 106 and C++ DR 540, both of which deal withDouglas Gregor2008-11-034-9/+69
| | | | | | | | | | | reference-collapsing. Implement diagnostic for formation of a reference to cv void. Drop cv-qualifiers added to a reference type when the reference type comes from a typedef. llvm-svn: 58612
* Testcase for recent llvm-gcc fixAnton Korobeynikov2008-11-031-0/+3
| | | | llvm-svn: 58611
* Connect ASTContext to TargetInfo when determining the size_t, ptrdiff_t, and ↵Douglas Gregor2008-11-032-10/+25
| | | | | | wchar_t types. Fixes recent breakage on Linux. llvm-svn: 58609
* Make VAARG work with x86 long double (which isDuncan Sands2008-11-032-3/+20
| | | | | | 10 bytes long, but is passed in 12/16 bytes). llvm-svn: 58608
* Fix <rdar://problem/6336774> clang block rewriter: Assertion failed: ↵Steve Naroff2008-11-032-0/+6
| | | | | | Offset+NumBytes <= size() && "Invalid region to erase!", file c:\cygwin\home\Administrator\llvm\to ols\clang\include\clang/Rewrite/RewriteRope.h, line 219. llvm-svn: 58607
* Make MachineFrameInfo::print not crash when no TargetFrameInfo is available.Matthijs Kooijman2008-11-031-1/+2
| | | | llvm-svn: 58606
* Fix PR3001: if we have an error parsing an initializer, make sure to removeChris Lattner2008-11-033-2/+28
| | | | | | | the designator corresponding to it, otherwise Sema and later parsing will get confused. llvm-svn: 58603
* privatize some methods.Chris Lattner2008-11-031-0/+3
| | | | llvm-svn: 58602
* Simplify the functions HtmlEsape and ShellEscape. We now properly print out ↵Ted Kremenek2008-11-031-8/+5
| | | | | | | | the following command line in the HTML output: scan-build gcc -x c /dev/null -c -Dfoo='"string abc"' Fixes <rdar://problem/6338651> llvm-svn: 58600
* Silence a compiler warning.Evan Cheng2008-11-031-1/+1
| | | | llvm-svn: 58598
* Add some notes for SCA.Zhongxing Xu2008-11-031-0/+31
| | | | llvm-svn: 58597
* Fix 80-col violations.Zhongxing Xu2008-11-031-2/+2
| | | | llvm-svn: 58596
* - Remove AnonTypedRegion, which is not to be used.Zhongxing Xu2008-11-032-53/+29
| | | | | | - Prepare AnonPointeeRegioin for later use. llvm-svn: 58595
* TypoNick Lewycky2008-11-031-1/+1
| | | | llvm-svn: 58594
* Replace explicit loop with utility function.Nick Lewycky2008-11-031-4/+2
| | | | llvm-svn: 58593
* Don't crash analyzing certain quadratics (addrec of {X,+,Y,+,1}).Nick Lewycky2008-11-032-0/+26
| | | | | | We're still waiting on code that actually analyzes them properly. llvm-svn: 58592
* Revert my last patch until I consult with Evan about it.Owen Anderson2008-11-031-10/+0
| | | | llvm-svn: 58591
* Source ranges for named cast diagnostics.Sebastian Redl2008-11-022-49/+63
| | | | llvm-svn: 58570
* Changes from Duncan's review:Nick Lewycky2008-11-022-9/+39
| | | | | | | | * merge two weak functions by making them both alias a third non-weak fn * don't reimplement CallSite::hasArgument * whitelist the safe linkage types llvm-svn: 58568
* Testcase for PR2691Anton Korobeynikov2008-11-021-0/+5
| | | | llvm-svn: 58567
OpenPOWER on IntegriCloud