| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Implement basic _Complex integer constant folding. | Daniel Dunbar | 2009-01-28 | 3 | -34/+81 |
| | | | | | | | | - Merged into single ComplexEvaluator, these share too much logic to be worth splitting for float/int (IMHO). Will split on request. llvm-svn: 63248 | ||||
| * | Make test platform agnostic. | Bill Wendling | 2009-01-28 | 1 | -3/+1 |
| | | | | | llvm-svn: 63247 | ||||
| * | property metadata for objc2's nonfragile abi | Fariborz Jahanian | 2009-01-28 | 1 | -15/+30 |
| | | | | | llvm-svn: 63246 | ||||
| * | Add DebugLoc to the getNode() methods. | Bill Wendling | 2009-01-28 | 2 | -51/+177 |
| | | | | | llvm-svn: 63245 | ||||
| * | Give this test an explicit target, to make it host-independent. | Dan Gohman | 2009-01-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 63244 | ||||
| * | Add some comments to GRStateManager. No functionality change. | Ted Kremenek | 2009-01-28 | 1 | -0/+52 |
| | | | | | llvm-svn: 63243 | ||||
| * | Code generation support for C99 designated initializers. | Douglas Gregor | 2009-01-28 | 17 | -179/+620 |
| | | | | | | | | | | | | | | | | | | | | | The approach I've taken in this patch is relatively straightforward, although the code itself is non-trivial. Essentially, as we process an initializer list we build up a fully-explicit representation of the initializer list, where each of the subobject initializations occurs in order. Designators serve to "fill in" subobject initializations in a non-linear way. The fully-explicit representation makes initializer lists (both with and without designators) easy to grok for codegen and later semantic analyses. We keep the syntactic form of the initializer list linked into the AST for those clients interested in exactly what the user wrote. Known limitations: - Designating a member of a union that isn't the first member may result in bogus initialization (we warn about this) - GNU array-range designators are not supported (we warn about this) llvm-svn: 63242 | ||||
| * | retain/release checker: Always generate an "autorelease" summary for an ↵ | Ted Kremenek | 2009-01-28 | 2 | -9/+90 |
| | | | | | | | "autorelease" message, and have the summary processing logic treat it as a no-op in GC mode. This change is motivated to encode more of the semantics in the summaries themselves for eventual better diagnostics. llvm-svn: 63241 | ||||
| * | SDOperand has been renamed to SDValue. SDNode::Val is now | Dan Gohman | 2009-01-28 | 1 | -14/+14 |
| | | | | | | | accessed via SDNode::getNode. llvm-svn: 63240 | ||||
| * | Add more comments describing SDNode operator codes. | Dan Gohman | 2009-01-28 | 1 | -8/+12 |
| | | | | | llvm-svn: 63239 | ||||
| * | Handle complex types in ASTContext::mergeTypes | Daniel Dunbar | 2009-01-28 | 2 | -0/+12 |
| | | | | | llvm-svn: 63238 | ||||
| * | Add autorelease test case. | Ted Kremenek | 2009-01-28 | 1 | -0/+7 |
| | | | | | llvm-svn: 63237 | ||||
| * | Add DebugLoc-aware constructors for SDNode derived | Dale Johannesen | 2009-01-28 | 2 | -0/+107 |
| | | | | | | | | classes (those that reasonably have a DebugLoc associated with them). llvm-svn: 63236 | ||||
| * | Add some comments on ISD::NodeType. | Dan Gohman | 2009-01-28 | 1 | -0/+7 |
| | | | | | llvm-svn: 63234 | ||||
| * | Do not forget to derived type while constructing an array type. | Devang Patel | 2009-01-28 | 2 | -0/+95 |
| | | | | | llvm-svn: 63233 | ||||
| * | Add more PTH diagnostics for invalid PTH files, etc. | Ted Kremenek | 2009-01-28 | 1 | -11/+29 |
| | | | | | llvm-svn: 63232 | ||||
| * | Enhance PTHManager::Create() to take an optional Diagnostic* argument that ↵ | Ted Kremenek | 2009-01-28 | 3 | -4/+12 |
| | | | | | | | can be used to report issues such as a missing PTH file. llvm-svn: 63231 | ||||
| * | Fix TextDiagnosticPrinter::HandleDiagnostic to handle invalid FullSourceLocs ↵ | Ted Kremenek | 2009-01-28 | 1 | -15/+7 |
| | | | | | | | that do not have a SourceManager. llvm-svn: 63230 | ||||
| * | Add method FullSourceLoc::getBufferData(). | Ted Kremenek | 2009-01-28 | 2 | -1/+12 |
| | | | | | llvm-svn: 63229 | ||||
| * | Tweak doxygen comment. No functionality change. | Ted Kremenek | 2009-01-28 | 1 | -3/+5 |
| | | | | | llvm-svn: 63228 | ||||
| * | Fix some issues with volatility, move "CanConvertToScalar" check | Chris Lattner | 2009-01-28 | 2 | -21/+45 |
| | | | | | | | after the others. llvm-svn: 63227 | ||||
| * | Name change (isTypeName->getTypeName). | Steve Naroff | 2009-01-28 | 10 | -26/+26 |
| | | | | | | | Since it doesn't return a bool, is shouldn't be prefixed with 'is'. llvm-svn: 63226 | ||||
| * | Fix test case (for -### printing version) | Daniel Dunbar | 2009-01-28 | 1 | -3/+3 |
| | | | | | llvm-svn: 63223 | ||||
| * | strengthen this test. | Chris Lattner | 2009-01-28 | 1 | -3/+2 |
| | | | | | llvm-svn: 63222 | ||||
| * | ccc: Support -v; invent a version number for ccc for now, will be | Daniel Dunbar | 2009-01-28 | 3 | -10/+23 |
| | | | | | | | shared with clang eventually. llvm-svn: 63220 | ||||
| * | Change Parser::ParseFunctionDeclarator() to annotate typename tokens. | Steve Naroff | 2009-01-28 | 1 | -9/+21 |
| | | | | | | | This removes ~10% of the calls to Sema::isTypeName(), which amount to a little less than a 1% reduction in usertime (for Cocoa.h). llvm-svn: 63219 | ||||
| * | Some refactoring of common code. No change in functionality. | Fariborz Jahanian | 2009-01-28 | 1 | -34/+47 |
| | | | | | llvm-svn: 63218 | ||||
| * | Fixed extract element when the result needs to be promoted and the input ↵ | Mon P Wang | 2009-01-28 | 1 | -0/+2 |
| | | | | | | | widened. llvm-svn: 63217 | ||||
| * | Implement pointer to member handling in static_cast. | Sebastian Redl | 2009-01-28 | 8 | -57/+133 |
| | | | | | | | | Fix a stupid mistake in UnwrapSimilarPointers that made any two member pointers compatible as long as the pointee was the same. Make a few style corrections as suggested by Chris. llvm-svn: 63215 | ||||
| * | Delete unnecessary elses. | Dan Gohman | 2009-01-28 | 1 | -2/+2 |
| | | | | | llvm-svn: 63214 | ||||
| * | Enable PACKAGE_VERSION in cmake builds, this unbreaks the clang build with ↵ | Chris Lattner | 2009-01-28 | 2 | -2/+3 |
| | | | | | | | | | cmake. Patch by Piotr Rak! llvm-svn: 63213 | ||||
| * | Make isOperationLegal do what its name suggests, and introduce a | Dan Gohman | 2009-01-28 | 6 | -57/+72 |
| | | | | | | | | | | | | | | | | new isOperationLegalOrCustom, which does what isOperationLegal previously did. Update a bunch of callers to use isOperationLegalOrCustom instead of isOperationLegal. In some case it wasn't obvious which behavior is desired; when in doubt I changed then to isOperationLegalOrCustom as that preserves their previous behavior. This is for the second half of PR3376. llvm-svn: 63212 | ||||
| * | Complete semantic checking for typedef redeclarations in C++. The | Douglas Gregor | 2009-01-28 | 5 | -17/+80 |
| | | | | | | | | rules are slightly different than in C, and now we handle both dialects properly. llvm-svn: 63211 | ||||
| * | Remove 'NamespaceNameOnly' argument to Sema::LookupDecl(). It is unused. | Steve Naroff | 2009-01-28 | 5 | -17/+11 |
| | | | | | | | Even though Sema::LookupDecl() is deprecated, it's still used all over the place. Simplifying the interface will make it easier to understand/optimize/convert. llvm-svn: 63210 | ||||
| * | Remove 'enableLazyBuiltinCreation' argument to Sema::LookupDecl(). It is unused. | Steve Naroff | 2009-01-28 | 3 | -9/+5 |
| | | | | | | | Even though Sema::LookupDecl() is deprecated, it's still used all over the place. Simplifying the interface will make it easier to understand/optimize/convert. llvm-svn: 63208 | ||||
| * | Updated checker build. | Ted Kremenek | 2009-01-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 63200 | ||||
| * | Formatting. | Duncan Sands | 2009-01-28 | 1 | -8/+5 |
| | | | | | llvm-svn: 63199 | ||||
| * | Rename getAnalysisToUpdate to getAnalysisIfAvailable. | Duncan Sands | 2009-01-28 | 29 | -85/+87 |
| | | | | | llvm-svn: 63198 | ||||
| * | Fix PR3415 (infinite loop in EscapeAnalysis) by | Duncan Sands | 2009-01-28 | 5 | -220/+0 |
| | | | | | | | deleting the escape analysis pass. llvm-svn: 63197 | ||||
| * | The memory alignment requirement on some of the mov{h|l}p{d|s} patterns are ↵ | Evan Cheng | 2009-01-28 | 3 | -18/+40 |
| | | | | | | | 16-byte. That is overly strict. These instructions read / write f64 memory locations without alignment requirement. llvm-svn: 63195 | ||||
| * | Added sse test patterns for r62979 and r63193. | Mon P Wang | 2009-01-28 | 4 | -0/+254 |
| | | | | | llvm-svn: 63194 | ||||
| * | Add shuffle splat pattern for x86 sse shifts. | Mon P Wang | 2009-01-28 | 1 | -19/+23 |
| | | | | | llvm-svn: 63193 | ||||
| * | Update comment. | Ted Kremenek | 2009-01-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 63192 | ||||
| * | long long and double have 64-bit alignment on x86-64. | Chris Lattner | 2009-01-28 | 1 | -0/+1 |
| | | | | | llvm-svn: 63191 | ||||
| * | add some basic file headers | Chris Lattner | 2009-01-28 | 13 | -1/+107 |
| | | | | | llvm-svn: 63188 | ||||
| * | retain/release checker: Improve diagnostics to indicate that CF objects are ↵ | Ted Kremenek | 2009-01-28 | 2 | -3/+16 |
| | | | | | | | not automatically garbage collected. llvm-svn: 63187 | ||||
| * | retain/release checker: Indicate whether a tracked object is a Core ↵ | Ted Kremenek | 2009-01-28 | 1 | -1/+7 |
| | | | | | | | Foundation or Objective-C object. llvm-svn: 63186 | ||||
| * | add diagnostics files to xcode proj | Chris Lattner | 2009-01-28 | 1 | -0/+24 |
| | | | | | llvm-svn: 63185 | ||||
| * | retain/release checker: More diagnostic refactoring. | Ted Kremenek | 2009-01-28 | 1 | -6/+4 |
| | | | | | llvm-svn: 63184 | ||||
| * | retain/release checker: Embed an "object type" into the RetEffect/RetVal ↵ | Ted Kremenek | 2009-01-28 | 1 | -42/+53 |
| | | | | | | | objects to help distinguish between Objective-C and Core Foundation objects (for better diagnostics). llvm-svn: 63183 | ||||

