packages feed

llvm-general-0.1: src/LLVM/General/Internal/FFI/Target.h

#ifndef __LLVM_GENERAL_INTERNAL_FFI__TARGET__H__
#define __LLVM_GENERAL_INTERNAL_FFI__TARGET__H__

#define LLVM_GENERAL_FOR_EACH_RELOC_MODEL(macro)	\
	macro(Default, Default)													\
	macro(Static, Static)														\
	macro(PIC, PIC_)																\
	macro(DynamicNoPic, DynamicNoPIC)

#define LLVM_GENERAL_FOR_EACH_CODE_MODEL(macro) \
	macro(Default)																\
	macro(JITDefault)															\
	macro(Small)																	\
	macro(Kernel)																	\
	macro(Medium)																	\
	macro(Large)

#define LLVM_GENERAL_FOR_EACH_CODE_GEN_OPT_LEVEL(macro) \
	macro(None)																						\
	macro(Less)																						\
	macro(Default)																				\
	macro(Aggressive)

#define LLVM_GENERAL_FOR_EACH_TARGET_OPTION_FLAG(macro)	\
	macro(PrintMachineCode)																\
	macro(NoFramePointerElim)															\
	macro(NoFramePointerElimNonLeaf)											\
	macro(LessPreciseFPMADOption)													\
	macro(UnsafeFPMath)																		\
	macro(NoInfsFPMath)																		\
	macro(NoNaNsFPMath)																		\
	macro(HonorSignDependentRoundingFPMathOption)					\
	macro(UseSoftFloat)																		\
	macro(NoZerosInBSS)																		\
	macro(JITExceptionHandling)														\
	macro(JITEmitDebugInfo)																\
	macro(JITEmitDebugInfoToDisk)													\
	macro(GuaranteedTailCallOpt)													\
	macro(DisableTailCalls)																\
	macro(RealignStack)																		\
	macro(EnableFastISel)																	\
	macro(PositionIndependentExecutable)									\
	macro(EnableSegmentedStacks)													\
	macro(UseInitArray)

typedef enum {
#define ENUM_CASE(n) LLVM_General_TargetOptionFlag_ ## n,
	LLVM_GENERAL_FOR_EACH_TARGET_OPTION_FLAG(ENUM_CASE)
#undef ENUM_CASE
} LLVM_General_TargetOptionFlag;

#define LLVM_GENERAL_FOR_EACH_FLOAT_ABI(macro)	\
	macro(Default)																\
	macro(Soft)																		\
	macro(Hard) 

typedef enum {
#define ENUM_CASE(n) LLVM_General_FloatABI_ ## n,
	LLVM_GENERAL_FOR_EACH_FLOAT_ABI(ENUM_CASE)
#undef ENUM_CASE
} LLVM_General_FloatABI;

#define LLVM_GENERAL_FOR_EACH_FP_OP_FUSION_MODE(macro)	\
	macro(Fast)																						\
	macro(Standard)																				\
	macro(Strict)

typedef enum {
#define ENUM_CASE(n) LLVM_General_FPOpFusionMode_ ## n,
	LLVM_GENERAL_FOR_EACH_FP_OP_FUSION_MODE(ENUM_CASE)
#undef ENUM_CASE
} LLVM_General_FPOpFusionMode;

#endif