Home
last modified time | relevance | path

Searched refs:convert_unsigned_int_to_signed_int (Results 1 – 12 of 12) sorted by relevance

/external/llvm-project/compiler-rt/test/ubsan/TestCases/ImplicitConversion/
Dsigned-integer-truncation.c70 int32_t convert_unsigned_int_to_signed_int(uint32_t x) { in convert_unsigned_int_to_signed_int() function
122 convert_unsigned_int_to_signed_int(0); in main()
140 convert_unsigned_int_to_signed_int(1); in main()
159 convert_unsigned_int_to_signed_int((uint32_t)UINT32_MAX); in main()
178 convert_unsigned_int_to_signed_int((uint32_t)INT32_MIN); in main()
199 convert_unsigned_int_to_signed_int((uint32_t)INT32_MAX); in main()
220 convert_unsigned_int_to_signed_int((uint32_t)UINT8_MAX); in main()
240 convert_unsigned_int_to_signed_int((uint32_t)(uint8_t)INT8_MIN); in main()
260 convert_unsigned_int_to_signed_int((~((uint32_t)(uint8_t)INT8_MIN))); in main()
281 convert_unsigned_int_to_signed_int((uint32_t)INT32_MIN); in main()
[all …]
Dinteger-arithmetic-value-change.c70 int32_t convert_unsigned_int_to_signed_int(uint32_t x) { in convert_unsigned_int_to_signed_int() function
122 convert_unsigned_int_to_signed_int(0); in main()
140 convert_unsigned_int_to_signed_int(1); in main()
159 convert_unsigned_int_to_signed_int((uint32_t)UINT32_MAX); in main()
184 convert_unsigned_int_to_signed_int((uint32_t)INT32_MIN); in main()
210 convert_unsigned_int_to_signed_int((uint32_t)INT32_MAX); in main()
231 convert_unsigned_int_to_signed_int((uint32_t)UINT8_MAX); in main()
254 convert_unsigned_int_to_signed_int((uint32_t)(uint8_t)INT8_MIN); in main()
277 convert_unsigned_int_to_signed_int((~((uint32_t)(uint8_t)INT8_MIN))); in main()
303 convert_unsigned_int_to_signed_int((uint32_t)INT32_MIN); in main()
[all …]
Dinteger-truncation.c70 int32_t convert_unsigned_int_to_signed_int(uint32_t x) { in convert_unsigned_int_to_signed_int() function
122 convert_unsigned_int_to_signed_int(0); in main()
140 convert_unsigned_int_to_signed_int(1); in main()
160 convert_unsigned_int_to_signed_int((uint32_t)UINT32_MAX); in main()
180 convert_unsigned_int_to_signed_int((uint32_t)INT32_MIN); in main()
202 convert_unsigned_int_to_signed_int((uint32_t)INT32_MAX); in main()
223 convert_unsigned_int_to_signed_int((uint32_t)UINT8_MAX); in main()
243 convert_unsigned_int_to_signed_int((uint32_t)(uint8_t)INT8_MIN); in main()
264 convert_unsigned_int_to_signed_int((~((uint32_t)(uint8_t)INT8_MIN))); in main()
286 convert_unsigned_int_to_signed_int((uint32_t)INT32_MIN); in main()
[all …]
Dinteger-conversion.c70 int32_t convert_unsigned_int_to_signed_int(uint32_t x) { in convert_unsigned_int_to_signed_int() function
122 convert_unsigned_int_to_signed_int(0); in main()
140 convert_unsigned_int_to_signed_int(1); in main()
160 convert_unsigned_int_to_signed_int((uint32_t)UINT32_MAX); in main()
186 convert_unsigned_int_to_signed_int((uint32_t)INT32_MIN); in main()
213 convert_unsigned_int_to_signed_int((uint32_t)INT32_MAX); in main()
234 convert_unsigned_int_to_signed_int((uint32_t)UINT8_MAX); in main()
257 convert_unsigned_int_to_signed_int((uint32_t)(uint8_t)INT8_MIN); in main()
281 convert_unsigned_int_to_signed_int((~((uint32_t)(uint8_t)INT8_MIN))); in main()
308 convert_unsigned_int_to_signed_int((uint32_t)INT32_MIN); in main()
[all …]
Dunsigned-integer-truncation.c71 int32_t convert_unsigned_int_to_signed_int(uint32_t x) { in convert_unsigned_int_to_signed_int() function
127 convert_unsigned_int_to_signed_int(0); in main()
145 convert_unsigned_int_to_signed_int(1); in main()
165 convert_unsigned_int_to_signed_int((uint32_t)UINT32_MAX); in main()
184 convert_unsigned_int_to_signed_int((uint32_t)INT32_MIN); in main()
203 convert_unsigned_int_to_signed_int((uint32_t)INT32_MAX); in main()
221 convert_unsigned_int_to_signed_int((uint32_t)UINT8_MAX); in main()
239 convert_unsigned_int_to_signed_int((uint32_t)(uint8_t)INT8_MIN); in main()
258 convert_unsigned_int_to_signed_int((~((uint32_t)(uint8_t)INT8_MIN))); in main()
277 convert_unsigned_int_to_signed_int((uint32_t)INT32_MIN); in main()
[all …]
/external/llvm-project/clang/test/CodeGen/
Dcatch-implicit-integer-sign-changes-basics.c98 signed int convert_unsigned_int_to_signed_int(unsigned int x) { in convert_unsigned_int_to_signed_int() function
Dcatch-implicit-integer-conversions-basics.c72 signed int convert_unsigned_int_to_signed_int(unsigned int x) { in convert_unsigned_int_to_signed_int() function
Dcatch-implicit-integer-arithmetic-value-change-basics.c70 signed int convert_unsigned_int_to_signed_int(unsigned int x) { in convert_unsigned_int_to_signed_int() function
Dcatch-implicit-conversions-basics.c72 signed int convert_unsigned_int_to_signed_int(unsigned int x) { in convert_unsigned_int_to_signed_int() function
Dcatch-implicit-integer-truncations-basics.c67 signed int convert_unsigned_int_to_signed_int(unsigned int x) { in convert_unsigned_int_to_signed_int() function
Dcatch-implicit-unsigned-integer-truncations-basics.c64 signed int convert_unsigned_int_to_signed_int(unsigned int x) { in convert_unsigned_int_to_signed_int() function
Dcatch-implicit-signed-integer-truncations-basics.c65 signed int convert_unsigned_int_to_signed_int(unsigned int x) { in convert_unsigned_int_to_signed_int() function