Home
last modified time | relevance | path

Searched refs:Diag (Results 1 – 25 of 35) sorted by relevance

12

/third_party/mindspore/mindspore/core/ops/
Ddiag.h29 class MS_CORE_API Diag : public PrimitiveC {
32 Diag() : PrimitiveC(prim::kPrimDiag->name()) { InitIOName({"input_x"}, {"output"}); } in Diag() function
34 ~Diag() = default;
35 MS_DECLARE_PARENT(Diag, PrimitiveC);
39 using PrimDiagPtr = std::shared_ptr<Diag>;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DRemarkStreamer.cpp84 RemarkStreamer::toRemark(const DiagnosticInfoOptimizationBase &Diag) { in toRemark() argument
86 R.RemarkType = toRemarkType(static_cast<DiagnosticKind>(Diag.getKind())); in toRemark()
87 R.PassName = Diag.getPassName(); in toRemark()
88 R.RemarkName = Diag.getRemarkName(); in toRemark()
90 GlobalValue::dropLLVMManglingEscape(Diag.getFunction().getName()); in toRemark()
91 R.Loc = toRemarkLocation(Diag.getLocation()); in toRemark()
92 R.Hotness = Diag.getHotness(); in toRemark()
94 for (const DiagnosticInfoOptimizationBase::Argument &Arg : Diag.getArgs()) { in toRemark()
104 void RemarkStreamer::emit(const DiagnosticInfoOptimizationBase &Diag) { in emit() argument
106 if (!Filter->match(Diag.getPassName())) in emit()
[all …]
DDiagnosticPrinter.cpp111 operator<<(const SMDiagnostic &Diag) { in operator <<() argument
114 Diag.print("", Stream, /*ShowColors=*/true, /*ShowKindLabel=*/false); in operator <<()
/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/op_declare/
Dpad_ops_declare.cc34 INPUT_MAP(Diag) = {{1, INPUT_DESC(x)}};
35 ATTR_MAP(Diag) = EMPTY_ATTR_MAP;
36 OUTPUT_MAP(Diag) = {{0, OUTPUT_DESC(y)}};
37 REG_ADPT_DESC(Diag, kNameDiag, ADPT_DESC(Diag))
Dpad_ops_declare.h32 DECLARE_OP_ADAPTER(Diag)
33 DECLARE_OP_USE_OUTPUT(Diag)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IRReader/
DIRReader.cpp118 SMDiagnostic Diag; in LLVMParseIRInContext() local
122 wrap(parseIR(MB->getMemBufferRef(), Diag, *unwrap(ContextRef)).release()); in LLVMParseIRInContext()
129 Diag.print(nullptr, os, false); in LLVMParseIRInContext()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DRemarkStreamer.h38 remarks::Remark toRemark(const DiagnosticInfoOptimizationBase &Diag);
55 void emit(const DiagnosticInfoOptimizationBase &Diag);
DDiagnosticPrinter.h57 virtual DiagnosticPrinter &operator<<(const SMDiagnostic &Diag) = 0;
90 DiagnosticPrinter &operator<<(const SMDiagnostic &Diag) override;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/MachO/
DTextStub.cpp1093 static void DiagHandler(const SMDiagnostic &Diag, void *Context) { in DiagHandler() argument
1098 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), File->Path, in DiagHandler()
1099 Diag.getLineNo(), Diag.getColumnNo(), Diag.getKind(), in DiagHandler()
1100 Diag.getMessage(), Diag.getLineContents(), in DiagHandler()
1101 Diag.getRanges(), Diag.getFixIts()); in DiagHandler()
/third_party/libnl/
Dlibnl-idiag-3.0.pc.in7 Description: Netlink Inet Diag Family Library
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp44 static void srcMgrDiagHandler(const SMDiagnostic &Diag, void *diagInfo) { in srcMgrDiagHandler() argument
50 unsigned BufNum = DiagInfo->SrcMgr.FindBufferContainingLoc(Diag.getLoc()); in srcMgrDiagHandler()
59 unsigned ErrorLine = Diag.getLineNo()-1; in srcMgrDiagHandler()
69 DiagInfo->DiagHandler(Diag, DiagInfo->DiagContext, LocCookie); in srcMgrDiagHandler()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/AsmParser/
DAVRAsmParser.cpp281 char const *Diag = 0; in invalidOperand() local
285 Diag = "too few operands for instruction."; in invalidOperand()
296 if (!Diag) { in invalidOperand()
297 Diag = "invalid operand for instruction"; in invalidOperand()
300 return Error(ErrorLoc, Diag); in invalidOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUAsmPrinter.cpp958 DiagnosticInfoResourceLimit Diag(MF.getFunction(), in getSIProgramInfo() local
963 Ctx.diagnose(Diag); in getSIProgramInfo()
998 DiagnosticInfoResourceLimit Diag(MF.getFunction(), in getSIProgramInfo() local
1003 Ctx.diagnose(Diag); in getSIProgramInfo()
1018 DiagnosticInfoResourceLimit Diag(MF.getFunction(), "user SGPRs", in getSIProgramInfo() local
1020 Ctx.diagnose(Diag); in getSIProgramInfo()
1025 DiagnosticInfoResourceLimit Diag(MF.getFunction(), "local memory", in getSIProgramInfo() local
1027 Ctx.diagnose(Diag); in getSIProgramInfo()
DSIMemoryLegalizer.cpp447 DiagnosticInfoUnsupported Diag(Func, Msg, MI->getDebugLoc()); in reportUnsupported() local
448 Func.getContext().diagnose(Diag); in reportUnsupported()
/third_party/mindspore/tests/ut/python/parallel/
Dtest_matmul_tensor.py66 self.diag = P.Diag()
120 self.diag = P.Diag()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp74 void reportDiagnostic(const SMDiagnostic &Diag);
167 static void handleYAMLDiag(const SMDiagnostic &Diag, void *Context) { in handleYAMLDiag() argument
168 reinterpret_cast<MIRParserImpl *>(Context)->reportDiagnostic(Diag); in handleYAMLDiag()
200 void MIRParserImpl::reportDiagnostic(const SMDiagnostic &Diag) { in reportDiagnostic() argument
202 switch (Diag.getKind()) { in reportDiagnostic()
216 Context.diagnose(DiagnosticInfoMIRParser(Kind, Diag)); in reportDiagnostic()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFileCheckImpl.h325 ErrorDiagnostic(SMDiagnostic &&Diag) : Diagnostic(Diag) {} in ErrorDiagnostic() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/
DYAMLRemarkParser.cpp25 static void handleDiagnostic(const SMDiagnostic &Diag, void *Ctx) { in handleDiagnostic() argument
30 Diag.print(/*ProgName=*/nullptr, OS, /*ShowColors*/ false, in handleDiagnostic()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DAsmParser.cpp311 static void DiagHandler(const SMDiagnostic &Diag, void *Context);
2327 void AsmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) { in DiagHandler() argument
2331 const SourceMgr &DiagSrcMgr = *Diag.getSourceMgr(); in DiagHandler()
2332 SMLoc DiagLoc = Diag.getLoc(); in DiagHandler()
2352 Parser->SavedDiagHandler(Diag, Parser->SavedDiagContext); in DiagHandler()
2354 Diag.print(nullptr, OS); in DiagHandler()
2369 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo, in DiagHandler()
2370 Diag.getColumnNo(), Diag.getKind(), Diag.getMessage(), in DiagHandler()
2371 Diag.getLineContents(), Diag.getRanges()); in DiagHandler()
/third_party/mindspore/mindspore/ops/operations/
D__init__.py24 Diag, DiagPart, DType, ExpandDims, Eye,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUnrollAndJam.cpp227 OptimizationRemark Diag(DEBUG_TYPE, "PartialUnrolled", L->getStartLoc(), in UnrollAndJamLoop() local
229 return Diag << "unroll and jammed loop by a factor of " in UnrollAndJamLoop()
DLoopUnroll.cpp484 OptimizationRemark Diag(DEBUG_TYPE, "PartialUnrolled", L->getStartLoc(), in UnrollLoop() local
486 return Diag << "unrolled loop by a factor of " in UnrollLoop()
/third_party/mindspore/mindspore/ops/_grad/
Dgrad_array_ops.py847 @bprop_getters.register(P.Diag)
861 op = P.Diag()
/third_party/mindspore/tests/ut/python/ops/
Dtest_math_ops.py297 self.diag = P.Diag()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp1294 SMDiagnostic Diag = getSourceManager().GetMessage( in processInstruction() local
1297 Diag.print("", errs()); in processInstruction()

12