- Feb 11, 2013
-
-
Bill Wendling authored
This reads the attribute groups. It currently doesn't do anything with them. NOTE: In the commit to the bitcode writer, the format *may* change in the near future. Which means that this code would also change. llvm-svn: 174849
-
Bill Wendling authored
llvm-svn: 174848
-
Bill Wendling authored
llvm-svn: 174847
-
Bill Wendling authored
llvm-svn: 174846
-
Bill Wendling authored
This is some initial code for emitting the attribute groups into the bitcode. NOTE: This format *may* change! Do not rely upon the attribute groups' bitcode not changing. llvm-svn: 174845
-
Bill Wendling authored
Attribute groups are essentially all AttributeSets which are used by the program. Enumerate them here. llvm-svn: 174844
-
- Feb 10, 2013
-
-
Nico Weber authored
The more general code for formatting ObjC method exprs does this and more, it's no longer necessary to special-case this. No behavior change. llvm-svn: 174843
-
Nico Weber authored
As it turns out, this already works reasonably well. This example from http://clang.llvm.org/docs/ObjectiveCLiterals.html NSDictionary *dictionary = @{ @"name" : NSUserName(), @"date" : [NSDate date], @"processInfo" : [NSProcessInfo processInfo] }; is formatted like NSDictionary *dictionary = @{ @"name" : NSUserName(), @"date" : [NSDate date], @"processInfo" : [NSProcessInfo processInfo] }; There's already a FIXME in NestedStaticInitializers about supporting one initializer per line, which is really all that's missing here too. llvm-svn: 174842
-
Nico Weber authored
(From http://clang.llvm.org/docs/ObjectiveCLiterals.html.) llvm-svn: 174841
-
Nico Weber authored
Before: @{ foo: bar } ; Now: @{ foo : bar }; parseBracedList() already does the right thing from an UnwrappedLineParser perspective, so check for "@{" in all loops that process constructs that can contain expressions and call parseBracedList() if found. llvm-svn: 174840
-
Vincent Lejeune authored
llvm-svn: 174839
-
rdar://13177960Bob Wilson authored
Apple's kernel engineers have been expecting this behavior even though we've never implemented it before, as far as I can tell. In recent months, clang has gotten better at using vector instructions to optimize memcpy-like operations, and that has exposed problems when vector/floating-point instructions are used in kexts that don't support that. This behavior also matches what Apple's GCC did for PowerPC targets. llvm-svn: 174838
-
Bob Wilson authored
llvm-svn: 174837
-
rdar://13180731Bob Wilson authored
For x86 targets, we've been using the -msoft-float option to control passing the no-implicit-float option to cc1. Since the -mno-implicit-float option is now accepted by the driver, this just makes it work for x86 the same as it does for ARM targets. llvm-svn: 174836
-
Dmitri Gribenko authored
llvm-svn: 174835
-
Bill Wendling authored
llvm-svn: 174834
-
Bill Wendling authored
llvm-svn: 174833
-
Bill Wendling authored
llvm-svn: 174832
-
Cameron Zwarich authored
present, it currently verifies them with the MachineVerifier, and this passed all of the test cases in 'make check' (when accounting for existing verifier errors). There were some assertion failures in the two-address pass, but they also happened on code without phis and look like they are caused by different kill flags from LiveIntervals. The only part that doesn't work is the critical edge splitting heuristic, because there isn't currently an efficient way to update LiveIntervals after splitting an edge. I'll probably start by implementing the slow fallback and test that it works before tackling the fast path for single-block ranges. The existing code that updates LiveVariables is fairly slow as it is. There isn't a command-line option for enabling this; instead, just edit PHIElimination.cpp to require LiveIntervals. llvm-svn: 174831
-
Cameron Zwarich authored
llvm-svn: 174830
-
Cameron Zwarich authored
make sense anymore. llvm-svn: 174829
-
Cameron Zwarich authored
llvm-svn: 174828
-
Chris Lattner authored
llvm-svn: 174827
-
Chris Lattner authored
type char, which can't have TBAA tags. llvm-svn: 174826
-
Chris Lattner authored
llvm-svn: 174825
-
Bill Wendling authored
llvm-svn: 174824
-
Nico Weber authored
llvm-svn: 174823
-
Nico Weber authored
Use this to add a space after "@[" and before "]" for now. Later, I want to use this to format multi-line array literals nicer, too. llvm-svn: 174822
-
Fariborz Jahanian authored
the "nonatomic" attribute in property redeclaration in class extension. Also, improved on diagnostics in this area while at it. // rdar://13156292 llvm-svn: 174821
-
- Feb 09, 2013
-
-
Jakub Staszak authored
llvm-svn: 174817
-
Nico Weber authored
llvm-svn: 174816
-
Dmitri Gribenko authored
llvm-svn: 174815
-
Dmitri Gribenko authored
llvm-svn: 174814
-
Bill Wendling authored
The original syntax for the attribute groups was ambiguous. For example: declare void @foo() #1 #0 = attributes { noinline } The '#0' would be parsed as an attribute reference for '@foo' and not as a top-level entity. In order to continue forward while waiting for a decision on what the correct syntax is, I'm changing it to this instead: declare void @foo() #1 attributes #0 = { noinline } Repeat: This is TEMPORARY until we decide what the correct syntax should be. llvm-svn: 174813
-
Bill Wendling authored
We are going to place the AttributeSet into a DenseMap during assembly writing. llvm-svn: 174812
-
Dmitri Gribenko authored
llvm-svn: 174811
-
Dmitri Gribenko authored
This also gives us 0.2% speedup on '-fsyntax-only -Wdocumentation' time for a testcase that consists of all Clang headers. llvm-svn: 174810
-
Dmitri Gribenko authored
llvm-svn: 174809
-
Justin Holewinski authored
llvm-svn: 174808
-
Jakub Staszak authored
llvm-svn: 174807
-