reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
767 EXPECT_FALSE(T.isArch16Bit()); 768 EXPECT_FALSE(T.isArch32Bit()); 769 EXPECT_FALSE(T.isArch64Bit()); 771 T.setArch(Triple::arm); 772 EXPECT_FALSE(T.isArch16Bit()); 773 EXPECT_TRUE(T.isArch32Bit()); 774 EXPECT_FALSE(T.isArch64Bit()); 776 T.setArch(Triple::hexagon); 777 EXPECT_FALSE(T.isArch16Bit()); 778 EXPECT_TRUE(T.isArch32Bit()); 779 EXPECT_FALSE(T.isArch64Bit()); 781 T.setArch(Triple::mips); 782 EXPECT_FALSE(T.isArch16Bit()); 783 EXPECT_TRUE(T.isArch32Bit()); 784 EXPECT_FALSE(T.isArch64Bit()); 786 T.setArch(Triple::mips64); 787 EXPECT_FALSE(T.isArch16Bit()); 788 EXPECT_FALSE(T.isArch32Bit()); 789 EXPECT_TRUE(T.isArch64Bit()); 791 T.setArch(Triple::msp430); 792 EXPECT_TRUE(T.isArch16Bit()); 793 EXPECT_FALSE(T.isArch32Bit()); 794 EXPECT_FALSE(T.isArch64Bit()); 796 T.setArch(Triple::ppc); 797 EXPECT_FALSE(T.isArch16Bit()); 798 EXPECT_TRUE(T.isArch32Bit()); 799 EXPECT_FALSE(T.isArch64Bit()); 801 T.setArch(Triple::ppc64); 802 EXPECT_FALSE(T.isArch16Bit()); 803 EXPECT_FALSE(T.isArch32Bit()); 804 EXPECT_TRUE(T.isArch64Bit()); 806 T.setArch(Triple::x86); 807 EXPECT_FALSE(T.isArch16Bit()); 808 EXPECT_TRUE(T.isArch32Bit()); 809 EXPECT_FALSE(T.isArch64Bit()); 811 T.setArch(Triple::x86_64); 812 EXPECT_FALSE(T.isArch16Bit()); 813 EXPECT_FALSE(T.isArch32Bit()); 814 EXPECT_TRUE(T.isArch64Bit()); 816 T.setArch(Triple::amdil); 817 EXPECT_FALSE(T.isArch16Bit()); 818 EXPECT_TRUE(T.isArch32Bit()); 819 EXPECT_FALSE(T.isArch64Bit()); 821 T.setArch(Triple::amdil64); 822 EXPECT_FALSE(T.isArch16Bit()); 823 EXPECT_FALSE(T.isArch32Bit()); 824 EXPECT_TRUE(T.isArch64Bit()); 826 T.setArch(Triple::hsail); 827 EXPECT_FALSE(T.isArch16Bit()); 828 EXPECT_TRUE(T.isArch32Bit()); 829 EXPECT_FALSE(T.isArch64Bit()); 831 T.setArch(Triple::hsail64); 832 EXPECT_FALSE(T.isArch16Bit()); 833 EXPECT_FALSE(T.isArch32Bit()); 834 EXPECT_TRUE(T.isArch64Bit()); 836 T.setArch(Triple::spir); 837 EXPECT_FALSE(T.isArch16Bit()); 838 EXPECT_TRUE(T.isArch32Bit()); 839 EXPECT_FALSE(T.isArch64Bit()); 841 T.setArch(Triple::spir64); 842 EXPECT_FALSE(T.isArch16Bit()); 843 EXPECT_FALSE(T.isArch32Bit()); 844 EXPECT_TRUE(T.isArch64Bit()); 846 T.setArch(Triple::sparc); 847 EXPECT_FALSE(T.isArch16Bit()); 848 EXPECT_TRUE(T.isArch32Bit()); 849 EXPECT_FALSE(T.isArch64Bit()); 851 T.setArch(Triple::sparcel); 852 EXPECT_FALSE(T.isArch16Bit()); 853 EXPECT_TRUE(T.isArch32Bit()); 854 EXPECT_FALSE(T.isArch64Bit()); 856 T.setArch(Triple::sparcv9); 857 EXPECT_FALSE(T.isArch16Bit()); 858 EXPECT_FALSE(T.isArch32Bit()); 859 EXPECT_TRUE(T.isArch64Bit()); 861 T.setArch(Triple::wasm32); 862 EXPECT_FALSE(T.isArch16Bit()); 863 EXPECT_TRUE(T.isArch32Bit()); 864 EXPECT_FALSE(T.isArch64Bit()); 866 T.setArch(Triple::wasm64); 867 EXPECT_FALSE(T.isArch16Bit()); 868 EXPECT_FALSE(T.isArch32Bit()); 869 EXPECT_TRUE(T.isArch64Bit()); 871 T.setArch(Triple::avr); 872 EXPECT_TRUE(T.isArch16Bit()); 873 EXPECT_FALSE(T.isArch32Bit()); 874 EXPECT_FALSE(T.isArch64Bit()); 876 T.setArch(Triple::lanai); 877 EXPECT_FALSE(T.isArch16Bit()); 878 EXPECT_TRUE(T.isArch32Bit()); 879 EXPECT_FALSE(T.isArch64Bit()); 881 T.setArch(Triple::riscv32); 882 EXPECT_FALSE(T.isArch16Bit()); 883 EXPECT_TRUE(T.isArch32Bit()); 884 EXPECT_FALSE(T.isArch64Bit()); 885 EXPECT_TRUE(T.isRISCV()); 887 T.setArch(Triple::riscv64); 888 EXPECT_FALSE(T.isArch16Bit()); 889 EXPECT_FALSE(T.isArch32Bit()); 890 EXPECT_TRUE(T.isArch64Bit()); 891 EXPECT_TRUE(T.isRISCV());