Home
last modified time | relevance | path

Searched refs:Warn (Results 1 – 25 of 63) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfWriter.h95 function_ref<void(Error)> Warn);
96 void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> Warn) { in addRecord() argument
97 addRecord(std::move(I), 1, Warn); in addRecord()
113 function_ref<void(Error)> Warn);
119 function_ref<void(Error)> Warn);
126 function_ref<void(Error)> Warn);
209 uint64_t Weight, function_ref<void(Error)> Warn);
H A DInstrProfReader.h203 std::function<void(Error)> Warn = nullptr);
208 std::function<void(Error)> Warn = nullptr);
346 std::function<void(Error)> Warn; variable
354 std::function<void(Error)> Warn) in RawInstrProfReader() argument
358 Warn(Warn) {} in RawInstrProfReader()
H A DInstrProf.h813 function_ref<void(instrprof_error)> Warn);
815 void scale(uint64_t N, uint64_t D, function_ref<void(instrprof_error)> Warn);
878 function_ref<void(instrprof_error)> Warn);
882 void scale(uint64_t N, uint64_t D, function_ref<void(instrprof_error)> Warn);
977 function_ref<void(instrprof_error)> Warn);
981 function_ref<void(instrprof_error)> Warn);
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DArchiveWriter.h59 function_ref<void(Error)> Warn = warnToStderr);
66 function_ref<void(Error)> Warn = warnToStderr);
74 function_ref<void(Error)> Warn = warnToStderr);
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DPrintfFormatString.cpp54 const char *FlagBeg, const char *E, bool Warn) { in ParseObjCFlags() argument
62 if (Warn) { in ParseObjCFlags()
77 bool Warn, in ParsePrintfSpecifier() argument
107 if (Warn) in ParsePrintfSpecifier()
118 if (Warn) in ParsePrintfSpecifier()
146 if (Warn && (Size == 0 || Size > 8)) in ParsePrintfSpecifier()
163 if (Warn) in ParsePrintfSpecifier()
212 if (Warn) in ParsePrintfSpecifier()
224 if (Warn) in ParsePrintfSpecifier()
233 if (Warn) in ParsePrintfSpecifier()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp847 function_ref<void(instrprof_error)> Warn) { in merge() argument
863 Warn(instrprof_error::counter_overflow); in merge()
875 function_ref<void(instrprof_error)> Warn) { in scale() argument
880 Warn(instrprof_error::counter_overflow); in scale()
888 function_ref<void(instrprof_error)> Warn) { in mergeValueProfData() argument
892 Warn(instrprof_error::value_site_count_mismatch); in mergeValueProfData()
902 ThisSiteRecords[I].merge(OtherSiteRecords[I], Weight, Warn); in mergeValueProfData()
906 function_ref<void(instrprof_error)> Warn) { in merge() argument
910 Warn(instrprof_error::count_mismatch); in merge()
922 Warn(instrprof_error::count_mismatch); in merge()
[all …]
H A DInstrProfWriter.cpp207 function_ref<void(Error)> Warn) { in addRecord() argument
210 addRecord(Name, Hash, std::move(I), Weight, Warn); in addRecord()
248 function_ref<void(Error)> Warn) { in addRecord() argument
258 Warn(make_error<InstrProfError>(E)); in addRecord()
287 function_ref<void(Error)> Warn) { in addMemProfFrame() argument
294 Warn(make_error<InstrProfError>(instrprof_error::malformed, in addMemProfFrame()
304 function_ref<void(Error)> Warn) { in addMemProfCallStack() argument
311 Warn(make_error<InstrProfError>(instrprof_error::malformed, in addMemProfCallStack()
380 function_ref<void(Error)> Warn) { in mergeRecordsFromWriter() argument
383 addRecord(I.getKey(), Func.first, std::move(Func.second), 1, Warn); in mergeRecordsFromWriter()
[all …]
H A DInstrProfReader.cpp156 std::function<void(Error)> Warn) { in create() argument
162 Warn); in create()
168 std::function<void(Error)> Warn) { in create() argument
177 Result.reset(new RawInstrProfReader64(std::move(Buffer), Correlator, Warn)); in create()
179 Result.reset(new RawInstrProfReader32(std::move(Buffer), Correlator, Warn)); in create()
743 if (CounterValue > MaxCounterValue && Warn) in readRawCounts()
744 Warn(make_error<InstrProfError>( in readRawCounts()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
H A DCheckers.td265 HelpText<"Warn about assigning non-{0,1} values to Boolean variables">,
282 HelpText<"Warn about unintended use of identical expressions in operators">,
925 HelpText<"Warn on uses of the 'bcmp' function">,
930 HelpText<"Warn on uses of the 'bcopy' function">,
935 HelpText<"Warn on uses of the 'bzero' function">,
940 HelpText<"Warn on uses of the 'gets' function">,
945 HelpText<"Warn on uses of the 'getpw' function">,
950 HelpText<"Warn on uses of the 'mktemp' function">,
955 HelpText<"Warn when 'mkstemp' is passed fewer than 6 X's in the format "
961 HelpText<"Warn on uses of the 'rand', 'random', and related functions">,
[all …]
/freebsd/usr.sbin/btxld/
H A Dbtxld.c124 static void Warn(const char *, const char *, ...);
212 Warn(fname, "Loader format is %s; processing as %s", in btxld()
222 Warn(fname, in btxld()
349 Warn(fname, "Treating %s NMAGIC as OMAGIC", in gethdr()
382 Warn(fname, in gethdr()
547 Warn(const char *locus, const char *fmt, ...) in Warn() function
/freebsd/sys/contrib/dev/acpica/components/utilities/
H A Dutaddress.c323 BOOLEAN Warn) in AcpiUtCheckAddressRange() argument
363 if (Warn) /* Optional warning message */ in AcpiUtCheckAddressRange()
H A Dutxface.c633 BOOLEAN Warn) in AcpiCheckAddressRange() argument
646 (UINT32) Length, Warn); in AcpiCheckAddressRange()
/freebsd/sbin/natd/
H A Dnatd.h22 extern void Warn (const char* msg);
H A Dnatd.c534 Warn ("read from divert socket failed"); in DoGlobal()
628 Warn (msgBuf); in DoGlobal()
673 Warn ("read from divert socket failed"); in DoAliasing()
788 Warn (msgBuf); in DoAliasing()
803 Warn ("read from routing socket failed"); in HandleRoutingInfo()
809 Warn ("unexpected packet read from routing socket"); in HandleRoutingInfo()
987 Warn (msg); in Quit()
991 void Warn (const char* msg) in Warn() function
H A Dicmp.c119 Warn ("Cannot send ICMP message."); in SendNeedFragIcmp()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DArchiveWriter.cpp486 object::Archive::Kind Kind, function_ref<void(Error)> Warn) { in getSymbolicFile() argument
515 Warn(ObjOrErr.takeError()); in getSymbolicFile()
783 std::optional<bool> IsEC, function_ref<void(Error)> Warn) { in computeMemberData() argument
853 Warn(createFileError(M.MemberName, std::move(Err))); in computeMemberData()
1036 function_ref<void(Error)> Warn) { in writeArchiveToStream() argument
1058 isCOFFArchive(Kind) ? &SymMap : nullptr, Context, NewMembers, IsEC, Warn); in writeArchiveToStream()
1309 std::optional<bool> IsEC, function_ref<void(Error)> Warn) { in writeArchive() argument
1317 Deterministic, Thin, IsEC, Warn)) { in writeArchive()
1342 function_ref<void(Error)> Warn) { in writeArchiveToBuffer() argument
1348 Deterministic, Thin, std::nullopt, Warn)) in writeArchiveToBuffer()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DMarkupFilter.cpp652 bool Warn = Element.Fields.size() > Size; in checkNumFields()
653 WithColor(errs(), Warn ? HighlightColor::Warning : HighlightColor::Error) in checkNumFields()
654 << (Warn ? "warning: " : "error: ") << "expected " << Size in checkNumFields()
657 return Warn; in checkNumFields()
655 bool Warn = Element.Fields.size() > Size; checkNumFields() local
/freebsd/tools/test/stress2/misc/
H A Dfts.sh112 case FTS_DNR: /* Warn, continue. */
H A Dsigxcpu.sh122 case FTS_DNR: /* Warn, continue. */
/freebsd/contrib/llvm-project/lld/ELF/
H A DConfig.h75 enum class UnresolvedPolicy { ReportError, Warn, Ignore }; enumerator
78 enum class OrphanHandlingPolicy { Place, Warn, Error }; enumerator
H A DOptions.td525 "Warn about backward symbol references to extract archive members",
535 "Warn about duplicate common symbols",
539 "Warn about using ifunc symbols with text relocations",
543 "Warn about problems with the symbol ordering file (default)",
/freebsd/contrib/blocklist/diff/
H A Dnamed.diff117 * Warn about common configuration error.
/freebsd/contrib/llvm-project/lld/MachO/
H A DOptions.td112 HelpText<"Warn on -install_name if -dylib is not passed">,
115 HelpText<"Warn if the same -rpath is specified multiple times (default)">,
157 "Warn on missing object files referenced by thin archives (default)",
788 …HelpText<"Warn for each FDE that cannot compact into the __unwind_info section and must remain in …
792 HelpText<"Warn if the linked image contains weak external symbols">,
968 HelpText<"Warn when bad stab symbols inside a BINCL/EINCL prevent optimization">,
972 …HelpText<"Warn when a tentative definition in an object file matches an external symbol in a dylib…
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp940 auto Warn = [&](Error E) -> std::string { in getStaticSymbolName() local
949 return Warn(SymOrErr.takeError()); in getStaticSymbolName()
953 return Warn(StrTabOrErr.takeError()); in getStaticSymbolName()
957 return Warn(NameOrErr.takeError()); in getStaticSymbolName()
3429 auto Warn = [&](Error &&E) { in printStackMap() local
3438 Warn(ContentOrErr.takeError()); in printStackMap()
3444 Warn(std::move(E)); in printStackMap()
6387 auto Warn = [this](unsigned SecNdx, StringRef Msg) { in printDependentLibsHelper() local
6402 Warn(I, toString(ContentsOrErr.takeError())); in printDependentLibsHelper()
6408 Warn(I, "the content is not null-terminated"); in printDependentLibsHelper()
[all …]
/freebsd/sys/contrib/dev/acpica/include/
H A Dacutils.h1216 BOOLEAN Warn);

123