Lines Matching refs:lifetime

114             .lifetime = OperandLifeTime::SUBGRAPH_INPUT,  in addOperand()
120 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand() argument
122 model->main.operands[index].lifetime = lifetime; in addOperand()
235 size += sizeForBinder(operand.lifetime); in sizeForBinder()
347 if (model.main.operands[input].lifetime == OperandLifeTime::TEMPORARY_VARIABLE || in mutateExecutionOrderTest()
348 model.main.operands[input].lifetime == OperandLifeTime::SUBGRAPH_OUTPUT) { in mutateExecutionOrderTest()
543 switch (operand.lifetime) { in getInvalidLifeTimes()
592 toString(model.main.operands[operand].lifetime); in mutateOperandLifeTimeTest()
597 switch (operandObj.lifetime) { in mutateOperandLifeTimeTest()
613 operandObj.lifetime = invalidLifeTime; in mutateOperandLifeTimeTest()
641 switch (operand.lifetime) { in getInputOutputLifeTime()
685 toString(model.main.operands[operand].lifetime); in mutateOperandInputOutputTest()
690 operandObj.lifetime = *changedLifeTime; in mutateOperandInputOutputTest()
724 if (operandValue.lifetime == OperandLifeTime::SUBGRAPH_OUTPUT) { in mutateOperandAddWriterTest()
725 operandValue.lifetime = OperandLifeTime::TEMPORARY_VARIABLE; in mutateOperandAddWriterTest()
727 ASSERT_EQ(operandValue.lifetime, in mutateOperandAddWriterTest()
1010 if (operandValue.lifetime == OperandLifeTime::SUBGRAPH_OUTPUT) { in mutateOperationRemoveWriteTest()
1011 operandValue.lifetime = OperandLifeTime::TEMPORARY_VARIABLE; in mutateOperationRemoveWriteTest()
1013 ASSERT_EQ(operandValue.lifetime, in mutateOperationRemoveWriteTest()