| /llvm-project-15.0.7/llvm/test/Transforms/Attributor/ |
| H A D | depgraph.ll | 62 ; GRAPH-NEXT: [AAPotentialValues] for CtxI <<null inst>> at position {flt: [@-1]} with state set-st… 68 ; GRAPH-NEXT: [AAIsDead] for CtxI ' ret i32* %.0' at position {flt: [@-1]} with state assumed-live 105 ; GRAPH-NEXT: [AAIsDead] for CtxI ' %2 = load i32, i32* %0, align 4' at position {flt: [@-1]} with… 107 ; GRAPH-NEXT: [AAIsDead] for CtxI ' %3 = icmp eq i32 %2, 0' at position {flt: [@-1]} with state as… 109 ; GRAPH-NEXT: [AAIsDead] for CtxI ' br i1 %3, label %4, label %7' at position {flt: [@-1]} with st… 153 ; GRAPH-NEXT: [AAIsDead] for CtxI ' br label %8' at position {flt: [@-1]} with state assumed-live 169 ; GRAPH-NEXT: [AANoUndef] for CtxI ' %2 = load i32, i32* %0, align 4' at position {arg: [@0]} with… 203 ; GRAPH-NEXT: [AANonNull] for CtxI ' %2 = load i32, i32* %0, align 4' at position {arg: [@0]} with… 225 ; GRAPH-NEXT: [AANoAlias] for CtxI ' %2 = load i32, i32* %0, align 4' at position {arg: [@0]} with… 241 ; GRAPH-NEXT: [AAIsDead] for CtxI ' br label %8' at position {flt: [@-1]} with state assumed-live [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | SourceCodeTests.cpp | 39 Position position(int Line, int Character) { in position() function 104 EXPECT_THAT_EXPECTED(positionToOffset(File, position(0, -1)), in TEST() 106 EXPECT_THAT_EXPECTED(positionToOffset(File, position(0, 0)), in TEST() 108 EXPECT_THAT_EXPECTED(positionToOffset(File, position(0, 3)), in TEST() 110 EXPECT_THAT_EXPECTED(positionToOffset(File, position(0, 6)), in TEST() 112 EXPECT_THAT_EXPECTED(positionToOffset(File, position(0, 7)), in TEST() 116 EXPECT_THAT_EXPECTED(positionToOffset(File, position(0, 8)), in TEST() 123 EXPECT_THAT_EXPECTED(positionToOffset(File, position(1, 0)), in TEST() 125 EXPECT_THAT_EXPECTED(positionToOffset(File, position(1, 3)), in TEST() 129 EXPECT_THAT_EXPECTED(positionToOffset(File, position(1, 6)), in TEST() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/re/re.iter/re.regiter/re.regiter.incr/ |
| H A D | post.pass.cpp | 30 assert((*i).position() == 0); in main() 33 assert((*i2).position() == 0); in main() 39 assert((*i).position() == 10); in main() 42 assert((*i2).position() == 0); in main() 48 assert((*i).position() == 20); in main() 51 assert((*i2).position() == 0); in main() 57 assert((*i2).position() == 0); in main() 68 assert((*i).position() == 0); in main() 71 assert((*i2).position() == 0); in main() 77 assert((*i).position() == 10); in main() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | FormatString.h | 40 void setPosition(const char *position) { in setPosition() argument 41 assert(position); in setPosition() 43 this->position = position; in setPosition() 46 assert(position); in getPosition() 47 return position; in getPosition() 59 const char *position; variable 537 HasPlusPrefix.setPosition(position); in setHasPlusPrefix() 540 HasSpacePrefix.setPosition(position); in setHasSpacePrefix() 551 void setIsPrivate(const char *position) { IsPrivate.setPosition(position); } in setIsPrivate() argument 552 void setIsPublic(const char *position) { IsPublic.setPosition(position); } in setIsPublic() argument [all …]
|
| /llvm-project-15.0.7/flang/lib/Parser/ |
| H A D | parsing.cpp | 156 if (lineDirectives && column == 1 && position) { in EmitPreprocessedSource() 157 if (&position->file != sourceFile) { in EmitPreprocessedSource() 158 out << "#line \"" << position->file.path() << "\" " << position->line in EmitPreprocessedSource() 160 } else if (position->line != sourceLine) { in EmitPreprocessedSource() 161 if (sourceLine < position->line && in EmitPreprocessedSource() 162 sourceLine + 10 >= position->line) { in EmitPreprocessedSource() 166 while (sourceLine++ < position->line) { in EmitPreprocessedSource() 173 sourceFile = &position->file; in EmitPreprocessedSource() 174 sourceLine = position->line; in EmitPreprocessedSource() 200 if (!inContinuation && position && position->column <= 72 && ch != ' ') { in EmitPreprocessedSource() [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | ext-vector-member-alignment.c | 6 float4 position; member 10 float4 f(struct struct1* x) { return x->position; } in f() 13 p->position.x = c; in func() 14 *a = p->position.y; in func() 15 *b = p->position[0]; in func() 16 p->position[2] = c; in func()
|
| /llvm-project-15.0.7/libcxx/test/std/re/re.results/re.results.acc/ |
| H A D | position.pass.cpp | 25 assert(m.position() == std::distance(s, m[0].first)); in test() 26 assert(m.position(0) == std::distance(s, m[0].first)); in test() 27 assert(m.position(1) == std::distance(s, m[1].first)); in test() 28 assert(m.position(2) == std::distance(s, m[2].first)); in test() 29 assert(m.position(3) == std::distance(s, m[3].first)); in test() 30 assert(m.position(4) == std::distance(s, m[4].first)); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/re/re.alg/re.alg.search/ |
| H A D | ecma.pass.cpp | 39 assert(m.position(0) == 0); in main() 54 assert(m.position(0) == 0); in main() 76 assert(m.position(0) == 1); in main() 98 assert(m.position(0) == 1); in main() 113 assert(m.position(0) == 0); in main() 128 assert(m.position(0) == 0); in main() 131 assert(m.position(1) == 2); in main() 146 assert(m.position(0) == 2); in main() 149 assert(m.position(1) == 4); in main() 152 assert(m.position(2) == 4); in main() [all …]
|
| H A D | extended.pass.cpp | 39 assert(m.position(0) == 0); in main() 54 assert(m.position(0) == 0); in main() 76 assert(m.position(0) == 1); in main() 98 assert(m.position(0) == 1); in main() 113 assert(m.position(0) == 0); in main() 128 assert(m.position(0) == 0); in main() 131 assert(m.position(1) == 2); in main() 147 assert(m.position(0) == 2); in main() 150 assert(m.position(1) == 4); in main() 153 assert(m.position(2) == 4); in main() [all …]
|
| H A D | awk.pass.cpp | 39 assert(m.position(0) == 0); in main() 54 assert(m.position(0) == 0); in main() 76 assert(m.position(0) == 1); in main() 98 assert(m.position(0) == 1); in main() 113 assert(m.position(0) == 0); in main() 128 assert(m.position(0) == 0); in main() 131 assert(m.position(1) == 2); in main() 147 assert(m.position(0) == 2); in main() 150 assert(m.position(1) == 4); in main() 153 assert(m.position(2) == 4); in main() [all …]
|
| H A D | basic.pass.cpp | 45 assert(m.position(0) == 0); in main() 60 assert(m.position(0) == 0); in main() 82 assert(m.position(0) == 1); in main() 104 assert(m.position(0) == 1); in main() 119 assert(m.position(0) == 0); in main() 134 assert(m.position(0) == 0); in main() 137 assert(m.position(1) == 2); in main() 153 assert(m.position(0) == 2); in main() 156 assert(m.position(1) == 4); in main() 159 assert(m.position(2) == 4); in main() [all …]
|
| H A D | backup.pass.cpp | 34 assert(it->position(0) == 0); in main() 38 assert(it->position(0) == 5); in main() 53 assert(it->position(0) == 0); in main() 57 assert(it->position(0) == 5); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/re/re.alg/re.alg.match/ |
| H A D | ecma.pass.cpp | 39 assert(m.position(0) == 0); in main() 54 assert(m.position(0) == 0); in main() 95 assert(m.position(0) == 0); in main() 110 assert(m.position(0) == 0); in main() 113 assert(m.position(1) == 2); in main() 134 assert(m.position(0) == 0); in main() 161 assert(m.position(0) == 0); in main() 188 assert(m.position(0) == 0); in main() 203 assert(m.position(0) == 0); in main() 218 assert(m.position(0) == 0); in main() [all …]
|
| H A D | extended.pass.cpp | 38 assert(m.position(0) == 0); in main() 53 assert(m.position(0) == 0); in main() 94 assert(m.position(0) == 0); in main() 109 assert(m.position(0) == 0); in main() 112 assert(m.position(1) == 2); in main() 134 assert(m.position(0) == 0); in main() 161 assert(m.position(0) == 0); in main() 188 assert(m.position(0) == 0); in main() 203 assert(m.position(0) == 0); in main() 218 assert(m.position(0) == 0); in main() [all …]
|
| H A D | awk.pass.cpp | 39 assert(m.position(0) == 0); in main() 54 assert(m.position(0) == 0); in main() 95 assert(m.position(0) == 0); in main() 110 assert(m.position(0) == 0); in main() 113 assert(m.position(1) == 2); in main() 135 assert(m.position(0) == 0); in main() 162 assert(m.position(0) == 0); in main() 189 assert(m.position(0) == 0); in main() 204 assert(m.position(0) == 0); in main() 219 assert(m.position(0) == 0); in main() [all …]
|
| H A D | basic.pass.cpp | 45 assert(m.position(0) == 0); in main() 60 assert(m.position(0) == 0); in main() 101 assert(m.position(0) == 0); in main() 116 assert(m.position(0) == 0); in main() 119 assert(m.position(1) == 2); in main() 141 assert(m.position(0) == 0); in main() 168 assert(m.position(0) == 0); in main() 195 assert(m.position(0) == 0); in main() 210 assert(m.position(0) == 0); in main() 225 assert(m.position(0) == 0); in main() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Conversion/PDLToPDLInterp/ |
| H A D | PredicateTree.h | 33 : position(pos), question(predicate.first), answer(predicate.second) {} in PositionalPredicate() 36 Position *position; member 63 Position *getPosition() const { return position; } in getPosition() 82 MatcherNode(TypeID matcherTypeID, Position *position = nullptr, 88 Position *position; 110 BoolNode(Position *position, Qualifier *question, Qualifier *answer, 185 SwitchNode(Position *position, Qualifier *question);
|
| /llvm-project-15.0.7/clang/test/CoverageMapping/ |
| H A D | classtemplate.cpp | 22 double get(TT position) const { // FIXME-GETTER: File 0, [[@LINE]]:33 -> [[@LINE+2]]:4 = 0 in get() 23 return bases[position]; in get() 26 void set(TT position, double value) { // CHECK-SETTER: File 0, [[@LINE]]:39 -> [[@LINE+2]]:4 = #0 in set() argument 27 bases[position] = value; in set() 35 double get(unsigned position) const { // CHECK-GETTER: File 0, [[@LINE]]:39 -> [[@LINE+2]]:4 = 0 in get()
|
| /llvm-project-15.0.7/mlir/test/mlir-pdll-lsp-server/ |
| H A D | inlay-hints.test | 26 // CHECK-NEXT: "position": { 36 // CHECK-NEXT: "position": { 46 // CHECK-NEXT: "position": { 56 // CHECK-NEXT: "position": { 66 // CHECK-NEXT: "position": { 88 // CHECK-NEXT: "position": { 98 // CHECK-NEXT: "position": {
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | not-null-terminated-result-in-initialization-strlen.c | 6 void path_sensitive_unknown_length(char *position, const char *src) { in path_sensitive_unknown_length() argument 9 position = (char *)memchr(src, '\0', length); in path_sensitive_unknown_length() 12 void bad_memchr(char *position, const char *src) { in bad_memchr() argument 14 position = (char *)memchr(src, '\0', length); in bad_memchr()
|
| H A D | not-null-terminated-result-wcslen.cpp | 14 void bad_wmemchr_1(wchar_t *position, const wchar_t *src) { in bad_wmemchr_1() argument 15 position = (wchar_t *)wmemchr(src, L'\0', wcslen(src)); in bad_wmemchr_1() 24 void bad_wmemchr_2(wchar_t *position) { in bad_wmemchr_2() argument 25 position = (wchar_t *)wmemchr(L"foobar", L'\0', 6); in bad_wmemchr_2()
|
| H A D | not-null-terminated-result-strlen.c | 14 void bad_memchr_1(char *position, const char *src) { in bad_memchr_1() argument 15 position = (char *)memchr(src, '\0', strlen(src)); in bad_memchr_1() 24 void bad_memchr_2(char *position) { in bad_memchr_2() argument 25 position = (char *)memchr("foobar", '\0', 6); in bad_memchr_2()
|
| /llvm-project-15.0.7/clang/test/PCH/ |
| H A D | objcxx-ivar-class.h | 9 S position; variable 11 @property(assign, nonatomic) S position; 15 @synthesize position;
|
| /llvm-project-15.0.7/llvm/test/MC/Mips/ |
| H A D | elf_eflags.s | 26 # RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -position-independent -mcpu=mips64r6 -tar… 32 # RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -position-independent -mcpu=mips64r2 -tar… 33 # RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -position-independent -mcpu=mips64r3 -tar… 42 # RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -position-independent -mcpu=mips64 -targe… 131 # RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux -position-independent -mcpu=mips5 %s -o -… 134 # RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux -position-independent -mcpu=mips5 -mattr=… 137 # RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux -position-independent -mcpu=mips4 %s -o -… 143 # RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux -position-independent -mcpu=mips3 %s -o -… 182 # RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -position-independent -mcpu=mips64r2 %s… 189 # RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux -position-independent -mcpu=mips64 %s -… [all …]
|
| /llvm-project-15.0.7/clang/utils/ |
| H A D | FuzzTest | 33 def position_to_source_index(self, position): argument 36 if position < n: 37 return (i,position) 38 position -= n 53 index,position = divmod(index, self.num_positions) 54 position = self.position_to_source_index(position) 57 return ('delete', position, None, picked_position) 64 return ('insert', position, insert_str, picked_position) 69 return ('replace', position, insert_str, picked_position)
|