/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/tbe_kernel_select/ |
D | tbe_kernel_select.h | 32 using OpInfoPtr = std::shared_ptr<OpInfo>; 41 void GetCommonPatternKernelInfo(const OpInfo &op_info); 42 void GetDynamicFormatPatternKernelInfo(const OpInfo &op_info); 43 void GetAgnosticPatternKernelInfo(const OpInfo &op_info); 44 void GetBroadcastPatternKernelInfo(const OpInfo &op_info); 45 void GetReducePatternKernelInfo(const OpInfo &op_info); 46 void FilterInVaildKernelInfo(const OpInfo &op_info); 50 …static void SetTbeBuildCommonInfo(const OpInfo &op_info, KernelBuildInfo::KernelBuildInfoBuilder *… 57 …static void CreateNewOpInfo(const OpInfo &op_info, const SupportFormat &support_format, OpInfo *op… 62 …void CreateNewOpInfo(const mindspore::kernel::OpInfo &op_info, mindspore::kernel::OpInfo *op_info_…
|
D | tbe_kernel_select.cc | 92 void TbeKernelSelect::GetCommonPatternKernelInfo(const OpInfo &op_info) { in GetCommonPatternKernelInfo() 137 void TbeKernelSelect::GetDynamicFormatPatternKernelInfo(const OpInfo &op_info) { in GetDynamicFormatPatternKernelInfo() 138 OpInfo op_info_new; in GetDynamicFormatPatternKernelInfo() 143 void TbeKernelSelect::GetAgnosticPatternKernelInfo(const OpInfo &op_info) { in GetAgnosticPatternKernelInfo() 159 OpInfo op_info_new; in GetAgnosticPatternKernelInfo() 164 void TbeKernelSelect::GetBroadcastPatternKernelInfo(const OpInfo &op_info) { in GetBroadcastPatternKernelInfo() 173 OpInfo op_info_new; in GetBroadcastPatternKernelInfo() 178 void TbeKernelSelect::GetReducePatternKernelInfo(const OpInfo &op_info) { in GetReducePatternKernelInfo() 186 OpInfo op_info_new; in GetReducePatternKernelInfo() 191 void TbeKernelSelect::FilterInVaildKernelInfo(const OpInfo &op_info) { in FilterInVaildKernelInfo() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64CollectLOH.cpp | 337 LOHInfo &OpInfo) { in handleMiddleInst() argument 338 if (!DefInfo.IsCandidate || (&DefInfo != &OpInfo && OpInfo.OneUser)) in handleMiddleInst() 341 if (&DefInfo != &OpInfo) { in handleMiddleInst() 342 OpInfo = DefInfo; in handleMiddleInst() 349 assert(OpInfo.IsCandidate && "Expect valid state"); in handleMiddleInst() 351 if (OpInfo.Type == MCLOH_AdrpLdr) { in handleMiddleInst() 352 OpInfo.Type = MCLOH_AdrpAddLdr; in handleMiddleInst() 353 OpInfo.IsCandidate = true; in handleMiddleInst() 354 OpInfo.MI1 = &MI; in handleMiddleInst() 356 } else if (OpInfo.Type == MCLOH_AdrpAddStr && OpInfo.MI1 == nullptr) { in handleMiddleInst() [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/oplib/ |
D | oplib.h | 34 static std::shared_ptr<OpInfo> FindOp(const std::string &op_name, OpImplyType imply_type, 38 static std::multimap<std::string, std::shared_ptr<OpInfo>> op_info_; 43 …odeAttr(const nlohmann::json &obj, OpImplyType imply_type, const std::shared_ptr<OpInfo> &op_info); 46 …static void DecodeTBESpecificInfo(const nlohmann::json &obj, const std::shared_ptr<OpInfo> &op_inf… 47 …static void DecodeAKGSpecificInfo(const nlohmann::json &obj, const std::shared_ptr<OpInfo> &op_inf… 49 … const std::shared_ptr<OpInfo> &op_info, const nlohmann::json &dtype_format); 50 static bool GetRefInfo(const std::shared_ptr<OpInfo> &op_info); 51 static bool CheckRepetition(const std::shared_ptr<OpInfo> &op_info);
|
D | opinfo.h | 94 class OpInfo { 96 OpInfo() = default; 97 OpInfo(const OpInfo &opinfo) { in OpInfo() function 125 ~OpInfo() = default; 165 bool equals_to(const std::shared_ptr<OpInfo> &other_info) const { in equals_to() 196 using OpInfoPtr = std::shared_ptr<OpInfo>;
|
D | oplib.cc | 67 std::multimap<std::string, std::shared_ptr<OpInfo>> OpLib::op_info_; 111 void OpLib::DecodeTBESpecificInfo(const nlohmann::json &obj, const std::shared_ptr<OpInfo> &op_info… in DecodeTBESpecificInfo() 148 void OpLib::DecodeAKGSpecificInfo(const nlohmann::json &obj, const std::shared_ptr<OpInfo> &op_info… in DecodeAKGSpecificInfo() 204 std::shared_ptr<OpInfo> op_info = std::make_shared<OpInfo>(); in DecodeOpInfo() 255 const std::shared_ptr<OpInfo> &op_info) { in DecodeAttr() 301 … const std::shared_ptr<OpInfo> &op_info, const nlohmann::json &dtype_format) { in DecodeInputOutput() 353 std::shared_ptr<OpInfo> OpLib::FindOp(const std::string &op_name, OpImplyType imply_type, bool is_d… in FindOp() 385 bool OpLib::GetRefInfo(const std::shared_ptr<OpInfo> &op_info) { in GetRefInfo() 407 bool OpLib::CheckRepetition(const std::shared_ptr<OpInfo> &op_info) { in CheckRepetition()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MicroMipsSizeReduction.cpp | 65 struct OpInfo { struct 66 OpInfo(enum OperandTransfer TransferOperands) in OpInfo() function 68 OpInfo() : TransferOperands(OT_NA) {} in OpInfo() argument 93 struct OpInfo OpInf; ///< Characteristics of operands 97 bool (*F)(ReduceEntryFunArgs *Arguments), struct OpInfo OpInf, in ReduceEntry() 215 ReduceADDIUToADDIUR1SP, OpInfo(OT_Operands02), ImmField(2, 0, 64, 2)}, 217 OpInfo(OT_Operand2), ImmField(0, 0, 0, 2)}, 219 ReduceADDIUToADDIUR1SP, OpInfo(OT_Operands02), ImmField(2, 0, 64, 2)}, 221 ReduceADDIUToADDIUSP, OpInfo(OT_Operand2), ImmField(0, 0, 0, 2)}, 223 ReduceArithmeticInstructions, OpInfo(OT_OperandsAll), [all …]
|
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_target.h | 193 struct OpInfo struct 195 OpInfo *variants; argument 215 inline const OpInfo& getOpInfo(const Instruction *) const; argument 216 inline const OpInfo& getOpInfo(const operation) const; 268 OpInfo opInfo[OP_LAST + 1]; 271 const Target::OpInfo& Target::getOpInfo(const Instruction *insn) const in getOpInfo() 276 const Target::OpInfo& Target::getOpInfo(const operation op) const in getOpInfo()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/ |
D | MCInstrDesc.h | 199 const MCOperandInfo *OpInfo; // 'NumOperands' entries about operands variable 215 (OpInfo[OpNum].Constraints & (1 << Constraint))) { in getOperandConstraint() 217 return (int)(OpInfo[OpNum].Constraints >> Pos) & 0xf; in getOperandConstraint() 239 const_opInfo_iterator opInfo_begin() const { return OpInfo; } in opInfo_begin() 240 const_opInfo_iterator opInfo_end() const { return OpInfo + NumOperands; } in opInfo_end() 631 if (OpInfo[i].isPredicate()) in findFirstPredOperandIdx()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIInstrInfo.h | 704 const MCOperandInfo &OpInfo) const { in isInlineConstant() argument 705 return isInlineConstant(MO, OpInfo.OperandType); in isInlineConstant() 715 if (!MI.getDesc().OpInfo || OpIdx >= MI.getDesc().NumOperands) { in isInlineConstant() 719 return isInlineConstant(DefMO, MI.getDesc().OpInfo[OpIdx]); in isInlineConstant() 726 return isInlineConstant(MO, MI.getDesc().OpInfo[OpIdx].OperandType); in isInlineConstant() 731 if (!MI.getDesc().OpInfo || OpIdx >= MI.getDesc().NumOperands) in isInlineConstant() 743 return isInlineConstant(MO, MI.getDesc().OpInfo[OpIdx].OperandType); in isInlineConstant() 752 const MCOperandInfo &OpInfo) const { in isLiteralConstant() argument 753 return MO.isImm() && !isInlineConstant(MO, OpInfo.OperandType); in isLiteralConstant() 766 const MCOperandInfo &OpInfo) const; [all …]
|
D | SIFoldOperands.cpp | 160 return TII->isInlineConstant(OpToFold, MadDesc.OpInfo[OpNo].OperandType); in isInlineConstantIfFolded() 216 switch (TII.get(Opcode).OpInfo[OpNo].OperandType) { in updateOperand() 435 const MCOperandInfo &OpInfo = InstDesc.OpInfo[OpNo]; in tryAddToFoldList() local 440 if (!SRI.opCanUseInlineConstant(OpInfo.OperandType) || in tryAddToFoldList() 441 !TII->isInlineConstant(*OpToFold, OpInfo)) { in tryAddToFoldList() 446 TII->isLiteralConstantLike(Op, OpInfo)) { in tryAddToFoldList() 509 const MCOperandInfo *OpInfo = Desc.OpInfo; in tryToFoldACImm() local 510 if (!OpInfo || UseOpIdx >= Desc.getNumOperands()) in tryToFoldACImm() 513 uint8_t OpTy = OpInfo[UseOpIdx].OperandType; in tryToFoldACImm() 848 UseDesc.OpInfo[UseOpIdx].RegClass == -1) in foldOperand() [all …]
|
/third_party/flutter/skia/src/gpu/ |
D | GrAuditTrail.h | 107 struct OpInfo { struct 118 void getBoundsByClientID(SkTArray<OpInfo>* outInfo, int clientID); argument 119 void getBoundsByOpListID(OpInfo* outInfo, int opListID); 150 void copyOutFromOpList(OpInfo* outOpInfo, int opListID);
|
D | GrAuditTrail.cpp | 88 void GrAuditTrail::copyOutFromOpList(OpInfo* outOpInfo, int opListID) { in copyOutFromOpList() 95 OpInfo::Op& outOp = outOpInfo->fOps.push_back(); in copyOutFromOpList() 102 void GrAuditTrail::getBoundsByClientID(SkTArray<OpInfo>* outInfo, int clientID) { in getBoundsByClientID() 115 OpInfo& outOpInfo = outInfo->push_back(); in getBoundsByClientID() 125 void GrAuditTrail::getBoundsByOpListID(OpInfo* outInfo, int opListID) { in getBoundsByOpListID()
|
/third_party/skia/src/gpu/ |
D | GrAuditTrail.h | 108 struct OpInfo { struct 119 void getBoundsByClientID(SkTArray<OpInfo>* outInfo, int clientID); argument 120 void getBoundsByOpsTaskID(OpInfo* outInfo, int opsTaskID); 151 void copyOutFromOpsTask(OpInfo* outOpInfo, int opsTask);
|
D | GrAuditTrail.cpp | 87 void GrAuditTrail::copyOutFromOpsTask(OpInfo* outOpInfo, int opsTaskID) { in copyOutFromOpsTask() 94 OpInfo::Op& outOp = outOpInfo->fOps.push_back(); in copyOutFromOpsTask() 101 void GrAuditTrail::getBoundsByClientID(SkTArray<OpInfo>* outInfo, int clientID) { in getBoundsByClientID() 114 OpInfo& outOpInfo = outInfo->push_back(); in getBoundsByClientID() 124 void GrAuditTrail::getBoundsByOpsTaskID(OpInfo* outInfo, int opsTaskID) { in getBoundsByOpsTaskID()
|
/third_party/mindspore/mindspore/ccsrc/profiler/device/ |
D | data_saver.h | 33 std::shared_ptr<OpInfo> op_info_{nullptr}; 38 OpDetailInfo(const std::shared_ptr<OpInfo> op_info, float proportion); 102 using OpInfoMap = std::unordered_map<std::string, OpInfo>;
|
D | profiling.h | 42 struct OpInfo { struct 97 std::unordered_map<std::string, OpInfo> op_info_map_;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | LegalizerInfo.cpp | 482 const MCOperandInfo *OpInfo = MI.getDesc().OpInfo; in getAction() local 485 if (!OpInfo[i].isGenericType()) in getAction() 490 unsigned TypeIdx = OpInfo[i].getGenericTypeIndex(); in getAction() 702 [](unsigned Acc, const MCOperandInfo &OpInfo) { in verify() argument 703 return OpInfo.isGenericType() in verify() 704 ? std::max(OpInfo.getGenericTypeIndex() + 1U, Acc) in verify() 709 [](unsigned Acc, const MCOperandInfo &OpInfo) { in verify() argument 710 return OpInfo.isGenericImm() in verify() 711 ? std::max(OpInfo.getGenericImmIndex() + 1U, Acc) in verify()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/ |
D | tbe_dynaminc_shape_util.h | 39 static std::shared_ptr<OpInfo> FindOp(const std::string &op_name, const AnfNodePtr &anf_node); 40 static std::shared_ptr<OpInfo> FindOp(const std::string &op_name, const CNodePtr &cnode);
|
D | tbe_kernel_build.h | 102 …void GenTbeAttrJson(const std::shared_ptr<AnfNode> &anf_node, const std::shared_ptr<OpInfo> &op_in… 107 …bool GenTbeInputsJson(const std::shared_ptr<AnfNode> &anf_node, const std::shared_ptr<OpInfo> &op_… 109 …bool GenTbeOutputsJson(const std::shared_ptr<AnfNode> &anf_node, const std::shared_ptr<OpInfo> &op…
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
D | SIMCCodeEmitter.cpp | 48 uint32_t getLitEncoding(const MCOperand &MO, const MCOperandInfo &OpInfo, 217 const MCOperandInfo &OpInfo, in getLitEncoding() argument 236 switch (OpInfo.OperandType) { in getLitEncoding() 323 if (getLitEncoding(Op, Desc.OpInfo[i], STI) != 255) in encodeInstruction() 382 uint32_t Enc = getLitEncoding(MO, Desc.OpInfo[OpNo], STI); in getSDWASrcEncoding() 492 uint32_t Enc = getLitEncoding(MO, Desc.OpInfo[OpNo], STI); in getMachineOpValue()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/format_type/ |
D | deal_ref_and_split_unsupported_transdata.h | 42 const std::shared_ptr<kernel::OpInfo> &op_info) const; 44 const std::shared_ptr<kernel::OpInfo> &op_info) const;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 7868 static void patchMatchingInput(const SDISelAsmOperandInfo &OpInfo, in patchMatchingInput() argument 7871 if (OpInfo.ConstraintVT == MatchingOpInfo.ConstraintVT) in patchMatchingInput() 7878 TLI.getRegForInlineAsmConstraint(TRI, OpInfo.ConstraintCode, in patchMatchingInput() 7879 OpInfo.ConstraintVT); in patchMatchingInput() 7883 if ((OpInfo.ConstraintVT.isInteger() != in patchMatchingInput() 7891 MatchingOpInfo.ConstraintVT = OpInfo.ConstraintVT; in patchMatchingInput() 7898 SDISelAsmOperandInfo &OpInfo, in getAddressForMemoryInput() argument 7911 const Value *OpVal = OpInfo.CallOperandVal; in getAddressForMemoryInput() 7914 OpInfo.CallOperand = DAG.getConstantPool( in getAddressForMemoryInput() 7927 Chain = DAG.getTruncStore(Chain, Location, OpInfo.CallOperand, StackSlot, in getAddressForMemoryInput() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
D | WebAssemblyMCCodeEmitter.cpp | 91 const MCOperandInfo &Info = Desc.OpInfo[I]; in encodeInstruction() 129 const MCOperandInfo &Info = Desc.OpInfo[I]; in encodeInstruction() 142 const MCOperandInfo &Info = Desc.OpInfo[I]; in encodeInstruction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitstream/ |
D | BitCodes.h | 183 void Add(const BitCodeAbbrevOp &OpInfo) { in Add() argument 184 OperandList.push_back(OpInfo); in Add()
|