/external/llvm/lib/Support/ |
D | SpecialCaseList.cpp | 34 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 …]
|
D | CMakeLists.txt | 84 SpecialCaseList.cpp
|
/external/llvm/include/llvm/Support/ |
D | SpecialCaseList.h | 60 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/ |
D | SpecialCaseList.cpp | 29 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 …]
|
D | CMakeLists.txt | 131 SpecialCaseList.cpp
|
/external/llvm-project/llvm/lib/Support/ |
D | SpecialCaseList.cpp | 29 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/ |
D | SpecialCaseList.h | 69 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/ |
D | SpecialCaseList.h | 67 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/ |
D | SpecialCaseListTest.cpp | 21 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/ |
D | llvm-cfi-verify.cpp | 127 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/ |
D | SpecialCaseListTest.cpp | 21 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/ |
D | XRayLists.h | 22 class SpecialCaseList; variable 30 std::unique_ptr<llvm::SpecialCaseList> AlwaysInstrument; 31 std::unique_ptr<llvm::SpecialCaseList> NeverInstrument; 32 std::unique_ptr<llvm::SpecialCaseList> AttrList;
|
D | SanitizerSpecialCaseList.h | 32 class SanitizerSpecialCaseList : public llvm::SpecialCaseList {
|
/external/llvm-project/llvm/include/llvm/Transforms/Instrumentation/ |
D | SanitizerCoverage.h | 42 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/ |
D | XRayLists.cpp | 24 : AlwaysInstrument(llvm::SpecialCaseList::createOrDie( in XRayFunctionFilter() 26 NeverInstrument(llvm::SpecialCaseList::createOrDie( in XRayFunctionFilter() 28 AttrList(llvm::SpecialCaseList::createOrDie( in XRayFunctionFilter()
|
D | SanitizerSpecialCaseList.cpp | 61 SpecialCaseList::inSectionBlame(S.Entries, Prefix, Query, Category)) in inSection()
|
/external/llvm-project/llvm/tools/llvm-cov/ |
D | CoverageFilters.h | 21 class SpecialCaseList; variable 72 const SpecialCaseList &Whitelist; 75 NameWhitelistCoverageFilter(const SpecialCaseList &Whitelist) in NameWhitelistCoverageFilter()
|
/external/llvm-project/llvm/tools/llvm-special-case-list-fuzzer/ |
D | special-case-list-fuzzer.cpp | 22 llvm::SpecialCaseList::create(Buf.get(), Error); in LLVMFuzzerTestOneInput()
|
/external/clang/include/clang/Basic/ |
D | SanitizerBlacklist.h | 27 std::unique_ptr<llvm::SpecialCaseList> SCL;
|
/external/llvm-project/llvm/lib/Transforms/Instrumentation/ |
D | SanitizerCoverage.cpp | 193 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/ |
D | SanitizerBlacklist.cpp | 20 : SCL(llvm::SpecialCaseList::createOrDie(BlacklistPaths)), SM(SM) {} in SanitizerBlacklist()
|
/external/llvm-project/llvm/tools/sancov/ |
D | sancov.cpp | 497 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/ |
D | sancov.cc | 270 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/ |
D | BUILD.gn | 118 "SpecialCaseList.cpp",
|
/external/clang/lib/Driver/ |
D | SanitizerArgs.cpp | 406 std::unique_ptr<llvm::SpecialCaseList> SCL( in SanitizerArgs() 407 llvm::SpecialCaseList::create(BlacklistFiles, BLError)); in SanitizerArgs()
|