Home
last modified time | relevance | path

Searched refs:Checks (Results 1 – 25 of 538) sorted by relevance

12345678910>>...22

/external/llvm-project/clang-tools-extra/clangd/
DTidyProvider.cpp124 static void mergeCheckList(llvm::Optional<std::string> &Checks, in mergeCheckList() argument
128 if (!Checks || Checks->empty()) { in mergeCheckList()
129 Checks.emplace(List); in mergeCheckList()
132 *Checks = llvm::join_items(",", *Checks, List); in mergeCheckList()
165 if (!Opts.Checks || Opts.Checks->empty()) in provideDefaultChecks()
166 Opts.Checks = DefaultChecks; in provideDefaultChecks()
170 TidyProvider addTidyChecks(llvm::StringRef Checks, in addTidyChecks() argument
172 return [Checks = std::string(Checks), in addTidyChecks()
175 mergeCheckList(Opts.Checks, Checks); in addTidyChecks()
224 if (Opts.Checks && !Opts.Checks->empty()) in disableUnusableChecks()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DPoisonChecking.cpp107 SmallVector<Value*, 2> &Checks) { in generatePoisonChecksForBinOp() argument
120 Checks.push_back(B.CreateExtractValue(OverflowOp, 1)); in generatePoisonChecksForBinOp()
125 Checks.push_back(B.CreateExtractValue(OverflowOp, 1)); in generatePoisonChecksForBinOp()
133 Checks.push_back(B.CreateExtractValue(OverflowOp, 1)); in generatePoisonChecksForBinOp()
138 Checks.push_back(B.CreateExtractValue(OverflowOp, 1)); in generatePoisonChecksForBinOp()
146 Checks.push_back(B.CreateExtractValue(OverflowOp, 1)); in generatePoisonChecksForBinOp()
151 Checks.push_back(B.CreateExtractValue(OverflowOp, 1)); in generatePoisonChecksForBinOp()
160 Checks.push_back(Check); in generatePoisonChecksForBinOp()
169 Checks.push_back(Check); in generatePoisonChecksForBinOp()
180 Checks.push_back(ShiftCheck); in generatePoisonChecksForBinOp()
[all …]
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DPoisonChecking.cpp105 SmallVectorImpl<Value*> &Checks) { in generateCreationChecksForBinOp() argument
118 Checks.push_back(B.CreateExtractValue(OverflowOp, 1)); in generateCreationChecksForBinOp()
123 Checks.push_back(B.CreateExtractValue(OverflowOp, 1)); in generateCreationChecksForBinOp()
131 Checks.push_back(B.CreateExtractValue(OverflowOp, 1)); in generateCreationChecksForBinOp()
136 Checks.push_back(B.CreateExtractValue(OverflowOp, 1)); in generateCreationChecksForBinOp()
144 Checks.push_back(B.CreateExtractValue(OverflowOp, 1)); in generateCreationChecksForBinOp()
149 Checks.push_back(B.CreateExtractValue(OverflowOp, 1)); in generateCreationChecksForBinOp()
158 Checks.push_back(Check); in generateCreationChecksForBinOp()
167 Checks.push_back(Check); in generateCreationChecksForBinOp()
178 Checks.push_back(ShiftCheck); in generateCreationChecksForBinOp()
[all …]
/external/llvm-project/clang-tools-extra/unittests/clang-tidy/
DClangTidyTest.h30 template <typename Check, typename... Checks> struct CheckFactory {
35 CheckFactory<Checks...>::createChecks(Context, Result); in createChecks()
51 TestClangTidyAction(SmallVectorImpl<std::unique_ptr<ClangTidyCheck>> &Checks,
54 : Checks(Checks), Finder(Finder), Context(Context) {}
68 CheckFactory<CheckTypes...>::createChecks(&Context, Checks);
69 assert(!Checks.empty() && "No checks created");
70 for (auto &Check : Checks) {
80 SmallVectorImpl<std::unique_ptr<ClangTidyCheck>> &Checks;
95 Options.Checks = "*";
125 SmallVector<std::unique_ptr<ClangTidyCheck>, sizeof...(CheckTypes)> Checks;
[all …]
DOptionsProviderTest.cpp56 ASSERT_TRUE(File1Options.Checks.hasValue()); in TEST()
57 EXPECT_EQ(*File1Options.Checks, "-*,clang-diagnostic-*,readability-*"); in TEST()
58 ASSERT_TRUE(File2Options.Checks.hasValue()); in TEST()
59 EXPECT_EQ(*File2Options.Checks, "bugprone-*,misc-*,clang-diagnostic-*"); in TEST()
62 EXPECT_EQ(File2Options.Checks, File3Options.Checks); in TEST()
/external/llvm/lib/Transforms/Scalar/
DGuardWidening.cpp175 bool parseRangeChecks(Value *CheckCond, SmallVectorImpl<RangeCheck> &Checks) { in parseRangeChecks() argument
177 return parseRangeChecks(CheckCond, Checks, Visited); in parseRangeChecks()
180 bool parseRangeChecks(Value *CheckCond, SmallVectorImpl<RangeCheck> &Checks,
187 bool combineRangeChecks(SmallVectorImpl<RangeCheck> &Checks,
447 SmallVector<GuardWideningImpl::RangeCheck, 4> Checks, CombinedChecks; in widenCondCommon() local
448 if (parseRangeChecks(Cond0, Checks) && parseRangeChecks(Cond1, Checks) && in widenCondCommon()
449 combineRangeChecks(Checks, CombinedChecks)) { in widenCondCommon()
481 Value *CheckCond, SmallVectorImpl<GuardWideningImpl::RangeCheck> &Checks, in parseRangeChecks() argument
491 return parseRangeChecks(AndLHS, Checks) && in parseRangeChecks()
492 parseRangeChecks(AndRHS, Checks); in parseRangeChecks()
[all …]
DLoopLoadElimination.cpp356 SmallVector<RuntimePointerChecking::PointerCheck, 4> Checks; in collectMemchecks() local
358 std::copy_if(AllChecks.begin(), AllChecks.end(), std::back_inserter(Checks), in collectMemchecks()
368 DEBUG(dbgs() << "\nPointer Checks (count: " << Checks.size() << "):\n"); in collectMemchecks()
369 DEBUG(LAI.getRuntimePointerChecking()->printChecks(dbgs(), Checks)); in collectMemchecks()
371 return Checks; in collectMemchecks()
480 SmallVector<RuntimePointerChecking::PointerCheck, 4> Checks = in processLoop() local
484 if (Checks.size() > Candidates.size() * CheckPerElim) { in processLoop()
495 if (!Checks.empty() || !LAI.getPSE().getUnionPredicate().isAlwaysTrue()) { in processLoop()
506 LV.setAliasChecks(std::move(Checks)); in processLoop()
/external/python/cpython3/Doc/library/
Dcurses.ascii.rst101 Checks for an ASCII alphanumeric character; it is equivalent to ``isalpha(c) or
107 Checks for an ASCII alphabetic character; it is equivalent to ``isupper(c) or
113 Checks for a character value that fits in the 7-bit ASCII set.
118 Checks for an ASCII whitespace character; space or horizontal tab.
123 Checks for an ASCII control character (in the range 0x00 to 0x1f or 0x7f).
128 Checks for an ASCII decimal digit, ``'0'`` through ``'9'``. This is equivalent
134 Checks for ASCII any printable character except space.
139 Checks for an ASCII lower-case character.
144 Checks for any ASCII printable character including space.
149 Checks for any printable ASCII character which is not a space or an alphanumeric
[all …]
/external/python/cpython2/Doc/library/
Dcurses.ascii.rst102 Checks for an ASCII alphanumeric character; it is equivalent to ``isalpha(c) or
108 Checks for an ASCII alphabetic character; it is equivalent to ``isupper(c) or
114 Checks for a character value that fits in the 7-bit ASCII set.
119 Checks for an ASCII whitespace character; space or horizontal tab.
124 Checks for an ASCII control character (in the range 0x00 to 0x1f or 0x7f).
129 Checks for an ASCII decimal digit, ``'0'`` through ``'9'``. This is equivalent
135 Checks for ASCII any printable character except space.
140 Checks for an ASCII lower-case character.
145 Checks for any ASCII printable character including space.
150 Checks for any printable ASCII character which is not a space or an alphanumeric
[all …]
/external/mockito/src/test/java/org/mockito/internal/util/
DChecksTest.java20 assertEquals("abc", Checks.checkNotNull("abc", "someValue")); in checkNotNull_not_null()
25 assertEquals("abc", Checks.checkNotNull("abc", "someValue", "Oh no!")); in checkNotNull_not_null_additional_message()
32 Checks.checkNotNull(null, "someValue"); in checkNotNull_null()
39 Checks.checkNotNull(null, "someValue", "Oh no!"); in checkNotNull_null_additonal_message()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DGuardWidening.cpp232 bool parseRangeChecks(Value *CheckCond, SmallVectorImpl<RangeCheck> &Checks) { in parseRangeChecks() argument
234 return parseRangeChecks(CheckCond, Checks, Visited); in parseRangeChecks()
237 bool parseRangeChecks(Value *CheckCond, SmallVectorImpl<RangeCheck> &Checks,
244 bool combineRangeChecks(SmallVectorImpl<RangeCheck> &Checks,
544 SmallVector<GuardWideningImpl::RangeCheck, 4> Checks, CombinedChecks; in widenCondCommon() local
547 parseRangeChecks(Cond0, Checks) && parseRangeChecks(Cond1, Checks) && in widenCondCommon()
548 combineRangeChecks(Checks, CombinedChecks)) { in widenCondCommon()
581 Value *CheckCond, SmallVectorImpl<GuardWideningImpl::RangeCheck> &Checks, in parseRangeChecks() argument
591 return parseRangeChecks(AndLHS, Checks) && in parseRangeChecks()
592 parseRangeChecks(AndRHS, Checks); in parseRangeChecks()
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DGuardWidening.cpp232 bool parseRangeChecks(Value *CheckCond, SmallVectorImpl<RangeCheck> &Checks) { in parseRangeChecks() argument
234 return parseRangeChecks(CheckCond, Checks, Visited); in parseRangeChecks()
237 bool parseRangeChecks(Value *CheckCond, SmallVectorImpl<RangeCheck> &Checks,
244 bool combineRangeChecks(SmallVectorImpl<RangeCheck> &Checks,
544 SmallVector<GuardWideningImpl::RangeCheck, 4> Checks, CombinedChecks; in widenCondCommon() local
547 parseRangeChecks(Cond0, Checks) && parseRangeChecks(Cond1, Checks) && in widenCondCommon()
548 combineRangeChecks(Checks, CombinedChecks)) { in widenCondCommon()
581 Value *CheckCond, SmallVectorImpl<GuardWideningImpl::RangeCheck> &Checks, in parseRangeChecks() argument
591 return parseRangeChecks(AndLHS, Checks) && in parseRangeChecks()
592 parseRangeChecks(AndRHS, Checks); in parseRangeChecks()
[all …]
/external/llvm-project/openmp/runtime/test/affinity/format/
Dcheck.py6 class Checks(object): class
41 … raise Checks.CheckError('{}: Output was found when expecting none.'.format(self.prefix))
56 raise Checks.CheckError('{}: Did not find: {}'.format(self.prefix, c))
60 raise Checks.CheckError('{}: Extra output: {}'.format(self.prefix, self.lines))
70 checks = Checks(command_args.filename, command_args.prefix)
/external/llvm-project/clang-tools-extra/docs/clang-tidy/
Dindex.rst60 ``abseil-`` Checks related to Abseil library.
61 ``altera-`` Checks related to OpenCL programming for FPGAs.
62 ``android-`` Checks related to Android.
63 ``boost-`` Checks related to Boost library.
64 ``bugprone-`` Checks that target bugprone code constructs.
65 ``cert-`` Checks related to CERT Secure Coding Guidelines.
67 ``concurrency-`` Checks related to concurrent programming (including
69 ``cppcoreguidelines-`` Checks related to C++ Core Guidelines.
70 ``darwin-`` Checks related to Darwin coding conventions.
71 ``fuchsia-`` Checks related to Fuchsia coding conventions.
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/
DClangTidyModule.cpp26 std::vector<std::unique_ptr<ClangTidyCheck>> Checks; in createChecks() local
29 Checks.emplace_back(Factory.getValue()(Factory.getKey(), Context)); in createChecks()
31 return Checks; in createChecks()
/external/tensorflow/tensorflow/core/profiler/g3doc/
Dadvise.md86 * Checks RecvTensor RPC latency and bandwidth.
87 * Checks CPU/Memory utilization of the job.
90 * Checks what percentage of time the accelerator spends on computation.
94 * Checks whether the operation runs with optimal options.
95 * Checks if there is a better implementation to replace the current operation.
99 * Checks the most expensive operation type.
100 * Checks the most expensive graph nodes.
101 * Checks the most expensive graph-building Python codes.
/external/ethtool/
Dconfigure.ac10 dnl Checks for programs.
16 dnl Checks for libraries.
18 dnl Checks for header files.
20 dnl Checks for typedefs, structures, and compiler characteristics.
29 dnl Checks for library functions.
/external/mockito/src/main/java/org/mockito/internal/framework/
DDefaultMockitoFramework.java10 import org.mockito.internal.util.Checks;
22 Checks.checkNotNull(listener, "listener"); in addListener()
28 Checks.checkNotNull(listener, "listener"); in removeListener()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/m4/
Dcares-reentrant.m430 dnl Checks if the preprocessor _REENTRANT definition
82 dnl Checks if the preprocessor _REENTRANT definition
115 dnl Checks if the preprocessor _REENTRANT definition
148 dnl Checks if the preprocessor _REENTRANT definition
181 dnl Checks if the preprocessor _REENTRANT definition
214 dnl Checks if the preprocessor _REENTRANT definition
251 dnl Checks if the preprocessor _REENTRANT definition
284 dnl Checks if the preprocessor _REENTRANT definition
317 dnl Checks if the preprocessor _REENTRANT definition
350 dnl Checks if the preprocessor _REENTRANT definition
[all …]
/external/curl/m4/
Dcurl-reentrant.m435 dnl Checks if the preprocessor _REENTRANT definition
87 dnl Checks if the preprocessor _REENTRANT definition
120 dnl Checks if the preprocessor _REENTRANT definition
153 dnl Checks if the preprocessor _REENTRANT definition
186 dnl Checks if the preprocessor _REENTRANT definition
219 dnl Checks if the preprocessor _REENTRANT definition
256 dnl Checks if the preprocessor _REENTRANT definition
289 dnl Checks if the preprocessor _REENTRANT definition
322 dnl Checks if the preprocessor _REENTRANT definition
355 dnl Checks if the preprocessor _REENTRANT definition
[all …]
/external/mockito/src/main/java/org/mockito/internal/util/reflection/
DInstanceField.java7 import org.mockito.internal.util.Checks;
32 this.field = Checks.checkNotNull(field, "field"); in InstanceField()
33 this.instance = Checks.checkNotNull(instance, "instance"); in InstanceField()
/external/fec/
Dconfigure.in9 dnl Checks for programs.
15 dnl Checks for libraries.
18 dnl Checks for header files.
80 dnl Checks for library functions.
/external/llvm-project/llvm/test/CodeGen/X86/
Dindirect-branch-tracking.ll9 ;; Checks ENDBR insertion in case of switch case statement.
39 ;; Checks NOTRACK insertion in case of switch case statement.
97 ;; Checks ENDBR insertion in case of indirect call instruction.
120 ;; Checks ENDBR insertion in case of setjmp-like function calls.
148 ;; Checks ENDBR insertion in case of internal function.
164 ;; Checks ENDBR insertion in case of function that its was address taken.
179 ;; Checks ENDBR insertion in case of non-intrenal function.
192 ;; Checks that NO TRACK prefix is not added for indirect jumps to a jump-
/external/tensorflow/tensorflow/compiler/aot/tests/
Dtest_error_message.lit.pbtxt4 # Checks the error message produced by tfcompile with mlir_component
5 # Checks that source debug information is used in the output error message and
11 # Checks the error message produced by tfcompile without mlir_component
/external/iputils/ninfod/
Dconfigure.in37 dnl Checks for programs.
45 dnl Checks for Enable/With
74 dnl Checks for libraries.
76 dnl Checks for header files.
101 dnl Checks for typedefs, structures, and compiler characteristics.
121 dnl Checks for library functions.

12345678910>>...22