- Jun 09, 2010
-
-
Anders Carlsson authored
llvm-svn: 105673
-
Anders Carlsson authored
llvm-svn: 105672
-
Anders Carlsson authored
llvm-svn: 105671
-
Rafael Espindola authored
llvm-svn: 105670
-
Nate Begeman authored
Test out some basic constant-checking. llvm-svn: 105667
-
Ted Kremenek authored
their associated memory destroyed when using a BumpPtrAllocator. These objects internally use a DenseMap. llvm-svn: 105659
-
Ted Kremenek authored
associated SmallVectors get deallocated. llvm-svn: 105658
-
Jordy Rose authored
llvm-svn: 105657
-
Anders Carlsson authored
llvm-svn: 105650
-
Anders Carlsson authored
Add a global CreateGlobalInitOrDestructFunction and use it for creating global init or destruction functions. llvm-svn: 105649
-
Anders Carlsson authored
Rename __tcf_ to __cxx_global_array_dtor. Remove the UniqueAggreDestructorCount from CodeGenFunction and let LLVM handle uniquing the internal functions instead. llvm-svn: 105648
-
Anders Carlsson authored
llvm-svn: 105647
-
Anders Carlsson authored
llvm-svn: 105646
-
- Jun 08, 2010
-
-
Douglas Gregor authored
build a new declaration for that tag type that will be visible for future lookups of that tag. llvm-svn: 105643
-
Douglas Gregor authored
determining whether one overload candidate is better than another. Fixes PR7319. llvm-svn: 105642
-
Fariborz Jahanian authored
entry previously constructed via copy constructor. llvm-svn: 105641
-
Daniel Dunbar authored
llvm-svn: 105639
-
Daniel Dunbar authored
Makefiles: Set Clang CPP compiler flags in a single location, instead of scattered throughout the project Makefiles. llvm-svn: 105638
-
Daniel Dunbar authored
- This eliminates most dependencies on how Clang is installed relative to LLVM. llvm-svn: 105637
-
Douglas Gregor authored
warnings, from Troy Straszheim! Fixes PR6163. llvm-svn: 105631
-
Anders Carlsson authored
llvm-svn: 105628
-
Fariborz Jahanian authored
copy-in of c++ class objects into blocks. llvm-svn: 105622
-
Douglas Gregor authored
pointer. Original patch by Troy D. Straszheim; fixes PR7283. llvm-svn: 105621
-
Anders Carlsson authored
When checking whether we can place a base subobject at an offset, we don't need to go past the highest offset that's known to contain an empty base subobject. llvm-svn: 105611
-
Anders Carlsson authored
llvm-svn: 105608
-
Anders Carlsson authored
llvm-svn: 105606
-
Zhongxing Xu authored
the function call is left where the local variable is declared. llvm-svn: 105602
-
Nate Begeman authored
Fix NEON intrinsic argument passing, support vext. Most now successfully make it through codegen to the .s file llvm-svn: 105599
-
Jeffrey Yasskin authored
llvm-svn: 105597
-
Rafael Espindola authored
llvm-svn: 105595
-
Nate Begeman authored
Since the enum values for each arch's builtins overlap, it is not appropriate to check them when compiling or other archs. Fixes a problem where compiling for NEON would use x86 sema rules. llvm-svn: 105593
-
Rafael Espindola authored
ARM. Fixes PR7310. llvm-svn: 105592
-
Nate Begeman authored
llvm-svn: 105590
-
Nate Begeman authored
Extend __builtin_shufflevector to expose the full power of the llvm shufflevector instruction. This means it can now be used for vector truncation and concatenation. This will be used for the ARM NEON implementation. llvm-svn: 105589
-
Daniel Dunbar authored
- We actually pretend that we have two separate types for LLVM assembly/bitcode because we need to use the standard suffixes with LTO ('clang -O4 -c t.c' should generate 't.o'). It is now possible to do something like: $ clang -emit-llvm -S t.c -o t.ll ... assorted other compile flags ... $ clang -c t.ll -o t.o ... assorted other compile flags ... and expect that the output will be almost* identical to: $ clang -c t.c -o t.o ... assorted other compile flags ... because all the target settings (default CPU, target features, etc.) will all be initialized properly by the driver/frontend. *: This isn't perfect yet, because in practice we will end up running the optimization passes twice. It's possible to get something equivalent out with a well placed -mllvm -disable-llvm-optzns, but I'm still thinking about the cleanest way to solve this problem more generally. llvm-svn: 105584
-
Daniel Dunbar authored
- This magically enables using 'clang -cc1' as a replacement for most of 'llvm-as', 'llvm-dis', 'llc' and 'opt' functionality. For example, 'llvm-as' is: $ clang -cc1 -emit-llvm-bc FOO.ll -o FOO.bc and 'llvm-dis' is: $ clang -cc1 -emit-llvm FOO.bc -o - and 'opt' is, e.g.: $ clang -cc1 -emit-llvm -O3 -o FOO.opt.ll FOO.ll and 'llc' is, e.g.: $ clang -cc1 -S -o - FOO.ll The nice thing about using the backend tools this way is that they are guaranteed to exactly match how the compiler generates code (for example, setting the same backend options). llvm-svn: 105583
-
Daniel Dunbar authored
- These inputs follow an abbreviated execution path, but are still worth handling by FrontendAction so they reuse all the other clang -cc1 features. llvm-svn: 105582
-
Daniel Dunbar authored
llvm-svn: 105581
-
Daniel Dunbar authored
llvm-svn: 105580
-
Daniel Dunbar authored
Frontend: Move some initialization from CompilerInstance to FrontendAction, to parallel what is done for AST inputs. llvm-svn: 105579
-