67 i64_i64_func_i64_i64_i64_i64,
68 i64_i64_i64_i64_func_i64_i64_i64_i64,
69 i64_i64_func_i64_i64_i32,
70 iPTR_func_iPTR_i32_iPTR,
71 iPTR_func_iPTR_iPTR_iPTR,
74 func_i64_i64_iPTR_iPTR,
80 func_iPTR_i64_i64_i64_i64,
81 func_iPTR_i64_i64_i64_i64_i64_i64,
83 i32_func_i64_i64_i64_i64,
95 i64_i64_func_i64_i64_i32,
99 i64_i64_func_i64_i64_i32,
103 i64_i64_func_i64_i64_i32,
108 i64_i64_func_i64_i64_i64_i64,
111 i64_i64_func_i64_i64_i64_i64,
116 i64_i64_func_i64_i64_i64_i64,
121 i64_i64_func_i64_i64_i64_i64,
126 i64_i64_func_i64_i64_i64_i64,
131 i64_i64_func_i64_i64_i64_i64,
133 i16_i16_func_i16_i16,
134 i32_i32_func_i32_i32,
136 i64_i64_i64_i64_func_i64_i64_i64_i64,
138 i16_i16_func_i16_i16,
139 i32_i32_func_i32_i32,
140 i64_i64_func_i64_i64,
141 i64_i64_i64_i64_func_i64_i64_i64_i64,
149 func_iPTR_i64_i64_i64_i64,
154 func_iPTR_i64_i64_i64_i64,
159 func_iPTR_i64_i64_i64_i64,
164 func_iPTR_i64_i64_i64_i64,
169 func_iPTR_i64_i64_i64_i64,
171 f32_func_f32_f32_f32,
172 f64_func_f64_f64_f64,
174 func_iPTR_i64_i64_i64_i64_i64_i64,
179 func_iPTR_i64_i64_i64_i64,
224 func_i64_i64_iPTR_iPTR,
229 func_iPTR_i64_i64_i64_i64,
264 func_iPTR_i64_i64_i64_i64,
269 func_iPTR_i64_i64_i64_i64,
274 func_iPTR_i64_i64_i64_i64,
307 i64_i64_func_i64_i64,
322 i64_i64_func_i64_i64,
360 i32_func_i64_i64_i64_i64,
364 i32_func_i64_i64_i64_i64,
368 i32_func_i64_i64_i64_i64,
372 i32_func_i64_i64_i64_i64,
376 i32_func_i64_i64_i64_i64,
380 i32_func_i64_i64_i64_i64,
384 i32_func_i64_i64_i64_i64,
388 i32_func_i64_i64_i64_i64,
392 iPTR_func_iPTR_iPTR_iPTR,
393 iPTR_func_iPTR_i32_iPTR,
394 iPTR_func_iPTR_iPTR_iPTR,
869 "__sync_val_compare_and_swap_1",
870 "__sync_val_compare_and_swap_2",
871 "__sync_val_compare_and_swap_4",
872 "__sync_val_compare_and_swap_8",
873 "__sync_val_compare_and_swap_16",
874 "__sync_lock_test_and_set_1",
875 "__sync_lock_test_and_set_2",
876 "__sync_lock_test_and_set_4",
877 "__sync_lock_test_and_set_8",
878 "__sync_lock_test_and_set_16",
879 "__sync_fetch_and_add_1",
880 "__sync_fetch_and_add_2",
881 "__sync_fetch_and_add_4",
882 "__sync_fetch_and_add_8",
883 "__sync_fetch_and_add_16",
884 "__sync_fetch_and_sub_1",
885 "__sync_fetch_and_sub_2",
886 "__sync_fetch_and_sub_4",
887 "__sync_fetch_and_sub_8",
888 "__sync_fetch_and_sub_16",
889 "__sync_fetch_and_and_1",
890 "__sync_fetch_and_and_2",
891 "__sync_fetch_and_and_4",
892 "__sync_fetch_and_and_8",
893 "__sync_fetch_and_and_16",
894 "__sync_fetch_and_or_1",
895 "__sync_fetch_and_or_2",
896 "__sync_fetch_and_or_4",
897 "__sync_fetch_and_or_8",
898 "__sync_fetch_and_or_16",
899 "__sync_fetch_and_xor_1",
900 "__sync_fetch_and_xor_2",
901 "__sync_fetch_and_xor_4",
902 "__sync_fetch_and_xor_8",
903 "__sync_fetch_and_xor_16",
904 "__sync_fetch_and_nand_1",
905 "__sync_fetch_and_nand_2",
906 "__sync_fetch_and_nand_4",
907 "__sync_fetch_and_nand_8",
908 "__sync_fetch_and_nand_16",
909 "__sync_fetch_and_max_1",
910 "__sync_fetch_and_max_2",
911 "__sync_fetch_and_max_4",
912 "__sync_fetch_and_max_8",
913 "__sync_fetch_and_max_16",
914 "__sync_fetch_and_umax_1",
915 "__sync_fetch_and_umax_2",
916 "__sync_fetch_and_umax_4",
917 "__sync_fetch_and_umax_8",
918 "__sync_fetch_and_umax_16",
919 "__sync_fetch_and_min_1",
920 "__sync_fetch_and_min_2",
921 "__sync_fetch_and_min_4",
922 "__sync_fetch_and_min_8",
923 "__sync_fetch_and_min_16",
924 "__sync_fetch_and_umin_1",
925 "__sync_fetch_and_umin_2",
926 "__sync_fetch_and_umin_4",
927 "__sync_fetch_and_umin_8",
928 "__sync_fetch_and_umin_16",
945 "__atomic_exchange_1",
946 "__atomic_exchange_2",
947 "__atomic_exchange_4",
948 "__atomic_exchange_8",
949 "__atomic_exchange_16",
951 "__atomic_compare_exchange",
952 "__atomic_compare_exchange_1",
953 "__atomic_compare_exchange_2",
954 "__atomic_compare_exchange_4",
955 "__atomic_compare_exchange_8",
956 "__atomic_compare_exchange_16",
958 "__atomic_fetch_add_1",
959 "__atomic_fetch_add_2",
960 "__atomic_fetch_add_4",
961 "__atomic_fetch_add_8",
962 "__atomic_fetch_add_16",
963 "__atomic_fetch_sub_1",
964 "__atomic_fetch_sub_2",
965 "__atomic_fetch_sub_4",
966 "__atomic_fetch_sub_8",
967 "__atomic_fetch_sub_16",
968 "__atomic_fetch_and_1",
969 "__atomic_fetch_and_2",
970 "__atomic_fetch_and_4",
971 "__atomic_fetch_and_8",
972 "__atomic_fetch_and_16",
973 "__atomic_fetch_or_1",
974 "__atomic_fetch_or_2",
975 "__atomic_fetch_or_4",
976 "__atomic_fetch_or_8",
977 "__atomic_fetch_or_16",
978 "__atomic_fetch_xor_1",
979 "__atomic_fetch_xor_2",
980 "__atomic_fetch_xor_4",
981 "__atomic_fetch_xor_8",
982 "__atomic_fetch_xor_16",
983 "__atomic_fetch_nand_1",
984 "__atomic_fetch_nand_2",
985 "__atomic_fetch_nand_4",
986 "__atomic_fetch_nand_8",
987 "__atomic_fetch_nand_16",
1067 case f32_func_f32_f32:
1072 case f32_func_f32_i32:
1077 case f32_func_i64_i64:
1082 case f64_func_f64_f64:
1087 case f64_func_f64_i32:
1092 case f64_func_i64_i64:
1106 case func_f32_iPTR_iPTR:
1111 case func_f64_iPTR_iPTR:
1116 case i16_func_i16_i16:
1121 case i32_func_f32_f32:
1126 case i32_func_f64_f64:
1131 case i32_func_i32_i32:
1136 case i64_func_i64_i64:
1141 case i64_i64_func_f32:
1142 #if 0 // TODO: Enable this when wasm gets multiple-return-value support.
1150 case i64_i64_func_f64:
1151 #if 0 // TODO: Enable this when wasm gets multiple-return-value support.
1159 case i16_i16_func_i16_i16:
1160 #if 0 // TODO: Enable this when wasm gets multiple-return-value support.
1169 case i32_i32_func_i32_i32:
1170 #if 0 // TODO: Enable this when wasm gets multiple-return-value support.
1179 case i64_i64_func_i64_i64:
1180 #if 0 // TODO: Enable this when wasm gets multiple-return-value support.
1189 case i64_i64_func_i64_i64_i64_i64:
1190 #if 0 // TODO: Enable this when wasm gets multiple-return-value support.
1201 case i64_i64_i64_i64_func_i64_i64_i64_i64:
1202 #if 0 // TODO: Enable this when wasm gets multiple-return-value support.
1215 case i64_i64_func_i64_i64_i32:
1216 #if 0 // TODO: Enable this when wasm gets multiple-return-value support.
1228 case iPTR_func_iPTR_i32_iPTR:
1234 case iPTR_func_iPTR_iPTR_iPTR:
1240 case f32_func_f32_f32_f32:
1246 case f64_func_f64_f64_f64:
1252 case func_i64_i64_iPTR_iPTR:
1274 case func_iPTR_i64_i64:
1279 case func_iPTR_i64_i64_i64_i64:
1286 case func_iPTR_i64_i64_i64_i64_i64_i64:
1295 case i32_func_i64_i64:
1300 case i32_func_i64_i64_i64_i64:
void push_back(const T &Elt)
Libcall
RTLIB::Libcall enum - This enum defines all of the runtime library calls the backend can emit...
ExprType
This is used to indicate block signatures.
LLVM_NODISCARD bool empty() const
This file provides signature information for runtime libcalls.
This file declares the WebAssembly-specific subclass of TargetSubtarget.
static const char * RuntimeLibcallNames[RTLIB::UNKNOWN_LIBCALL]
llvm_unreachable("Unknown RegBank!")
static const RuntimeLibcallSignature RuntimeLibcallSignatures[RTLIB::UNKNOWN_LIBCALL]
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
void GetSignature(const WebAssemblySubtarget &Subtarget, RTLIB::Libcall LC, SmallVectorImpl< wasm::ValType > &Rets, SmallVectorImpl< wasm::ValType > &Params)