| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCMachineScheduler.cpp | 38 TryCand.Reason = Stall; in biasAddiLoadCandidate() 42 TryCand.Reason = NoCand; in biasAddiLoadCandidate() 56 TryCand.Reason = NodeOrder; in tryCandidate() 63 return TryCand.Reason != NoCand; in tryCandidate() 144 TryCand.Reason = NodeOrder; in tryCandidate() 152 if (TryCand.Reason != NodeOrder && TryCand.Reason != NoCand) in tryCandidate() 162 return TryCand.Reason != NoCand; in tryCandidate() 171 TryCand.Reason = Stall; in biasAddiCandidate() 183 TryCand.Reason = NodeOrder; in tryCandidate() 213 TryCand.Reason = NodeOrder; in tryCandidate() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | InlineCost.h | 97 const char *Reason = nullptr; variable 105 : Cost(Cost), Threshold(Threshold), Reason(Reason), in Cost() 107 assert((isVariable() || Reason) && in Cost() 117 static InlineCost getAlways(const char *Reason, 119 return InlineCost(AlwaysInlineCost, 0, Reason, CostBenefit); 121 static InlineCost getNever(const char *Reason, 123 return InlineCost(NeverInlineCost, 0, Reason, CostBenefit); 151 assert((Reason || isVariable()) && in getReason() 153 return Reason; in getReason() 170 static InlineResult failure(const char *Reason) { in failure() argument [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/support/ |
| H A D | Cancellation.cpp | 24 std::pair<Context, Canceler> cancelableTask(int Reason) { in cancelableTask() argument 25 assert(Reason != 0 && "Can't detect cancellation if Reason is zero"); in cancelableTask() 31 [Reason, Flag(State.Cancelled)] { *Flag = Reason; }, in cancelableTask() 38 if (int Reason = State->Cancelled->load()) in isCancelled() local 39 return Reason; in isCancelled()
|
| H A D | Cancellation.h | 77 std::pair<Context, Canceler> cancelableTask(int Reason = 1); 89 const int Reason; variable 91 CancelledError(int Reason) : Reason(Reason) {} in CancelledError() argument
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | ErrorHandling.cpp | 82 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 D | SmallVector.cpp | 63 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()
|
| /llvm-project-15.0.7/lldb/include/lldb/Target/ |
| H A D | RegisterCheckpoint.h | 23 enum class Reason { enum 34 RegisterCheckpoint(Reason reason) : UserID(0), m_reason(reason) {} in RegisterCheckpoint() 44 Reason m_reason;
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | HeaderIncludeGen.cpp | 45 void FileChanged(SourceLocation Loc, FileChangeReason Reason, 132 FileChangeReason Reason, in FileChanged() argument 142 if (Reason == PPCallbacks::EnterFile) { in FileChanged() 144 } else if (Reason == PPCallbacks::ExitFile) { in FileChanged() 181 if (ShowHeader && Reason == PPCallbacks::EnterFile && in FileChanged()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | DuplicateIncludeCheck.cpp | 44 void FileChanged(SourceLocation Loc, FileChangeReason Reason, 69 FileChangeReason Reason, in FileChanged() argument 72 if (Reason == EnterFile) in FileChanged() 74 else if (Reason == ExitFile) in FileChanged()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/ |
| H A D | FunctionImport.h | 78 ImportFailureReason Reason; member 82 ImportFailureReason Reason, unsigned Attempts) in ImportFailureInfo() 83 : VI(VI), MaxHotness(MaxHotness), Reason(Reason), Attempts(Attempts) {} in ImportFailureInfo()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | BackgroundRebuild.cpp | 81 void BackgroundIndexRebuilder::maybeRebuild(const char *Reason, in maybeRebuild() argument 94 vlog("BackgroundIndex: building version {0} {1}", BuildVersion, Reason); in maybeRebuild() 96 SPAN_ATTACH(Tracer, "reason", Reason); in maybeRebuild()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | SIMachineScheduler.h | 42 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 D | SIMachineScheduler.cpp | 125 switch (Reason) { in getReasonStr() 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() 162 TryCand.Reason = Reason; in tryGreater() 166 if (Cand.Reason > Reason) in tryGreater() 167 Cand.Reason = Reason; in tryGreater() 170 Cand.setRepeat(Reason); in tryGreater() 195 TryCand.Reason = NodeOrder; in tryCandidateTopDown() [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MachineScheduler.cpp | 2743 switch (Reason) { in getReasonStr() 2769 switch (Cand.Reason) { in traceCandidate() 2827 TryCand.Reason = Reason; in tryLess() 2831 if (Cand.Reason > Reason) in tryLess() 2832 Cand.Reason = Reason; in tryLess() 2843 TryCand.Reason = Reason; in tryGreater() 2847 if (Cand.Reason > Reason) in tryGreater() 2848 Cand.Reason = Reason; in tryGreater() 3057 Reason)) { in tryPressure() 3071 Reason); in tryPressure() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | FunctionImport.cpp | 176 FunctionImporter::ImportFailureReason &Reason, in selectCallee() argument 178 Reason = FunctionImporter::ImportFailureReason::None; in selectCallee() 184 Reason = FunctionImporter::ImportFailureReason::NotLive; in selectCallee() 209 Reason = in selectCallee() 216 Reason = FunctionImporter::ImportFailureReason::TooLarge; in selectCallee() 323 getFailureName(FunctionImporter::ImportFailureReason Reason) { in getFailureName() argument 324 switch (Reason) { in getFailureName() 433 FunctionImporter::ImportFailureReason Reason; in computeImportForFunction() local 445 FailureInfo->Reason = Reason; in computeImportForFunction() 454 VI, Edge.second.getHotness(), Reason, 1); in computeImportForFunction() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | MachineScheduler.h | 821 static const char *getReasonStr(GenericSchedulerBase::CandReason Reason); 870 CandReason Reason; member 887 Reason = NoCand; in reset() 897 assert(Best.Reason != NoCand && "uninitialized Sched candidate"); in setBest() 899 Reason = Best.Reason; in setBest() 934 GenericSchedulerBase::CandReason Reason); 938 GenericSchedulerBase::CandReason Reason); 946 GenericSchedulerBase::CandReason Reason,
|
| /llvm-project-15.0.7/clang/include/clang/Lex/ |
| H A D | PPCallbacks.h | 48 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason, 70 virtual void LexedFileChanged(FileID FID, LexedFileChangeReason Reason, in LexedFileChanged() argument 438 void FileChanged(SourceLocation Loc, FileChangeReason Reason, in FileChanged() argument 441 First->FileChanged(Loc, Reason, FileType, PrevFID); in FileChanged() 442 Second->FileChanged(Loc, Reason, FileType, PrevFID); in FileChanged() 445 void LexedFileChanged(FileID FID, LexedFileChangeReason Reason, in LexedFileChanged() argument 448 First->LexedFileChanged(FID, Reason, FileType, PrevFID, Loc); in LexedFileChanged() 449 Second->LexedFileChanged(FID, Reason, FileType, PrevFID, Loc); in LexedFileChanged()
|
| /llvm-project-15.0.7/lldb/unittests/tools/lldb-server/tests/ |
| H A D | MessageObjects.h | 111 llvm::StringRef Reason) in StopReplyStop() argument 114 Reason(Reason) {} in StopReplyStop() 142 std::string Reason; variable
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | MacroPPCallbacks.cpp | 158 void MacroPPCallbacks::FileChanged(SourceLocation Loc, FileChangeReason Reason, in FileChanged() argument 162 if (Reason == EnterFile) in FileChanged() 164 else if (Reason == ExitFile) in FileChanged()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/ |
| H A D | Rename.cpp | 227 llvm::Error makeError(ReasonToReject Reason) { in makeError() argument 228 auto Message = [](ReasonToReject Reason) { in makeError() argument 229 switch (Reason) { in makeError() 245 return error("Cannot rename symbol: {0}", Message(Reason)); in makeError() 451 llvm::Error makeError(InvalidName Reason) { in makeError() argument 452 auto Message = [](const InvalidName &Reason) { in makeError() argument 453 switch (Reason.K) { in makeError() 456 Reason.Details); in makeError() 458 return llvm::formatv("conflict with the symbol in {0}", Reason.Details); in makeError() 461 Reason.Details); in makeError() [all …]
|
| /llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/include/ |
| H A D | State.h | 29 void *allocShared(uint64_t Size, const char *Reason); 34 void freeShared(void *Ptr, uint64_t Bytes, const char *Reason); 37 void *allocGlobal(uint64_t Size, const char *Reason); 43 void freeGlobal(void *Ptr, const char *Reason);
|
| /llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/src/ |
| H A D | State.cpp | 162 void *memory::allocShared(uint64_t Bytes, const char *Reason) { in allocShared() argument 166 void memory::freeShared(void *Ptr, uint64_t Bytes, const char *Reason) { in freeShared() argument 170 void *memory::allocGlobal(uint64_t Bytes, const char *Reason) { in allocGlobal() argument 177 void memory::freeGlobal(void *Ptr, const char *Reason) { free(Ptr); } in freeGlobal() argument
|
| /llvm-project-15.0.7/llvm/include/llvm/MCA/ |
| H A D | HWEventListener.h | 148 : Reason(reason), AffectedInstructions(Insts), ResourceMask(Mask) {} in Reason() function 151 GenericReason Reason; variable
|
| /llvm-project-15.0.7/llvm/include/llvm-c/ |
| H A D | ErrorHandling.h | 27 typedef void (*LLVMFatalErrorHandler)(const char *Reason);
|
| /llvm-project-15.0.7/llvm/test/ThinLTO/X86/ |
| H A D | funcimport2.ll | 13 ; NOFAILURES-NOT: Reason = 24 ; FAILURES: (foo): Reason = TooLarge, Threshold = 0, Size = 1, MaxHotness = unknown, Attempts = 1
|