Lines Matching refs:ARMBuildAttrs
18 #include "ARMBuildAttrs.h"
88 case ARMBuildAttrs::CPU_name:
92 case ARMBuildAttrs::Advanced_SIMD_arch:
93 case ARMBuildAttrs::VFP_arch:
190 Streamer.EmitIntValue(ARMBuildAttrs::File, 1);
752 AttrEmitter->EmitTextAttribute(ARMBuildAttrs::CPU_name, "cortex-a8");
753 AttrEmitter->EmitAttribute(ARMBuildAttrs::CPU_arch, ARMBuildAttrs::v7);
754 AttrEmitter->EmitAttribute(ARMBuildAttrs::CPU_arch_profile,
755 ARMBuildAttrs::ApplicationProfile);
756 AttrEmitter->EmitAttribute(ARMBuildAttrs::ARM_ISA_use,
757 ARMBuildAttrs::Allowed);
758 AttrEmitter->EmitAttribute(ARMBuildAttrs::THUMB_ISA_use,
759 ARMBuildAttrs::AllowThumb32);
761 //AttrEmitter->EmitAttribute(ARMBuildAttrs::WMMX_arch,
762 // ARMBuildAttrs::AllowWMMXv1);
767 AttrEmitter->EmitAttribute(ARMBuildAttrs::CPU_arch, ARMBuildAttrs::v5TEJ);
768 AttrEmitter->EmitAttribute(ARMBuildAttrs::ARM_ISA_use,
769 ARMBuildAttrs::Allowed);
770 AttrEmitter->EmitAttribute(ARMBuildAttrs::THUMB_ISA_use,
771 ARMBuildAttrs::Allowed);
773 AttrEmitter->EmitAttribute(ARMBuildAttrs::CPU_arch, ARMBuildAttrs::v8);
775 AttrEmitter->EmitAttribute(ARMBuildAttrs::CPU_arch, ARMBuildAttrs::v7);
776 AttrEmitter->EmitAttribute(ARMBuildAttrs::THUMB_ISA_use,
777 ARMBuildAttrs::AllowThumb32);
779 AttrEmitter->EmitAttribute(ARMBuildAttrs::CPU_arch, ARMBuildAttrs::v6T2);
781 AttrEmitter->EmitAttribute(ARMBuildAttrs::CPU_arch, ARMBuildAttrs::v6);
783 AttrEmitter->EmitAttribute(ARMBuildAttrs::CPU_arch, ARMBuildAttrs::v5TE);
785 AttrEmitter->EmitAttribute(ARMBuildAttrs::CPU_arch, ARMBuildAttrs::v5T);
787 AttrEmitter->EmitAttribute(ARMBuildAttrs::CPU_arch, ARMBuildAttrs::v4T);
789 AttrEmitter->EmitAttribute(ARMBuildAttrs::CPU_arch, ARMBuildAttrs::v4);
795 AttrEmitter->EmitTextAttribute(ARMBuildAttrs::Advanced_SIMD_arch,
798 AttrEmitter->EmitTextAttribute(ARMBuildAttrs::Advanced_SIMD_arch, "neon");
806 AttrEmitter->EmitAttribute(ARMBuildAttrs::VFP_arch,
807 ARMBuildAttrs::AllowV8FPA);
809 AttrEmitter->EmitTextAttribute(ARMBuildAttrs::VFP_arch, "v8fp");
812 AttrEmitter->EmitAttribute(ARMBuildAttrs::VFP_arch,
813 ARMBuildAttrs::AllowFPv4A);
815 AttrEmitter->EmitTextAttribute(ARMBuildAttrs::VFP_arch, "vfpv4");
819 AttrEmitter->EmitAttribute(ARMBuildAttrs::VFP_arch,
820 ARMBuildAttrs::AllowFPv3A);
822 AttrEmitter->EmitTextAttribute(ARMBuildAttrs::VFP_arch, "vfpv3");
826 AttrEmitter->EmitAttribute(ARMBuildAttrs::VFP_arch,
827 ARMBuildAttrs::AllowFPv2);
829 AttrEmitter->EmitTextAttribute(ARMBuildAttrs::VFP_arch, "vfpv2");
832 /* TODO: ARMBuildAttrs::Allowed is not completely accurate,
836 AttrEmitter->EmitAttribute(ARMBuildAttrs::Advanced_SIMD_arch,
837 ARMBuildAttrs::AllowedNeonV8);
839 AttrEmitter->EmitAttribute(ARMBuildAttrs::Advanced_SIMD_arch,
840 ARMBuildAttrs::Allowed);
845 AttrEmitter->EmitAttribute(ARMBuildAttrs::ABI_FP_denormal,
846 ARMBuildAttrs::Allowed);
847 AttrEmitter->EmitAttribute(ARMBuildAttrs::ABI_FP_exceptions,
848 ARMBuildAttrs::Allowed);
852 AttrEmitter->EmitAttribute(ARMBuildAttrs::ABI_FP_number_model,
853 ARMBuildAttrs::Allowed);
855 AttrEmitter->EmitAttribute(ARMBuildAttrs::ABI_FP_number_model,
856 ARMBuildAttrs::AllowIEE754);
858 // FIXME: add more flags to ARMBuildAttrs.h
860 AttrEmitter->EmitAttribute(ARMBuildAttrs::ABI_align8_needed, 1);
861 AttrEmitter->EmitAttribute(ARMBuildAttrs::ABI_align8_preserved, 1);
865 AttrEmitter->EmitAttribute(ARMBuildAttrs::ABI_HardFP_use, 3);
866 AttrEmitter->EmitAttribute(ARMBuildAttrs::ABI_VFP_args, 1);
871 ARMBuildAttrs::DIV_use, 1);