reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/ADT/TripleTest.cpp
 1042   EXPECT_EQ(Triple::UnknownArch, T.getBigEndianArchVariant().getArch());
 1043   EXPECT_EQ(Triple::UnknownArch, T.getLittleEndianArchVariant().getArch());
 1045   T.setArch(Triple::UnknownArch);
 1046   EXPECT_EQ(Triple::UnknownArch, T.getBigEndianArchVariant().getArch());
 1047   EXPECT_EQ(Triple::UnknownArch, T.getLittleEndianArchVariant().getArch());
 1049   T.setArch(Triple::aarch64_be);
 1050   EXPECT_EQ(Triple::aarch64_be, T.getBigEndianArchVariant().getArch());
 1051   EXPECT_EQ(Triple::aarch64, T.getLittleEndianArchVariant().getArch());
 1053   T.setArch(Triple::aarch64);
 1054   EXPECT_EQ(Triple::aarch64_be, T.getBigEndianArchVariant().getArch());
 1055   EXPECT_EQ(Triple::aarch64, T.getLittleEndianArchVariant().getArch());
 1057   T.setArch(Triple::armeb);
 1058   EXPECT_EQ(Triple::armeb, T.getBigEndianArchVariant().getArch());
 1059   EXPECT_EQ(Triple::UnknownArch, T.getLittleEndianArchVariant().getArch());
 1061   T.setArch(Triple::arm);
 1062   EXPECT_EQ(Triple::UnknownArch, T.getBigEndianArchVariant().getArch());
 1063   EXPECT_EQ(Triple::arm, T.getLittleEndianArchVariant().getArch());
 1064   T = Triple("arm");
 1065   EXPECT_TRUE(T.isLittleEndian());
 1066   T = Triple("thumb");
 1067   EXPECT_TRUE(T.isLittleEndian());
 1068   T = Triple("armeb");
 1069   EXPECT_FALSE(T.isLittleEndian());
 1070   T = Triple("thumbeb");
 1071   EXPECT_FALSE(T.isLittleEndian());
 1073   T.setArch(Triple::bpfeb);
 1074   EXPECT_EQ(Triple::bpfeb, T.getBigEndianArchVariant().getArch());
 1075   EXPECT_EQ(Triple::bpfel, T.getLittleEndianArchVariant().getArch());
 1077   T.setArch(Triple::bpfel);
 1078   EXPECT_EQ(Triple::bpfeb, T.getBigEndianArchVariant().getArch());
 1079   EXPECT_EQ(Triple::bpfel, T.getLittleEndianArchVariant().getArch());
 1081   T.setArch(Triple::mips64);
 1082   EXPECT_EQ(Triple::mips64, T.getBigEndianArchVariant().getArch());
 1083   EXPECT_EQ(Triple::mips64el, T.getLittleEndianArchVariant().getArch());
 1085   T.setArch(Triple::mips64el);
 1086   EXPECT_EQ(Triple::mips64, T.getBigEndianArchVariant().getArch());
 1087   EXPECT_EQ(Triple::mips64el, T.getLittleEndianArchVariant().getArch());
 1089   T.setArch(Triple::mips);
 1090   EXPECT_EQ(Triple::mips, T.getBigEndianArchVariant().getArch());
 1091   EXPECT_EQ(Triple::mipsel, T.getLittleEndianArchVariant().getArch());
 1093   T.setArch(Triple::mipsel);
 1094   EXPECT_EQ(Triple::mips, T.getBigEndianArchVariant().getArch());
 1095   EXPECT_EQ(Triple::mipsel, T.getLittleEndianArchVariant().getArch());
 1097   T.setArch(Triple::ppc);
 1098   EXPECT_EQ(Triple::ppc, T.getBigEndianArchVariant().getArch());
 1099   EXPECT_EQ(Triple::UnknownArch, T.getLittleEndianArchVariant().getArch());
 1101   T.setArch(Triple::ppc64);
 1102   EXPECT_EQ(Triple::ppc64, T.getBigEndianArchVariant().getArch());
 1103   EXPECT_EQ(Triple::ppc64le, T.getLittleEndianArchVariant().getArch());
 1105   T.setArch(Triple::ppc64le);
 1106   EXPECT_EQ(Triple::ppc64, T.getBigEndianArchVariant().getArch());
 1107   EXPECT_EQ(Triple::ppc64le, T.getLittleEndianArchVariant().getArch());
 1109   T.setArch(Triple::sparc);
 1110   EXPECT_EQ(Triple::sparc, T.getBigEndianArchVariant().getArch());
 1111   EXPECT_EQ(Triple::sparcel, T.getLittleEndianArchVariant().getArch());
 1113   T.setArch(Triple::sparcel);
 1114   EXPECT_EQ(Triple::sparc, T.getBigEndianArchVariant().getArch());
 1115   EXPECT_EQ(Triple::sparcel, T.getLittleEndianArchVariant().getArch());
 1117   T.setArch(Triple::thumb);
 1118   EXPECT_EQ(Triple::UnknownArch, T.getBigEndianArchVariant().getArch());
 1119   EXPECT_EQ(Triple::thumb, T.getLittleEndianArchVariant().getArch());
 1121   T.setArch(Triple::thumbeb);
 1122   EXPECT_EQ(Triple::thumbeb, T.getBigEndianArchVariant().getArch());
 1123   EXPECT_EQ(Triple::UnknownArch, T.getLittleEndianArchVariant().getArch());
 1125   T.setArch(Triple::lanai);
 1126   EXPECT_EQ(Triple::lanai, T.getBigEndianArchVariant().getArch());
 1127   EXPECT_EQ(Triple::UnknownArch, T.getLittleEndianArchVariant().getArch());
 1129   T.setArch(Triple::tcele);
 1130   EXPECT_EQ(Triple::tce, T.getBigEndianArchVariant().getArch());
 1131   EXPECT_EQ(Triple::tcele, T.getLittleEndianArchVariant().getArch());
 1133   T.setArch(Triple::tce);
 1134   EXPECT_EQ(Triple::tce, T.getBigEndianArchVariant().getArch());
 1135   EXPECT_EQ(Triple::tcele, T.getLittleEndianArchVariant().getArch());
 1137   T.setArch(Triple::le32);
 1138   EXPECT_EQ(Triple::UnknownArch, T.getBigEndianArchVariant().getArch());
 1139   EXPECT_EQ(Triple::le32, T.getLittleEndianArchVariant().getArch());
 1141   T.setArch(Triple::le64);
 1142   EXPECT_EQ(Triple::UnknownArch, T.getBigEndianArchVariant().getArch());
 1143   EXPECT_EQ(Triple::le64, T.getLittleEndianArchVariant().getArch());