mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-11 06:56:12 +00:00
move an enum from TM -> TargetOptions. This makes TargetOptions.h
be self contained, and it isn't used from TM.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77857 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b6d667403f
commit
05e5fcab09
@ -80,15 +80,6 @@ namespace CodeGenOpt {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Possible float ABI settings. Used with FloatABIType in TargetOptions.h.
|
|
||||||
namespace FloatABI {
|
|
||||||
enum ABIType {
|
|
||||||
Default, // Target-specific (either soft of hard depending on triple, etc).
|
|
||||||
Soft, // Soft float.
|
|
||||||
Hard // Hard float.
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
///
|
///
|
||||||
/// TargetMachine - Primary interface to the complete machine description for
|
/// TargetMachine - Primary interface to the complete machine description for
|
||||||
|
@ -16,6 +16,15 @@
|
|||||||
#define LLVM_TARGET_TARGETOPTIONS_H
|
#define LLVM_TARGET_TARGETOPTIONS_H
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
// Possible float ABI settings. Used with FloatABIType in TargetOptions.h.
|
||||||
|
namespace FloatABI {
|
||||||
|
enum ABIType {
|
||||||
|
Default, // Target-specific (either soft of hard depending on triple, etc).
|
||||||
|
Soft, // Soft float.
|
||||||
|
Hard // Hard float.
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
/// PrintMachineCode - This flag is enabled when the -print-machineinstrs
|
/// PrintMachineCode - This flag is enabled when the -print-machineinstrs
|
||||||
/// option is specified on the command line, and should enable debugging
|
/// option is specified on the command line, and should enable debugging
|
||||||
/// output from the code generator.
|
/// output from the code generator.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user