Home
last modified time | relevance | path

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

1234

/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCMachineScheduler.cpp38 TryCand.Reason = Stall; in biasAddiLoadCandidate()
42 TryCand.Reason = NoCand; in biasAddiLoadCandidate()
56 TryCand.Reason = NodeOrder; in tryCandidate()
63 return TryCand.Reason != NoCand; in tryCandidate()
69 return TryCand.Reason != NoCand; in tryCandidate()
75 return TryCand.Reason != NoCand; in tryCandidate()
89 return TryCand.Reason != NoCand; in tryCandidate()
94 return TryCand.Reason != NoCand; in tryCandidate()
109 return TryCand.Reason != NoCand; in tryCandidate()
115 return TryCand.Reason != NoCand; in tryCandidate()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DInlineCost.h102 const char *Reason = nullptr; variable
109 const char *Reason = nullptr,
112 StaticBonusApplied(StaticBonusApplied), Reason(Reason), in Cost()
114 assert((isVariable() || Reason) && in Cost()
125 getAlways(const char *Reason,
127 return InlineCost(AlwaysInlineCost, 0, 0, Reason, CostBenefit);
130 getNever(const char *Reason,
132 return InlineCost(NeverInlineCost, 0, 0, Reason, CostBenefit);
166 assert((Reason || isVariable()) && in getReason()
168 return Reason; in getReason()
[all …]
/openbsd-src/gnu/llvm/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(StringRef 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(const Twine &Reason, bool GenCrashDiag) { in report_fatal_error() argument
104 handler(handlerData, Reason.str().c_str(), GenCrashDiag); in report_fatal_error()
111 OS << "LLVM ERROR: " << Reason << "\n"; in report_fatal_error()
146 void llvm::report_bad_alloc_error(const char *Reason, bool GenCrashDiag) { in report_bad_alloc_error() argument
160 Handler(HandlerData, Reason, GenCrashDiag); in report_bad_alloc_error()
173 (void)!::write(2, Reason, strlen(Reason)); in report_bad_alloc_error()
H A DSmallVector.cpp63 std::string Reason = "SmallVector unable to grow. Requested capacity (" + in report_size_overflow() local
68 throw std::length_error(Reason); in report_size_overflow()
70 report_fatal_error(Twine(Reason)); in report_size_overflow()
78 std::string Reason = in report_at_maximum_capacity() local
82 throw std::length_error(Reason); in report_at_maximum_capacity()
84 report_fatal_error(Twine(Reason)); in report_at_maximum_capacity()
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DHeaderIncludeGen.cpp46 void FileChanged(SourceLocation Loc, FileChangeReason Reason,
83 void FileChanged(SourceLocation Loc, FileChangeReason Reason,
187 FileChangeReason Reason, in FileChanged() argument
197 if (Reason == PPCallbacks::EnterFile) { in FileChanged()
199 } else if (Reason == PPCallbacks::ExitFile) { in FileChanged()
236 if (ShowHeader && Reason == PPCallbacks::EnterFile && in FileChanged()
292 SourceLocation Loc, FileChangeReason Reason, in FileChanged() argument
304 if (Reason == PPCallbacks::EnterFile && in FileChanged()
H A DPrintPreprocessedOutput.cpp143 void FileChanged(SourceLocation Loc, FileChangeReason Reason,
325 FileChangeReason Reason, in FileChanged() argument
338 if (Reason == PPCallbacks::EnterFile) { in FileChanged()
342 } else if (Reason == PPCallbacks::SystemHeaderPragma) { in FileChanged()
372 if (Reason == PPCallbacks::EnterFile && !IsFirstFileEntered) { in FileChanged()
377 switch (Reason) { in FileChanged()
/openbsd-src/gnu/llvm/lldb/include/lldb/Target/
H A DRegisterCheckpoint.h23 enum class Reason { enum
34 RegisterCheckpoint(Reason reason) : UserID(0), m_reason(reason) {} in RegisterCheckpoint()
44 Reason m_reason;
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/IPO/
H A DFunctionImport.h78 ImportFailureReason Reason; member
82 ImportFailureReason Reason, unsigned Attempts) in ImportFailureInfo()
83 : VI(VI), MaxHotness(MaxHotness), Reason(Reason), Attempts(Attempts) {} in ImportFailureInfo()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIMachineScheduler.h42 SIScheduleCandReason Reason = NoCand; member
182 assert(Best.Reason != NoCand && "uninitialized Sched candidate"); in setBest()
184 Reason = Best.Reason; in setBest()
374 assert(Best.Reason != NoCand && "uninitialized Sched candidate"); in setBest()
376 Reason = Best.Reason; in setBest()
H A DSIMachineScheduler.cpp124 static const char *getReasonStr(SIScheduleCandReason Reason) { in getReasonStr() argument
125 switch (Reason) { in getReasonStr()
143 SIScheduleCandReason Reason) { in tryLess() argument
145 TryCand.Reason = Reason; in tryLess()
149 if (Cand.Reason > Reason) in tryLess()
150 Cand.Reason = Reason; in tryLess()
153 Cand.setRepeat(Reason); in tryLess()
160 SIScheduleCandReason Reason) { in tryGreater() argument
162 TryCand.Reason = Reason; in tryGreater()
166 if (Cand.Reason > Reason) in tryGreater()
[all …]
H A DGCNSchedStrategy.cpp212 if (TryCand.Reason != NoCand) { in pickNodeFromQueue()
250 assert(BotCand.Reason != NoCand && "failed to find the first candidate"); in pickNodeBidirectional()
270 assert(TopCand.Reason != NoCand && "failed to find the first candidate"); in pickNodeBidirectional()
288 TopCand.Reason = NoCand; in pickNodeBidirectional()
290 if (TopCand.Reason != NoCand) { in pickNodeBidirectional()
315 assert(TopCand.Reason != NoCand && "failed to find a candidate"); in pickNode()
325 assert(BotCand.Reason != NoCand && "failed to find a candidate"); in pickNode()
388 TryCand.Reason = NodeOrder; in tryCandidate()
396 return TryCand.Reason != NoCand; in tryCandidate()
401 return TryCand.Reason != NoCand; in tryCandidate()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DMachineScheduler.cpp2772 GenericSchedulerBase::CandReason Reason) { in getReasonStr() argument
2773 switch (Reason) { in getReasonStr()
2799 switch (Cand.Reason) { in traceCandidate()
2830 dbgs() << " Cand SU(" << Cand.SU->NodeNum << ") " << getReasonStr(Cand.Reason); in traceCandidate()
2855 GenericSchedulerBase::CandReason Reason) { in tryLess() argument
2857 TryCand.Reason = Reason; in tryLess()
2861 if (Cand.Reason > Reason) in tryLess()
2862 Cand.Reason = Reason; in tryLess()
2871 GenericSchedulerBase::CandReason Reason) { in tryGreater() argument
2873 TryCand.Reason = Reason; in tryGreater()
[all …]
H A DMachineFunctionPass.cpp156 const char *Reason = in runOnFunction() local
161 errs() << " on " << MF.getName() + Reason + " ***\n"; in runOnFunction()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp176 FunctionImporter::ImportFailureReason &Reason, in selectCallee() argument
178 Reason = FunctionImporter::ImportFailureReason::None; in selectCallee()
184 Reason = FunctionImporter::ImportFailureReason::NotLive; in selectCallee()
189 Reason = FunctionImporter::ImportFailureReason::InterposableLinkage; in selectCallee()
209 Reason = in selectCallee()
216 Reason = FunctionImporter::ImportFailureReason::TooLarge; in selectCallee()
223 Reason = FunctionImporter::ImportFailureReason::NotEligible; in selectCallee()
229 Reason = FunctionImporter::ImportFailureReason::NoInline; in selectCallee()
323 getFailureName(FunctionImporter::ImportFailureReason Reason) { in getFailureName() argument
324 switch (Reason) { in getFailureName()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DMachineScheduler.h848 static const char *getReasonStr(GenericSchedulerBase::CandReason Reason);
897 CandReason Reason; member
914 Reason = NoCand; in reset()
924 assert(Best.Reason != NoCand && "uninitialized Sched candidate"); in setBest()
926 Reason = Best.Reason; in setBest()
961 GenericSchedulerBase::CandReason Reason);
965 GenericSchedulerBase::CandReason Reason);
973 GenericSchedulerBase::CandReason Reason,
/openbsd-src/gnu/llvm/clang/include/clang/Lex/
H A DPPCallbacks.h48 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason,
70 virtual void LexedFileChanged(FileID FID, LexedFileChangeReason Reason, in LexedFileChanged() argument
444 void FileChanged(SourceLocation Loc, FileChangeReason Reason, in FileChanged() argument
447 First->FileChanged(Loc, Reason, FileType, PrevFID); in FileChanged()
448 Second->FileChanged(Loc, Reason, FileType, PrevFID); in FileChanged()
451 void LexedFileChanged(FileID FID, LexedFileChangeReason Reason, in LexedFileChanged() argument
454 First->LexedFileChanged(FID, Reason, FileType, PrevFID, Loc); in LexedFileChanged()
455 Second->LexedFileChanged(FID, Reason, FileType, PrevFID, Loc); in LexedFileChanged()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DMacroPPCallbacks.cpp158 void MacroPPCallbacks::FileChanged(SourceLocation Loc, FileChangeReason Reason, in FileChanged() argument
162 if (Reason == EnterFile) in FileChanged()
164 else if (Reason == ExitFile) in FileChanged()
/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DDecompressor.cpp51 if (const char *Reason = llvm::compression::getReasonIfUnsupported( in consumeCompressedHeader() local
53 return createError(Reason); in consumeCompressedHeader()
/openbsd-src/gnu/gcc/libstdc++-v3/docs/html/17_intro/
H A DC++STYLE29 Reason: In C++, definitions are mixed with executable code. Here,
39 Reason: The == is part of the function name. Separating
47 Reason: no space before parentheses (except after a control-flow
61 Reason: In class definitions, without indentation whitespace is
134 Reason: GNU coding conventions dictate return types for functions
149 Reason: Koenig lookup.
215 Reason: The verbose terminate handler prints out exception::what(),
/openbsd-src/gnu/lib/libstdc++/libstdc++/docs/html/17_intro/
H A DC++STYLE29 Reason: In C++, definitions are mixed with executable code. Here,
39 Reason: The == is part of the function name. Separating
47 Reason: no space before parentheses (except after a control-flow
61 Reason: In class definitions, without indentation whitespace is
134 Reason: GNU coding conventions dictate return types for functions
149 Reason: Koenig lookup.
/openbsd-src/gnu/llvm/llvm/include/llvm/MCA/
H A DHWEventListener.h148 : Reason(reason), AffectedInstructions(Insts), ResourceMask(Mask) {} in Reason() function
151 GenericReason Reason; variable
/openbsd-src/gnu/llvm/llvm/include/llvm-c/
H A DErrorHandling.h27 typedef void (*LLVMFatalErrorHandler)(const char *Reason);
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCXCOFFStreamer.cpp86 unsigned Lang, unsigned Reason, in emitXCOFFExceptDirective() argument
89 getAssembler().getWriter().addExceptionEntry(Symbol, Trap, Lang, Reason, in emitXCOFFExceptDirective()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DIndirectCallPromotion.cpp225 const char *Reason = nullptr; in getPromotionCandidatesForCallSite() local
226 if (!isLegalToPromote(CB, TargetFunction, &Reason)) { in getPromotionCandidatesForCallSite()
233 << NV("Count", Count) << ": " << Reason; in getPromotionCandidatesForCallSite()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaModule.cpp157 } Reason = Valid; in DiagReservedModuleName() local
160 Reason = Invalid; in DiagReservedModuleName()
163 Reason = Reserved; in DiagReservedModuleName()
168 if (Reason == Reserved && S.getSourceManager().isInSystemHeader(Loc)) in DiagReservedModuleName()
169 Reason = Valid; in DiagReservedModuleName()
171 if (Reason != Valid) { in DiagReservedModuleName()
172 S.Diag(Loc, diag::err_invalid_module_name) << II << (int)Reason; in DiagReservedModuleName()

1234