Home
last modified time | relevance | path

Searched refs:SpecialCaseList (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm/lib/Support/
DSpecialCaseList.cpp34 struct SpecialCaseList::Entry {
47 SpecialCaseList::SpecialCaseList() : Entries(), Regexps(), IsCompiled(false) {} in SpecialCaseList() function in llvm::SpecialCaseList
49 std::unique_ptr<SpecialCaseList>
50 SpecialCaseList::create(const std::vector<std::string> &Paths, in create()
52 std::unique_ptr<SpecialCaseList> SCL(new SpecialCaseList()); in create()
70 std::unique_ptr<SpecialCaseList> SpecialCaseList::create(const MemoryBuffer *MB, in create()
72 std::unique_ptr<SpecialCaseList> SCL(new SpecialCaseList()); in create()
79 std::unique_ptr<SpecialCaseList>
80 SpecialCaseList::createOrDie(const std::vector<std::string> &Paths) { in createOrDie()
87 bool SpecialCaseList::parse(const MemoryBuffer *MB, std::string &Error) { in parse()
[all …]
DCMakeLists.txt84 SpecialCaseList.cpp
/external/llvm/include/llvm/Support/
DSpecialCaseList.h60 class SpecialCaseList {
64 static std::unique_ptr<SpecialCaseList>
68 static std::unique_ptr<SpecialCaseList> create(const MemoryBuffer *MB,
72 static std::unique_ptr<SpecialCaseList>
75 ~SpecialCaseList();
86 SpecialCaseList(SpecialCaseList const &) = delete;
87 SpecialCaseList &operator=(SpecialCaseList const &) = delete;
94 SpecialCaseList();
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DSpecialCaseList.cpp29 bool SpecialCaseList::Matcher::insert(std::string Regexp, in insert()
61 unsigned SpecialCaseList::Matcher::match(StringRef Query) const { in match()
73 std::unique_ptr<SpecialCaseList>
74 SpecialCaseList::create(const std::vector<std::string> &Paths, in create()
76 std::unique_ptr<SpecialCaseList> SCL(new SpecialCaseList()); in create()
82 std::unique_ptr<SpecialCaseList> SpecialCaseList::create(const MemoryBuffer *MB, in create()
84 std::unique_ptr<SpecialCaseList> SCL(new SpecialCaseList()); in create()
90 std::unique_ptr<SpecialCaseList>
91 SpecialCaseList::createOrDie(const std::vector<std::string> &Paths, in createOrDie()
99 bool SpecialCaseList::createInternal(const std::vector<std::string> &Paths, in createInternal()
[all …]
DCMakeLists.txt131 SpecialCaseList.cpp
/external/llvm-project/llvm/lib/Support/
DSpecialCaseList.cpp29 bool SpecialCaseList::Matcher::insert(std::string Regexp, in insert()
61 unsigned SpecialCaseList::Matcher::match(StringRef Query) const { in match()
73 std::unique_ptr<SpecialCaseList>
74 SpecialCaseList::create(const std::vector<std::string> &Paths, in create()
76 std::unique_ptr<SpecialCaseList> SCL(new SpecialCaseList()); in create()
82 std::unique_ptr<SpecialCaseList> SpecialCaseList::create(const MemoryBuffer *MB, in create()
84 std::unique_ptr<SpecialCaseList> SCL(new SpecialCaseList()); in create()
90 std::unique_ptr<SpecialCaseList>
91 SpecialCaseList::createOrDie(const std::vector<std::string> &Paths, in createOrDie()
99 bool SpecialCaseList::createInternal(const std::vector<std::string> &Paths, in createInternal()
[all …]
/external/llvm-project/llvm/include/llvm/Support/
DSpecialCaseList.h69 class SpecialCaseList {
73 static std::unique_ptr<SpecialCaseList>
78 static std::unique_ptr<SpecialCaseList> create(const MemoryBuffer *MB,
82 static std::unique_ptr<SpecialCaseList>
85 ~SpecialCaseList();
113 SpecialCaseList() = default;
114 SpecialCaseList(SpecialCaseList const &) = delete;
115 SpecialCaseList &operator=(SpecialCaseList const &) = delete;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSpecialCaseList.h67 class SpecialCaseList {
71 static std::unique_ptr<SpecialCaseList>
76 static std::unique_ptr<SpecialCaseList> create(const MemoryBuffer *MB,
80 static std::unique_ptr<SpecialCaseList>
83 ~SpecialCaseList();
111 SpecialCaseList() = default;
112 SpecialCaseList(SpecialCaseList const &) = delete;
113 SpecialCaseList &operator=(SpecialCaseList const &) = delete;
/external/llvm-project/llvm/unittests/Support/
DSpecialCaseListTest.cpp21 std::unique_ptr<SpecialCaseList> makeSpecialCaseList(StringRef List, in makeSpecialCaseList()
24 return SpecialCaseList::create(MB.get(), Error); in makeSpecialCaseList()
27 std::unique_ptr<SpecialCaseList> makeSpecialCaseList(StringRef List) { in makeSpecialCaseList()
47 std::unique_ptr<SpecialCaseList> SCL = in TEST_F()
100 std::unique_ptr<SpecialCaseList> SCL = makeSpecialCaseList("src:global\n" in TEST_F()
119 std::unique_ptr<SpecialCaseList> SCL = in TEST_F()
140 std::unique_ptr<SpecialCaseList> SCL = makeSpecialCaseList("src:hello\n" in TEST_F()
166 SpecialCaseList::create(Files, *vfs::getRealFileSystem(), Error)); in TEST_F()
171 std::unique_ptr<SpecialCaseList> SCL = makeSpecialCaseList(""); in TEST_F()
182 auto SCL = SpecialCaseList::createOrDie(Files, *vfs::getRealFileSystem()); in TEST_F()
[all …]
/external/llvm-project/llvm/tools/llvm-cfi-verify/
Dllvm-cfi-verify.cpp127 const SpecialCaseList *SpecialCaseList) { in printIndirectCFInstructions() argument
175 if (!SpecialCaseList) { in printIndirectCFInstructions()
192 SpecialCaseList->inSectionBlame(K, "src", LineInfo.FileName); in printIndirectCFInstructions()
195 SpecialCaseList->inSectionBlame(K, "fun", LineInfo.FunctionName); in printIndirectCFInstructions()
237 if (!SpecialCaseList) in printIndirectCFInstructions()
263 std::unique_ptr<SpecialCaseList> SpecialCaseList; in main() local
266 SpecialCaseList = SpecialCaseList::create({BlacklistFilename}, in main()
268 if (!SpecialCaseList) { in main()
275 printIndirectCFInstructions(Analysis, SpecialCaseList.get()); in main()
/external/llvm/unittests/Support/
DSpecialCaseListTest.cpp21 std::unique_ptr<SpecialCaseList> makeSpecialCaseList(StringRef List, in makeSpecialCaseList()
24 return SpecialCaseList::create(MB.get(), Error); in makeSpecialCaseList()
27 std::unique_ptr<SpecialCaseList> makeSpecialCaseList(StringRef List) { in makeSpecialCaseList()
47 std::unique_ptr<SpecialCaseList> SCL = in TEST_F()
64 std::unique_ptr<SpecialCaseList> SCL = in TEST_F()
85 std::unique_ptr<SpecialCaseList> SCL = makeSpecialCaseList("src:hello\n" in TEST_F()
110 EXPECT_EQ(nullptr, SpecialCaseList::create(Files, Error)); in TEST_F()
115 std::unique_ptr<SpecialCaseList> SCL = makeSpecialCaseList(""); in TEST_F()
126 auto SCL = SpecialCaseList::createOrDie(Files); in TEST_F()
/external/llvm-project/clang/include/clang/Basic/
DXRayLists.h22 class SpecialCaseList; variable
30 std::unique_ptr<llvm::SpecialCaseList> AlwaysInstrument;
31 std::unique_ptr<llvm::SpecialCaseList> NeverInstrument;
32 std::unique_ptr<llvm::SpecialCaseList> AttrList;
DSanitizerSpecialCaseList.h32 class SanitizerSpecialCaseList : public llvm::SpecialCaseList {
/external/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
DSanitizerCoverage.h42 Allowlist = SpecialCaseList::createOrDie(AllowlistFiles, in Options()
45 Blocklist = SpecialCaseList::createOrDie(BlocklistFiles, in Options()
54 std::unique_ptr<SpecialCaseList> Allowlist;
55 std::unique_ptr<SpecialCaseList> Blocklist;
/external/llvm-project/clang/lib/Basic/
DXRayLists.cpp24 : AlwaysInstrument(llvm::SpecialCaseList::createOrDie( in XRayFunctionFilter()
26 NeverInstrument(llvm::SpecialCaseList::createOrDie( in XRayFunctionFilter()
28 AttrList(llvm::SpecialCaseList::createOrDie( in XRayFunctionFilter()
DSanitizerSpecialCaseList.cpp61 SpecialCaseList::inSectionBlame(S.Entries, Prefix, Query, Category)) in inSection()
/external/llvm-project/llvm/tools/llvm-cov/
DCoverageFilters.h21 class SpecialCaseList; variable
72 const SpecialCaseList &Whitelist;
75 NameWhitelistCoverageFilter(const SpecialCaseList &Whitelist) in NameWhitelistCoverageFilter()
/external/llvm-project/llvm/tools/llvm-special-case-list-fuzzer/
Dspecial-case-list-fuzzer.cpp22 llvm::SpecialCaseList::create(Buf.get(), Error); in LLVMFuzzerTestOneInput()
/external/clang/include/clang/Basic/
DSanitizerBlacklist.h27 std::unique_ptr<llvm::SpecialCaseList> SCL;
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp193 const SpecialCaseList *Allowlist = nullptr, in ModuleSanitizerCoverage()
194 const SpecialCaseList *Blocklist = nullptr) in ModuleSanitizerCoverage()
260 const SpecialCaseList *Allowlist;
261 const SpecialCaseList *Blocklist;
274 Allowlist = SpecialCaseList::createOrDie(AllowlistFiles, in ModuleSanitizerCoverageLegacyPass()
277 Blocklist = SpecialCaseList::createOrDie(BlocklistFiles, in ModuleSanitizerCoverageLegacyPass()
306 std::unique_ptr<SpecialCaseList> Allowlist;
307 std::unique_ptr<SpecialCaseList> Blocklist;
/external/clang/lib/Basic/
DSanitizerBlacklist.cpp20 : SCL(llvm::SpecialCaseList::createOrDie(BlacklistPaths)), SM(SM) {} in SanitizerBlacklist()
/external/llvm-project/llvm/tools/sancov/
Dsancov.cpp497 static std::unique_ptr<SpecialCaseList> createDefaultBlacklist() { in createDefaultBlacklist()
499 return std::unique_ptr<SpecialCaseList>(); in createDefaultBlacklist()
503 auto Blacklist = SpecialCaseList::create(MB.get(), Error); in createDefaultBlacklist()
508 static std::unique_ptr<SpecialCaseList> createUserBlacklist() { in createUserBlacklist()
510 return std::unique_ptr<SpecialCaseList>(); in createUserBlacklist()
512 return SpecialCaseList::createOrDie({{ClBlacklist}}, in createUserBlacklist()
515 std::unique_ptr<SpecialCaseList> DefaultBlacklist;
516 std::unique_ptr<SpecialCaseList> UserBlacklist;
/external/llvm/tools/sancov/
Dsancov.cc270 static std::unique_ptr<SpecialCaseList> createDefaultBlacklist() { in createDefaultBlacklist()
272 return std::unique_ptr<SpecialCaseList>(); in createDefaultBlacklist()
276 auto Blacklist = SpecialCaseList::create(MB.get(), Error); in createDefaultBlacklist()
281 static std::unique_ptr<SpecialCaseList> createUserBlacklist() { in createUserBlacklist()
283 return std::unique_ptr<SpecialCaseList>(); in createUserBlacklist()
285 return SpecialCaseList::createOrDie({{ClBlacklist}}); in createUserBlacklist()
287 std::unique_ptr<SpecialCaseList> DefaultBlacklist;
288 std::unique_ptr<SpecialCaseList> UserBlacklist;
/external/llvm-project/llvm/utils/gn/secondary/llvm/lib/Support/
DBUILD.gn118 "SpecialCaseList.cpp",
/external/clang/lib/Driver/
DSanitizerArgs.cpp406 std::unique_ptr<llvm::SpecialCaseList> SCL( in SanitizerArgs()
407 llvm::SpecialCaseList::create(BlacklistFiles, BLError)); in SanitizerArgs()

12