- Oct 01, 2016
-
-
Quentin Colombet authored
We don't return index, we return the actual ValueMapping. NFC. llvm-svn: 282960
-
Quentin Colombet authored
We don't need to have singleton ValueMapping on their own, we can just reuse one of the elements of the 3-ops mapping. This allows even more code sharing. NFC. llvm-svn: 282959
-
Quentin Colombet authored
Use a helper function to access ValMapping. This should make the code easier to understand and maintain. NFC. llvm-svn: 282958
-
Quentin Colombet authored
The function name did not make it clear that the returned value was an offset to apply to a register bank index. NFC. llvm-svn: 282957
-
Quentin Colombet authored
Avoid to rely on the dynamically allocated operands mapping for the alternative mapping. NFC. llvm-svn: 282956
-
Kostya Serebryany authored
llvm-svn: 282954
-
Mike Aizatsky authored
llvm-svn: 282953
-
Piotr Padlewski authored
llvm-svn: 282952
-
Piotr Padlewski authored
llvm-svn: 282951
-
Piotr Padlewski authored
llvm-svn: 282950
-
Alexander Shaposhnikov authored
This diff adds std::move to avoid copying of the Replacement NewR in the method Replacements::add. Test plan: make -j8 check-all Differential revision: https://reviews.llvm.org/D25049 llvm-svn: 282949
-
Mike Aizatsky authored
llvm-svn: 282948
-
Jonathan Peyton authored
If affinity is not capable, then these API functions will perform the stubs version. llvm-svn: 282947
-
Rui Ueyama authored
llvm-svn: 282945
-
Rui Ueyama authored
When we create a PDB file using PDBFileBuilder, the information in the superblock, such as the size of the resulting file, is not available. Previously, PDBFileBuilder::initialize took a superblock assuming that all the members of the struct are correct. That is useful when you want to restore the exact information from a YAML file, but that's probably the only use case in which that is useful. When we are creating a PDB file on the fly, we have to backfill the members. This patch redefines PDBFileBuilder::initialize to take only a block size. Now all the other members are left as default values, so that they'll be updated when commit() is called. Differential Revision: https://reviews.llvm.org/D25108 llvm-svn: 282944
-
Sean Callanan authored
llvm-svn: 282943
-
Rui Ueyama authored
llvm-svn: 282942
-
Dawn Perchik authored
llvm-svn: 282941
-
Rui Ueyama authored
WritableStream needs the exact file size to open a file, but until we fix the final layout of a PDB file, we don't know the size of the file. This patch changes the parameter type of PDBFileBuilder::commit to solve that chiecken-and-egg problem. Now the function opens a file after fixing the layout, so it can create a file with the exact size. Differential Revision: https://reviews.llvm.org/D25107 llvm-svn: 282940
-
Joerg Sonnenberger authored
llvm-svn: 282939
-
Joerg Sonnenberger authored
llvm-svn: 282938
-
Joerg Sonnenberger authored
llvm-svn: 282936
-
Joerg Sonnenberger authored
llvm-svn: 282935
-
Joerg Sonnenberger authored
llvm-svn: 282934
-
Joerg Sonnenberger authored
llvm-svn: 282933
-
Joerg Sonnenberger authored
llvm-svn: 282932
-
Joerg Sonnenberger authored
llvm-svn: 282931
-
Joerg Sonnenberger authored
llvm-svn: 282930
-
Joerg Sonnenberger authored
llvm-svn: 282929
-
Joerg Sonnenberger authored
llvm-svn: 282928
-
Justin Lebar authored
This commit added a warning that we're (correctly) hitting in this test. Just ignore it. llvm-svn: 282927
-
Rui Ueyama authored
llvm-svn: 282926
-
Joerg Sonnenberger authored
to check for the former, don't depend on (dangling) HAVE_MMAP_ANONYMOUS. llvm-svn: 282925
-
Joerg Sonnenberger authored
systems. It wasn't even hooked up in cmake, so problems on such systems would be visible with 3.9 release already. llvm-svn: 282924
-
Joerg Sonnenberger authored
llvm-svn: 282923
-
Joerg Sonnenberger authored
llvm-svn: 282922
-
Joerg Sonnenberger authored
llvm-svn: 282921
-
Hans Wennborg authored
We can't use Jcc to leave a Win64 function in general, because that confuses the unwinder. However, for "leaf" functions, that is, functions where the return address is always on top of the stack and which don't have unwind info, it's OK. Differential Revision: https://reviews.llvm.org/D24836 llvm-svn: 282920
-
Joerg Sonnenberger authored
llvm-svn: 282919
-
Joerg Sonnenberger authored
llvm-svn: 282918
-