Home
last modified time | relevance | path

Searched refs:Reason (Results 1 - 25 of 46) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
H A DInlineCost.h76 const char *Reason = nullptr; member in llvm::InlineCost
79 InlineCost(int Cost, int Threshold, const char *Reason = nullptr) in InlineCost()
80 : Cost(Cost), Threshold(Threshold), Reason(Reason) { in InlineCost()
81 assert((isVariable() || Reason) && in InlineCost()
82 "Reason must be provided for Never or Always"); in InlineCost()
91 static InlineCost getAlways(const char *Reason) {
92 return InlineCost(AlwaysInlineCost, 0, Reason);
94 static InlineCost getNever(const char *Reason) {
95 return InlineCost(NeverInlineCost, 0, Reason);
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/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() local
147 void llvm::report_bad_alloc_error(const char *Reason, boo argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A DErrorHandling.cpp62 void llvm::report_fatal_error(const char *Reason, bool GenCrashDiag) { in report_fatal_error() argument
63 report_fatal_error(Twine(Reason), GenCrashDiag); in report_fatal_error()
66 void llvm::report_fatal_error(const std::string &Reason, bool GenCrashDiag) { in report_fatal_error() argument
67 report_fatal_error(Twine(Reason), GenCrashDiag); in report_fatal_error()
70 void llvm::report_fatal_error(StringRef Reason, bool GenCrashDiag) { in report_fatal_error() argument
71 report_fatal_error(Twine(Reason), GenCrashDiag); in report_fatal_error()
74 void llvm::report_fatal_error(const Twine &Reason, bool GenCrashDiag) { in report_fatal_error() argument
86 handler(handlerData, Reason.str(), GenCrashDiag); in report_fatal_error()
93 OS << "LLVM ERROR: " << Reason << "\n"; in report_fatal_error() local
/third_party/node/deps/v8/src/profiler/
H A Dprofiler-stats.cc14 void ProfilerStats::AddReason(Reason reason) { in AddReason()
19 for (int i = 0; i < Reason::kNumberOfReasons; i++) { in Clear()
26 for (int i = 0; i < Reason::kNumberOfReasons; i++) { in Print()
27 base::OS::Print(" %-30s\t\t %d\n", ReasonToString(static_cast<Reason>(i)), in Print()
33 const char* ProfilerStats::ReasonToString(Reason reason) { in ReasonToString()
H A Dprofiler-stats.h16 enum Reason { enum in v8::internal::ProfilerStats
35 void AddReason(Reason reason);
41 static const char* ReasonToString(Reason reason);
43 std::atomic_int counts_[Reason::kNumberOfReasons] = {};
H A Dsymbolizer.cc107 ProfilerStats::Reason::kInCallOrApply); in SymbolizeTickSample()
175 ProfilerStats::Instance()->AddReason(ProfilerStats::Reason::kNullPC); in SymbolizeTickSample()
178 ProfilerStats::Reason::kNoSymbolizedFrames); in SymbolizeTickSample()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DGCNSchedStrategy.cpp159 if (TryCand.Reason != NoCand) { in pickNodeFromQueue()
197 assert(BotCand.Reason != NoCand && "failed to find the first candidate"); in pickNodeBidirectional()
217 assert(TopCand.Reason != NoCand && "failed to find the first candidate"); in pickNodeBidirectional()
235 if (TopCand.Reason == BotCand.Reason) { in pickNodeBidirectional()
237 GenericSchedulerBase::CandReason TopReason = TopCand.Reason; in pickNodeBidirectional()
238 TopCand.Reason = NoCand; in pickNodeBidirectional()
240 if (TopCand.Reason != NoCand) { in pickNodeBidirectional()
243 TopCand.Reason = TopReason; in pickNodeBidirectional()
246 if (TopCand.Reason in pickNodeBidirectional()
[all...]
H A DSIMachineScheduler.cpp143 static const char *getReasonStr(SIScheduleCandReason Reason) { in getReasonStr() argument
144 switch (Reason) { in getReasonStr()
162 SIScheduleCandReason Reason) { in tryLess()
164 TryCand.Reason = Reason; in tryLess()
168 if (Cand.Reason > Reason) in tryLess()
169 Cand.Reason = Reason; in tryLess()
172 Cand.setRepeat(Reason); in tryLess()
159 tryLess(int TryVal, int CandVal, SISchedulerCandidate &TryCand, SISchedulerCandidate &Cand, SIScheduleCandReason Reason) tryLess() argument
176 tryGreater(int TryVal, int CandVal, SISchedulerCandidate &TryCand, SISchedulerCandidate &Cand, SIScheduleCandReason Reason) tryGreater() argument
[all...]
H A DSIMachineScheduler.h42 SIScheduleCandReason Reason = NoCand; member
185 assert(Best.Reason != NoCand && "uninitialized Sched candidate"); in setBest()
187 Reason = Best.Reason; in setBest()
377 assert(Best.Reason != NoCand && "uninitialized Sched candidate"); in setBest()
379 Reason = Best.Reason; in setBest()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
H A DPPCMachineScheduler.cpp33 TryCand.Reason = Stall; in biasAddiLoadCandidate()
38 TryCand.Reason = NoCand; in biasAddiLoadCandidate()
55 if (TryCand.Reason != NodeOrder && TryCand.Reason != NoCand) in tryCandidate()
/third_party/rust/crates/rust-openssl/openssl-errors/src/
H A Dlib.rs110 pub struct Reason<T>(c_int, PhantomData<T>); structure names
112 impl<T> Reason<T> { impls
116 pub const fn __from_raw(raw: c_int) -> Reason<T> {
117 Reason(raw, PhantomData)
136 reason: Reason<T>, in __put_error()
306 pub const $name: $crate::Reason<$lib_name> = $crate::Reason::__from_raw($n);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp180 FunctionImporter::ImportFailureReason &Reason, in selectCallee()
182 Reason = FunctionImporter::ImportFailureReason::None; in selectCallee()
188 Reason = FunctionImporter::ImportFailureReason::NotLive; in selectCallee()
206 Reason = FunctionImporter::ImportFailureReason::GlobalVar; in selectCallee()
210 Reason = FunctionImporter::ImportFailureReason::InterposableLinkage; in selectCallee()
230 Reason = in selectCallee()
237 Reason = FunctionImporter::ImportFailureReason::TooLarge; in selectCallee()
244 Reason = FunctionImporter::ImportFailureReason::NotEligible; in selectCallee()
250 Reason = FunctionImporter::ImportFailureReason::NoInline; in selectCallee()
337 getFailureName(FunctionImporter::ImportFailureReason Reason) { in getFailureName() argument
177 selectCallee(const ModuleSummaryIndex &Index, ArrayRef<std::unique_ptr<GlobalValueSummary>> CalleeSummaryList, unsigned Threshold, StringRef CallerModulePath, FunctionImporter::ImportFailureReason &Reason, GlobalValue::GUID GUID) selectCallee() argument
448 FunctionImporter::ImportFailureReason Reason; computeImportForFunction() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
H A DMachineScheduler.h804 static const char *getReasonStr(GenericSchedulerBase::CandReason Reason);
853 CandReason Reason; member
870 Reason = NoCand; in reset()
880 assert(Best.Reason != NoCand && "uninitialized Sched candidate"); in setBest()
882 Reason = Best.Reason; in setBest()
917 GenericSchedulerBase::CandReason Reason);
921 GenericSchedulerBase::CandReason Reason);
929 GenericSchedulerBase::CandReason Reason,
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
H A DIceBrowserCompileServer.cpp186 void fatalErrorHandler(void *UserData, const std::string &Reason, in fatalErrorHandler() argument
191 Server->setFatalError(Reason); in fatalErrorHandler()
266 void BrowserCompileServer::setFatalError(const std::string &Reason) { in setFatalError() argument
268 Ctx->getStrError() << Reason; in setFatalError()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DMachineScheduler.cpp2571 GenericSchedulerBase::CandReason Reason) { in getReasonStr()
2572 switch (Reason) { in getReasonStr()
2598 switch (Cand.Reason) { in traceCandidate()
2629 dbgs() << " Cand SU(" << Cand.SU->NodeNum << ") " << getReasonStr(Cand.Reason); in traceCandidate()
2652 GenericSchedulerBase::CandReason Reason) { in tryLess()
2654 TryCand.Reason = Reason; in tryLess()
2658 if (Cand.Reason > Reason) in tryLess()
2659 Cand.Reason in tryLess()
2570 getReasonStr( GenericSchedulerBase::CandReason Reason) getReasonStr() argument
2649 tryLess(int TryVal, int CandVal, GenericSchedulerBase::SchedCandidate &TryCand, GenericSchedulerBase::SchedCandidate &Cand, GenericSchedulerBase::CandReason Reason) tryLess() argument
2665 tryGreater(int TryVal, int CandVal, GenericSchedulerBase::SchedCandidate &TryCand, GenericSchedulerBase::SchedCandidate &Cand, GenericSchedulerBase::CandReason Reason) tryGreater() argument
2707 tracePick(GenericSchedulerBase::CandReason Reason, bool IsTop) tracePick() argument
2863 tryPressure(const PressureChange &TryP, const PressureChange &CandP, GenericSchedulerBase::SchedCandidate &TryCand, GenericSchedulerBase::SchedCandidate &Cand, GenericSchedulerBase::CandReason Reason, const TargetRegisterInfo *TRI, const MachineFunction &MF) tryPressure() argument
[all...]
/third_party/mbedtls/tests/scripts/
H A Dgenerate_psa_tests.py232 class Reason(enum.Enum): class in OpFail
250 reason: 'Reason',
258 if reason == self.Reason.NOT_SUPPORTED:
288 arguments.append('1' if reason == self.Reason.PUBLIC else '0')
289 error = ('NOT_SUPPORTED' if reason == self.Reason.NOT_SUPPORTED else
305 self.Reason.NOT_SUPPORTED,
309 yield self.make_test_case(alg, category, self.Reason.INVALID)
323 self.Reason.NOT_SUPPORTED,
328 self.Reason.PUBLIC,
333 self.Reason
[all...]
/third_party/node/deps/v8/src/compiler/
H A Dcommon-operator.cc725 #define CACHED_DEOPTIMIZE(Reason) \
726 DeoptimizeOperator<DeoptimizeReason::k##Reason> kDeoptimize##Reason##Operator;
740 #define CACHED_DEOPTIMIZE_IF(Reason) \
741 DeoptimizeIfOperator<DeoptimizeReason::k##Reason> \
742 kDeoptimizeIf##Reason##Operator;
757 #define CACHED_DEOPTIMIZE_UNLESS(Reason) \
758 DeoptimizeUnlessOperator<DeoptimizeReason::k##Reason> \
759 kDeoptimizeUnless##Reason##Operator;
945 #define CACHED_DEOPTIMIZE(Reason) \ in Deoptimize()
[all...]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkAllocationCallbackUtil.hpp186 enum Reason enum
202 Reason reason;
208 AllocationCallbackViolation (const AllocationCallbackRecord& record_, Reason reason_) in AllocationCallbackViolation()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/
H A DHWEventListener.h146 : Reason(reason), AffectedInstructions(Insts), ResourceMask(Mask) {} in HWPressureEvent()
148 // Reason for this increase in backend pressure.
149 GenericReason Reason; member in llvm::mca::HWPressureEvent
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
H A DErrorHandling.h21 typedef void (*LLVMFatalErrorHandler)(const char *Reason);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm-c/
H A DErrorHandling.h21 typedef void (*LLVMFatalErrorHandler)(const char *Reason);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp541 static void fail(const Instruction *I, const char *Reason, Value *V) { in fail() argument
550 report_fatal_error(Reason); in fail()
621 const char *Reason) { in checkConstantInt()
623 fail(I, Reason, V); in checkConstantInt()
620 checkConstantInt(const Instruction *I, Value *V, const char *Reason) checkConstantInt() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DErrorHandling.h116 void report_bad_alloc_error(const char *Reason, bool GenCrashDiag = true);

Completed in 22 milliseconds

12