- Jul 21, 2013
-
-
Craig Topper authored
Replace 'unsigned short' with 'uint16_t' in a packed data structure for consistency with other fields and to be explicit about bit count. llvm-svn: 186796
-
Craig Topper authored
llvm-svn: 186795
-
Robert Wilhelm authored
llvm-svn: 186794
-
Lubos Lunak authored
llvm-svn: 186793
-
Rafael Espindola authored
We were incorrectly computing where to insert a member if it was replacing a previous member that was before the insert point. llvm-svn: 186792
-
Rafael Espindola authored
llvm-svn: 186791
-
Benjamin Kramer authored
llvm-svn: 186790
-
Daniel Jasper authored
With this fix, only changed regions will be replaced in vim's buffer. Thereby, marks should mostly be left intact. Furthermore, this is a better fix for the performance problem in conjunction with 'foldmethod=syntax' (see r186660). llvm-svn: 186789
-
Chandler Carruth authored
to iterate over. llvm-svn: 186788
-
Craig Topper authored
llvm-svn: 186787
-
Nadav Rotem authored
llvm-svn: 186786
-
Logan Chien authored
Fix exception demo when we are building the examples with configure/make. This commit updates the link components in the Makefile. llvm-svn: 186785
-
Chandler Carruth authored
helper function. This leaves both trivial cases handled entirely in helper functions and merely manages the list of allocas to process in the run method. The next step will be to handle all of the trivial promotion work prior to even creating the core class and the subsequent simplifications that enables. llvm-svn: 186784
-
Chandler Carruth authored
a single block into the helper routine. This takes advantage of the fact that we can directly replace uses prior to any store with undef to simplify matters and unconditionally promote allocas only used within one block. I've removed the special handling for the case of no stores existing. This has no semantic effect but might slow things down. I'll fix that in a later patch when I refactor this entire thing to be easier to manage the different cases. llvm-svn: 186783
-
Chandler Carruth authored
llvm-svn: 186782
-
Chandler Carruth authored
handles the general cases. The hope is to refactor this so that we don't end up building the entire class for the trivial cases. I also want to lift a lot of the early pre-processing in the initial segment of run() into a separate routine, and really none of it needs to happen inside the primary promotion class. These routines in particular used none of the actual state in the promotion class, so they don't really make sense as members. llvm-svn: 186781
-
Chandler Carruth authored
This struct is nicely independent of everything else, and we already needed a foward declaration here. It's simpler to just define it immediately. llvm-svn: 186780
-
Chandler Carruth authored
llvm-svn: 186779
-
Rafael Espindola authored
GlobalOpt simplifies llvm.compiler.used by removing any members that are also in the more strict llvm.used. Handle the special case where llvm.compiler.used becomes empty. llvm-svn: 186778
-
Chandler Carruth authored
that ensued from that. llvm-svn: 186777
-
Chandler Carruth authored
pattern and conform to the naming conventions. llvm-svn: 186776
-
Chandler Carruth authored
subsequent changes don't introduce inconsistencies. llvm-svn: 186775
-
Andrew Trick authored
llvm-svn: 186774
-
Chandler Carruth authored
those baked into DenseMap now. llvm-svn: 186773
-
Chandler Carruth authored
functionality changed. llvm-svn: 186772
-
- Jul 20, 2013
-
-
Rui Ueyama authored
llvm-svn: 186771
-
Enea Zaffanella authored
llvm-svn: 186770
-
Richard Smith authored
implicit conversion sequence. llvm-svn: 186769
-
Richard Smith authored
llvm-svn: 186768
-
Matt Arsenault authored
llvm-svn: 186767
-
Matt Arsenault authored
llvm-svn: 186766
-
Lubos Lunak authored
The functionality is equivalent to the GCC attribute. Variables of tagged types will be warned about as unused if they are not used in any way except for possible (even non-trivial) ctors/dtors called. Useful for tagging classes like std::string (which is not part of this commit). llvm-svn: 186765
-
Lubos Lunak authored
llvm-svn: 186764
-
Lubos Lunak authored
Every #include is surrounded by #if 0 in order to comment it out, which adds lines. That is fixed up right after, but that all can be inside #if part that is not processed, so fix up also after every end of a conditional part. llvm-svn: 186763
-
Benjamin Kramer authored
llvm-svn: 186762
-
Benjamin Kramer authored
While there replace an explicit struct with std::mem_fun. llvm-svn: 186761
-
David Majnemer authored
Diag ID is used throughout clang as a sentinel id meaning "this is an invalid diagnostic id." Confusingly, Diag ID maps to a valid, usable, diagnostic id. Instead, start diagnostic ids at ID one. Incidently, remove an unused element from StaticDiagInfo. llvm-svn: 186760
-
Stephen Lin authored
llvm-svn: 186759
-
Matt Arsenault authored
llvm-svn: 186758
-
Richard Trieu authored
template. Passing around dependent types can lead to integral arguments that cannot be evaluated. llvm-svn: 186757
-