- Aug 24, 2013
-
-
Benjamin Kramer authored
llvm-svn: 189168
-
Benjamin Kramer authored
Leak found by valgrind. llvm-svn: 189167
-
Dmitri Gribenko authored
Patch by Ismail Pazarbasi. llvm-svn: 189162
-
Reed Kotler authored
I need to add the rest of these to the list or else to delay putting out the actual stub until later in code generation when I know if the external function ever got emitted. llvm-svn: 189161
-
Justin Holewinski authored
This support was removed by accident during the MC conversion llvm-svn: 189160
-
Manman Ren authored
llvm-svn: 189158
-
- Aug 23, 2013
-
-
Rafael Espindola authored
There is no advantage in being different and using the same names simplifies clang a bit. llvm-svn: 189141
-
Peter Collingbourne authored
llvm-svn: 189133
-
Manman Ren authored
llvm-svn: 189131
-
Andrew Trick authored
llvm-svn: 189124
-
Andrew Trick authored
llvm-svn: 189123
-
Andrew Trick authored
llvm-svn: 189122
-
Andrew Trick authored
llvm-svn: 189121
-
Andrew Trick authored
Estimate the cyclic critical path within a single block loop. If the acyclic critical path is longer, then the loop will exhaust OOO resources after some number of iterations. If lag between the acyclic critical path and cyclic critical path is longer the the time it takes to issue those loop iterations, then aggressively schedule for latency. llvm-svn: 189120
-
Andrew Trick authored
This will be used to compute the cyclic critical path and to update precomputed per-node pressure differences. In the longer term, it could also be used to speed up LiveInterval update by avoiding visiting all global vreg users. llvm-svn: 189118
-
Andrew Trick authored
This fixes a pathological compile time problem with very large blocks and lots of scheduling boundaries. llvm-svn: 189116
-
Jim Cownie authored
llvm-svn: 189111
-
Joey Gouly authored
llvm-svn: 189109
-
Evgeniy Stepanov authored
The code was erroneously reading overflow area shadow from the TLS slot, bypassing the local copy. Reading shadow directly from TLS is wrong, because it can be overwritten by a nested vararg call, if that happens before va_start. llvm-svn: 189104
-
Joey Gouly authored
llvm-svn: 189103
-
Andrea Di Biagio authored
This function attribute indicates that the function is not optimized by any optimization or code generator passes with the exception of interprocedural optimization passes. llvm-svn: 189101
-
Richard Sandiford authored
Just the instructions and intrinsics for now. llvm-svn: 189100
-
Richard Sandiford authored
This allows us to make more use of the many compare reg,mem instructions. llvm-svn: 189099
-
Richard Sandiford authored
If we had a store of an integer to memory, and the integer and store size were suitable for a form of MV..., we used MV... no matter what. We could then have sequences like: lay %r2, 0(%r3,%r4) mvi 0(%r2), 4 In these cases it seems better to force the constant into a register and use a normal store: lhi %r2, 4 stc %r2, 0(%r3, %r4) since %r2 is more likely to be hoisted and is easier to rematerialize. llvm-svn: 189098
-
Richard Sandiford authored
...so that it can be used for z too. Most of the code is the same. The only real change is to use TargetTransformInfo to test when a sqrt instruction is available. The pass is opt-in because at the moment it only handles sqrt. llvm-svn: 189097
-
Tim Northover authored
I'd forgotten that "Requires" blocks override rather than add to the constraints, so my pseudo-instruction was being selected in Thumb mode leading to nonsense instructions. rdar://problem/14817358 llvm-svn: 189096
-
Daniel Sanders authored
llvm-svn: 189095
-
Alexey Samsonov authored
llvm-svn: 189091
-
Alexey Samsonov authored
Summary: This is a part of D1164. DWARFCompileUnit is not that lightweight to copy it around, and we want it to own corresponding .dwo compile unit eventually. Reviewers: echristo Reviewed By: echristo CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1298 llvm-svn: 189089
-
Jakob Stoklund Olesen authored
llvm-svn: 189085
-
Jakob Stoklund Olesen authored
This field specifies registers that are preserved across function calls, but that should not be included in the generates SaveList array. This can be used ot generate regmasks for architectures that save registers through other means, like SPARC's register windows. llvm-svn: 189084
-
Michael Gottesman authored
Update StripDeadDebugInfo to use DebugInfoFinder so that it is no longer stale to the point of not working and more resilient to debug info changes. The current version of StripDeadDebugInfo became stale and no longer actually worked since it was expecting an older version of debug info. This patch updates it to use DebugInfoFinder and the modern DebugInfo classes as much as possible to make it more redundent to such changes. Additionally, the only place where that was avoided (the code where we replace the old sets with the new), I call verify on the DIContextUnit implying that if the format changes and my live set changes no longer make sense an assert will be hit. In order to ensure that that occurs I have included a test case. The actual stripping of the dead debug info follows the same strategy as was used before in this class: find the live set and replace the old set in the given compile unit (which may contain dead global variables/functions) with the new live one. llvm-svn: 189078
-
Michael Gottesman authored
[stack protector] Work around an issue with the BMOVPCB_CALL instruction on ARM by disabling does not return on __stack_chk_fail. This is to fix the bots while I look to see if there is something I can do here. rdar://14811848 llvm-svn: 189076
-
- Aug 22, 2013
-
-
Bill Wendling authored
llvm-svn: 189063
-
Tom Stellard authored
This fixes a crash in Unigine Tropics. https://bugs.freedesktop.org/show_bug.cgi?id=68389 llvm-svn: 189057
-
Peter Collingbourne authored
DataFlowSanitizer: Replace non-instrumented aliases of instrumented functions, and vice versa, with wrappers. Differential Revision: http://llvm-reviews.chandlerc.com/D1442 llvm-svn: 189054
-
Peter Collingbourne authored
Differential Revision: http://llvm-reviews.chandlerc.com/D1441 llvm-svn: 189053
-
Peter Collingbourne authored
DFSan changes the ABI of each function in the module. This makes it possible for a function with the native ABI to be called with the instrumented ABI, or vice versa, thus possibly invoking undefined behavior. A simple way of statically detecting instances of this problem is to prepend the prefix "dfs$" to the name of each instrumented-ABI function. This will not catch every such problem; in particular function pointers passed across the instrumented-native barrier cannot be used on the other side. These problems could potentially be caught dynamically. Differential Revision: http://llvm-reviews.chandlerc.com/D1373 llvm-svn: 189052
-
Joey Gouly authored
This uses the ARMcmov pattern that Tim cleaned up in r188995. Thanks to Simon Tatham for his floating point help! llvm-svn: 189024
-
NAKAMURA Takumi authored
[Win32] mapped_file_region: Fix a bug in CreateFileMapping() that Size must contain Offset when Offset >= 65536. llvm-svn: 189021
-