summaryrefslogtreecommitdiff
path: root/include/llvm/Target/TargetOptions.h
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-06-08 22:53:56 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-06-08 22:53:56 +0000
commit0eebf653a7b2978e7761f8d068b6fbec22aea0f6 (patch)
treedf0088f83e5e2ae021b18f475d954fd39c6b2cab /include/llvm/Target/TargetOptions.h
parentccbfb8d3d8aaa201e7adebc8a0088cf7b2698d42 (diff)
downloadllvm-0eebf653a7b2978e7761f8d068b6fbec22aea0f6.tar.gz
llvm-0eebf653a7b2978e7761f8d068b6fbec22aea0f6.tar.bz2
llvm-0eebf653a7b2978e7761f8d068b6fbec22aea0f6.tar.xz
The attached patches implement most of the ARM AAPCS-VFP hard float
ABI. The missing piece is support for putting "homogeneous aggregates" into registers. Patch by Sandeep Patel! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73095 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetOptions.h')
-rw-r--r--include/llvm/Target/TargetOptions.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetOptions.h b/include/llvm/Target/TargetOptions.h
index 0c74fa1f2c..377e03f95c 100644
--- a/include/llvm/Target/TargetOptions.h
+++ b/include/llvm/Target/TargetOptions.h
@@ -73,6 +73,14 @@ namespace llvm {
/// target FP instructions.
extern bool UseSoftFloat;
+ /// FloatABIType - This setting is set by -float-abi=xxx option is specfied
+ /// on the command line. This setting may either be Default, Soft, or Hard.
+ /// Default selects the target's default behavior. Soft selects the ABI for
+ /// UseSoftFloat, but does not inidcate that FP hardware may not be used.
+ /// Such a combination is unfortunately popular (e.g. arm-apple-darwin).
+ /// Hard presumes that the normal FP ABI is used.
+ extern FloatABI::ABIType FloatABIType;
+
/// NoZerosInBSS - By default some codegens place zero-initialized data to
/// .bss section. This flag disables such behaviour (necessary, e.g. for
/// crt*.o compiling).