Home
last modified time | relevance | path

Searched full:opkind (Results 1 – 25 of 110) sorted by relevance

12345

/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/configs/common/lib/Target/RISCV/
H A DRISCVGenAsmMatcher.inc2696 MatchClassKind OpKind;
2698 default: OpKind = InvalidMatchClass; break;
2699 case RISCV::X0: OpKind = MCK_GPRX0; break;
2700 case RISCV::X1: OpKind = MCK_GPRNoX0X2; break;
2701 case RISCV::X2: OpKind = MCK_SP; break;
2702 case RISCV::X3: OpKind = MCK_GPRNoX0X2; break;
2703 case RISCV::X4: OpKind = MCK_GPRNoX0X2; break;
2704 case RISCV::X5: OpKind = MCK_GPRNoX0X2; break;
2705 case RISCV::X6: OpKind = MCK_GPRTC; break;
2706 case RISCV::X7: OpKind = MCK_GPRTC; break;
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/configs/common/lib/Target/PowerPC/
H A DPPCGenAsmMatcher.inc4300 MatchClassKind OpKind;
4302 default: OpKind = InvalidMatchClass; break;
4303 case PPC::R0: OpKind = MCK_GPRC; break;
4304 case PPC::R1: OpKind = MCK_Reg2; break;
4305 case PPC::R2: OpKind = MCK_Reg2; break;
4306 case PPC::R3: OpKind = MCK_Reg2; break;
4307 case PPC::R4: OpKind = MCK_Reg2; break;
4308 case PPC::R5: OpKind = MCK_Reg2; break;
4309 case PPC::R6: OpKind = MCK_Reg2; break;
4310 case PPC::R7: OpKind = MCK_Reg2; break;
[all …]
/aosp_15_r20/external/pytorch/torch/csrc/jit/codegen/onednn/
H A Dgraph_helper.cpp13 using opkind = dnnl::graph::op::kind; typedef
40 auto o = Operator(node, opkind::Wildcard); in makeWildcardOp()
59 Operator LlgaGraphHelper::makeEltwiseOp(Node* node, opkind kind) { in makeEltwiseOp()
63 Operator LlgaGraphHelper::makeBinaryOp(Node* node, opkind kind) { in makeBinaryOp()
82 return Operator(node, opkind::Convolution) in createOperator()
97 return Operator(node, opkind::Convolution) in createOperator()
111 return Operator(node, opkind::BatchNormInference) in createOperator()
120 return Operator(node, opkind::LayerNorm) in createOperator()
130 return Operator(node, opkind::MatMul) in createOperator()
134 return Operator(node, opkind::MatMul) in createOperator()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/configs/common/lib/Target/LoongArch/
H A DLoongArchGenAsmMatcher.inc1160 MatchClassKind OpKind;
1162 default: OpKind = InvalidMatchClass; break;
1163 case LoongArch::R0: OpKind = MCK_GPR; break;
1164 case LoongArch::R1: OpKind = MCK_GPR; break;
1165 case LoongArch::R2: OpKind = MCK_GPR; break;
1166 case LoongArch::R3: OpKind = MCK_GPR; break;
1167 case LoongArch::R4: OpKind = MCK_GPRT; break;
1168 case LoongArch::R5: OpKind = MCK_GPRT; break;
1169 case LoongArch::R6: OpKind = MCK_GPRT; break;
1170 case LoongArch::R7: OpKind = MCK_GPRT; break;
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/PowerPC/
H A DPPCGenAsmMatcher.inc3691 MatchClassKind OpKind;
3693 default: OpKind = InvalidMatchClass; break;
3694 case PPC::R0: OpKind = MCK_GPRC; break;
3695 case PPC::R1: OpKind = MCK_Reg2; break;
3696 case PPC::R2: OpKind = MCK_Reg2; break;
3697 case PPC::R3: OpKind = MCK_Reg2; break;
3698 case PPC::R4: OpKind = MCK_Reg2; break;
3699 case PPC::R5: OpKind = MCK_Reg2; break;
3700 case PPC::R6: OpKind = MCK_Reg2; break;
3701 case PPC::R7: OpKind = MCK_Reg2; break;
[all …]
/aosp_15_r20/external/pytorch/torch/csrc/lazy/core/
H A Dir.h35 struct TORCH_API OpKind { struct
36 OpKind() = default;
37 explicit OpKind(c10::Symbol op) : op(op) {} in OpKind() argument
39 bool operator==(const OpKind& rhs) const {
42 bool operator!=(const OpKind& rhs) const {
45 bool operator<(const OpKind& rhs) const {
58 static OpKind Get(const std::string& name); argument
63 inline std::ostream& operator<<(std::ostream& stream, const OpKind& op) { argument
90 Node(OpKind op, size_t num_outputs);
94 OpKind op,
[all …]
H A Dir.cpp51 OpKind OpKind::Get(const std::string& name) { in Get()
52 return OpKind(c10::Symbol::fromQualString(name)); in Get()
55 hash_t OpKind::hash() const { in hash()
64 Node::Node(OpKind op, size_t num_outputs) in Node()
68 OpKind op, in Node()
93 OpKind op, in Node()
101 Node::Node(OpKind op, OpList operands, size_t num_outputs) in Node()
104 Node::Node(OpKind op, Shape shape, size_t num_outputs) : Node(op, num_outputs) { in Node()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/RISCV/
H A DRISCVGenAsmMatcher.inc1575 MatchClassKind OpKind;
1577 default: OpKind = InvalidMatchClass; break;
1578 case RISCV::X0: OpKind = MCK_GPRX0; break;
1579 case RISCV::X1: OpKind = MCK_GPRNoX0X2; break;
1580 case RISCV::X2: OpKind = MCK_SP; break;
1581 case RISCV::X3: OpKind = MCK_GPRNoX0X2; break;
1582 case RISCV::X4: OpKind = MCK_GPRNoX0X2; break;
1583 case RISCV::X5: OpKind = MCK_GPRTC; break;
1584 case RISCV::X6: OpKind = MCK_GPRTC; break;
1585 case RISCV::X7: OpKind = MCK_GPRTC; break;
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/core/transforms/remapper/
H A Dpass.cc103 enum class OpKind { Relu, Relu6, Elu, LeakyRelu, Tanh, Sigmoid }; enum
105 inline std::string GetTfgOpName(OpKind op_kind) { in GetTfgOpName()
107 case OpKind::Relu: in GetTfgOpName()
109 case OpKind::Relu6: in GetTfgOpName()
111 case OpKind::Elu: in GetTfgOpName()
113 case OpKind::LeakyRelu: in GetTfgOpName()
115 case OpKind::Tanh: in GetTfgOpName()
117 case OpKind::Sigmoid: in GetTfgOpName()
228 template <typename BasePatternRewriter, OpKind activation>
307 template <template <OpKind> class PatternT, OpKind... op_kinds,
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/configs/common/lib/Target/Mips/
H A DMipsGenAsmMatcher.inc4198 MatchClassKind OpKind;
4200 default: OpKind = InvalidMatchClass; break;
4201 case Mips::ZERO: OpKind = MCK_GPR32ZERO; break;
4202 case Mips::AT: OpKind = MCK_GPR32NONZERO; break;
4203 case Mips::V0: OpKind = MCK_Reg11; break;
4204 case Mips::V1: OpKind = MCK_Reg11; break;
4205 case Mips::A0: OpKind = MCK_GPRMM16MovePPairFirst; break;
4206 case Mips::A1: OpKind = MCK_Reg13; break;
4207 case Mips::A2: OpKind = MCK_Reg13; break;
4208 case Mips::A3: OpKind = MCK_Reg14; break;
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/Mips/
H A DMipsGenAsmMatcher.inc4196 MatchClassKind OpKind;
4198 default: OpKind = InvalidMatchClass; break;
4199 case Mips::ZERO: OpKind = MCK_GPR32ZERO; break;
4200 case Mips::AT: OpKind = MCK_GPR32NONZERO; break;
4201 case Mips::V0: OpKind = MCK_Reg11; break;
4202 case Mips::V1: OpKind = MCK_Reg11; break;
4203 case Mips::A0: OpKind = MCK_GPRMM16MovePPairFirst; break;
4204 case Mips::A1: OpKind = MCK_Reg13; break;
4205 case Mips::A2: OpKind = MCK_Reg13; break;
4206 case Mips::A3: OpKind = MCK_Reg14; break;
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
H A DMachineOperand.h77 /// OpKind - Specify what kind of operand this is. This discriminates the
79 unsigned OpKind : 8;
201 : OpKind(K), SubReg_TargetFlags(0), ParentMI(nullptr) { in MachineOperand()
217 MachineOperandType getType() const { return (MachineOperandType)OpKind; } in getType()
319 bool isReg() const { return OpKind == MO_Register; } in isReg()
321 bool isImm() const { return OpKind == MO_Immediate; } in isImm()
323 bool isCImm() const { return OpKind == MO_CImmediate; } in isCImm()
325 bool isFPImm() const { return OpKind == MO_FPImmediate; } in isFPImm()
327 bool isMBB() const { return OpKind == MO_MachineBasicBlock; } in isMBB()
329 bool isFI() const { return OpKind == MO_FrameIndex; } in isFI()
[all …]
/aosp_15_r20/external/llvm/include/llvm/CodeGen/
H A DMachineOperand.h67 /// OpKind - Specify what kind of operand this is. This discriminates the
69 MachineOperandType OpKind : 8;
185 : OpKind(K), SubReg_TargetFlags(0), ParentMI(nullptr) {} in MachineOperand()
189 MachineOperandType getType() const { return (MachineOperandType)OpKind; } in getType()
230 bool isReg() const { return OpKind == MO_Register; } in isReg()
232 bool isImm() const { return OpKind == MO_Immediate; } in isImm()
234 bool isCImm() const { return OpKind == MO_CImmediate; } in isCImm()
236 bool isFPImm() const { return OpKind == MO_FPImmediate; } in isFPImm()
238 bool isMBB() const { return OpKind == MO_MachineBasicBlock; } in isMBB()
240 bool isFI() const { return OpKind == MO_FrameIndex; } in isFI()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/CodeGen/
H A DMachineOperand.h76 /// OpKind - Specify what kind of operand this is. This discriminates the
78 unsigned OpKind : 8;
208 : OpKind(K), SubReg_TargetFlags(0) { in MachineOperand()
224 MachineOperandType getType() const { return (MachineOperandType)OpKind; } in getType()
326 bool isReg() const { return OpKind == MO_Register; } in isReg()
328 bool isImm() const { return OpKind == MO_Immediate; } in isImm()
330 bool isCImm() const { return OpKind == MO_CImmediate; } in isCImm()
332 bool isFPImm() const { return OpKind == MO_FPImmediate; } in isFPImm()
334 bool isMBB() const { return OpKind == MO_MachineBasicBlock; } in isMBB()
336 bool isFI() const { return OpKind == MO_FrameIndex; } in isFI()
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/CodeGen/
DMachineOperand.h76 /// OpKind - Specify what kind of operand this is. This discriminates the
78 unsigned OpKind : 8;
208 : OpKind(K), SubReg_TargetFlags(0) { in MachineOperand()
224 MachineOperandType getType() const { return (MachineOperandType)OpKind; } in getType()
329 bool isReg() const { return OpKind == MO_Register; } in isReg()
331 bool isImm() const { return OpKind == MO_Immediate; } in isImm()
333 bool isCImm() const { return OpKind == MO_CImmediate; } in isCImm()
335 bool isFPImm() const { return OpKind == MO_FPImmediate; } in isFPImm()
337 bool isMBB() const { return OpKind == MO_MachineBasicBlock; } in isMBB()
339 bool isFI() const { return OpKind == MO_FrameIndex; } in isFI()
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/CodeGen/
DMachineOperand.h76 /// OpKind - Specify what kind of operand this is. This discriminates the
78 unsigned OpKind : 8;
208 : OpKind(K), SubReg_TargetFlags(0) { in MachineOperand()
224 MachineOperandType getType() const { return (MachineOperandType)OpKind; } in getType()
329 bool isReg() const { return OpKind == MO_Register; } in isReg()
331 bool isImm() const { return OpKind == MO_Immediate; } in isImm()
333 bool isCImm() const { return OpKind == MO_CImmediate; } in isCImm()
335 bool isFPImm() const { return OpKind == MO_FPImmediate; } in isFPImm()
337 bool isMBB() const { return OpKind == MO_MachineBasicBlock; } in isMBB()
339 bool isFI() const { return OpKind == MO_FrameIndex; } in isFI()
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/CodeGen/
DMachineOperand.h76 /// OpKind - Specify what kind of operand this is. This discriminates the
78 unsigned OpKind : 8;
208 : OpKind(K), SubReg_TargetFlags(0) { in MachineOperand()
224 MachineOperandType getType() const { return (MachineOperandType)OpKind; } in getType()
329 bool isReg() const { return OpKind == MO_Register; } in isReg()
331 bool isImm() const { return OpKind == MO_Immediate; } in isImm()
333 bool isCImm() const { return OpKind == MO_CImmediate; } in isCImm()
335 bool isFPImm() const { return OpKind == MO_FPImmediate; } in isFPImm()
337 bool isMBB() const { return OpKind == MO_MachineBasicBlock; } in isMBB()
339 bool isFI() const { return OpKind == MO_FrameIndex; } in isFI()
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/CodeGen/
DMachineOperand.h76 /// OpKind - Specify what kind of operand this is. This discriminates the
78 unsigned OpKind : 8;
208 : OpKind(K), SubReg_TargetFlags(0) { in MachineOperand()
224 MachineOperandType getType() const { return (MachineOperandType)OpKind; } in getType()
329 bool isReg() const { return OpKind == MO_Register; } in isReg()
331 bool isImm() const { return OpKind == MO_Immediate; } in isImm()
333 bool isCImm() const { return OpKind == MO_CImmediate; } in isCImm()
335 bool isFPImm() const { return OpKind == MO_FPImmediate; } in isFPImm()
337 bool isMBB() const { return OpKind == MO_MachineBasicBlock; } in isMBB()
339 bool isFI() const { return OpKind == MO_FrameIndex; } in isFI()
[all …]
/aosp_15_r20/out/soong/.intermediates/external/llvm/lib/Target/AArch64/llvm-gen-aarch64/gen/
DAArch64GenAsmMatcher.inc5641 MatchClassKind OpKind;
5643 default: OpKind = InvalidMatchClass; break;
5644 case AArch64::W0: OpKind = MCK_GPR32common; break;
5645 case AArch64::W1: OpKind = MCK_GPR32common; break;
5646 case AArch64::W2: OpKind = MCK_GPR32common; break;
5647 case AArch64::W3: OpKind = MCK_GPR32common; break;
5648 case AArch64::W4: OpKind = MCK_GPR32common; break;
5649 case AArch64::W5: OpKind = MCK_GPR32common; break;
5650 case AArch64::W6: OpKind = MCK_GPR32common; break;
5651 case AArch64::W7: OpKind = MCK_GPR32common; break;
[all …]
/aosp_15_r20/art/compiler/optimizing/
H A Dnodes_shared.h114 enum OpKind { enum
134 OpKind op,
158 static bool IsShiftOp(OpKind op_kind) { in IsShiftOp()
162 static bool IsExtensionOp(OpKind op_kind) { in IsExtensionOp()
168 /*out*/OpKind* op_kind,
172 OpKind GetOpKind() const { return op_kind_; } in GetOpKind()
182 OpKind op_kind_;
185 friend std::ostream& operator<<(std::ostream& os, OpKind op);
188 std::ostream& operator<<(std::ostream& os, const HDataProcWithShifterOp::OpKind op);
/aosp_15_r20/external/pytorch/torch/csrc/lazy/ts_backend/
H A Dts_node.h19 OpKind op,
26 OpKind op,
33 OpKind op,
39 OpKind op,
68 // Note: this OpKind is separate from ltc_ops.h since it would be a circular
71 const OpKind tensor_list_opkind = OpKind::Get("lazy_tensors::tensor_list");
89 static OpKind ClassOpKind() { in ClassOpKind()
/aosp_15_r20/out/soong/.intermediates/external/llvm/lib/Target/ARM/llvm-gen-arm/gen/
DARMGenAsmMatcher.inc6233 MatchClassKind OpKind;
6235 default: OpKind = InvalidMatchClass; break;
6236 case ARM::R0: OpKind = MCK_Reg0; break;
6237 case ARM::R1: OpKind = MCK_Reg0; break;
6238 case ARM::R2: OpKind = MCK_Reg0; break;
6239 case ARM::R3: OpKind = MCK_Reg0; break;
6240 case ARM::R4: OpKind = MCK_tGPR; break;
6241 case ARM::R5: OpKind = MCK_tGPR; break;
6242 case ARM::R6: OpKind = MCK_tGPR; break;
6243 case ARM::R7: OpKind = MCK_tGPR; break;
[all …]
/aosp_15_r20/external/llvm/utils/TableGen/
H A DFastISelEmitter.cpp78 class OpKind { class
83 OpKind() : Repr(OK_Invalid) {} in OpKind() function in __anon551480480311::OperandsSignature::OpKind
85 bool operator<(OpKind RHS) const { return Repr < RHS.Repr; } in operator <()
86 bool operator==(OpKind RHS) const { return Repr == RHS.Repr; } in operator ==()
88 static OpKind getReg() { OpKind K; K.Repr = OK_Reg; return K; } in getReg()
89 static OpKind getFP() { OpKind K; K.Repr = OK_FP; return K; } in getFP()
90 static OpKind getImm(unsigned V) { in getImm()
93 OpKind K; K.Repr = OK_Imm+V; return K; in getImm()
118 SmallVector<OpKind, 3> Operands;
144 Result.Operands.push_back(OpKind::getImm(0)); in getWithoutImmCodes()
[all …]
/aosp_15_r20/external/pytorch/torch/csrc/lazy/ts_backend/ops/
H A Dgeneric.h11 // specific OpKind and a lowering function. IR nodes carrying
18 OpKind op,
25 OpKind op,
32 OpKind op,
37 Generic(OpKind op, Shape shape, size_t num_outputs, hash_t hash_seed);
44 OpKind op,
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/configs/common/lib/Target/ARM/
H A DARMGenAsmMatcher.inc9524 MatchClassKind OpKind;
9526 default: OpKind = InvalidMatchClass; break;
9527 case ARM::R0: OpKind = MCK_Reg17; break;
9528 case ARM::R1: OpKind = MCK_Reg22; break;
9529 case ARM::R2: OpKind = MCK_Reg17; break;
9530 case ARM::R3: OpKind = MCK_Reg22; break;
9531 case ARM::R4: OpKind = MCK_Reg18; break;
9532 case ARM::R5: OpKind = MCK_Reg23; break;
9533 case ARM::R6: OpKind = MCK_Reg18; break;
9534 case ARM::R7: OpKind = MCK_Reg23; break;
[all …]

12345