Searched refs:test_overflow (Results 1 – 5 of 5) sorted by relevance
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | constant-expression-cxx14.cpp | 448 constexpr bool test_overflow() { in test_overflow() function 455 static_assert(test_overflow<int>(), ""); // expected-error {{constant}} expected-note {{call}} 456 static_assert(test_overflow<unsigned>(), ""); // ok, unsigned overflow is defined 457 static_assert(test_overflow<short>(), ""); // ok, short is promoted to int before multiplication 458 static_assert(test_overflow<unsigned short>(), ""); // ok 459 static_assert(test_overflow<unsigned long long>(), ""); // ok 460 …static_assert(test_overflow<long long>(), ""); // expected-error {{constant}} expected-note {{call… 461 static_assert(test_overflow<float>(), ""); // ok 462 static_assert(test_overflow<double>(), ""); // ok
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | allocsize.ll | 91 ; CHECK-LABEL: define void @test_overflow 92 define void @test_overflow(i8** %p, i32* %r) {
|
| /llvm-project-15.0.7/llvm/test/Transforms/HardwareLoops/ARM/ |
| H A D | calls.ll | 269 ; CHECK-LABEL: test_overflow 271 define i32 @test_overflow(i32* %a, i32* %b) {
|
| /llvm-project-15.0.7/llvm/test/Transforms/Attributor/ |
| H A D | heap_to_stack_gpu.ll | 566 define i32 @test_overflow() { 567 ; CHECK-LABEL: define {{[^@]+}}@test_overflow() {
|
| H A D | heap_to_stack.ll | 708 define i32 @test_overflow() { 709 ; CHECK-LABEL: define {{[^@]+}}@test_overflow() {
|