- Jun 12, 2013
-
-
Rafael Espindola authored
It was only used to implement ExecuteAndWait and ExecuteNoWait. Expose just those two functions and make Execute and Wait implementations details. llvm-svn: 183864
-
David Blaikie authored
Now that the PRED_BAD has been removed, this is failing the Clang -Werror build due to -Wcovered-switch-default. llvm-svn: 183863
-
Rafael Espindola authored
This is a temporary stepping stone for moving them out of Program. llvm-svn: 183860
-
Bill Schmidt authored
I'm taking David Blaikie's suggestion to use an Optional<PPC::Predicate> return value instead. That's the right solution for this problem. Thanks for pointing out that possibility! llvm-svn: 183858
-
Bill Schmidt authored
Introducing PRED_BAD caused some unexpected warnings that are now suppressed. llvm-svn: 183854
-
Rui Ueyama authored
These records are mandatory for executables and are used by the loader. Reviewers: rafael CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D939 llvm-svn: 183852
-
Rafael Espindola authored
Should fix the dragonegg build bots. llvm-svn: 183845
-
Bill Schmidt authored
This is a preparatory patch for fast-isel support. The instruction selector will need to access some functions in PPCGenCallingConv.inc, which in turn requires several helper functions to be defined. These are currently defined near the only use of PCCGenCallingConv.inc, inside PPCISelLowering.cpp. This patch moves the declaration of the functions into the associated header file to provide the needed visibility. No functional change intended. llvm-svn: 183844
-
Rafael Espindola authored
llvm-svn: 183843
-
Rafael Espindola authored
No functionality change. llvm-svn: 183842
-
Bill Schmidt authored
Allows returning a PPC::Predicate from a function with a no-predicate value possible. Preparatory patch for fast-isel on PPC64 ELF. No behavioral change intended. llvm-svn: 183841
-
Rafael Espindola authored
llvm-svn: 183840
-
Rafael Espindola authored
llvm-svn: 183839
-
Rafael Espindola authored
llvm-svn: 183838
-
Rafael Espindola authored
llvm-svn: 183836
-
Rafael Espindola authored
llvm-svn: 183835
-
Ulrich Weigand authored
[MC/DWARF] Support .debug_frame / .debug_line code alignment factors I've been comparing the object file output of LLVM's integrated assembler against the external assembler on PowerPC, and one area where differences still remain are in DWARF sections. In particular, the GNU assembler generates .debug_frame and .debug_line sections using a code alignment factor of 4, since all PowerPC instructions have size 4 and must be aligned to a multiple of 4. However, current MC code hard-codes a code alignment factor of 1. This patch changes this by adding a "minimum instruction alignment" data element to MCAsmInfo and using this as code alignment factor. This requires passing a MCContext into MCDwarfLineAddr::Encode and MCDwarfLineAddr::EncodeAdvanceLoc. Note that one caller, MCDwarfLineAddr::Write, didn't actually have that information available. However, it turns out that this routine is in fact never used in the whole code base, so the patch simply removes it. If it turns out to be needed again at a later time, it could be re-added with an updated interface. llvm-svn: 183834
-
Rafael Espindola authored
llvm-svn: 183833
-
Rafael Espindola authored
llvm-svn: 183831
-
Patrik Hagglund authored
`typeinfo for llvm::cl::GenericOptionValue'). Remove an "anchor" method for an abstract class. (This does not increase the number of vtables.) llvm-svn: 183830
-
Ulrich Weigand authored
[PowerPC] Use assembler source in MC tests A couple of old test cases in test/MC/PowerPC were still using LLVM IR. Now that we have a working assembler, we can move them to assembler tests instead: ppc64-initial-cfa.ll ppc64-relocs-01.ll ppc64-tls-relocs-01.ll llvm-svn: 183829
-
Rafael Espindola authored
llvm-svn: 183828
-
Rafael Espindola authored
llvm-svn: 183827
-
Rafael Espindola authored
llvm-svn: 183826
-
Renato Golin authored
llvm-svn: 183825
-
Patrik Hagglund authored
LLVMX86CompilationCallback2, called from inline asm. llvm-svn: 183824
-
Sean Silva authored
This test case was a "sanity check"/"breathing" test case at first, but is really fragile, which impairs changes to yaml2obj. `test/Object/yaml2obj-elf-bits-endian.test` is much more robust and serves as an adequate sanity check. llvm-svn: 183811
-
Sean Silva authored
This slipped in during a hasty renaming. llvm-svn: 183810
-
Eric Christopher authored
match the comments and what the instruction actually does. Noticed on inspection. llvm-svn: 183809
-
Eric Christopher authored
llvm-svn: 183808
-
Eric Christopher authored
llvm-svn: 183807
-
Akira Hatanaka authored
llvm-svn: 183804
-
Akira Hatanaka authored
The pass emits a call to sqrt that has attribute "read-none". This call will be converted to an ISD::FSQRT node during DAG construction, which will turn into a mips native sqrt instruction. llvm-svn: 183802
-
Rafael Espindola authored
Most clients have already been moved from Path V1 to V2. The ones using V1 now include PathV1.h explicitly. llvm-svn: 183801
-
JF Bastien authored
Sign- and zero-extension folding was slightly incorrect because it wasn't checking that the shift on extensions was zero. Further, I recently added AND rd, rn, #255 as a form of 8-bit zero extension, and failed to add the folding code for it. This patch fixes both issues. This patch fixes both, and the test should remain the same: test/CodeGen/ARM/fast-isel-fold.ll llvm-svn: 183794
-
- Jun 11, 2013
-
-
Tobias Grosser authored
For ARM on linux we use /proc/cpuinfo to detect the host CPU's features. Linux derives these values without ever looking at the vendor of the specific CPU implementation. Hence, it adds little value, if we parse the output of /proc/cpuinfo only for certain vendors. This patch enables us to derive the correct feature flags e.g. for Qualcomm CPUs. llvm-svn: 183790
-
Rui Ueyama authored
COFF header is always present both in executable and in object file. PE header is present only in executable. So the natural way to handle PE/COFF file is treating COFF is mandatory header and PE is optional. Current data structre does not allow it, because PE header includes COFF header. Removing COFF header will simplify the code to handle PE/COFF files. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D952 llvm-svn: 183788
-
Rafael Espindola authored
This is preparation for replacing Path.h with PathV2.h. llvm-svn: 183782
-
Rafael Espindola authored
llvm-svn: 183780
-
Rafael Espindola authored
llvm-svn: 183779
-