Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DDiagnosticInfo.h436 const char *PassName, StringRef RemarkName, in DiagnosticInfoOptimizationBase() argument
440 PassName(PassName), RemarkName(RemarkName) {} in DiagnosticInfoOptimizationBase()
457 StringRef getPassName() const { return PassName; } in getPassName()
490 const char *PassName;
604 const char *PassName, StringRef RemarkName,
608 : DiagnosticInfoOptimizationBase(Kind, Severity, PassName, RemarkName, Fn,
619 DiagnosticInfoIROptimization(const char *PassName, StringRef Prepend,
622 (DiagnosticKind)Orig.getKind(), Orig.getSeverity(), PassName,
639 const char *PassName, const Function &Fn,
641 : DiagnosticInfoOptimizationBase(Kind, Severity, PassName, "", Fn, Loc) {
[all …]
DDiagnosticHandler.h53 virtual bool isAnalysisRemarkEnabled(StringRef PassName) const;
57 virtual bool isMissedOptRemarkEnabled(StringRef PassName) const;
61 virtual bool isPassedOptRemarkEnabled(StringRef PassName) const;
64 bool isAnyRemarkEnabled(StringRef PassName) const { in isAnyRemarkEnabled()
65 return (isMissedOptRemarkEnabled(PassName) || in isAnyRemarkEnabled()
66 isPassedOptRemarkEnabled(PassName) || in isAnyRemarkEnabled()
67 isAnalysisRemarkEnabled(PassName)); in isAnyRemarkEnabled()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/opt/
DPassPrinters.cpp36 std::string PassName; member
42 PassName = "FunctionPass Printer: " + PassToPrintName; in FunctionPassPrinter()
55 StringRef getPassName() const override { return PassName; } in getPassName()
69 std::string PassName; member
75 PassName = "CallGraphSCCPass Printer: " + PassToPrintName; in CallGraphSCCPassPrinter()
92 StringRef getPassName() const override { return PassName; } in getPassName()
106 std::string PassName; member
112 PassName = "ModulePass Printer: " + PassToPrintName; in ModulePassPrinter()
124 StringRef getPassName() const override { return PassName; } in getPassName()
138 std::string PassName; member
[all …]
/external/llvm/tools/opt/
DPassPrinters.cpp30 std::string PassName; member
36 PassName = "FunctionPass Printer: " + PassToPrintName; in FunctionPassPrinter()
49 const char *getPassName() const override { return PassName.c_str(); } in getPassName()
63 std::string PassName; member
69 PassName = "CallGraphSCCPass Printer: " + PassToPrintName; in CallGraphSCCPassPrinter()
86 const char *getPassName() const override { return PassName.c_str(); } in getPassName()
100 std::string PassName; member
106 PassName = "ModulePass Printer: " + PassToPrintName; in ModulePassPrinter()
118 const char *getPassName() const override { return PassName.c_str(); } in getPassName()
132 std::string PassName; member
[all …]
/external/llvm/include/llvm/IR/
DDiagnosticInfo.h385 const char *PassName, const Function &Fn, in DiagnosticInfoOptimizationBase() argument
388 PassName(PassName), Msg(Msg) {} in DiagnosticInfoOptimizationBase()
400 const char *getPassName() const { return PassName; } in getPassName()
412 const char *PassName;
429 DiagnosticInfoOptimizationRemark(const char *PassName, const Function &Fn, in DiagnosticInfoOptimizationRemark() argument
432 PassName, Fn, DLoc, Msg) {} in DiagnosticInfoOptimizationRemark()
454 DiagnosticInfoOptimizationRemarkMissed(const char *PassName, in DiagnosticInfoOptimizationRemarkMissed() argument
458 PassName, Fn, DLoc, Msg) {} in DiagnosticInfoOptimizationRemarkMissed()
480 DiagnosticInfoOptimizationRemarkAnalysis(const char *PassName, in DiagnosticInfoOptimizationRemarkAnalysis() argument
485 PassName, Fn, DLoc, Msg) {} in DiagnosticInfoOptimizationRemarkAnalysis()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DDiagnosticInfo.cpp207 OptimizationRemark::OptimizationRemark(const char *PassName, in OptimizationRemark() argument
212 DK_OptimizationRemark, DS_Remark, PassName, RemarkName, in OptimizationRemark()
215 OptimizationRemark::OptimizationRemark(const char *PassName, in OptimizationRemark() argument
218 : DiagnosticInfoIROptimization(DK_OptimizationRemark, DS_Remark, PassName, in OptimizationRemark()
229 OptimizationRemark::OptimizationRemark(const char *PassName, in OptimizationRemark() argument
232 : DiagnosticInfoIROptimization(DK_OptimizationRemark, DS_Remark, PassName, in OptimizationRemark()
243 const char *PassName, StringRef RemarkName, const DiagnosticLocation &Loc, in OptimizationRemarkMissed() argument
246 DK_OptimizationRemarkMissed, DS_Remark, PassName, RemarkName, in OptimizationRemarkMissed()
249 OptimizationRemarkMissed::OptimizationRemarkMissed(const char *PassName, in OptimizationRemarkMissed() argument
253 PassName, RemarkName, in OptimizationRemarkMissed()
[all …]
DDiagnosticHandler.cpp75 bool DiagnosticHandler::isAnalysisRemarkEnabled(StringRef PassName) const { in isAnalysisRemarkEnabled()
77 PassRemarksAnalysisOptLoc.Pattern->match(PassName)); in isAnalysisRemarkEnabled()
79 bool DiagnosticHandler::isMissedOptRemarkEnabled(StringRef PassName) const { in isMissedOptRemarkEnabled()
81 PassRemarksMissedOptLoc.Pattern->match(PassName)); in isMissedOptRemarkEnabled()
83 bool DiagnosticHandler::isPassedOptRemarkEnabled(StringRef PassName) const { in isPassedOptRemarkEnabled()
85 PassRemarksPassedOptLoc.Pattern->match(PassName)); in isPassedOptRemarkEnabled()
DOptBisect.cpp119 bool OptBisect::checkPass(const StringRef PassName, in checkPass() argument
125 printPassMessage(PassName, CurBisectNum, TargetDesc, ShouldRun); in checkPass()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMachineOptimizationRemarkEmitter.h31 DiagnosticInfoMIROptimization(enum DiagnosticKind Kind, const char *PassName, in DiagnosticInfoMIROptimization() argument
35 : DiagnosticInfoOptimizationBase(Kind, DS_Remark, PassName, RemarkName, in DiagnosticInfoMIROptimization()
64 MachineOptimizationRemark(const char *PassName, StringRef RemarkName, in MachineOptimizationRemark() argument
67 : DiagnosticInfoMIROptimization(DK_MachineOptimizationRemark, PassName, in MachineOptimizationRemark()
90 MachineOptimizationRemarkMissed(const char *PassName, StringRef RemarkName, in MachineOptimizationRemarkMissed() argument
94 PassName, RemarkName, Loc, MBB) {} in MachineOptimizationRemarkMissed()
116 MachineOptimizationRemarkAnalysis(const char *PassName, StringRef RemarkName, in MachineOptimizationRemarkAnalysis() argument
120 PassName, RemarkName, Loc, MBB) {} in MachineOptimizationRemarkAnalysis()
161 bool allowExtraAnalysis(StringRef PassName) const { in allowExtraAnalysis() argument
164 .getDiagHandlerPtr()->isAnyRemarkEnabled(PassName)); in allowExtraAnalysis()
/external/llvm/include/llvm/
DPassSupport.h70 #define INITIALIZE_PASS_WITH_OPTIONS(PassName, Arg, Name, Cfg, Analysis) \ argument
71 INITIALIZE_PASS_BEGIN(PassName, Arg, Name, Cfg, Analysis) \
72 PassName::registerOptions(); \
73 INITIALIZE_PASS_END(PassName, Arg, Name, Cfg, Analysis)
75 #define INITIALIZE_PASS_WITH_OPTIONS_BEGIN(PassName, Arg, Name, Cfg, Analysis) \ argument
76 INITIALIZE_PASS_BEGIN(PassName, Arg, Name, Cfg, Analysis) \
77 PassName::registerOptions();
79 template <typename PassName> Pass *callDefaultCtor() { return new PassName(); } in callDefaultCtor()
81 template <typename PassName> Pass *callTargetMachineCtor(TargetMachine *TM) { in callTargetMachineCtor()
82 return new PassName(TM); in callTargetMachineCtor()
DPassInfo.h36 const char *const PassName; // Nice name for Pass
53 : PassName(name), PassArgument(arg), PassID(pi), IsCFGOnlyPass(isCFGOnly), in PassName() function
60 : PassName(name), PassArgument(""), PassID(pi), IsCFGOnlyPass(false), in PassInfo()
66 const char *getPassName() const { return PassName; } in getPassName()
/external/llvm/lib/IR/
DDiagnosticInfo.cpp197 void llvm::emitOptimizationRemark(LLVMContext &Ctx, const char *PassName, in emitOptimizationRemark() argument
200 Ctx.diagnose(DiagnosticInfoOptimizationRemark(PassName, Fn, DLoc, Msg)); in emitOptimizationRemark()
203 void llvm::emitOptimizationRemarkMissed(LLVMContext &Ctx, const char *PassName, in emitOptimizationRemarkMissed() argument
207 Ctx.diagnose(DiagnosticInfoOptimizationRemarkMissed(PassName, Fn, DLoc, Msg)); in emitOptimizationRemarkMissed()
211 const char *PassName, in emitOptimizationRemarkAnalysis() argument
216 DiagnosticInfoOptimizationRemarkAnalysis(PassName, Fn, DLoc, Msg)); in emitOptimizationRemarkAnalysis()
220 const char *PassName, in emitOptimizationRemarkAnalysisFPCommute() argument
224 Ctx.diagnose(DiagnosticInfoOptimizationRemarkAnalysisFPCommute(PassName, Fn, in emitOptimizationRemarkAnalysisFPCommute()
229 const char *PassName, in emitOptimizationRemarkAnalysisAliasing() argument
233 Ctx.diagnose(DiagnosticInfoOptimizationRemarkAnalysisAliasing(PassName, Fn, in emitOptimizationRemarkAnalysisAliasing()
DOptBisect.cpp102 bool OptBisect::checkPass(const StringRef PassName, in checkPass() argument
108 printPassMessage(PassName, CurBisectNum, TargetDesc, ShouldRun); in checkPass()
/external/swiftshader/third_party/LLVM/tools/opt/
Dopt.cpp151 std::string PassName; member
156 PassName = "CallGraphSCCPass Printer: " + PassToPrintName; in CallGraphSCCPassPrinter()
173 virtual const char *getPassName() const { return PassName.c_str(); } in getPassName()
187 std::string PassName; member
192 PassName = "ModulePass Printer: " + PassToPrintName; in ModulePassPrinter()
204 virtual const char *getPassName() const { return PassName.c_str(); } in getPassName()
217 std::string PassName; member
222 PassName = "FunctionPass Printer: " + PassToPrintName; in FunctionPassPrinter()
236 virtual const char *getPassName() const { return PassName.c_str(); } in getPassName()
250 std::string PassName; member
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/
DPassSupport.h68 #define INITIALIZE_PASS_WITH_OPTIONS(PassName, Arg, Name, Cfg, Analysis) \ argument
69 INITIALIZE_PASS_BEGIN(PassName, Arg, Name, Cfg, Analysis) \
70 PassName::registerOptions(); \
71 INITIALIZE_PASS_END(PassName, Arg, Name, Cfg, Analysis)
73 #define INITIALIZE_PASS_WITH_OPTIONS_BEGIN(PassName, Arg, Name, Cfg, Analysis) \ argument
74 INITIALIZE_PASS_BEGIN(PassName, Arg, Name, Cfg, Analysis) \
75 PassName::registerOptions();
77 template <typename PassName> Pass *callDefaultCtor() { return new PassName(); } in callDefaultCtor()
DPassInfo.h36 StringRef PassName; // Nice name for Pass
50 : PassName(name), PassArgument(arg), PassID(pi), IsCFGOnlyPass(isCFGOnly), in PassInfo()
57 : PassName(name), PassID(pi), IsAnalysis(false), IsAnalysisGroup(true) {} in PassInfo()
63 StringRef getPassName() const { return PassName; } in getPassName()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DDebugInfoProbe.cpp52 std::string PassName; member in llvm::DebugInfoProbeImpl
65 PassName = PName; in initialize()
99 << PassName << "\n"; in report()
103 << PassName << "\n"; in report()
123 DEBUG(dbgs() << "DebugInfoProbe (" << PassName << "): --- "); in finalize()
146 << PassName in finalize()
/external/swiftshader/third_party/LLVM/include/llvm/
DPassSupport.h43 const char *const PassName; // Nice name for Pass
58 : PassName(name), PassArgument(arg), PassID(pi), in PassInfo()
65 : PassName(name), PassArgument(""), PassID(pi), in PassInfo()
71 const char *getPassName() const { return PassName; } in getPassName()
177 template<typename PassName>
178 Pass *callDefaultCtor() { return new PassName(); } in callDefaultCtor()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcompiler_functor.cc69 llvm::StringRef PassName = p->getPassName(); in add() local
70 if (PassName.contains("Warn about non-applied transformations")) { in add()
75 if (PassName.contains("Unroll loops")) { in add()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/
DAssembler.cpp48 static bool addPass(llvm::PassManagerBase &PM, llvm::StringRef PassName, in addPass() argument
51 const llvm::PassInfo *PI = PR->getPassInfo(PassName); in addPass()
53 llvm::errs() << " run-pass " << PassName << " is not registered.\n"; in addPass()
198 for (const char *PassName : {"machineverifier", "prologepilog"}) in assembleToStream()
199 if (addPass(PM, PassName, *TPC)) in assembleToStream()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llc/
Dllc.cpp160 for (auto PassName : PassNames) in operator =() local
161 RunPassNames->push_back(PassName); in operator =()
360 StringRef PassName, TargetPassConfig &TPC) { in addPass() argument
361 if (PassName == "none") in addPass()
365 const PassInfo *PI = PR->getPassInfo(PassName); in addPass()
368 << "run-pass " << PassName << " is not registered.\n"; in addPass()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DOptimizationRemarkEmitter.h95 bool allowExtraAnalysis(StringRef PassName) const { in allowExtraAnalysis() argument
97 F->getContext().getDiagHandlerPtr()->isAnyRemarkEnabled(PassName)); in allowExtraAnalysis()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DUtils.cpp174 const char *PassName, StringRef Msg, in reportGISelFailure() argument
176 MachineOptimizationRemarkMissed R(PassName, "GISelFailure: ", in reportGISelFailure()
180 if (TPC.isGlobalISelAbortEnabled() || MORE.allowExtraAnalysis(PassName)) in reportGISelFailure()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTargetPassConfig.cpp328 static const PassInfo *getPassInfo(StringRef PassName) { in getPassInfo() argument
329 if (PassName.empty()) in getPassInfo()
333 const PassInfo *PI = PR.getPassInfo(PassName); in getPassInfo()
335 report_fatal_error(Twine('\"') + Twine(PassName) + in getPassInfo()
340 static AnalysisID getPassIDFromName(StringRef PassName) { in getPassIDFromName() argument
341 const PassInfo *PI = getPassInfo(PassName); in getPassIDFromName()
/external/clang/test/CodeGenCXX/
D2004-09-27-DidntEmitTemplate.cpp9 template<typename PassName>

12