Home
last modified time | relevance | path

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

123456789

/external/tensorflow/tensorflow/core/grappler/costs/
Dop_level_cost_estimator.h48 Costs PredictOpCountBasedCost(double operations, const OpInfo& op_info) const;
55 const OpInfo& op_info) const;
78 int64 CountConv2DOperations(const OpInfo& op_info,
80 int64 CountConv2DOperations(const OpInfo& op_info,
83 int64 CountMatMulOperations(const OpInfo& op_info,
85 int64 CountMatMulOperations(const OpInfo& op_info, MatMulDimensions* mat_mul,
87 int64 CountBatchMatMulOperations(const OpInfo& op_info,
90 const OpInfo& op_info, ConvolutionDimensions* returned_conv_dims,
93 const OpInfo& op_info, ConvolutionDimensions* returned_conv_dims,
97 int64 CalculateTensorElementCount(const OpInfo::TensorProperties& tensor,
[all …]
Dgraph_properties_test.cc82 string PropToString(const OpInfo::TensorProperties& p) { in PropToString()
139 const OpInfo::TensorProperties& prop = props[0]; in TEST_F()
148 const OpInfo::TensorProperties& in_prop = in_props[0]; in TEST_F()
215 const OpInfo::TensorProperties& prop = props[0]; in TEST_F()
221 const OpInfo::TensorProperties& prop = props[0]; in TEST_F()
266 const OpInfo::TensorProperties& prop = props[0]; in TEST_F()
280 const OpInfo::TensorProperties& prop = props[0]; in TEST_F()
311 const OpInfo::TensorProperties& prop = props[0]; in TEST_F()
336 const OpInfo::TensorProperties& prop = props[0]; in TEST_F()
533 const OpInfo::TensorProperties& prop = props[0]; in TEST_F()
[all …]
Dutils.h41 std::vector<OpInfo::TensorProperties> FindInputFeatures(
49 int64 CalculateTensorSize(const OpInfo::TensorProperties& prop);
54 const std::vector<OpInfo::TensorProperties>& output_properties,
62 string GetOpDescription(const OpInfo& op_info);
66 OpInfo BuildOpInfoWithoutDevice(
69 const std::vector<OpInfo::TensorProperties>& inputs);
Dutils.cc51 static OpInfo::TensorProperties UnknownInput() { in UnknownInput()
52 OpInfo::TensorProperties input; in UnknownInput()
82 OpInfo* op_info) { in ExtractExtraProperties()
120 OpInfo::TensorProperties* input = op_info->mutable_inputs(i); in ExtractExtraProperties()
162 std::vector<OpInfo::TensorProperties> FindInputFeatures( in FindInputFeatures()
166 std::vector<OpInfo::TensorProperties> inputs; in FindInputFeatures()
188 OpInfo::TensorProperties input; in FindInputFeatures()
199 int64 CalculateTensorSize(const OpInfo::TensorProperties& prop) { in CalculateTensorSize()
223 const std::vector<OpInfo::TensorProperties>& output_properties, in CalculateOutputSize()
262 OpInfo BuildOpInfoWithoutDevice( in BuildOpInfoWithoutDevice()
[all …]
Dgraph_properties.h116 const std::vector<OpInfo::TensorProperties>& GetInputProperties(
118 const std::vector<OpInfo::TensorProperties>& GetOutputProperties(
174 std::unordered_map<string, std::vector<OpInfo::TensorProperties>>
176 std::unordered_map<string, std::vector<OpInfo::TensorProperties>>
178 const std::vector<OpInfo::TensorProperties> missing_properties_;
Dutils_test.cc56 OpInfo::TensorProperties ShapeToTensorProperty(const std::vector<int>& shapes, in ShapeToTensorProperty()
58 OpInfo::TensorProperties prop; in ShapeToTensorProperty()
142 std::vector<OpInfo::TensorProperties> inputs; in TEST()
144 OpInfo info = BuildOpInfoWithoutDevice(node, name_to_node, inputs); in TEST()
172 std::vector<OpInfo::TensorProperties> inputs; in TEST()
173 OpInfo info = BuildOpInfoWithoutDevice(node, name_to_node, inputs); in TEST()
194 OpInfo::TensorProperties t = ShapeToTensorProperty({100, 7, 8, 99}, DT_FLOAT); in TEST()
209 std::vector<OpInfo::TensorProperties> output = { in TEST()
Dop_level_cost_estimator.cc82 string GetDataFormat(const OpInfo& op_info) { in GetDataFormat()
90 string GetFilterFormat(const OpInfo& op_info) { in GetFilterFormat()
98 Padding GetPadding(const OpInfo& op_info) { in GetPadding()
106 bool IsTraining(const OpInfo& op_info) { in IsTraining()
117 std::vector<int64> GetStrides(const OpInfo& op_info) { in GetStrides()
127 std::vector<int64> GetKernelSize(const OpInfo& op_info) { in GetKernelSize()
498 double operations, const OpInfo& op_info) const { in PredictOpCountBasedCost()
512 const OpInfo& op_info) const { in PredictOpCountBasedCost()
566 const OpInfo& op_info, bool* found_unknown_shapes) const { in CountConv2DOperations()
574 const TensorShapeProto& original_filter_shape, const OpInfo& op_info, in ConvolutionDimensionsFromInputs()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64CollectLOH.cpp335 LOHInfo &OpInfo) { in handleMiddleInst() argument
336 if (!DefInfo.IsCandidate || (&DefInfo != &OpInfo && OpInfo.OneUser)) in handleMiddleInst()
339 if (&DefInfo != &OpInfo) { in handleMiddleInst()
340 OpInfo = DefInfo; in handleMiddleInst()
347 assert(OpInfo.IsCandidate && "Expect valid state"); in handleMiddleInst()
349 if (OpInfo.Type == MCLOH_AdrpLdr) { in handleMiddleInst()
350 OpInfo.Type = MCLOH_AdrpAddLdr; in handleMiddleInst()
351 OpInfo.IsCandidate = true; in handleMiddleInst()
352 OpInfo.MI1 = &MI; in handleMiddleInst()
354 } else if (OpInfo.Type == MCLOH_AdrpAddStr && OpInfo.MI1 == nullptr) { in handleMiddleInst()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMicroMipsSizeReduction.cpp65 struct OpInfo { struct
66 OpInfo(enum OperandTransfer TransferOperands) in OpInfo() argument
68 OpInfo() : TransferOperands(OT_NA) {} in OpInfo() function
93 struct OpInfo OpInf; ///< Characteristics of operands
97 bool (*F)(ReduceEntryFunArgs *Arguments), struct OpInfo OpInf, in ReduceEntry()
211 ReduceADDIUToADDIUR1SP, OpInfo(OT_Operands02), ImmField(2, 0, 64, 2)},
213 OpInfo(OT_Operand2), ImmField(0, 0, 0, 2)},
215 ReduceADDIUToADDIUR1SP, OpInfo(OT_Operands02), ImmField(2, 0, 64, 2)},
217 ReduceADDIUToADDIUSP, OpInfo(OT_Operand2), ImmField(0, 0, 0, 2)},
219 ReduceArithmeticInstructions, OpInfo(OT_OperandsAll),
[all …]
/external/tensorflow/tensorflow/core/grappler/utils/
Dsymbolic_shapes.h33 bool ShapeIsSymbolicallyDefined(const OpInfo::TensorProperties& properties);
47 bool ShapesSymbolicallyEqual(const OpInfo::TensorProperties& left,
48 const OpInfo::TensorProperties& right);
54 bool ShapesBroadcastable(const OpInfo::TensorProperties& left,
55 const OpInfo::TensorProperties& right);
66 const OpInfo::TensorProperties& left,
67 const OpInfo::TensorProperties& right);
Dsymbolic_shapes.cc48 bool ShapeIsSymbolicallyDefined(const OpInfo::TensorProperties& properties) { in ShapeIsSymbolicallyDefined()
89 bool ShapesSymbolicallyEqual(const OpInfo::TensorProperties& left, in ShapesSymbolicallyEqual()
90 const OpInfo::TensorProperties& right) { in ShapesSymbolicallyEqual()
104 bool ShapesBroadcastable(const OpInfo::TensorProperties& left, in ShapesBroadcastable()
105 const OpInfo::TensorProperties& right) { in ShapesBroadcastable()
211 const OpInfo::TensorProperties& left, in CompareSymbolicallyShapedTensorSizes()
212 const OpInfo::TensorProperties& right) { in CompareSymbolicallyShapedTensorSizes()
/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
DSparc.java80 public static class OpInfo extends Capstone.OpInfo { class in Sparc
86 public OpInfo(UnionOpInfo op_info) { in OpInfo() method in Sparc.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
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_target.h191 struct OpInfo struct
193 OpInfo *variants; argument
213 inline const OpInfo& getOpInfo(const Instruction *) const; argument
214 inline const OpInfo& getOpInfo(const operation) const;
266 OpInfo opInfo[OP_LAST + 1];
269 const Target::OpInfo& Target::getOpInfo(const Instruction *insn) const in getOpInfo()
274 const Target::OpInfo& Target::getOpInfo(const operation op) const in getOpInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIInstrInfo.h608 const MCOperandInfo &OpInfo) const { in isInlineConstant() argument
609 return isInlineConstant(MO, OpInfo.OperandType); in isInlineConstant()
619 if (!MI.getDesc().OpInfo || OpIdx >= MI.getDesc().NumOperands) { in isInlineConstant()
623 return isInlineConstant(DefMO, MI.getDesc().OpInfo[OpIdx]); in isInlineConstant()
630 return isInlineConstant(MO, MI.getDesc().OpInfo[OpIdx].OperandType); in isInlineConstant()
635 if (!MI.getDesc().OpInfo || OpIdx >= MI.getDesc().NumOperands) in isInlineConstant()
647 return isInlineConstant(MO, MI.getDesc().OpInfo[OpIdx].OperandType); in isInlineConstant()
656 const MCOperandInfo &OpInfo) const { in isLiteralConstant() argument
657 return MO.isImm() && !isInlineConstant(MO, OpInfo.OperandType); in isLiteralConstant()
670 const MCOperandInfo &OpInfo) const;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCInstrDesc.h173 const MCOperandInfo *OpInfo; // 'NumOperands' entries about operands variable
189 (OpInfo[OpNum].Constraints & (1 << Constraint))) { in getOperandConstraint()
191 return (int)(OpInfo[OpNum].Constraints >> Pos) & 0xf; in getOperandConstraint()
213 const_opInfo_iterator opInfo_begin() const { return OpInfo; } in opInfo_begin()
214 const_opInfo_iterator opInfo_end() const { return OpInfo + NumOperands; } in opInfo_end()
582 if (OpInfo[i].isPredicate()) in findFirstPredOperandIdx()
/external/tensorflow/tensorflow/python/grappler/
Dmodel_analyzer.cc49 const std::vector<OpInfo::TensorProperties>& props = in PrintNodeInfo()
52 const OpInfo::TensorProperties& prop = props[i]; in PrintNodeInfo()
89 const std::vector<OpInfo::TensorProperties>& props = in PrintNodeInfo()
92 const OpInfo::TensorProperties& prop = props[i]; in PrintNodeInfo()
/external/skia/include/private/
DGrAuditTrail.h107 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);
/external/skqp/include/private/
DGrAuditTrail.h107 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);
/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/
DLatency.cpp23 static bool hasUnknownOperand(const llvm::MCOperandInfo &OpInfo) { in hasUnknownOperand() argument
24 return OpInfo.OperandType == llvm::MCOI::OPERAND_UNKNOWN; in hasUnknownOperand()
28 static bool hasMemoryOperand(const llvm::MCOperandInfo &OpInfo) { in hasMemoryOperand() argument
29 return OpInfo.OperandType == llvm::MCOI::OPERAND_MEMORY; in hasMemoryOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/CodeGen/
DMachineInstrTest.cpp108 MCOperandInfo OpInfo[] = { in TEST() local
113 0, nullptr, nullptr, OpInfo, 0, nullptr}; in TEST()
177 MCOperandInfo OpInfo[] = { in TEST() local
182 0, nullptr, nullptr, OpInfo, 0, nullptr}; in TEST()
253 MCOperandInfo OpInfo{0, 0, MCOI::OPERAND_REGISTER, 0}; in TEST() local
255 0, nullptr, nullptr, &OpInfo, 0, nullptr}; in TEST()

123456789