- Jul 24, 2013
-
-
Craig Topper authored
Fix aliases for shrd/shld to handle Intel syntax properly. Also suppress them from being used by the asm printer. llvm-svn: 187020
-
Akira Hatanaka authored
Similar to ARM change r182800, dynamic linker will read bits/addends from the original object rather than from the object that might have been patched previously. For the purpose of relocations for MCJIT stubs on MIPS, we internally use otherwise unused MIPS relocations. The change also enables MCJIT unit tests for MIPS (EL/BE), and the following two tests now pass: - MCJITTest.return_global and - MCJITTest.multiple_functions. These issues have been tracked as Bug 16250. Patch by Petar Jovanovic. llvm-svn: 187019
-
Eric Christopher authored
to assume we're replacing. Clarify comments. llvm-svn: 187018
-
Eric Christopher authored
llvm-svn: 187017
-
Manman Ren authored
llvm-svn: 187016
-
Eric Christopher authored
all enumerated cases. Reformat the rest of the existing constructors to match. llvm-svn: 187015
-
Eric Christopher authored
Move to a single constructor with a default argument and avoid the check and nullification. llvm-svn: 187014
-
Eric Christopher authored
llvm-svn: 187013
-
Eric Christopher authored
llvm-svn: 187012
-
Eric Christopher authored
llvm-svn: 187011
-
Eric Christopher authored
llvm-svn: 187010
-
Eric Christopher authored
llvm-svn: 187009
-
Tom Stellard authored
This commit also implements these functions for R600 and removes a test case that was relying on the buggy behavior. llvm-svn: 187007
-
Tom Stellard authored
These are really the same address space in hardware. The only difference is that CONSTANT_ADDRESS uses a special cache for faster access. When we are unable to use the constant kcache for some reason (e.g. smaller types or lack of indirect addressing) then the instruction selector must use GLOBAL_ADDRESS loads instead. llvm-svn: 187006
-
Manman Ren authored
Improve the Finder to handle context of a DIVariable. If Scope is a DICompileUnit, add it to the list of CUs. llvm-svn: 187003
-
Manman Ren authored
llvm-svn: 187002
-
Eric Christopher authored
llvm-svn: 187001
-
Quentin Colombet authored
When vectors are built from a single value, the ARM lowering issues a scalar_to_vector node. This node is then always morphed into a move from the general purpose unit to the vector unit. When the value comes from a load, this can be simplified into a vector load to the right lane. This patch changes the lowering of insert_vector_elt to expose a vector friendly pattern in this situation. This is a step toward fixing <rdar://problem/14170854>. llvm-svn: 186999
-
Eric Christopher authored
llvm-svn: 186998
-
Matt Arsenault authored
llvm-svn: 186997
-
Eric Christopher authored
llvm-svn: 186995
-
Eric Christopher authored
llvm-svn: 186994
-
- Jul 23, 2013
-
-
Eli Bendersky authored
llvm-svn: 186987
-
Eli Bendersky authored
Run in two different modes: with and without reopening the temporary file between creating it and mapping it with MemoryBuffer. llvm-svn: 186986
-
Manman Ren authored
Use getNodeField to access a field as a MDNode. No functionality change. llvm-svn: 186985
-
Rafael Espindola authored
The main observation is that we never need both the filesize and the map size. When mapping a slice of a file, it doesn't make sense to request a null terminator and that would be the only case where the filesize would be used. There are other cleanups that should be done in this area: * A client should not have to pass the size (even an explicit -1) to say if it wants a null terminator or not, so we should probably swap the argument order. * The default should be to not require a null terminator. Very few clients require this, but many end up asking for it just because it is the default. llvm-svn: 186984
-
Rafael Espindola authored
The gold plugin was passing the desired map size as the file size. This was working for two reasons: * Recent version of gold provide the get_view callback, so this code was not used. * In older versions, getOpenFile was called, but the file size is never used if we don't require null terminated buffers and map size defaults to the file size. Thanks to Eli Bendersky for noticing this. I will try to make this api a bit less error prone. llvm-svn: 186978
-
Manman Ren authored
llvm-svn: 186972
-
Ahmed Bougacha authored
This reverts commit r185676. Originally done because of VS 2008. llvm-svn: 186969
-
Ahmed Bougacha authored
llvm-svn: 186968
-
Ahmed Bougacha authored
Remove trailing ')'. Sorry about all that, should be good now! llvm-svn: 186965
-
Ahmed Bougacha authored
llvm-svn: 186963
-
Ahmed Bougacha authored
llvm-svn: 186961
-
Rafael Espindola authored
llvm-svn: 186939
-
Rafael Espindola authored
Found while testing with pipefail enabled. llvm-svn: 186937
-
Rafael Espindola authored
llvm-svn: 186935
-
Rafael Espindola authored
The symbol table has forward references in the file. Instead of allocating a temporary buffer or counting the size and then writing, this implementation writes a dummy value first and patches it once the final value is known. There is room for performance improvement. I will implement them as soon as I get some other features (like a ranlib mode) in. llvm-svn: 186934
-
Craig Topper authored
llvm-svn: 186932
-
Shuxin Yang authored
llvm-svn: 186931
-
NAKAMURA Takumi authored
llvm-svn: 186930
-