/llvm-project/libcxx/test/libcxx/transitive_includes/ |
H A D | cxx23.csv | 11 algorithm limits 19 any limits 28 array limits 35 atomic limits 42 barrier limits 46 bit limits 58 bitset limits 84 ccomplex limits 98 charconv limits 122 chrono limits [all...] |
H A D | cxx26.csv | 11 algorithm limits 19 any limits 28 array limits 35 atomic limits 42 barrier limits 46 bit limits 58 bitset limits 84 ccomplex limits 98 charconv limits 122 chrono limits [all...] |
H A D | cxx11.csv | 20 algorithm limits 60 any limits 100 array limits 120 atomic limits 138 barrier limits 152 bit limits 175 bitset limits 220 ccomplex limits 252 charconv limits 283 chrono limits [all...] |
H A D | cxx03.csv | 20 algorithm limits 60 any limits 100 array limits 120 atomic limits 138 barrier limits 152 bit limits 175 bitset limits 220 ccomplex limits 252 charconv limits 283 chrono limits [all...] |
H A D | cxx14.csv | 21 algorithm limits 62 any limits 103 array limits 123 atomic limits 141 barrier limits 155 bit limits 179 bitset limits 225 ccomplex limits 257 charconv limits 289 chrono limits [all...] |
H A D | cxx17.csv | 20 algorithm limits 60 any limits 100 array limits 120 atomic limits 138 barrier limits 152 bit limits 175 bitset limits 220 ccomplex limits 254 charconv limits 285 chrono limits [all...] |
H A D | cxx20.csv | 20 algorithm limits 50 any limits 81 array limits 101 atomic limits 123 barrier limits 137 bit limits 160 bitset limits 205 ccomplex limits 239 charconv limits 275 chrono limits [all...] |
/llvm-project/libcxx/test/std/numerics/numeric.ops/numeric.ops.midpoint/ |
H A D | midpoint.integer.pass.cpp | 17 #include <limits> 35 using limits = std::numeric_limits<T>; in signed_test() typedef 59 static_assert(std::midpoint(limits::min(), limits::max()) == T(-1), ""); in signed_test() 60 static_assert(std::midpoint(limits::max(), limits::min()) == T( 0), ""); in signed_test() 62 static_assert(std::midpoint(limits::min(), T(6)) == limits::min()/2 + 3, ""); in signed_test() 63 assert( std::midpoint(T(6), limits::min()) == limits::min()/2 + 3); in signed_test() 64 assert( std::midpoint(limits::max(), T(6)) == limits::max()/2 + 4); in signed_test() 65 static_assert(std::midpoint(T(6), limits::max()) == limits::max()/2 + 3, ""); in signed_test() 67 assert( std::midpoint(limits::min(), T(-6)) == limits::min()/2 - 3); in signed_test() 68 static_assert(std::midpoint(T(-6), limits::min()) == limits::min()/2 - 3, ""); in signed_test() [all …]
|
/llvm-project/lld/test/ELF/ |
H A D | riscv-hi20-lo12.s | 17 # RUN: ld.lld %t.rv32.o --defsym foo=0x7ffff7ff --defsym bar=0x7ffff800 -o %t.rv32.limits 18 # RUN: ld.lld %t.rv64.o --defsym foo=0x7ffff7ff --defsym bar=0xffffffff7ffff800 -o %t.rv64.limits 19 # RUN: llvm-objdump -d %t.rv32.limits | FileCheck --check-prefix=LIMITS %s 20 # RUN: llvm-objdump -d %t.rv64.limits | FileCheck --check-prefix=LIMITS %s 21 # LIMITS: 7ffff537 lui a0, 0x7ffff 22 # LIMITS-NEXT: 7ff50513 addi a0, a0, 0x7ff 23 # LIMITS-NEXT: 7ea52fa3 sw a0, 0x7ff(a0) 24 # LIMITS-NEXT: 800005b7 lui a1, 0x80000 25 # LIMITS-NEXT: 80058593 addi a1, a1, -0x800 26 # LIMITS-NEXT: 80b5a023 sw a1, -0x800(a1)
|
H A D | riscv-pcrel-hilo.s | 21 …ld.lld %t.rv32.o --defsym foo=_start+0x7ffff7ff --defsym bar=_start+12-0x80000800 -o %t.rv32.limits 22 …ld.lld %t.rv64.o --defsym foo=_start+0x7ffff7ff --defsym bar=_start+12-0x80000800 -o %t.rv64.limits 23 # RUN: llvm-objdump -d --no-show-raw-insn %t.rv32.limits | FileCheck --check-prefix=LIMITS %s 24 # RUN: llvm-objdump -d --no-show-raw-insn %t.rv64.limits | FileCheck --check-prefix=LIMITS %s 25 # LIMITS: auipc a0, 0x7ffff 26 # LIMITS-NEXT: addi a0, a0, 0x7ff 27 # LIMITS-NEXT: sw zero, 0x7ff(a0) 28 # LIMITS: auipc a0, 0x80000 29 # LIMITS-NEXT: addi a0, a0, -0x800 30 # LIMITS-NEXT: sw zero, -0x800(a0)
|
H A D | riscv-call.s | 15 … ld.lld %t.rv32.o --defsym foo=_start+0x7ffff7ff --defsym bar=_start+8-0x80000800 -o %t.rv32.limits 16 … ld.lld %t.rv64.o --defsym foo=_start+0x7ffff7ff --defsym bar=_start+8-0x80000800 -o %t.rv64.limits 17 # RUN: llvm-objdump -d %t.rv32.limits | FileCheck --check-prefix=LIMITS %s 18 # RUN: llvm-objdump -d %t.rv64.limits | FileCheck --check-prefix=LIMITS %s 19 # LIMITS: 7ffff097 auipc ra, 0x7ffff 20 # LIMITS-NEXT: 7ff080e7 jalr 0x7ff(ra) 21 # LIMITS-NEXT: 80000097 auipc ra, 0x80000 22 # LIMITS-NEXT: 800080e7 jalr -0x800(ra)
|
H A D | riscv-jal.s | 15 # RUN: ld.lld %t.rv32.o --defsym foo=_start+0xffffe --defsym bar=_start+4-0x100000 -o %t.rv32.limits 16 # RUN: ld.lld %t.rv64.o --defsym foo=_start+0xffffe --defsym bar=_start+4-0x100000 -o %t.rv64.limits 17 # RUN: llvm-objdump -d %t.rv32.limits | FileCheck --check-prefix=LIMITS-32 %s 18 # RUN: llvm-objdump -d %t.rv64.limits | FileCheck --check-prefix=LIMITS-64 %s 19 # LIMITS-32: 7ffff06f j 0x1110b2 20 # LIMITS-32-NEXT: 800000ef jal 0xfff110b8 21 # LIMITS-64: 7ffff06f j 0x11111e 22 # LIMITS-64-NEXT: 800000ef jal 0xfffffffffff11124
|
H A D | riscv-branch.s | 15 # RUN: ld.lld %t.rv32.o --defsym foo=_start+0xffe --defsym bar=_start+4-0x1000 -o %t.rv32.limits 16 # RUN: ld.lld %t.rv64.o --defsym foo=_start+0xffe --defsym bar=_start+4-0x1000 -o %t.rv64.limits 17 # RUN: llvm-objdump -d %t.rv32.limits | FileCheck --check-prefix=LIMITS-32 %s 18 # RUN: llvm-objdump -d %t.rv64.limits | FileCheck --check-prefix=LIMITS-64 %s 19 # LIMITS-32: 7e000fe3 beqz zero, 0x120b2 20 # LIMITS-32-NEXT: 80001063 bnez zero, 0x100b8 21 # LIMITS-64: 7e000fe3 beqz zero, 0x1211e 22 # LIMITS-64-NEXT: 80001063 bnez zero, 0x10124
|
H A D | systemz-reloc-pcdbl.s | 20 …12=pc12dbl+6-0x1000 --defsym foo24=pc24dbl+0xfffffe --defsym bar24=pc24dbl+6-0x1000000 -o %t.limits 21 # RUN: llvm-objdump --no-show-raw-insn --mcpu=z13 -d %t.limits | FileCheck %s --check-prefix=LIMITS 22 # LIMITS: je 0x101111e 23 # LIMITS-NEXT: jne 0xff1124 24 # LIMITS: jge 0x101001126 25 # LIMITS-NEXT: jgne 0xffffffff0100112e 26 # LIMITS: bprp 5, 0x1002132, 0x1001134 27 # LIMITS-NEXT: bprp 6, 0x100013a, 0x100113a 28 # LIMITS: bprp 5, 0x1001140, 0x200113e 29 # LIMITS-NEXT: bprp 6, 0x1001146, 0x1146
|
H A D | loongarch-branch.s | 17 … bar21=b21+4-0x400000 --defsym foo26=b26+0x7fffffc --defsym bar26=b26+4-0x8000000 -o %t.la32.limits 18 … bar21=b21+4-0x400000 --defsym foo26=b26+0x7fffffc --defsym bar26=b26+4-0x8000000 -o %t.la64.limits 19 # RUN: llvm-objdump --no-show-raw-insn -d %t.la32.limits | FileCheck --check-prefix=LIMITS %s 20 # RUN: llvm-objdump --no-show-raw-insn -d %t.la64.limits | FileCheck --check-prefix=LIMITS %s 21 # LIMITS: beq $zero, $zero, 131068 22 # LIMITS-NEXT: bne $zero, $zero, -131072 23 # LIMITS: beqz $s8, 4194300 24 # LIMITS-NEXT: bnez $s8, -4194304 25 # LIMITS: b 134217724 26 # LIMITS-NEXT: bl -134217728
|
/llvm-project/lld/wasm/ |
H A D | WriterUtils.cpp | 66 static std::string toString(const llvm::wasm::WasmLimits &limits) { in toString() argument 68 ret += "flags=0x" + std::to_string(limits.Flags); in toString() 69 ret += "; min=" + std::to_string(limits.Minimum); in toString() 70 if (limits.Flags & WASM_LIMITS_FLAG_HAS_MAX) in toString() 71 ret += "; max=" + std::to_string(limits.Maximum); in toString() 78 "; limits=[" + toString(type.Limits) + "]"; in toString() 198 void writeLimits(raw_ostream &os, const WasmLimits &limits) { in writeLimits() argument 199 writeU8(os, limits.Flags, "limits flags"); in writeLimits() 200 writeUleb128(os, limits.Minimum, "limits min"); in writeLimits() 201 if (limits.Flags & WASM_LIMITS_FLAG_HAS_MAX) in writeLimits() [all …]
|
/llvm-project/clang/lib/Headers/ |
H A D | limits.h | 1 /*===---- limits.h - Standard header for integer sizes --------------------===*\ 12 #if defined(__MVS__) && __has_include_next(<limits.h>) 13 #include_next <limits.h> 16 /* The system's limits.h may, in turn, try to #include_next GCC's limits.h. 22 /* System headers include a number of constants from POSIX in <limits.h>. 24 #if __STDC_HOSTED__ && __has_include_next(<limits.h>) 25 #include_next <limits.h> 100 C++11 18.3.3.2: same contents as the Standard C Library header <limits.h>.
|
/llvm-project/llvm/test/ObjectYAML/wasm/ |
H A D | multiple-tables.yaml | 20 Limits: 28 Limits: 32 Limits: 36 Limits: 81 # CHECK-NEXT: Limits: 89 # CHECK-NEXT: Limits: 93 # CHECK-NEXT: Limits: 97 # CHECK-NEXT: Limits:
|
/llvm-project/libc/src/__support/ |
H A D | CMakeLists.txt | 10 libc.src.__support.CPP.limits 108 libc.src.__support.CPP.limits 169 libc.src.__support.CPP.limits 182 libc.src.__support.CPP.limits 222 libc.src.__support.CPP.limits 238 libc.src.__support.CPP.limits 343 libc.src.__support.CPP.limits 353 libc.src.__support.CPP.limits
|
/llvm-project/clang/test/Modules/ |
H A D | const-var-init-update.cpp | 5 module std { module limits {} module other {} } 7 #pragma clang module begin std.limits 22 #pragma clang module import std.limits 27 #pragma clang module import std.limits
|
/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | WasmTraits.h | 72 static unsigned getHashValue(const wasm::WasmLimits &Limits) { 73 unsigned Hash = hash_value(Limits.Flags); 74 Hash = hash_combine(Hash, Limits.Minimum); 75 if (Limits.Flags & llvm::wasm::WASM_LIMITS_FLAG_HAS_MAX) { 76 Hash = hash_combine(Hash, Limits.Maximum); 100 DenseMapInfo<wasm::WasmLimits, void>::getHashValue(TableType.Limits));
|
/llvm-project/compiler-rt/lib/builtins/ |
H A D | int_lib.h | 78 // NB: FreeBSD (and OpenBSD) deprecate machine/limits.h in 79 // favour of sys/limits.h, so prefer the former, but fall 83 #if defined(__has_include) && __has_include(<sys/limits.h>) 84 #include <sys/limits.h> 86 #include <machine/limits.h> 93 #include <limits.h>
|
/llvm-project/clang/test/Preprocessor/ |
H A D | include-directive2.c | 6 #include <limits.h> NON_EMPTY // expected-warning {{extra tokens at end of #include directive}} 10 #include <limits.h> EMPTY 14 #define FN limits.h>
|
/llvm-project/llvm/test/Object/Wasm/ |
H A D | obj2yaml-tables.test | 8 # CHECK: Limits: 14 # CHECK: Limits: 20 # CHECK: Limits: 24 # CHECK: Limits:
|
/llvm-project/libc/hdr/ |
H A D | limits_macros.h | 1 //===-- Definition of macros from limits.h --------------------------------===// 14 #include "include/llvm-libc-macros/limits-macros.h" 18 #include <limits.h>
|