Home
last modified time | relevance | path

Searched refs:OpInfo (Results 1 – 25 of 138) sorted by relevance

123456

/external/tensorflow/tensorflow/core/grappler/costs/
Dop_level_cost_estimator.h54 const OpInfo& op_features) const;
77 int64 CountConv2DOperations(const OpInfo& op_features,
79 int64 CountConv2DOperations(const OpInfo& op_features,
82 int64 CountMatMulOperations(const OpInfo& op_features,
84 int64 CountMatMulOperations(const OpInfo& op_features,
87 int64 CountBatchMatMulOperations(const OpInfo& op_features,
89 int64 CountConv2DBackpropInputOperations(const OpInfo& op_features,
92 int64 CountConv2DBackpropFilterOperations(const OpInfo& op_features,
97 int64 CalculateTensorElementCount(const OpInfo::TensorProperties& tensor,
101 int64 CalculateTensorSize(const OpInfo::TensorProperties& tensor,
[all …]
Dgraph_properties.h63 const std::vector<OpInfo::TensorProperties>& GetInputProperties(
65 const std::vector<OpInfo::TensorProperties>& GetOutputProperties(
72 OpInfo::TensorProperties*);
125 std::map<string, std::vector<OpInfo::TensorProperties>> input_properties_;
126 std::map<string, std::vector<OpInfo::TensorProperties>> output_properties_;
127 const std::vector<OpInfo::TensorProperties> missing_properties_;
Dgraph_properties_test.cc54 string PropToString(const OpInfo::TensorProperties& p) { in PropToString()
89 const OpInfo::TensorProperties& prop = props[0]; in TEST_F()
98 const OpInfo::TensorProperties& in_prop = in_props[0]; in TEST_F()
138 const OpInfo::TensorProperties& prop = props[0]; in TEST_F()
144 const OpInfo::TensorProperties& prop = props[0]; in TEST_F()
189 const OpInfo::TensorProperties& prop = props[0]; in TEST_F()
203 const OpInfo::TensorProperties& prop = props[0]; in TEST_F()
229 const OpInfo::TensorProperties& prop = props[0]; in TEST_F()
348 const OpInfo::TensorProperties& prop = props[0]; in TEST_F()
389 const OpInfo::TensorProperties& prop = props[0]; in TEST_F()
[all …]
Dutils.cc55 static OpInfo::TensorProperties UnknownInput() { in UnknownInput()
56 OpInfo::TensorProperties input; in UnknownInput()
85 OpInfo* op_info) { in ExtractExtraProperties()
123 OpInfo::TensorProperties* input = op_info->mutable_inputs(i); in ExtractExtraProperties()
165 std::vector<OpInfo::TensorProperties> FindInputFeatures( in FindInputFeatures()
169 std::vector<OpInfo::TensorProperties> inputs; in FindInputFeatures()
191 OpInfo::TensorProperties input; in FindInputFeatures()
220 OpInfo BuildOpInfoWithoutDevice( in BuildOpInfoWithoutDevice()
223 const std::vector<OpInfo::TensorProperties>& inputs) { in BuildOpInfoWithoutDevice()
224 OpInfo op_info; in BuildOpInfoWithoutDevice()
[all …]
Dutils.h41 std::vector<OpInfo::TensorProperties> FindInputFeatures(
51 string GetOpDescription(const OpInfo& op_info);
55 OpInfo BuildOpInfoWithoutDevice(
58 const std::vector<OpInfo::TensorProperties>& inputs);
Dop_level_cost_estimator.cc54 string GetDataFormat(const OpInfo& op_features) { in GetDataFormat()
62 Padding GetPadding(const OpInfo& op_features) { in GetPadding()
70 std::vector<int64> GetStrides(const OpInfo& op_features) { in GetStrides()
412 double operations, const OpInfo& op_features) const { in PredictOpCountBasedCost()
450 const OpInfo& op_features, bool* found_unknown_shapes) const { in CountConv2DOperations()
458 const TensorShapeProto& original_filter_shape, const OpInfo& op_features, in ConvolutionDimensionsFromInputs()
516 const OpInfo& op_features, ConvolutionDimensions* conv_info, in CountConv2DOperations()
540 const OpInfo& op_features, bool* found_unknown_shapes) const { in CountMatMulOperations()
546 const OpInfo& op_features, MatMulDimensions* mat_mul, in CountMatMulOperations()
616 const OpInfo& op_features, bool* found_unknown_shapes) const { in CountBatchMatMulOperations()
[all …]
Dop_level_cost_estimator_test.cc27 void DescribeMatrix(int rows, int columns, OpInfo* op_features) { in DescribeMatrix()
37 void SetCpuDevice(OpInfo* op_features) { in SetCpuDevice()
76 OpInfo* op_features) { in DescribeArbitraryRankInput()
100 OpInfo* op_features) { in DescribeTensor4D()
149 int64 CountMatMulOperations(const OpInfo& op_features, in CountMatMulOperations()
154 int64 CountBatchMatMulOperations(const OpInfo& op_features, in CountBatchMatMulOperations()
/external/capstone/bindings/java/capstone/
DCapstone.java22 protected static abstract class OpInfo {}; class in Capstone
117 public OpInfo operands;
155 private OpInfo getOptInfo(_cs_detail detail) { in getOptInfo()
156 OpInfo op_info = null; in getOptInfo()
162 op_info = new Arm.OpInfo((Arm.UnionOpInfo) detail.arch.arm); in getOptInfo()
167 op_info = new Arm64.OpInfo((Arm64.UnionOpInfo) detail.arch.arm64); in getOptInfo()
172 op_info = new Mips.OpInfo((Mips.UnionOpInfo) detail.arch.mips); in getOptInfo()
177 op_info = new X86.OpInfo((X86.UnionOpInfo) detail.arch.x86); in getOptInfo()
182 op_info = new Sparc.OpInfo((Sparc.UnionOpInfo) detail.arch.sparc); in getOptInfo()
187 op_info = new Systemz.OpInfo((Systemz.UnionOpInfo) detail.arch.sysz); in getOptInfo()
[all …]
DXcore.java76 public static class OpInfo extends Capstone.OpInfo { class in Xcore
79 public OpInfo(UnionOpInfo op_info) { in OpInfo() method in Xcore.OpInfo
DMips.java80 public static class OpInfo extends Capstone.OpInfo { class in Mips
84 public OpInfo(UnionOpInfo e) { in OpInfo() method in Mips.OpInfo
DSystemz.java81 public static class OpInfo extends Capstone.OpInfo { class in Systemz
86 public OpInfo(UnionOpInfo op_info) { in OpInfo() method in Systemz.OpInfo
DSparc.java80 public static class OpInfo extends Capstone.OpInfo { class in Sparc
86 public OpInfo(UnionOpInfo op_info) { in OpInfo() method in Sparc.OpInfo
DPpc.java95 public static class OpInfo extends Capstone.OpInfo { class in Ppc
102 public OpInfo(UnionOpInfo op_info) { in OpInfo() method in Ppc.OpInfo
DArm64.java114 public static class OpInfo extends Capstone.OpInfo { class in Arm64
120 public OpInfo(UnionOpInfo op_info) { in OpInfo() method in Arm64.OpInfo
DArm.java123 public static class OpInfo extends Capstone.OpInfo { class in Arm
135 public OpInfo(UnionOpInfo op_info) { in OpInfo() method in Arm.OpInfo
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_target.h185 struct OpInfo struct
187 OpInfo *variants; argument
207 inline const OpInfo& getOpInfo(const Instruction *) const; argument
208 inline const OpInfo& getOpInfo(const operation) const;
260 OpInfo opInfo[OP_LAST + 1];
263 const Target::OpInfo& Target::getOpInfo(const Instruction *insn) const in getOpInfo()
268 const Target::OpInfo& Target::getOpInfo(const operation op) const in getOpInfo()
/external/tensorflow/tensorflow/python/grappler/
Dmodel_analyzer.cc48 const std::vector<OpInfo::TensorProperties>& props = in PrintNodeInfo()
51 const OpInfo::TensorProperties& prop = props[i]; in PrintNodeInfo()
88 const std::vector<OpInfo::TensorProperties>& props = in PrintNodeInfo()
91 const OpInfo::TensorProperties& prop = props[i]; in PrintNodeInfo()
/external/skia/include/private/
DGrAuditTrail.h106 struct OpInfo { struct
117 void getBoundsByClientID(SkTArray<OpInfo>* outInfo, int clientID); argument
118 void getBoundsByOpListID(OpInfo* outInfo, int opListID);
149 void copyOutFromOpList(OpInfo* outOpInfo, int opListID);
/external/skqp/include/private/
DGrAuditTrail.h106 struct OpInfo { struct
117 void getBoundsByClientID(SkTArray<OpInfo>* outInfo, int clientID); argument
118 void getBoundsByOpListID(OpInfo* outInfo, int opListID);
149 void copyOutFromOpList(OpInfo* outOpInfo, int opListID);
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2816 AsmOperandInfo &OpInfo = ConstraintOperands.back(); in ParseConstraints() local
2819 if (OpInfo.multipleAlternatives.size() > maCount) in ParseConstraints()
2820 maCount = OpInfo.multipleAlternatives.size(); in ParseConstraints()
2822 OpInfo.ConstraintVT = MVT::Other; in ParseConstraints()
2825 switch (OpInfo.Type) { in ParseConstraints()
2828 if (OpInfo.isIndirect) { in ParseConstraints()
2829 OpInfo.CallOperandVal = const_cast<Value *>(CS.getArgument(ArgNo++)); in ParseConstraints()
2838 OpInfo.ConstraintVT = getValueType(STy->getElementType(ResNo)); in ParseConstraints()
2841 OpInfo.ConstraintVT = getValueType(CS.getType()); in ParseConstraints()
2846 OpInfo.CallOperandVal = const_cast<Value *>(CS.getArgument(ArgNo++)); in ParseConstraints()
[all …]
DSelectionDAGBuilder.cpp5692 SDISelAsmOperandInfo &OpInfo, in GetRegistersForValue() argument
5701 switch (OpInfo.Type) { in GetRegistersForValue()
5707 isInReg = OpInfo.hasMatchingInput(); in GetRegistersForValue()
5726 TLI.getRegForInlineAsmConstraint(OpInfo.ConstraintCode, in GetRegistersForValue()
5727 OpInfo.ConstraintVT); in GetRegistersForValue()
5730 if (OpInfo.ConstraintVT != MVT::Other) { in GetRegistersForValue()
5734 if (OpInfo.Type == InlineAsm::isInput && in GetRegistersForValue()
5735 PhysReg.second && !PhysReg.second->hasType(OpInfo.ConstraintVT)) { in GetRegistersForValue()
5740 if (RegVT.getSizeInBits() == OpInfo.ConstraintVT.getSizeInBits()) { in GetRegistersForValue()
5741 OpInfo.CallOperand = DAG.getNode(ISD::BITCAST, DL, in GetRegistersForValue()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dhuman_readable_profile_builder.cc38 auto append_op = [&](const OpInfo& op) { in ToString()
93 std::vector<OpInfo> sorted_ops(op_infos_); in ToString()
96 [](const OpInfo& a, const OpInfo& b) { return a.cycles > b.cycles; }); in ToString()
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCInstrDesc.h145 const MCOperandInfo *OpInfo; // 'NumOperands' entries about operands variable
152 (OpInfo[OpNum].Constraints & (1 << Constraint))) { in getOperandConstraint()
154 return (int)(OpInfo[OpNum].Constraints >> Pos) & 0xf; in getOperandConstraint()
307 if (OpInfo[i].isPredicate()) in findFirstPredOperandIdx()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2424 AsmOperandInfo &OpInfo = ConstraintOperands.back(); in ParseConstraints() local
2427 if (OpInfo.multipleAlternatives.size() > maCount) in ParseConstraints()
2428 maCount = OpInfo.multipleAlternatives.size(); in ParseConstraints()
2430 OpInfo.ConstraintVT = MVT::Other; in ParseConstraints()
2433 switch (OpInfo.Type) { in ParseConstraints()
2436 if (OpInfo.isIndirect) { in ParseConstraints()
2437 OpInfo.CallOperandVal = const_cast<Value *>(CS.getArgument(ArgNo++)); in ParseConstraints()
2446 OpInfo.ConstraintVT = in ParseConstraints()
2450 OpInfo.ConstraintVT = getSimpleValueType(DL, CS.getType()); in ParseConstraints()
2455 OpInfo.CallOperandVal = const_cast<Value *>(CS.getArgument(ArgNo++)); in ParseConstraints()
[all …]
/external/llvm/include/llvm/MC/
DMCInstrDesc.h149 const MCOperandInfo *OpInfo; // 'NumOperands' entries about operands variable
165 (OpInfo[OpNum].Constraints & (1 << Constraint))) { in getOperandConstraint()
167 return (int)(OpInfo[OpNum].Constraints >> Pos) & 0xf; in getOperandConstraint()
540 if (OpInfo[i].isPredicate()) in findFirstPredOperandIdx()

123456