diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-05-05 02:14:27 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-04-13 01:56:54 +0200 |
commit | 41834bdd6016de69273aaa510ea47be660f28f10 (patch) | |
tree | 5919d04ad82f39c2378e344ad5371a348fb5c9e1 /include/llvm/Support/Host.h | |
parent | af84995d06bb792e77e84f9a04361e8b0268e800 (diff) | |
download | llvm-41834bdd6016de69273aaa510ea47be660f28f10.tar.gz llvm-41834bdd6016de69273aaa510ea47be660f28f10.tar.bz2 llvm-41834bdd6016de69273aaa510ea47be660f28f10.tar.xz |
[Embtk] Give ability to specify default float abi 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 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/llvm/Support/Host.h b/include/llvm/Support/Host.h index 192fbd4d64..9a17fb89e6 100644 --- a/include/llvm/Support/Host.h +++ b/include/llvm/Support/Host.h @@ -54,6 +54,15 @@ namespace sys { /// generate by default code for a given target cpu and false otherwise. bool hasDefaultTargetCpu(); + /// getDefaultTargetFloat() - Return the default target float abi for which + /// the compiler is configured to generate code for, or "" if empty. + std::string getDefaultTargetFloat(); + + /// hasDefaultTargetFloat() - Return true if the compiler was configured to + /// generate by default code for a given floating point abi and false + /// otherwise. + bool hasDefaultTargetFloat(); + /// 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(); |