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

References

unittests/ADT/TripleTest.cpp
  896   EXPECT_EQ(Triple::UnknownArch, T.get32BitArchVariant().getArch());
  897   EXPECT_EQ(Triple::UnknownArch, T.get64BitArchVariant().getArch());
  899   T.setArch(Triple::UnknownArch);
  900   EXPECT_EQ(Triple::UnknownArch, T.get32BitArchVariant().getArch());
  901   EXPECT_EQ(Triple::UnknownArch, T.get64BitArchVariant().getArch());
  903   T.setArch(Triple::mips);
  904   EXPECT_EQ(Triple::mips, T.get32BitArchVariant().getArch());
  905   EXPECT_EQ(Triple::mips64, T.get64BitArchVariant().getArch());
  907   T.setArch(Triple::mipsel);
  908   EXPECT_EQ(Triple::mipsel, T.get32BitArchVariant().getArch());
  909   EXPECT_EQ(Triple::mips64el, T.get64BitArchVariant().getArch());
  911   T.setArch(Triple::ppc);
  912   EXPECT_EQ(Triple::ppc, T.get32BitArchVariant().getArch());
  913   EXPECT_EQ(Triple::ppc64, T.get64BitArchVariant().getArch());
  915   T.setArch(Triple::nvptx);
  916   EXPECT_EQ(Triple::nvptx, T.get32BitArchVariant().getArch());
  917   EXPECT_EQ(Triple::nvptx64, T.get64BitArchVariant().getArch());
  919   T.setArch(Triple::sparc);
  920   EXPECT_EQ(Triple::sparc, T.get32BitArchVariant().getArch());
  921   EXPECT_EQ(Triple::sparcv9, T.get64BitArchVariant().getArch());
  923   T.setArch(Triple::x86);
  924   EXPECT_EQ(Triple::x86, T.get32BitArchVariant().getArch());
  925   EXPECT_EQ(Triple::x86_64, T.get64BitArchVariant().getArch());
  927   T.setArch(Triple::mips64);
  928   EXPECT_EQ(Triple::mips, T.get32BitArchVariant().getArch());
  929   EXPECT_EQ(Triple::mips64, T.get64BitArchVariant().getArch());
  931   T.setArch(Triple::mips64el);
  932   EXPECT_EQ(Triple::mipsel, T.get32BitArchVariant().getArch());
  933   EXPECT_EQ(Triple::mips64el, T.get64BitArchVariant().getArch());
  935   T.setArch(Triple::ppc64);
  936   EXPECT_EQ(Triple::ppc, T.get32BitArchVariant().getArch());
  937   EXPECT_EQ(Triple::ppc64, T.get64BitArchVariant().getArch());
  939   T.setArch(Triple::nvptx64);
  940   EXPECT_EQ(Triple::nvptx, T.get32BitArchVariant().getArch());
  941   EXPECT_EQ(Triple::nvptx64, T.get64BitArchVariant().getArch());
  943   T.setArch(Triple::sparcv9);
  944   EXPECT_EQ(Triple::sparc, T.get32BitArchVariant().getArch());
  945   EXPECT_EQ(Triple::sparcv9, T.get64BitArchVariant().getArch());
  947   T.setArch(Triple::x86_64);
  948   EXPECT_EQ(Triple::x86, T.get32BitArchVariant().getArch());
  949   EXPECT_EQ(Triple::x86_64, T.get64BitArchVariant().getArch());
  951   T.setArch(Triple::amdil);
  952   EXPECT_EQ(Triple::amdil, T.get32BitArchVariant().getArch());
  953   EXPECT_EQ(Triple::amdil64, T.get64BitArchVariant().getArch());
  955   T.setArch(Triple::amdil64);
  956   EXPECT_EQ(Triple::amdil, T.get32BitArchVariant().getArch());
  957   EXPECT_EQ(Triple::amdil64, T.get64BitArchVariant().getArch());
  959   T.setArch(Triple::hsail);
  960   EXPECT_EQ(Triple::hsail, T.get32BitArchVariant().getArch());
  961   EXPECT_EQ(Triple::hsail64, T.get64BitArchVariant().getArch());
  963   T.setArch(Triple::hsail64);
  964   EXPECT_EQ(Triple::hsail, T.get32BitArchVariant().getArch());
  965   EXPECT_EQ(Triple::hsail64, T.get64BitArchVariant().getArch());
  967   T.setArch(Triple::spir);
  968   EXPECT_EQ(Triple::spir, T.get32BitArchVariant().getArch());
  969   EXPECT_EQ(Triple::spir64, T.get64BitArchVariant().getArch());
  971   T.setArch(Triple::spir64);
  972   EXPECT_EQ(Triple::spir, T.get32BitArchVariant().getArch());
  973   EXPECT_EQ(Triple::spir64, T.get64BitArchVariant().getArch());
  975   T.setArch(Triple::wasm32);
  976   EXPECT_EQ(Triple::wasm32, T.get32BitArchVariant().getArch());
  977   EXPECT_EQ(Triple::wasm64, T.get64BitArchVariant().getArch());
  979   T.setArch(Triple::wasm64);
  980   EXPECT_EQ(Triple::wasm32, T.get32BitArchVariant().getArch());
  981   EXPECT_EQ(Triple::wasm64, T.get64BitArchVariant().getArch());
  983   T.setArch(Triple::riscv32);
  984   EXPECT_EQ(Triple::riscv32, T.get32BitArchVariant().getArch());
  985   EXPECT_EQ(Triple::riscv64, T.get64BitArchVariant().getArch());
  987   T.setArch(Triple::riscv64);
  988   EXPECT_EQ(Triple::riscv32, T.get32BitArchVariant().getArch());
  989   EXPECT_EQ(Triple::riscv64, T.get64BitArchVariant().getArch());
  991   T.setArch(Triple::thumbeb);
  992   EXPECT_EQ(Triple::thumbeb, T.get32BitArchVariant().getArch());
  993   EXPECT_EQ(Triple::aarch64_be, T.get64BitArchVariant().getArch());
  995   T.setArch(Triple::thumb);
  996   EXPECT_EQ(Triple::thumb, T.get32BitArchVariant().getArch());
  997   EXPECT_EQ(Triple::aarch64, T.get64BitArchVariant().getArch());
  999   T.setArch(Triple::aarch64);
 1000   EXPECT_EQ(Triple::arm, T.get32BitArchVariant().getArch());
 1001   EXPECT_EQ(Triple::aarch64, T.get64BitArchVariant().getArch());
 1003   T.setArch(Triple::aarch64_be);
 1004   EXPECT_EQ(Triple::armeb, T.get32BitArchVariant().getArch());
 1005   EXPECT_EQ(Triple::aarch64_be, T.get64BitArchVariant().getArch());
 1007   T.setArch(Triple::renderscript32);
 1008   EXPECT_EQ(Triple::renderscript32, T.get32BitArchVariant().getArch());
 1009   EXPECT_EQ(Triple::renderscript64, T.get64BitArchVariant().getArch());
 1011   T.setArch(Triple::renderscript64);
 1012   EXPECT_EQ(Triple::renderscript32, T.get32BitArchVariant().getArch());
 1013   EXPECT_EQ(Triple::renderscript64, T.get64BitArchVariant().getArch());
 1015   T.setArch(Triple::le32);
 1016   EXPECT_EQ(Triple::le32, T.get32BitArchVariant().getArch());
 1017   EXPECT_EQ(Triple::le64, T.get64BitArchVariant().getArch());
 1019   T.setArch(Triple::le64);
 1020   EXPECT_EQ(Triple::le32, T.get32BitArchVariant().getArch());
 1021   EXPECT_EQ(Triple::le64, T.get64BitArchVariant().getArch());
 1023   T.setArch(Triple::armeb);
 1024   EXPECT_EQ(Triple::armeb, T.get32BitArchVariant().getArch());
 1025   EXPECT_EQ(Triple::aarch64_be, T.get64BitArchVariant().getArch());
 1027   T.setArch(Triple::arm);
 1028   EXPECT_EQ(Triple::arm, T.get32BitArchVariant().getArch());
 1029   EXPECT_EQ(Triple::aarch64, T.get64BitArchVariant().getArch());
 1031   T.setArch(Triple::systemz);
 1032   EXPECT_EQ(Triple::UnknownArch, T.get32BitArchVariant().getArch());
 1033   EXPECT_EQ(Triple::systemz, T.get64BitArchVariant().getArch());
 1035   T.setArch(Triple::xcore);
 1036   EXPECT_EQ(Triple::xcore, T.get32BitArchVariant().getArch());
 1037   EXPECT_EQ(Triple::UnknownArch, T.get64BitArchVariant().getArch());