diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-05-05 17:14:02 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-04-13 01:56:54 +0200 |
commit | 3267e75c5ddaadc4a3b6e2ce6808f70959678d22 (patch) | |
tree | 0b9a0b7f574ffeb3f907b9b55161a8d448ae826d /include/llvm/Support/Host.h | |
parent | 41834bdd6016de69273aaa510ea47be660f28f10 (diff) | |
download | llvm-3267e75c5ddaadc4a3b6e2ce6808f70959678d22.tar.gz llvm-3267e75c5ddaadc4a3b6e2ce6808f70959678d22.tar.bz2 llvm-3267e75c5ddaadc4a3b6e2ce6808f70959678d22.tar.xz |
[Embtk] give ability to specify default FPU to use at configure time
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'include/llvm/Support/Host.h')
-rw-r--r-- | include/llvm/Support/Host.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Support/Host.h b/include/llvm/Support/Host.h index 9a17fb89e6..637d8139e7 100644 --- a/include/llvm/Support/Host.h +++ b/include/llvm/Support/Host.h @@ -63,6 +63,14 @@ namespace sys { /// otherwise. bool hasDefaultTargetFloat(); + /// getDefaultTargetFpu() - Return the default target FPU for which the + /// compiler is configured to generate code for, or "" if empty. + std::string getDefaultTargetFpu(); + + /// hasDefaultTargetFpu() - Return true if the compiler was configured to + /// generate by default code for a given FPU and false otherwise. + bool hasDefaultTargetFpu(); + /// getProcessTriple() - Return an appropriate target triple for generating /// code to be loaded into the current process, e.g. when using the JIT. std::string getProcessTriple(); |