Home
last modified time | relevance | path

Searched refs:Reason (Results 1 – 25 of 53) sorted by relevance

123

/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DInlineCost.h77 const char *Reason = nullptr; variable
80 InlineCost(int Cost, int Threshold, const char *Reason = nullptr)
81 : Cost(Cost), Threshold(Threshold), Reason(Reason) { in Cost()
82 assert((isVariable() || Reason) && in Cost()
92 static InlineCost getAlways(const char *Reason) { in getAlways() argument
93 return InlineCost(AlwaysInlineCost, 0, Reason); in getAlways()
95 static InlineCost getNever(const char *Reason) { in getNever() argument
96 return InlineCost(NeverInlineCost, 0, Reason); in getNever()
123 assert((Reason || isVariable()) && in getReason()
125 return Reason; in getReason()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DErrorHandling.cpp82 void llvm::report_fatal_error(const char *Reason, bool GenCrashDiag) { in report_fatal_error() argument
83 report_fatal_error(Twine(Reason), GenCrashDiag); in report_fatal_error()
86 void llvm::report_fatal_error(const std::string &Reason, bool GenCrashDiag) { in report_fatal_error() argument
87 report_fatal_error(Twine(Reason), GenCrashDiag); in report_fatal_error()
90 void llvm::report_fatal_error(StringRef Reason, bool GenCrashDiag) { in report_fatal_error() argument
91 report_fatal_error(Twine(Reason), GenCrashDiag); in report_fatal_error()
94 void llvm::report_fatal_error(const Twine &Reason, bool GenCrashDiag) { in report_fatal_error() argument
108 handler(handlerData, Reason.str(), GenCrashDiag); in report_fatal_error()
115 OS << "LLVM ERROR: " << Reason << "\n"; in report_fatal_error()
147 void llvm::report_bad_alloc_error(const char *Reason, bool GenCrashDiag) { in report_bad_alloc_error() argument
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DGCNSchedStrategy.cpp159 if (TryCand.Reason != NoCand) { in pickNodeFromQueue()
196 assert(BotCand.Reason != NoCand && "failed to find the first candidate"); in pickNodeBidirectional()
207 assert(TopCand.Reason != NoCand && "failed to find the first candidate"); in pickNodeBidirectional()
216 if (TopCand.Reason == BotCand.Reason) { in pickNodeBidirectional()
218 GenericSchedulerBase::CandReason TopReason = TopCand.Reason; in pickNodeBidirectional()
219 TopCand.Reason = NoCand; in pickNodeBidirectional()
221 if (TopCand.Reason != NoCand) { in pickNodeBidirectional()
224 TopCand.Reason = TopReason; in pickNodeBidirectional()
236 if (BotCand.Reason > TopCand.Reason) { in pickNodeBidirectional()
265 assert(TopCand.Reason != NoCand && "failed to find a candidate"); in pickNode()
[all …]
H A DSIMachineScheduler.h43 SIScheduleCandReason Reason = NoCand; member
186 assert(Best.Reason != NoCand && "uninitialized Sched candidate"); in setBest()
188 Reason = Best.Reason; in setBest()
379 assert(Best.Reason != NoCand && "uninitialized Sched candidate"); in setBest()
381 Reason = Best.Reason; in setBest()
H A DSIMachineScheduler.cpp145 switch (Reason) { in getReasonStr()
165 TryCand.Reason = Reason; in tryLess()
169 if (Cand.Reason > Reason) in tryLess()
170 Cand.Reason = Reason; in tryLess()
173 Cand.setRepeat(Reason); in tryLess()
182 TryCand.Reason = Reason; in tryGreater()
186 if (Cand.Reason > Reason) in tryGreater()
187 Cand.Reason = Reason; in tryGreater()
190 Cand.setRepeat(Reason); in tryGreater()
215 TryCand.Reason = NodeOrder; in tryCandidateTopDown()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DHeaderIncludeGen.cpp46 void FileChanged(SourceLocation Loc, FileChangeReason Reason,
129 FileChangeReason Reason, in FileChanged() argument
139 if (Reason == PPCallbacks::EnterFile) { in FileChanged()
141 } else if (Reason == PPCallbacks::ExitFile) { in FileChanged()
175 if (ShowHeader && Reason == PPCallbacks::EnterFile && in FileChanged()
H A DDependencyFile.cpp39 void FileChanged(SourceLocation Loc, FileChangeReason Reason, in FileChanged()
42 if (Reason != PPCallbacks::EnterFile) in FileChanged()
188 void FileChanged(SourceLocation Loc, FileChangeReason Reason,
284 FileChangeReason Reason, in FileChanged() argument
287 if (Reason != PPCallbacks::EnterFile) in FileChanged()
H A DPrintPreprocessedOutput.cpp126 void FileChanged(SourceLocation Loc, FileChangeReason Reason,
259 FileChangeReason Reason, in FileChanged() argument
272 if (Reason == PPCallbacks::EnterFile) { in FileChanged()
276 } else if (Reason == PPCallbacks::SystemHeaderPragma) { in FileChanged()
305 if (Reason == PPCallbacks::EnterFile && !IsFirstFileEntered) { in FileChanged()
310 switch (Reason) { in FileChanged()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Target/
H A DRegisterCheckpoint.h24 enum class Reason { enum
35 RegisterCheckpoint(Reason reason) in RegisterCheckpoint()
46 Reason m_reason;
/freebsd-12.1/contrib/llvm/include/llvm/Transforms/IPO/
H A DFunctionImport.h79 ImportFailureReason Reason; member
83 ImportFailureReason Reason, unsigned Attempts) in ImportFailureInfo()
84 : VI(VI), MaxHotness(MaxHotness), Reason(Reason), Attempts(Attempts) {} in ImportFailureInfo()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp180 FunctionImporter::ImportFailureReason &Reason, in selectCallee() argument
182 Reason = FunctionImporter::ImportFailureReason::None; in selectCallee()
188 Reason = FunctionImporter::ImportFailureReason::NotLive; in selectCallee()
230 Reason = in selectCallee()
236 Reason = FunctionImporter::ImportFailureReason::TooLarge; in selectCallee()
249 Reason = FunctionImporter::ImportFailureReason::NoInline; in selectCallee()
323 getFailureName(FunctionImporter::ImportFailureReason Reason) { in getFailureName() argument
324 switch (Reason) { in getFailureName()
434 FunctionImporter::ImportFailureReason Reason; in computeImportForFunction() local
446 FailureInfo->Reason = Reason; in computeImportForFunction()
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DMachineScheduler.cpp2542 switch (Reason) { in getReasonStr()
2568 switch (Cand.Reason) { in traceCandidate()
2624 TryCand.Reason = Reason; in tryLess()
2628 if (Cand.Reason > Reason) in tryLess()
2629 Cand.Reason = Reason; in tryLess()
2640 TryCand.Reason = Reason; in tryGreater()
2644 if (Cand.Reason > Reason) in tryGreater()
2645 Cand.Reason = Reason; in tryGreater()
2841 Reason)) { in tryPressure()
2855 Reason); in tryPressure()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DMachineScheduler.h802 static const char *getReasonStr(GenericSchedulerBase::CandReason Reason);
851 CandReason Reason; member
868 Reason = NoCand; in reset()
878 assert(Best.Reason != NoCand && "uninitialized Sched candidate"); in setBest()
880 Reason = Best.Reason; in setBest()
915 GenericSchedulerBase::CandReason Reason);
919 GenericSchedulerBase::CandReason Reason);
927 GenericSchedulerBase::CandReason Reason,
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DMacroPPCallbacks.cpp159 void MacroPPCallbacks::FileChanged(SourceLocation Loc, FileChangeReason Reason, in FileChanged() argument
163 if (Reason == EnterFile) in FileChanged()
165 else if (Reason == ExitFile) in FileChanged()
H A DMacroPPCallbacks.h98 void FileChanged(SourceLocation Loc, FileChangeReason Reason,
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/
H A DPPCallbacks.h48 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason,
357 void FileChanged(SourceLocation Loc, FileChangeReason Reason, in FileChanged() argument
360 First->FileChanged(Loc, Reason, FileType, PrevFID); in FileChanged()
361 Second->FileChanged(Loc, Reason, FileType, PrevFID); in FileChanged()
/freebsd-12.1/contrib/llvm/include/llvm-c/
H A DErrorHandling.h21 typedef void (*LLVMFatalErrorHandler)(const char *Reason);
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DIndirectCallPromotion.cpp278 const char *Reason = nullptr; in getPromotionCandidatesForCallSite() local
279 if (!isLegalToPromote(CallSite(Inst), TargetFunction, &Reason)) { in getPromotionCandidatesForCallSite()
286 << NV("Count", Count) << ": " << Reason; in getPromotionCandidatesForCallSite()
/freebsd-12.1/crypto/openssl/engines/
H A De_ossltest.txt12 #Reason codes
H A De_dasync.txt21 #Reason codes
H A De_afalg.txt17 #Reason codes
H A De_capi.txt30 #Reason codes
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DErrorHandling.h117 void report_bad_alloc_error(const char *Reason, bool GenCrashDiag = true);
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp71 void FileChanged(SourceLocation Loc, FileChangeReason Reason,
154 FileChangeReason Reason, in FileChanged() argument
157 if (Reason != EnterFile) in FileChanged()
/freebsd-12.1/contrib/ntp/html/hints/
H A Daix47 > AIX asserted in psx_timeo(). Reason for the assert was that

123