- Jan 08, 2013
-
-
Jack Carter authored
value in the 64 bit .eh_frame section. It doesn't however allow exception handling to work yet since it depends on the correct relocation model being set in the ELF header flags. Contributer: Jack Carter llvm-svn: 171881
-
Preston Gurd authored
The current Intel Atom microarchitecture has a feature whereby when a function returns early then it is slightly faster to execute a sequence of NOP instructions to wait until the return address is ready, as opposed to simply stalling on the ret instruction until the return address is ready. When compiling for X86 Atom only, this patch will run a pass, called "X86PadShortFunction" which will add NOP instructions where less than four cycles elapse between function entry and return. It includes tests. This patch has been updated to address Nadav's review comments - Optimize only at >= O1 and don't do optimization if -Os is set - Stores MachineBasicBlock* instead of BBNum - Uses DenseMap instead of std::map - Fixes placement of braces Patch by Andy Zhang. llvm-svn: 171879
-
Argyrios Kyrtzidis authored
before doing the comparison. This is because we can't set "FirstInDeclGroup" consistently; for example, when visiting a DeclStmt we will set it but we don't set it on the result of clang_getCursorDefinition for a reference of the same declaration. llvm-svn: 171878
-
Douglas Gregor authored
attribute when determining whether we need to see an implementation of a property. Fixes <rdar://problem/12958191>. llvm-svn: 171877
-
Nico Weber authored
llvm-svn: 171875
-
Nadav Rotem authored
llvm-svn: 171873
-
Eli Bendersky authored
llvm-svn: 171872
-
Nadav Rotem authored
Code cleanup: refactor the switch statements in the generation of reduction variables into an IR builder call. llvm-svn: 171871
-
Ted Kremenek authored
llvm-svn: 171870
-
Matt Kopec authored
llvm-svn: 171869
-
Nadav Rotem authored
llvm-svn: 171868
-
Tim Northover authored
llvm-svn: 171867
-
Tim Northover authored
llvm-svn: 171866
-
Manuel Klimek authored
llvm-svn: 171865
-
Matt Kopec authored
llvm-svn: 171864
-
Joel Jones authored
llvm-svn: 171863
-
Daniel Jasper authored
In Clang/LLVM this seems to be the more common formatting for ##s. There might still be case that we miss, but we'll fix those as we go along. Before: #define A(X) void function ## X(); After: #define A(X) void function##X(); llvm-svn: 171862
-
Rafael Espindola authored
about _Static_assert with -pedantic. llvm-svn: 171860
-
Manuel Klimek authored
- adds '-h' as an alias for '-help'. - adds an optional <file> argument - adds an option -i to in-place edit the given file - adds a help text to explain what the tool does llvm-svn: 171858
-
Rafael Espindola authored
Fixes pr14835. llvm-svn: 171857
-
Daniel Jasper authored
This is a first step towards supporting more complex structures such as #ifs inside unwrapped lines. This patch mostly converts the array-based UnwrappedLine into a linked-list-based UnwrappedLine. Future changes will allow multiple children for each Token turning the UnwrappedLine into a tree. No functional changes intended. llvm-svn: 171856
-
Daniel Malea authored
- Fixes test case TestConnectRemote llvm-svn: 171855
-
Daniel Malea authored
Implement -w flag to process launch (allow launching inferior process in different working directory) on Linux/FreeBSD - fixes test case TestProcessLaunch llvm-svn: 171854
-
Dmitri Gribenko authored
This hopefully fixes the ARM buildbot. llvm-svn: 171853
-
Edwin Vane authored
- Turned off -count-only tests as they aren't supported in cpp11-migrate yet. - Updated tests to use new binary name and options to access loop-convert transform. - Fixed header guards to not use restricted names. Reviewers: klimek, gribozavr llvm-svn: 171852
-
Bill Wendling authored
PR14782 llvm-svn: 171846
-
Tim Northover authored
Current targets don't have more than 256 relocations so they don't hit this limit, but ELF64 actually allows more than 8 bits for a relocation type. These were being truncated on AArch64. llvm-svn: 171845
-
Tobias Grosser authored
llvm-svn: 171844
-
Tobias Grosser authored
llvm-svn: 171843
-
Chandler Carruth authored
one file where it is called as a static function. Nuke the declaration and the definition in lib/CodeGen, along with the include of SelectionDAG.h from this file. There is no dependency edge from lib/CodeGen to lib/CodeGen/SelectionDAG, so it isn't valid for a routine in lib/CodeGen to reference the DAG. There is a dependency from lib/CodeGen/SelectionDAG on lib/CodeGen. This breaks one violation of this layering. llvm-svn: 171842
-
Sean Silva authored
I spotted someone confused about this, so remove the heading to make it clear that they really are a part of Tooling. llvm-svn: 171841
-
Rafael Espindola authored
The availability implies default visibility, so it can change the computed visibility. llvm-svn: 171840
-
Eric Christopher authored
Suggested by Dave Blaikie. llvm-svn: 171839
-
rdar://problem/12968925Enrico Granata authored
Ensuring that the Module's FileSpec is not NULL before attempting to deref it for loading the python scripting resource llvm-svn: 171838
-
Sean Silva authored
This closes PR14709 and hopefully is a small step towards preventing similar issues in the future. llvm-svn: 171837
-
Michael J. Spencer authored
llvm-svn: 171836
-
Michael J. Spencer authored
llvm-svn: 171835
-
Eric Christopher authored
llvm-svn: 171834
-
Eric Christopher authored
make sure that vector types do work. llvm-svn: 171833
-
Eric Christopher authored
llvm-svn: 171832
-