Home
last modified time | relevance | path

Searched refs:PassName (Results 1 – 25 of 26) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDiagnosticInfo.h448 const char *PassName, StringRef RemarkName, in DiagnosticInfoOptimizationBase() argument
452 PassName(PassName), RemarkName(RemarkName) {} in DiagnosticInfoOptimizationBase()
469 StringRef getPassName() const { return PassName; } in getPassName()
505 const char *PassName;
618 const char *PassName, StringRef RemarkName,
622 : DiagnosticInfoOptimizationBase(Kind, Severity, PassName, RemarkName, Fn, in DiagnosticInfoOptimizationBase() argument
633 DiagnosticInfoIROptimization(const char *PassName, StringRef Prepend, in DiagnosticInfoIROptimization() argument
636 (DiagnosticKind)Orig.getKind(), Orig.getSeverity(), PassName, in DiagnosticInfoIROptimization()
653 const char *PassName, const Function &Fn, in DiagnosticInfoIROptimization() argument
655 : DiagnosticInfoOptimizationBase(Kind, Severity, PassName, "", Fn, Loc) { in DiagnosticInfoIROptimization()
[all …]
DDiagnosticHandler.h52 virtual bool isAnalysisRemarkEnabled(StringRef PassName) const;
56 virtual bool isMissedOptRemarkEnabled(StringRef PassName) const;
60 virtual bool isPassedOptRemarkEnabled(StringRef PassName) const;
63 bool isAnyRemarkEnabled(StringRef PassName) const { in isAnyRemarkEnabled()
64 return (isMissedOptRemarkEnabled(PassName) || in isAnyRemarkEnabled()
65 isPassedOptRemarkEnabled(PassName) || in isAnyRemarkEnabled()
66 isAnalysisRemarkEnabled(PassName)); in isAnyRemarkEnabled()
DOptBisect.h72 bool checkPass(const StringRef PassName, const StringRef TargetDesc);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineOptimizationRemarkEmitter.h30 DiagnosticInfoMIROptimization(enum DiagnosticKind Kind, const char *PassName, in DiagnosticInfoMIROptimization() argument
34 : DiagnosticInfoOptimizationBase(Kind, DS_Remark, PassName, RemarkName, in DiagnosticInfoMIROptimization()
63 MachineOptimizationRemark(const char *PassName, StringRef RemarkName, in MachineOptimizationRemark() argument
66 : DiagnosticInfoMIROptimization(DK_MachineOptimizationRemark, PassName, in MachineOptimizationRemark()
89 MachineOptimizationRemarkMissed(const char *PassName, StringRef RemarkName, in MachineOptimizationRemarkMissed() argument
93 PassName, RemarkName, Loc, MBB) {} in MachineOptimizationRemarkMissed()
115 MachineOptimizationRemarkAnalysis(const char *PassName, StringRef RemarkName, in MachineOptimizationRemarkAnalysis() argument
119 PassName, RemarkName, Loc, MBB) {} in MachineOptimizationRemarkAnalysis()
160 bool allowExtraAnalysis(StringRef PassName) const { in allowExtraAnalysis() argument
164 PassName)); in allowExtraAnalysis()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDiagnosticInfo.cpp231 OptimizationRemark::OptimizationRemark(const char *PassName, in OptimizationRemark() argument
236 DK_OptimizationRemark, DS_Remark, PassName, RemarkName, in OptimizationRemark()
239 OptimizationRemark::OptimizationRemark(const char *PassName, in OptimizationRemark() argument
242 : DiagnosticInfoIROptimization(DK_OptimizationRemark, DS_Remark, PassName, in OptimizationRemark()
253 OptimizationRemark::OptimizationRemark(const char *PassName, in OptimizationRemark() argument
256 : DiagnosticInfoIROptimization(DK_OptimizationRemark, DS_Remark, PassName, in OptimizationRemark()
267 const char *PassName, StringRef RemarkName, const DiagnosticLocation &Loc, in OptimizationRemarkMissed() argument
270 DK_OptimizationRemarkMissed, DS_Remark, PassName, RemarkName, in OptimizationRemarkMissed()
273 OptimizationRemarkMissed::OptimizationRemarkMissed(const char *PassName, in OptimizationRemarkMissed() argument
277 PassName, RemarkName, in OptimizationRemarkMissed()
[all …]
DDiagnosticHandler.cpp74 bool DiagnosticHandler::isAnalysisRemarkEnabled(StringRef PassName) const { in isAnalysisRemarkEnabled()
76 PassRemarksAnalysisOptLoc.Pattern->match(PassName)); in isAnalysisRemarkEnabled()
78 bool DiagnosticHandler::isMissedOptRemarkEnabled(StringRef PassName) const { in isMissedOptRemarkEnabled()
80 PassRemarksMissedOptLoc.Pattern->match(PassName)); in isMissedOptRemarkEnabled()
82 bool DiagnosticHandler::isPassedOptRemarkEnabled(StringRef PassName) const { in isPassedOptRemarkEnabled()
84 PassRemarksPassedOptLoc.Pattern->match(PassName)); in isPassedOptRemarkEnabled()
DOptBisect.cpp48 bool OptBisect::checkPass(const StringRef PassName, in checkPass() argument
54 printPassMessage(PassName, CurBisectNum, TargetDesc, ShouldRun); in checkPass()
DPassTimingInfo.cpp137 StringRef PassName = P->getPassName(); in getPassTimer() local
141 T.reset(newPassTimer(PassArgument.empty() ? PassName : PassArgument, PassName)); in getPassTimer()
DRemarkStreamer.cpp87 R.PassName = Diag.getPassName(); in toRemark()
DLegacyPassManager.cpp238 std::string PassName = P->getPassName().str(); in emitInstrCountChangedRemark() local
242 &PassName](const std::string &Fname) { in emitInstrCountChangedRemark()
260 FR << DiagnosticInfoOptimizationBase::Argument("Pass", PassName) in emitInstrCountChangedRemark()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/
DPassSupport.h67 #define INITIALIZE_PASS_WITH_OPTIONS(PassName, Arg, Name, Cfg, Analysis) \ argument
68 INITIALIZE_PASS_BEGIN(PassName, Arg, Name, Cfg, Analysis) \
69 PassName::registerOptions(); \
70 INITIALIZE_PASS_END(PassName, Arg, Name, Cfg, Analysis)
72 #define INITIALIZE_PASS_WITH_OPTIONS_BEGIN(PassName, Arg, Name, Cfg, Analysis) \ argument
73 INITIALIZE_PASS_BEGIN(PassName, Arg, Name, Cfg, Analysis) \
74 PassName::registerOptions();
76 template <typename PassName> Pass *callDefaultCtor() { return new PassName(); } in callDefaultCtor()
DPassInfo.h35 StringRef PassName; // Nice name for Pass
49 : PassName(name), PassArgument(arg), PassID(pi), IsCFGOnlyPass(isCFGOnly), in PassInfo()
56 : PassName(name), PassID(pi), IsAnalysis(false), IsAnalysisGroup(true) {} in PassInfo()
62 StringRef getPassName() const { return PassName; } in getPassName()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Remarks/
DRemark.h72 StringRef PassName; member
157 return LHS.RemarkType == RHS.RemarkType && LHS.PassName == RHS.PassName &&
168 return std::make_tuple(LHS.RemarkType, LHS.PassName, LHS.RemarkName,
170 std::make_tuple(RHS.RemarkType, RHS.PassName, RHS.RemarkName,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/
DYAMLRemarkSerializer.cpp23 static void mapRemarkHeader(yaml::IO &io, T PassName, T RemarkName, in mapRemarkHeader() argument
27 io.mapRequired("Pass", PassName); in mapRemarkHeader()
64 unsigned PassID = StrTab.add(Remark->PassName).first; in mapping()
70 mapRemarkHeader(io, Remark->PassName, Remark->RemarkName, Remark->Loc, in mapping()
DBitstreamRemarkParser.cpp537 if (Expected<StringRef> PassName = (*StrTab)[*Helper.PassNameIdx]) in processRemark() local
538 R.PassName = *PassName; in processRemark()
540 return PassName.takeError(); in processRemark()
DRemarkStringTable.cpp43 Impl(R.PassName); in internalize()
DRemark.cpp80 return wrap(&unwrap(Remark)->PassName); in LLVMRemarkEntryGetPassName()
DYAMLRemarkParser.cpp225 TheRemark.PassName = *MaybeStr; in parseRemark()
265 if (TheRemark.RemarkType == Type::Unknown || TheRemark.PassName.empty() || in parseRemark()
DBitstreamRemarkSerializer.cpp276 R.push_back(StrTab.add(Remark.PassName).first); in emitRemarkBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetPassConfig.cpp335 static const PassInfo *getPassInfo(StringRef PassName) { in getPassInfo() argument
336 if (PassName.empty()) in getPassInfo()
340 const PassInfo *PI = PR.getPassInfo(PassName); in getPassInfo()
342 report_fatal_error(Twine('\"') + Twine(PassName) + in getPassInfo()
347 static AnalysisID getPassIDFromName(StringRef PassName) { in getPassIDFromName() argument
348 const PassInfo *PI = getPassInfo(PassName); in getPassIDFromName()
353 getPassNameAndInstanceNum(StringRef PassName) { in getPassNameAndInstanceNum() argument
355 std::tie(Name, InstanceNumStr) = PassName.split(','); in getPassNameAndInstanceNum()
359 report_fatal_error("invalid pass instance specifier " + PassName); in getPassNameAndInstanceNum()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DOptimizationRemarkEmitter.h94 bool allowExtraAnalysis(StringRef PassName) const { in allowExtraAnalysis() argument
96 F->getContext().getDiagHandlerPtr()->isAnyRemarkEnabled(PassName)); in allowExtraAnalysis()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DUtils.cpp196 const char *PassName, StringRef Msg, in reportGISelFailure() argument
198 MachineOptimizationRemarkMissed R(PassName, "GISelFailure: ", in reportGISelFailure()
202 if (TPC.isGlobalISelAbortEnabled() || MORE.allowExtraAnalysis(PassName)) in reportGISelFailure()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DUtils.h108 const char *PassName, StringRef Msg,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp241 const char *PassName = Hints.vectorizeAnalysisPassName(); in doesNotMeet() local
246 PassName, "CantReorderFPOps", UnsafeAlgebraInst->getDebugLoc(), in doesNotMeet()
262 return OptimizationRemarkAnalysisAliasing(PassName, "CantReorderMemOps", in doesNotMeet()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Passes/
DPassBuilder.cpp1423 static bool checkParametrizedPassName(StringRef Name, StringRef PassName) { in checkParametrizedPassName() argument
1424 if (!Name.consume_front(PassName)) in checkParametrizedPassName()
1451 StringRef PassName) -> decltype(Parser(StringRef{})) { in parsePassParameters() argument
1455 if (!Params.consume_front(PassName)) {

12