/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | ARMAttributeParser.cpp | 44 return ARMBuildAttrs::AttrTypeAsString(Tag).str() == name; in testTagString() 50 EXPECT_TRUE(testBuildAttr(6, 0, ARMBuildAttrs::CPU_arch, in TEST() 51 ARMBuildAttrs::Pre_v4)); in TEST() 52 EXPECT_TRUE(testBuildAttr(6, 1, ARMBuildAttrs::CPU_arch, in TEST() 53 ARMBuildAttrs::v4)); in TEST() 54 EXPECT_TRUE(testBuildAttr(6, 2, ARMBuildAttrs::CPU_arch, in TEST() 55 ARMBuildAttrs::v4T)); in TEST() 56 EXPECT_TRUE(testBuildAttr(6, 3, ARMBuildAttrs::CPU_arch, in TEST() 57 ARMBuildAttrs::v5T)); in TEST() 58 EXPECT_TRUE(testBuildAttr(6, 4, ARMBuildAttrs::CPU_arch, in TEST() [all …]
|
D | TargetParserTest.cpp | 319 ARMBuildAttrs::CPUArch::Pre_v4)); in TEST() 322 ARMBuildAttrs::CPUArch::Pre_v4)); in TEST() 325 ARMBuildAttrs::CPUArch::Pre_v4)); in TEST() 328 ARMBuildAttrs::CPUArch::Pre_v4)); in TEST() 331 ARMBuildAttrs::CPUArch::v4)); in TEST() 334 ARMBuildAttrs::CPUArch::v4T)); in TEST() 337 ARMBuildAttrs::CPUArch::v5T)); in TEST() 340 ARMBuildAttrs::CPUArch::v5TE)); in TEST() 343 ARMBuildAttrs::CPUArch::v5TEJ)); in TEST() 346 ARMBuildAttrs::CPUArch::v6)); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | ARMBuildAttrs.cpp | 17 ARMBuildAttrs::AttrType Attr; 20 { ARMBuildAttrs::File, "Tag_File" }, 21 { ARMBuildAttrs::Section, "Tag_Section" }, 22 { ARMBuildAttrs::Symbol, "Tag_Symbol" }, 23 { ARMBuildAttrs::CPU_raw_name, "Tag_CPU_raw_name" }, 24 { ARMBuildAttrs::CPU_name, "Tag_CPU_name" }, 25 { ARMBuildAttrs::CPU_arch, "Tag_CPU_arch" }, 26 { ARMBuildAttrs::CPU_arch_profile, "Tag_CPU_arch_profile" }, 27 { ARMBuildAttrs::ARM_ISA_use, "Tag_ARM_ISA_use" }, 28 { ARMBuildAttrs::THUMB_ISA_use, "Tag_THUMB_ISA_use" }, [all …]
|
D | ARMAttributeParser.cpp | 17 using namespace llvm::ARMBuildAttrs; 21 { "Tag_File", ARMBuildAttrs::File }, 22 { "Tag_Section", ARMBuildAttrs::Section }, 23 { "Tag_Symbol", ARMBuildAttrs::Symbol }, 28 { ARMBuildAttrs::Attr_, &ARMAttributeParser::Attr_ } 32 { ARMBuildAttrs::CPU_raw_name, &ARMAttributeParser::StringAttribute, }, 33 { ARMBuildAttrs::CPU_name, &ARMAttributeParser::StringAttribute }, 97 SW->printNumber(ARMBuildAttrs::AttrTypeAsString(Tag), Value); in IntegerAttribute() 102 StringRef TagName = ARMBuildAttrs::AttrTypeAsString(Tag, /*TagPrefix*/false); in StringAttribute() 119 StringRef TagName = ARMBuildAttrs::AttrTypeAsString(Tag, in PrintAttribute() [all …]
|
/external/llvm/lib/Support/ |
D | ARMBuildAttrs.cpp | 17 ARMBuildAttrs::AttrType Attr; 20 { ARMBuildAttrs::File, "Tag_File" }, 21 { ARMBuildAttrs::Section, "Tag_Section" }, 22 { ARMBuildAttrs::Symbol, "Tag_Symbol" }, 23 { ARMBuildAttrs::CPU_raw_name, "Tag_CPU_raw_name" }, 24 { ARMBuildAttrs::CPU_name, "Tag_CPU_name" }, 25 { ARMBuildAttrs::CPU_arch, "Tag_CPU_arch" }, 26 { ARMBuildAttrs::CPU_arch_profile, "Tag_CPU_arch_profile" }, 27 { ARMBuildAttrs::ARM_ISA_use, "Tag_ARM_ISA_use" }, 28 { ARMBuildAttrs::THUMB_ISA_use, "Tag_THUMB_ISA_use" }, [all …]
|
/external/llvm/tools/llvm-readobj/ |
D | ARMAttributeParser.h | 23 ARMBuildAttrs::AttrType Attribute; 24 void (ARMAttributeParser::*Routine)(ARMBuildAttrs::AttrType, 32 void IntegerAttribute(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 34 void StringAttribute(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 39 void CPU_arch(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 41 void CPU_arch_profile(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 43 void ARM_ISA_use(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 45 void THUMB_ISA_use(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 47 void FP_arch(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 49 void WMMX_arch(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, [all …]
|
D | ARMAttributeParser.cpp | 17 using namespace llvm::ARMBuildAttrs; 21 { "Tag_File", ARMBuildAttrs::File }, 22 { "Tag_Section", ARMBuildAttrs::Section }, 23 { "Tag_Symbol", ARMBuildAttrs::Symbol }, 28 { ARMBuildAttrs::Attr_, &ARMAttributeParser::Attr_ } 32 { ARMBuildAttrs::CPU_raw_name, &ARMAttributeParser::StringAttribute, }, 33 { ARMBuildAttrs::CPU_name, &ARMAttributeParser::StringAttribute }, 92 SW.printNumber(ARMBuildAttrs::AttrTypeAsString(Tag), in IntegerAttribute() 98 StringRef TagName = ARMBuildAttrs::AttrTypeAsString(Tag, /*TagPrefix*/false); in StringAttribute() 109 StringRef TagName = ARMBuildAttrs::AttrTypeAsString(Tag, /*TagPrefix*/false); in PrintAttribute() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/ |
D | ELFObjectFile.cpp | 146 if (Attributes.hasAttribute(ARMBuildAttrs::CPU_arch)) in getARMFeatures() 147 isV7 = Attributes.getAttributeValue(ARMBuildAttrs::CPU_arch) in getARMFeatures() 148 == ARMBuildAttrs::v7; in getARMFeatures() 150 if (Attributes.hasAttribute(ARMBuildAttrs::CPU_arch_profile)) { in getARMFeatures() 151 switch(Attributes.getAttributeValue(ARMBuildAttrs::CPU_arch_profile)) { in getARMFeatures() 152 case ARMBuildAttrs::ApplicationProfile: in getARMFeatures() 155 case ARMBuildAttrs::RealTimeProfile: in getARMFeatures() 160 case ARMBuildAttrs::MicroControllerProfile: in getARMFeatures() 168 if (Attributes.hasAttribute(ARMBuildAttrs::THUMB_ISA_use)) { in getARMFeatures() 169 switch(Attributes.getAttributeValue(ARMBuildAttrs::THUMB_ISA_use)) { in getARMFeatures() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMTargetStreamer.cpp | 120 static ARMBuildAttrs::CPUArch getArchForCPU(const MCSubtargetInfo &STI) { in getArchForCPU() 122 return ARMBuildAttrs::v5TEJ; in getArchForCPU() 126 return ARMBuildAttrs::v8_R; in getArchForCPU() 127 return ARMBuildAttrs::v8_A; in getArchForCPU() 129 return ARMBuildAttrs::v8_M_Main; in getArchForCPU() 132 return ARMBuildAttrs::v7E_M; in getArchForCPU() 133 return ARMBuildAttrs::v7; in getArchForCPU() 135 return ARMBuildAttrs::v6T2; in getArchForCPU() 137 return ARMBuildAttrs::v8_M_Base; in getArchForCPU() 139 return ARMBuildAttrs::v6S_M; in getArchForCPU() [all …]
|
D | ARMELFStreamer.cpp | 181 StringRef Name = ARMBuildAttrs::AttrTypeAsString(Attribute); in emitAttribute() 191 case ARMBuildAttrs::CPU_name: in emitTextAttribute() 197 StringRef Name = ARMBuildAttrs::AttrTypeAsString(Attribute); in emitTextAttribute() 211 case ARMBuildAttrs::compatibility: in emitIntTextAttribute() 216 OS << "\t@ " << ARMBuildAttrs::AttrTypeAsString(Attribute); in emitIntTextAttribute() 300 return (RHS.Tag != ARMBuildAttrs::conformance) && in LessTag() 301 ((LHS.Tag == ARMBuildAttrs::conformance) || (LHS.Tag < RHS.Tag)); in LessTag() 793 using namespace ARMBuildAttrs; in emitArchDefaultAttributes() 903 setAttributeItem(ARMBuildAttrs::FP_arch, in emitFPUDefaultAttributes() 904 ARMBuildAttrs::AllowFPv2, in emitFPUDefaultAttributes() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | ARMAttributeParser.h | 27 ARMBuildAttrs::AttrType Attribute; 28 void (ARMAttributeParser::*Routine)(ARMBuildAttrs::AttrType, 36 void IntegerAttribute(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 38 void StringAttribute(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 43 void CPU_arch(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 45 void CPU_arch_profile(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 47 void ARM_ISA_use(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 49 void THUMB_ISA_use(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 51 void FP_arch(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, 53 void WMMX_arch(ARMBuildAttrs::AttrType Tag, const uint8_t *Data, [all …]
|
D | ARMTargetParser.def | 48 ARMBuildAttrs::CPUArch::Pre_v4, FK_NONE, ARM::AEK_NONE) 49 ARM_ARCH("armv2", ARMV2, "2", "v2", ARMBuildAttrs::CPUArch::Pre_v4, 51 ARM_ARCH("armv2a", ARMV2A, "2A", "v2a", ARMBuildAttrs::CPUArch::Pre_v4, 53 ARM_ARCH("armv3", ARMV3, "3", "v3", ARMBuildAttrs::CPUArch::Pre_v4, 55 ARM_ARCH("armv3m", ARMV3M, "3M", "v3m", ARMBuildAttrs::CPUArch::Pre_v4, 57 ARM_ARCH("armv4", ARMV4, "4", "v4", ARMBuildAttrs::CPUArch::v4, 59 ARM_ARCH("armv4t", ARMV4T, "4T", "v4t", ARMBuildAttrs::CPUArch::v4T, 61 ARM_ARCH("armv5t", ARMV5T, "5T", "v5", ARMBuildAttrs::CPUArch::v5T, 63 ARM_ARCH("armv5te", ARMV5TE, "5TE", "v5e", ARMBuildAttrs::CPUArch::v5TE, 65 ARM_ARCH("armv5tej", ARMV5TEJ, "5TEJ", "v5e", ARMBuildAttrs::CPUArch::v5TEJ, [all …]
|
D | AArch64TargetParser.def | 20 ARMBuildAttrs::CPUArch::v8_A, FK_NONE, AArch64::AEK_NONE) 21 AARCH64_ARCH("armv8-a", ARMV8A, "8-A", "v8", ARMBuildAttrs::CPUArch::v8_A, 25 ARMBuildAttrs::CPUArch::v8_A, FK_CRYPTO_NEON_FP_ARMV8, 29 ARMBuildAttrs::CPUArch::v8_A, FK_CRYPTO_NEON_FP_ARMV8, 34 ARMBuildAttrs::CPUArch::v8_A, FK_CRYPTO_NEON_FP_ARMV8, 39 ARMBuildAttrs::CPUArch::v8_A, FK_CRYPTO_NEON_FP_ARMV8,
|
D | ARMBuildAttributes.h | 25 namespace ARMBuildAttrs {
|
/external/llvm/lib/Target/ARM/ |
D | ARMAsmPrinter.cpp | 567 ATS.emitAttribute(ARMBuildAttrs::ABI_optimization_goals, OptimizationGoals); in EmitEndOfAsmFile() 586 static ARMBuildAttrs::CPUArch getArchForCPU(StringRef CPU, in getArchForCPU() 589 return ARMBuildAttrs::v5TEJ; in getArchForCPU() 592 return ARMBuildAttrs::v8_A; in getArchForCPU() 594 return ARMBuildAttrs::v8_M_Main; in getArchForCPU() 597 return ARMBuildAttrs::v7E_M; in getArchForCPU() 598 return ARMBuildAttrs::v7; in getArchForCPU() 600 return ARMBuildAttrs::v6T2; in getArchForCPU() 602 return ARMBuildAttrs::v8_M_Base; in getArchForCPU() 604 return ARMBuildAttrs::v6S_M; in getArchForCPU() [all …]
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMELFStreamer.cpp | 159 StringRef Name = ARMBuildAttrs::AttrTypeAsString(Attribute); in emitAttribute() 168 case ARMBuildAttrs::CPU_name: in emitTextAttribute() 174 StringRef Name = ARMBuildAttrs::AttrTypeAsString(Attribute); in emitTextAttribute() 187 case ARMBuildAttrs::compatibility: in emitIntTextAttribute() 192 OS << "\t@ " << ARMBuildAttrs::AttrTypeAsString(Attribute); in emitIntTextAttribute() 271 return (RHS.Tag != ARMBuildAttrs::conformance) && in LessTag() 272 ((LHS.Tag == ARMBuildAttrs::conformance) || (LHS.Tag < RHS.Tag)); in LessTag() 691 using namespace ARMBuildAttrs; in emitArchDefaultAttributes() 796 setAttributeItem(ARMBuildAttrs::FP_arch, in emitFPUDefaultAttributes() 797 ARMBuildAttrs::AllowFPv2, in emitFPUDefaultAttributes() [all …]
|
/external/llvm/include/llvm/Support/ |
D | ARMTargetParser.def | 48 ARMBuildAttrs::CPUArch::Pre_v4, FK_NONE, ARM::AEK_NONE) 49 ARM_ARCH("armv2", AK_ARMV2, "2", "v2", ARMBuildAttrs::CPUArch::Pre_v4, 51 ARM_ARCH("armv2a", AK_ARMV2A, "2A", "v2a", ARMBuildAttrs::CPUArch::Pre_v4, 53 ARM_ARCH("armv3", AK_ARMV3, "3", "v3", ARMBuildAttrs::CPUArch::Pre_v4, 55 ARM_ARCH("armv3m", AK_ARMV3M, "3M", "v3m", ARMBuildAttrs::CPUArch::Pre_v4, 57 ARM_ARCH("armv4", AK_ARMV4, "4", "v4", ARMBuildAttrs::CPUArch::v4, 59 ARM_ARCH("armv4t", AK_ARMV4T, "4T", "v4t", ARMBuildAttrs::CPUArch::v4T, 61 ARM_ARCH("armv5t", AK_ARMV5T, "5T", "v5", ARMBuildAttrs::CPUArch::v5T, 63 ARM_ARCH("armv5te", AK_ARMV5TE, "5TE", "v5e", ARMBuildAttrs::CPUArch::v5TE, 65 ARM_ARCH("armv5tej", AK_ARMV5TEJ, "5TEJ", "v5e", ARMBuildAttrs::CPUArch::v5TEJ, [all …]
|
D | AArch64TargetParser.def | 20 ARMBuildAttrs::CPUArch::v8_A, FK_NONE, AArch64::AEK_NONE) 21 AARCH64_ARCH("armv8-a", AK_ARMV8A, "8-A", "v8", ARMBuildAttrs::CPUArch::v8_A, 26 ARMBuildAttrs::CPUArch::v8_A, FK_CRYPTO_NEON_FP_ARMV8, 30 ARMBuildAttrs::CPUArch::v8_A, FK_CRYPTO_NEON_FP_ARMV8,
|
D | ARMBuildAttributes.h | 25 namespace ARMBuildAttrs {
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | ARMTargetParser.def | 48 ARMBuildAttrs::CPUArch::Pre_v4, FK_NONE, ARM::AEK_NONE) 49 ARM_ARCH("armv2", AK_ARMV2, "2", "v2", ARMBuildAttrs::CPUArch::Pre_v4, 51 ARM_ARCH("armv2a", AK_ARMV2A, "2A", "v2a", ARMBuildAttrs::CPUArch::Pre_v4, 53 ARM_ARCH("armv3", AK_ARMV3, "3", "v3", ARMBuildAttrs::CPUArch::Pre_v4, 55 ARM_ARCH("armv3m", AK_ARMV3M, "3M", "v3m", ARMBuildAttrs::CPUArch::Pre_v4, 57 ARM_ARCH("armv4", AK_ARMV4, "4", "v4", ARMBuildAttrs::CPUArch::v4, 59 ARM_ARCH("armv4t", AK_ARMV4T, "4T", "v4t", ARMBuildAttrs::CPUArch::v4T, 61 ARM_ARCH("armv5t", AK_ARMV5T, "5T", "v5", ARMBuildAttrs::CPUArch::v5T, 63 ARM_ARCH("armv5te", AK_ARMV5TE, "5TE", "v5e", ARMBuildAttrs::CPUArch::v5TE, 65 ARM_ARCH("armv5tej", AK_ARMV5TEJ, "5TEJ", "v5e", ARMBuildAttrs::CPUArch::v5TEJ, [all …]
|
D | AArch64TargetParser.def | 20 ARMBuildAttrs::CPUArch::v8_A, FK_NONE, AArch64::AEK_NONE) 21 AARCH64_ARCH("armv8-a", AK_ARMV8A, "8-A", "v8", ARMBuildAttrs::CPUArch::v8_A, 26 ARMBuildAttrs::CPUArch::v8_A, FK_CRYPTO_NEON_FP_ARMV8, 30 ARMBuildAttrs::CPUArch::v8_A, FK_CRYPTO_NEON_FP_ARMV8,
|
D | ARMBuildAttributes.h | 25 namespace ARMBuildAttrs {
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMAsmPrinter.cpp | 88 case ARMBuildAttrs::CPU_name: in EmitTextAttribute() 92 case ARMBuildAttrs::Advanced_SIMD_arch: in EmitTextAttribute() 93 case ARMBuildAttrs::VFP_arch: in EmitTextAttribute() 191 Streamer.EmitIntValue(ARMBuildAttrs::File, 1); in Finish() 682 AttrEmitter->EmitTextAttribute(ARMBuildAttrs::CPU_name, "cortex-a8"); in emitAttributes() 683 AttrEmitter->EmitAttribute(ARMBuildAttrs::CPU_arch, ARMBuildAttrs::v7); in emitAttributes() 684 AttrEmitter->EmitAttribute(ARMBuildAttrs::CPU_arch_profile, in emitAttributes() 685 ARMBuildAttrs::ApplicationProfile); in emitAttributes() 686 AttrEmitter->EmitAttribute(ARMBuildAttrs::ARM_ISA_use, in emitAttributes() 687 ARMBuildAttrs::Allowed); in emitAttributes() [all …]
|
D | ARMBuildAttrs.h | 18 namespace ARMBuildAttrs {
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMAsmPrinter.cpp | 565 ATS.emitAttribute(ARMBuildAttrs::ABI_optimization_goals, OptimizationGoals); in EmitEndOfAsmFile() 591 ATS.emitTextAttribute(ARMBuildAttrs::conformance, "2.09"); in emitAttributes() 619 ATS.emitAttribute(ARMBuildAttrs::ABI_PCS_RW_data, in emitAttributes() 620 ARMBuildAttrs::AddressRWPCRel); in emitAttributes() 623 ATS.emitAttribute(ARMBuildAttrs::ABI_PCS_RW_data, in emitAttributes() 624 ARMBuildAttrs::AddressRWSBRel); in emitAttributes() 629 ATS.emitAttribute(ARMBuildAttrs::ABI_PCS_RO_data, in emitAttributes() 630 ARMBuildAttrs::AddressROPCRel); in emitAttributes() 635 ATS.emitAttribute(ARMBuildAttrs::ABI_PCS_GOT_use, in emitAttributes() 636 ARMBuildAttrs::AddressGOT); in emitAttributes() [all …]
|