Lines Matching refs:opnd
128 void tryValueDump(Dumper& dump, const Model& model, const Operand& opnd) { in tryValueDump() argument
129 if (opnd.type != nnType) { in tryValueDump()
134 if (opnd.lifetime == Operand::LifeTime::CONSTANT_COPY) { in tryValueDump()
135 pointer = model.operandValues.data() + opnd.location.offset; in tryValueDump()
136 } else if (opnd.lifetime == Operand::LifeTime::POINTER) { in tryValueDump()
137 pointer = std::get<const void*>(opnd.location.pointer); in tryValueDump()
142 if (opnd.location.length != sizeof(cppType)) { in tryValueDump()
185 const Operand& opnd = model.main.operands[i]; in graphDump() local
188 switch (opnd.lifetime) { in graphDump()
221 dump << "\\n" << translate(opnd.type); in graphDump()
222 tryValueDump<OperandType::FLOAT32, float>(dump, model, opnd); in graphDump()
223 tryValueDump<OperandType::INT32, int>(dump, model, opnd); in graphDump()
224 tryValueDump<OperandType::UINT32, unsigned>(dump, model, opnd); in graphDump()
225 if (!opnd.dimensions.empty()) { in graphDump()
227 for (unsigned i = 0, e = opnd.dimensions.size(); i < e; i++) { in graphDump()
231 dump << opnd.dimensions[i]; in graphDump()