/llvm-project/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/ |
H A D | FindAllSymbolsTests.cpp | 44 int seen(const SymbolInfo &Symbol) const { in seen() function in clang::find_all_symbols::TestSymbolReporter 46 return it == Symbols.end() ? 0 : it->second.Seen; in seen() 60 int seen(const SymbolInfo &Symbol) { return Reporter.seen(Symbol); } in seen() function in clang::find_all_symbols::FindAllSymbolsTest 128 EXPECT_EQ(1, seen(InternalSymbol)); in runFindAllSymbols() 129 EXPECT_EQ(1, seen(IncSymbol)); in runFindAllSymbols() 131 EXPECT_EQ(1, seen(DirtySymbol)); in runFindAllSymbols() 132 EXPECT_EQ(1, seen(DirtyMacro)); in runFindAllSymbols() 156 EXPECT_EQ(1, seen(Symbol)); in TEST_F() 161 EXPECT_EQ(1, seen(Symbol)); in TEST_F() 167 EXPECT_EQ(1, seen(Symbol)); in TEST_F() [all …]
|
/llvm-project/clang/test/Frontend/ |
H A D | verify-ignore-unexpected.c | 6 // CHECK-BAD-SWITCH: error: 'expected-error' diagnostics seen but not expected: 34 // CHECK-UNEXP-NEXT: 'expected-error' diagnostics seen but not expected 36 // CHECK-UNEXP-NEXT: 'expected-warning' diagnostics seen but not expected 38 // CHECK-UNEXP-NEXT: 'expected-note' diagnostics seen but not expected 43 // CHECK-NOTE-NEXT: 'expected-error' diagnostics seen but not expected 45 // CHECK-NOTE-NEXT: 'expected-warning' diagnostics seen but not expected 50 // CHECK-WARN-NEXT: 'expected-error' diagnostics seen but not expected 52 // CHECK-WARN-NEXT: 'expected-note' diagnostics seen but not expected 57 // CHECK-ERR-NEXT: 'expected-warning' diagnostics seen but not expected 59 // CHECK-ERR-NEXT: 'expected-note' diagnostics seen but not expected [all …]
|
H A D | verify.c | 51 // CHECK2: error: 'expected-error' diagnostics expected but not seen: 54 // CHECK2-NEXT: error: 'expected-error' diagnostics seen but not expected: 57 // CHECK2-NEXT: error: 'expected-warning' diagnostics expected but not seen: 59 // CHECK2-NEXT: error: 'expected-warning' diagnostics seen but not expected: 81 // CHECK3: error: 'expected-note' diagnostics expected but not seen: 94 // CHECK4: error: 'expected-error' diagnostics expected but not seen: 96 // CHECK4-NEXT: error: 'expected-error' diagnostics seen but not expected: 105 // CHECK5: error: 'expected-error' diagnostics expected but not seen: 115 // CHECK6-NEXT: error: 'expected-error' diagnostics seen but not expected: 121 // CHECK7: error: 'expected-error' diagnostics expected but not seen: [all …]
|
H A D | verify2.c | 16 // CHECK-NEXT: error: 'expected-error' diagnostics seen but not expected: 34 // CHECK2: error: 'expected-error' diagnostics expected but not seen: 36 // CHECK2-NEXT: error: 'expected-error' diagnostics seen but not expected:
|
/llvm-project/clang-tools-extra/test/clang-include-fixer/Inputs/ |
H A D | fake_yaml_db.yaml | 10 Seen: 1 21 Seen: 0 32 Seen: 1 43 Seen: 3 54 Seen: 3 61 Seen: 1 70 Seen: 1
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/ |
H A D | inconsistent-declaration-parameter-name.cpp | 14 // CHECK-MESSAGES: :[[@LINE+2]]:6: note: the 1st inconsistent declaration seen here 17 // CHECK-MESSAGES: :[[@LINE+2]]:6: note: the 2nd inconsistent declaration seen here 24 // CHECK-MESSAGES: :[[@LINE+9]]:6: note: the definition seen here 29 // CHECK-MESSAGES: :[[@LINE+4]]:6: note: the definition seen here 36 // CHECK-MESSAGES: :[[@LINE+3]]:6: note: the definition seen here 45 // CHECK-MESSAGES: :[[@LINE+6]]:14: note: the definition seen here 57 // CHECK-MESSAGES: :[[@LINE+12]]:19: note: the definition seen here 63 // CHECK-MESSAGES: :[[@LINE+8]]:37: note: the definition seen here 76 // CHECK-MESSAGES: :[[@LINE+7]]:6: note: the definition seen here 92 // CHECK-MESSAGES: :[[@LINE-4]]:6: note: the primary template declaration seen here [all …]
|
H A D | inconsistent-declaration-parameter-name-macros.cpp | 11 // CHECK-NOTES: :[[@LINE+4]]:10: note: the definition seen here 21 // CHECK-NOTES: :[[@LINE+14]]:1: note: the definition seen here 44 // CHECK-NOTES: :[[@LINE+2]]:34: note: the 1st inconsistent declaration seen here
|
/llvm-project/llvm/test/tools/llvm-profdata/ |
H A D | merge-traces.proftext | 10 # SEEN1: Temporal Profile Traces (samples=1 seen=1): 11 # SEEN2: Temporal Profile Traces (samples=2 seen=2): 12 # SEEN3: Temporal Profile Traces (samples=2 seen=3): 13 # SEEN4: Temporal Profile Traces (samples=2 seen=4):
|
/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/ |
H A D | SymbolInfo.cpp | 32 io.mapRequired("Seen", Symbol.Signals.Seen); in mapping() 97 Seen += RHS.Seen; in operator +=() 109 return std::tie(Seen, Used) == std::tie(RHS.Seen, RHS.Used); in operator ==()
|
H A D | SymbolInfo.h | 54 Signals(unsigned Seen, unsigned Used) : Seen(Seen), Used(Used) {} in Signals() 57 unsigned Seen = 0; member
|
/llvm-project/clang-tools-extra/clangd/unittests/ |
H A D | SelectionTests.cpp | 86 bool Seen = false; in verifyCommonAncestor() local 89 if (Seen) in verifyCommonAncestor() 91 Seen = true; in verifyCommonAncestor() 93 return Seen; in verifyCommonAncestor() 822 unsigned Seen = 0; in TEST() local 827 if (Seen == 0) { in TEST() 829 } else if (Seen == 1) { in TEST() 832 ++Seen; in TEST() 835 EXPECT_EQ(2u, Seen); in TEST() 837 Seen = 0; in TEST() [all …]
|
/llvm-project/flang/lib/Semantics/ |
H A D | attr.cpp | 43 std::size_t seen{0}; in operator <<() local 44 for (std::size_t j{0}; seen < n; ++j) { in operator <<() 47 if (seen > 0) { in operator <<() 51 ++seen; in operator <<()
|
/llvm-project/clang-tools-extra/test/clang-include-fixer/ |
H A D | merge.test | 11 Seen: 1 21 Seen: 1 31 Seen: 2
|
/llvm-project/libc/benchmarks/automemcpy/lib/ |
H A D | CodeGenMain.cpp |
|
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/heuristic/ |
H A D | Heuristic.py | 263 d = {"<g>No unreachable lines seen</>": [PenaltyInstance(0, 0)]} 271 # Form a list of which line/cmd we _should_ have seen 287 seen = Counter(order_list) 296 if k not in seen: 297 msg = "Line {} not seen".format(k) 300 elif v > seen[k]: 303 num_missing += v - seen[k] 304 elif v < seen[k]: 307 num_repeats = seen[k] - v 312 unseen_line_dict["<g>All lines were seen</>"] = [pi] [all …]
|
/llvm-project/clang/include/clang/Lex/ |
H A D | PPCallbacks.h | 343 /// Hook called whenever a macro definition is seen. 348 /// Hook called whenever a macro \#undef is seen. 359 /// Hook called whenever the 'defined' operator is seen. 388 /// Hook called whenever an \#if is seen. 398 /// Hook called whenever an \#elif is seen. 408 /// Hook called whenever an \#ifdef is seen. 432 /// Hook called whenever an \#ifndef is seen. 456 /// Hook called whenever an \#else is seen. 462 /// Hook called whenever an \#endif is seen. 698 /// Hook called whenever an \#if is seen. [all …]
|
H A D | VariadicMacroSupport.h | 81 /// Returns true if we have seen the __VA_OPT__ and '(' but before having 82 /// seen the matching ')'. 97 /// Call this function each time an rparen is seen. It returns true only if 98 /// the rparen that was just seen was the eventual (non-nested) closing 106 /// Call this function each time an lparen is seen.
|
/llvm-project/llvm/test/CodeGen/X86/ |
H A D | tail-call-legality.ll | 4 ; arguments seen by Analysis.cpp and ISelLowering. As seen by ISelLowering, they 8 ; As seen by Analysis.cpp: i64 -> i32 is a valid trunc, second i32 passes
|
/llvm-project/third-party/unittest/googlemock/src/ |
H A D | gmock-matchers.cc | 133 // 'seen' is used for path finding { 0: unseen, 1: seen }. in Compute() 134 ::std::vector<char> seen; in Compute() 152 // 'seen' initialized to 'graph_->RhsSize()' copies of 0. in Compute() 153 seen.assign(graph_->RhsSize(), 0); in Compute() 154 TryAugment(ilhs, &seen); in Compute() 172 // flow was added to the network. The 'seen' vector elements correspond 184 bool TryAugment(size_t ilhs, ::std::vector<char>* seen) { in TryAugment() argument 186 if ((*seen)[irhs]) continue; in TryAugment() 189 (*seen)[irhs] = 1; in TryAugment() 200 if (right_[irhs] == kUnused || TryAugment(right_[irhs], seen)) { in TryAugment()
|
/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | Float2Int.cpp | 39 // If a non-mappable instruction is seen, this entire def-use graph is marked 116 void Float2IntPass::seen(Instruction *I, ConstantRange R) { in seen() function in Float2IntPass 155 // Seen already. in walkBackwards() 162 seen(I, badRange()); in walkBackwards() 172 seen(I, validateRange(Input.castOp(CastOp, MaxIntegerBW+1))); in walkBackwards() 183 seen(I, unknownRange()); in walkBackwards() 195 seen(I, badRange()); in walkBackwards() 208 assert(OpIt != SeenInsts.end() && "def not seen before use!"); in calcRange() 290 // Walk forwards down the list of seen instructions, so we visit defs before in calcRange() 303 seen( in walkForwards() [all...] |
/llvm-project/llvm/unittests/Support/ |
H A D | FileCollectorTest.cpp | 35 using FileCollector::Seen; 38 bool hasSeen(StringRef fs) { return Seen.contains(fs); } in hasSeen() 55 // Make sure we've seen all the added files. in TEST() 60 // Make sure we've only seen the added files. in TEST() 87 // Make sure we've seen all the added files. in TEST() 92 // Make sure we've only seen the added files. in TEST() 139 // The empty directory isn't seen until we add it. in TEST()
|
/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFDIE.cpp | 43 // Infinite recursion is prevented by maintaining a list of seen DIEs. 424 llvm::SmallSet<lldb::user_id_t, 4> &seen, in GetDeclContext() 427 while (die && seen.insert(die.GetID()).second) { in GetDeclContext() 457 llvm::SmallSet<lldb::user_id_t, 4> seen; in GetTypeLookupContextImpl() 459 GetDeclContextImpl(*this, derive_template_names, seen, context); in GetTypeLookupContextImpl() 465 llvm::SmallSet<lldb::user_id_t, 4> &seen, in GetTypeLookupContextImpl() 468 while (die && seen.insert(die.GetID()).second) { in GetTypeLookupContextImpl() 504 llvm::SmallSet<lldb::user_id_t, 4> seen; in GetDWARFDeclContextImpl() 506 GetTypeLookupContextImpl(*this, derive_template_names, seen, context); in GetDWARFDeclContextImpl() 371 GetDeclContextImpl(DWARFDIE die,llvm::SmallSet<lldb::user_id_t,4> & seen,std::vector<CompilerContext> & context) GetDeclContextImpl() argument 425 llvm::SmallSet<lldb::user_id_t, 4> seen; GetDeclContext() local 433 GetTypeLookupContextImpl(DWARFDIE die,llvm::SmallSet<lldb::user_id_t,4> & seen,std::vector<CompilerContext> & context) GetTypeLookupContextImpl() argument 497 llvm::SmallSet<lldb::user_id_t, 4> seen; GetTypeLookupContext() local
|
/llvm-project/mlir/lib/ExecutionEngine/SparseTensor/ |
H A D | MapRef.cpp | 25 std::vector<bool> seen(dimRank, false); in isPermutationMap() local 28 if (d >= dimRank || seen[d]) in isPermutationMap() 30 seen[d] = true; in isPermutationMap()
|
/llvm-project/llvm/tools/verify-uselistorder/ |
H A D | verify-uselistorder.cpp | 399 DenseSet<Value *> &Seen) { in shuffleValueUseLists() argument 400 if (!Seen.insert(V).second) in shuffleValueUseLists() 406 shuffleValueUseLists(Op, Gen, Seen); in shuffleValueUseLists() 441 static void reverseValueUseLists(Value *V, DenseSet<Value *> &Seen) { in reverseValueUseLists() argument 442 if (!Seen.insert(V).second) in reverseValueUseLists() 448 reverseValueUseLists(Op, Seen); in reverseValueUseLists() 530 DenseSet<Value *> Seen; in shuffleUseLists() local 531 changeUseLists(M, [&](Value *V) { shuffleValueUseLists(V, Gen, Seen); }); in shuffleUseLists() 536 DenseSet<Value *> Seen; in reverseUseLists() local 537 changeUseLists(M, [&](Value *V) { reverseValueUseLists(V, Seen); }); in reverseUseLists()
|
/llvm-project/clang-tools-extra/test/clang-include-fixer/Inputs/merge/ |
H A D | a.yaml | 8 Seen: 1 18 Seen: 1
|