/llvm-project/llvm/tools/llvm-readobj/ |
H A D | ARMWinEHPrinter.h | 32 uint8_t Length; member 39 unsigned Length, bool Prologue); 41 unsigned Length, bool Prologue); 43 unsigned Length, bool Prologue); 45 unsigned Length, bool Prologue); 47 unsigned Length, bool Prologue); 49 unsigned Length, bool Prologue); 51 unsigned Length, bool Prologue); 53 unsigned Length, bool Prologue); 55 unsigned Length, bool Prologue); [all …]
|
/llvm-project/clang/test/Parser/ |
H A D | pragma-unroll-and-jam.cpp | 6 void test(int *List, int Length, int Value) { in test() argument 10 for (int i = 0; i < Length; i++) { in test() 11 for (int j = 0; j < Length; j++) { in test() 12 List[i * Length + j] = Value; in test() 17 for (int i = 0; i < Length; i++) { in test() 18 for (int j = 0; j < Length; j++) { in test() 19 List[i * Length + j] = Value; in test() 24 for (int i = 0; i < Length; i++) { in test() 25 for (int j = 0; j < Length; j++) { in test() 26 List[i * Length + j] = Value; in test() [all …]
|
H A D | pragma-loop.cpp | 7 void test_nontype_template_param(int *List, int Length) { in test_nontype_template_param() argument 9 for (int i = 0; i < Length; i++) { in test_nontype_template_param() 14 for (int i = 0; i < Length; i++) { in test_nontype_template_param() 20 void test_nontype_template_vectorize(int *List, int Length) { in test_nontype_template_vectorize() argument 22 for (int i = 0; i < Length; i++) { in test_nontype_template_vectorize() 27 for (int i = 0; i < Length; i++) { in test_nontype_template_vectorize() 33 void test_nontype_template_interleave(int *List, int Length) { in test_nontype_template_interleave() argument 35 for (int i = 0; i < Length; i++) { in test_nontype_template_interleave() 40 for (int i = 0; i < Length; i++) { in test_nontype_template_interleave() 46 void test_nontype_template_char(int *List, int Length) { in test_nontype_template_char() argument [all …]
|
/llvm-project/flang/test/Driver/ |
H A D | fixed-line-length.f90 | 1 ! Ensure argument -ffixed-line-length=n works as expected. 6 ! RUN: %flang -E -Xflang -fno-reformat %S/Inputs/fixed-line-length-test.f 2>&1 | FileCheck %s --ch… 7 ! RUN: not %flang -E -Xflang -fno-reformat -ffixed-line-length=-2 %S/Inputs/fixed-line-length-test.… 8 ! RUN: not %flang -E -Xflang -fno-reformat -ffixed-line-length=3 %S/Inputs/fixed-line-length-test.f… 9 ! RUN: %flang -E -Xflang -fno-reformat -ffixed-line-length=none %S/Inputs/fixed-line-length-test.f … 10 ! RUN: %flang -E -Xflang -fno-reformat -ffixed-line-length=0 %S/Inputs/fixed-line-length-test.f 2>… 11 ! RUN: %flang -E -Xflang -fno-reformat -ffixed-line-length=13 %S/Inputs/fixed-line-length-test.f 2… 16 ! RUN: %flang_fc1 -E -fno-reformat %S/Inputs/fixed-line-length-test.f 2>&1 | FileCheck %s --check-… 17 ! RUN: not %flang_fc1 -E -fno-reformat -ffixed-line-length=-2 %S/Inputs/fixed-line-length-test.f 2… 18 ! RUN: not %flang_fc1 -E -fno-reformat -ffixed-line-length=3 %S/Inputs/fixed-line-length-test.f 2>… [all …]
|
/llvm-project/clang/test/Analysis/ |
H A D | keychainAPI.m | 24 UInt32 *length, 59 UInt32 *length, 76 UInt32 length; 78 st = SecKeychainItemCopyContent(2, ptr, ptr, &length, &outData); 87 UInt32 *length = 0; 90 SecKeychainItemCopyContent(2, ptr, ptr, length, outData); 96 UInt32 length; 98 st = SecKeychainItemCopyContent(2, ptr, ptr, &length, &outData); 99 …st = SecKeychainItemCopyContent(2, ptr, ptr, &length, &outData); // expected-warning {{Allocated d… 108 UInt32 length; [all …]
|
/llvm-project/polly/lib/External/isl/test_inputs/codegen/ |
H A D | shift2.c | 2 for (int c2 = 0; c2 <= length; c2 += 32) { 3 if (length >= c2 + 1) { 4 for (int c3 = 0; c3 <= length; c3 += 32) { 6 for (int c6 = max(0, -c3 + 1); c6 <= min(31, length - c3); c6 += 1) 9 for (int c6 = 0; c6 <= min(31, length - c3); c6 += 1) 11 …for (int c5 = max(max(0, -c2 + 1), (c3 / 2) - c2); c5 <= min(min(31, length - c2 - 1), (c3 / 2) - … 12 for (int c6 = max(0, -c3 + 1); c6 <= min(length - c3, 2 * c2 - c3 + 2 * c5 - 1); c6 += 1) 15 if (length >= 2 * c2 + 2 * c5) 17 for (int c6 = 2 * c2 - c3 + 2 * c5 + 1; c6 <= min(31, length - c3); c6 += 1) 20 for (int c5 = max(0, (c3 / 2) - c2 + 16); c5 <= min(31, length - c2 - 1); c5 += 1) [all …]
|
H A D | separate2.c | 3 for (int c6 = max(0, 2 * (length % 16) + 2 * c5 - 62); c6 <= 30; c6 += 1) { 4 …length + c6 >= 2 * (length % 16) + 2 && c6 + 62 >= 2 * (length % 16) + 2 * c5 && 2 * (length % 16)… 5 S_3(c0, 0, (c6 / 2) - (length % 16) + length); 6 if (length <= 15 && length >= c5 + 1 && c6 >= 1 && length >= c6)
|
/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/Inputs/ |
H A D | debug_line_malformed.s | 3 .long .Lunit1_end - .Lunit1_start # Length of Unit (DWARF-32 format) 6 .long .Lprologue1_end-.Lprologue1_start # Length of Prologue 8 .byte 1 # Minimum Instruction Length 30 .long .Lunit_v0_end - .Lunit_v0_start # unit length 36 .long .Lunit_v1_end - .Lunit_v1_start # unit length 42 .long .Lunit_v5_end - .Lunit_v5_start # unit length 47 .long .Lprologue_v5_end-.Lprologue_v5_start # Length of Prologue 49 .byte 1 # Minimum Instruction Length 64 .long .Lunit_short_prologue_end - .Lunit_short_prologue_start # unit length 67 .long .Lprologue_short_prologue_end-.Lprologue_short_prologue_start # Length of Prologue [all …]
|
/llvm-project/llvm/test/tools/llvm-profgen/ |
H A D | merge-cold-profile.test | 15 ; RUN: FileCheck %s --input-file %t2 --check-prefix=CHECK-COLD-CONTEXT-LENGTH 64 ; CHECK-COLD-CONTEXT-LENGTH: [fb:5 @ fb]:13:4 65 ; CHECK-COLD-CONTEXT-LENGTH-NEXT: 1: 4 66 ; CHECK-COLD-CONTEXT-LENGTH-NEXT: 2: 3 67 ; CHECK-COLD-CONTEXT-LENGTH-NEXT: 3: 1 68 ; CHECK-COLD-CONTEXT-LENGTH-NEXT: 4: 0 69 ; CHECK-COLD-CONTEXT-LENGTH-NEXT: 5: 4 fb:4 70 ; CHECK-COLD-CONTEXT-LENGTH-NEXT: 6: 1 fa:1 71 ; CHECK-COLD-CONTEXT-LENGTH-NEXT: !CFGChecksum: 563022570642068 72 ; CHECK-COLD-CONTEXT-LENGTH-NEXT:[fb:6 @ fa]:10:3 [all …]
|
/llvm-project/llvm/test/Transforms/InstSimplify/ |
H A D | implies.ll | 5 define i1 @test(i32 %length.i, i32 %i) { 9 %var29 = icmp slt i32 %i, %length.i 15 define i1 @test2(i32 %length.i, i32 %i) { 20 %var29 = icmp slt i32 %i, %length.i 21 %var30 = icmp slt i32 %iplus1, %length.i 27 define i1 @test2_neg(i32 %length.i, i32 %i) { 36 %var29 = icmp slt i32 %i, %length.i 37 %var30 = icmp slt i32 %iplus1, %length.i 43 define i1 @test2_neg2(i32 %length.i, i32 %i) { 52 %var29 = icmp slt i32 %i, %length [all...] |
/llvm-project/flang/test/Semantics/ |
H A D | call33.f90 | 32 !WARNING: Actual argument variable length '2' is less than expected length '3' 36 !ERROR: Actual argument variable length '2' does not match the expected length '3' 38 !ERROR: Actual argument variable length '2' does not match the expected length '3' 40 !ERROR: Actual argument variable length '2' does not match the expected length '3' 42 !ERROR: Actual argument variable length '2' does not match the expected length '3' 47 !ERROR: Actual argument variable length '4' does not match the expected length '3' 49 !ERROR: Actual argument variable length '4' does not match the expected length '3' 51 !ERROR: Actual argument variable length '4' does not match the expected length '3' 53 !ERROR: Actual argument variable length '4' does not match the expected length '3'
|
H A D | intrinsics03.f90 | 13 character, intent(in) :: string, substring ! not assumed length 49 …signator 'index3': incompatible dummy argument #1: assumed-length character vs explicit-length cha… 56 …signator 'index3': incompatible dummy argument #1: assumed-length character vs explicit-length cha… 63 …signator 'index3': incompatible dummy argument #1: assumed-length character vs explicit-length cha… 67 …esignator 'index': incompatible dummy argument #1: assumed-length character vs explicit-length cha… 69 …signator 'index1': incompatible dummy argument #1: assumed-length character vs explicit-length cha… 71 …signator 'index2': incompatible dummy argument #1: assumed-length character vs explicit-length cha… 89 …my argument 'ix=': incompatible dummy argument #1: assumed-length character vs explicit-length cha… 96 …my argument 'ix=': incompatible dummy argument #1: assumed-length character vs explicit-length cha… 103 …my argument 'ix=': incompatible dummy argument #1: assumed-length character vs explicit-length cha… [all …]
|
H A D | call01.f90 | 30 !ERROR: An assumed-length CHARACTER(*) function cannot be RECURSIVE 36 !ERROR: An assumed-length CHARACTER(*) function cannot be RECURSIVE 43 !ERROR: An assumed-length CHARACTER(*) function cannot return an array 49 !ERROR: An assumed-length CHARACTER(*) function cannot return an array 55 !ERROR: An assumed-length CHARACTER(*) function cannot return a POINTER 62 !ERROR: An assumed-length CHARACTER(*) function cannot return a POINTER 69 !ERROR: An assumed-length CHARACTER(*) function cannot be PURE 74 !ERROR: An assumed-length CHARACTER(*) function cannot be PURE 80 !ERROR: An assumed-length CHARACTER(*) function cannot be ELEMENTAL 86 !ERROR: An assumed-length CHARACTER(*) function cannot be ELEMENTAL [all …]
|
/llvm-project/libcxx/test/std/localization/locale.stdcvt/ |
H A D | codecvt_utf16_length.pass.cpp | 21 // int length(stateT& state, const externT* from, const externT* from_end, 49 int r = c.length(m, n, n + 4, 2); in test() 54 r = c.length(m, n, n + 2, 2); in test() 59 r = c.length(m, n, n + 2, 2); in test() 64 r = c.length(m, n, n + 2, 2); in test() 72 int r = c.length(m, n, n + 4, 2); in test() 77 r = c.length(m, n, n + 2, 2); in test() 82 r = c.length(m, n, n + 2, 2); in test() 87 r = c.length(m, n, n + 2, 2); in test() 95 int r = c.length(m, n, n + 6, 2); in test() [all …]
|
H A D | codecvt_utf8_utf16_length.pass.cpp | 21 // int length(stateT& state, const externT* from, const externT* from_end, 37 int r = c.length(m, n, n+4, 2); in main() 43 r = c.length(m, n, n+3, 2); in main() 48 r = c.length(m, n, n+2, 2); in main() 52 r = c.length(m, n, n+1, 2); in main() 60 int r = c.length(m, n, n+4, 2); in main() 66 r = c.length(m, n, n+3, 2); in main() 71 r = c.length(m, n, n+2, 2); in main() 75 r = c.length(m, n, n+1, 2); in main() 83 int r = c.length(m, n, n+7, 2); in main() [all …]
|
/llvm-project/libcxx/benchmarks/ |
H A D | string.bench.cpp |
|
/llvm-project/llvm/include/llvm/CodeGen/PBQP/ |
H A D | Math.h | 30 explicit Vector(unsigned Length) in Vector() argument 31 : Length(Length), Data(std::make_unique<PBQPNum []>(Length)) {} in Vector() 34 Vector(unsigned Length, PBQPNum InitVal) in Vector() argument 35 : Length(Length), Data(std::make_unique<PBQPNum []>(Length)) { in Vector() 36 std::fill(Data.get(), Data.get() + Length, InitVal); in Vector() 41 : Length(V.Length), Data(std::make_unique<PBQPNum []>(Length)) { in Vector() 42 std::copy(V.Data.get(), V.Data.get() + Length, Data.get()); in Vector() 47 : Length(V.Length), Data(std::move(V.Data)) { in Vector() 48 V.Length = 0; in Vector() 53 assert(Length != 0 && Data && "Invalid vector"); [all …]
|
/llvm-project/flang/runtime/ |
H A D | command.cpp | 47 // Returns the length of the \p string. Assumes \p string is valid. 49 std::size_t length{std::strlen(string)}; in StringLength() local 50 if (length <= std::numeric_limits<std::int64_t>::max()) in StringLength() 51 return static_cast<std::int64_t>(length); in StringLength() 95 const Descriptor *length, std::int64_t value, Terminator &terminator) { in operator ()() 96 auto typeCode{length->type().GetCategoryAndKind()}; 103 const Descriptor *length, const Descriptor *errmsg, const char *sourceFile, in FitsInDescriptor() 113 if (length) { in RTNAME() 114 RUNTIME_CHECK(terminator, IsValidIntDescriptor(length)); in RTNAME() 115 StoreIntToDescriptor(length, in RTNAME() 99 FitsInDescriptor(const Descriptor * length,std::int64_t value,Terminator & terminator) FitsInDescriptor() argument [all...] |
/llvm-project/llvm/test/tools/obj2yaml/COFF/ |
H A D | section-aux-symbol.yaml | 10 # COFF-I386-NEXT: Length: 4 17 # COFF-I386-NEXT: Length: 4 24 # COFF-I386-NEXT: Length: 4 31 # COFF-I386-NEXT: Length: 4 38 # COFF-I386-NEXT: Length: 4 45 # COFF-I386-NEXT: Length: 4 52 # COFF-I386-NEXT: Length: 4 59 # COFF-I386-NEXT: Length: 4 66 # COFF-I386-NEXT: Length: 4 73 # COFF-I386-NEXT: Length: 4 [all …]
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
H A D | not-null-terminated-result-in-initialization-strlen.c | 7 int length; in path_sensitive_unknown_length() local 8 length = strlen(src); in path_sensitive_unknown_length() 9 position = (char *)memchr(src, '\0', length); in path_sensitive_unknown_length() 13 int length = strlen(src); in bad_memchr() local 14 position = (char *)memchr(src, '\0', length); in bad_memchr() 15 …// CHECK-MESSAGES: :[[@LINE-1]]:40: warning: the length is too short to include the null terminato… in bad_memchr() 25 int length = strlen(strerror(errno)); in bad_strerror_s() local 26 strerror_s(dest, length, errno); in bad_strerror_s() 29 // CHECK-FIXES-NEXT: int length = strlen(strerror(errno)); in bad_strerror_s() 30 // CHECK-FIXES-NEXT: strerror_s(dest, length + 1, errno); in bad_strerror_s() [all …]
|
/llvm-project/llvm/test/Transforms/GuardWidening/ |
H A D | range-check-merging.ll | 10 ; CHECK-NEXT: [[LENGTH:%.*]] = load i32, ptr [[LENGTH_BUF:%.*]], align 4, !range [[RNG0:![0-9]+]… 11 ; CHECK-NEXT: [[CHK0:%.*]] = icmp ult i32 [[X_GW_FR]], [[LENGTH]] 13 ; CHECK-NEXT: [[CHK1:%.*]] = icmp ult i32 [[X_INC1]], [[LENGTH]] 16 ; CHECK-NEXT: [[CHK2:%.*]] = icmp ult i32 [[X_INC2]], [[LENGTH]] 19 ; CHECK-NEXT: [[CHK3:%.*]] = icmp ult i32 [[X_INC3]], [[LENGTH]] 25 %length = load i32, ptr %length_buf, !range !0, !noundef !{} 26 %chk0 = icmp ult i32 %x, %length 30 %chk1 = icmp ult i32 %x.inc1, %length 34 %chk2 = icmp ult i32 %x.inc2, %length 38 %chk3 = icmp ult i32 %x.inc3, %length [all …]
|
/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/ |
H A D | debug_pub_tables_error_cases.s | 18 # CHECK-NEXT: length = 0x00000001, format = DWARF32, version = 0x0000, unit_offset = 0x00000000, un… 21 .long .LSet0End-.LSet0 # Length 27 # CHECK-NEXT: length = 0x00000005, format = DWARF32, version = 0x0002, unit_offset = 0x00000000, un… 30 .long .LSet1End-.LSet1 # Length 37 # CHECK-NEXT: length = 0x00000009, format = DWARF32, version = 0x0002, unit_offset = 0x00000032, un… 40 .long .LSet2End-.LSet2 # Length 44 .byte 1, 2, 3 # Debug Info Length (truncated) 49 # CHECK-NEXT: length = 0x0000000a, format = DWARF32, version = 0x0002, unit_offset = 0x00000048, un… 52 .long .LSet3End-.LSet3 # Length 56 .long 0x64 # Debug Info Length [all …]
|
/llvm-project/clang/test/PCH/ |
H A D | pragma-loop.cpp | 30 inline void run1(int *List, int Length) { in run1() argument 35 while (i < Length) { in run1() 41 inline void run2(int *List, int Length) { in run2() argument 47 while (i - 1 < Length) { in run2() 53 inline void run3(int *List, int Length) { in run3() argument 59 while (i - 3 < Length) { in run3() 65 inline void run4(int *List, int Length) { in run4() argument 68 while (i - 3 < Length) { in run4() 74 inline void run5(int *List, int Length) { in run5() argument 77 while (i - 3 < Length) { in run5() 83 run6(int * List,int Length) run6() argument 93 run7(int * List,int Length) run7() argument 101 run8(int * List,int Length) run8() argument 109 run9(int * List,int Length) run9() argument 117 run10(int * List,int Length) run10() argument [all...] |
/llvm-project/llvm/test/ObjectYAML/MachO/ |
H A D | relocations_armv7.yaml | 5 # OBJDUMP-VERIFY-NEXT: address pcrel length extern type scattered symbolnum/value 15 # OBJDUMP-VERIFY-NEXT: address pcrel length extern type scattered symbolnum/value 30 # OBJDUMP-VERIFY-NEXT: address pcrel length extern type scattered symbolnum/value 33 # OBJDUMP-VERIFY-NEXT: address pcrel length extern type scattered symbolnum/value 55 # CHECK-NEXT: length: 3 63 # CHECK-NEXT: length: 3 71 # CHECK-NEXT: length: 2 79 # CHECK-NEXT: length: 2 87 # CHECK-NEXT: length: 3 95 # CHECK-NEXT: length: 3 [all …]
|
H A D | relocations_ppc_big_endian.yaml | 5 # OBJDUMP-VERIFY-NEXT: address pcrel length extern type scattered symbolnum/value 15 # OBJDUMP-VERIFY-NEXT: address pcrel length extern type scattered symbolnum/value 30 # OBJDUMP-VERIFY-NEXT: address pcrel length extern type scattered symbolnum/value 33 # OBJDUMP-VERIFY-NEXT: address pcrel length extern type scattered symbolnum/value 36 # OBJDUMP-VERIFY-NEXT: address pcrel length extern type scattered symbolnum/value 61 # CHECK-NEXT: length: 2 69 # CHECK-NEXT: length: 2 77 # CHECK-NEXT: length: 2 85 # CHECK-NEXT: length: 2 93 # CHECK-NEXT: length: 2 [all …]
|