Lines Matching refs:lifetime
102 .lifetime = OperandLifeTime::MODEL_INPUT, in addOperand()
107 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand() argument
110 model->operands[index].lifetime = lifetime; in addOperand()
197 size += sizeForBinder(operand.lifetime); in sizeForBinder()
283 if (model.operands[input].lifetime == OperandLifeTime::TEMPORARY_VARIABLE || in mutateExecutionOrderTest()
284 model.operands[input].lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateExecutionOrderTest()
446 switch (operand.lifetime) { in getInvalidLifeTimes()
493 toString(model.operands[operand].lifetime); in mutateOperandLifeTimeTest()
498 switch (operandObj.lifetime) { in mutateOperandLifeTimeTest()
510 operandObj.lifetime = invalidLifeTime; in mutateOperandLifeTimeTest()
538 switch (operand.lifetime) { in getInputOutputLifeTime()
579 toString(model.operands[operand].lifetime); in mutateOperandInputOutputTest()
584 operandObj.lifetime = *changedLifeTime; in mutateOperandInputOutputTest()
648 if (operandValue.lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateOperandAddWriterTest()
649 operandValue.lifetime = OperandLifeTime::TEMPORARY_VARIABLE; in mutateOperandAddWriterTest()
651 ASSERT_EQ(operandValue.lifetime, in mutateOperandAddWriterTest()
821 if (operandValue.lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateOperationRemoveWriteTest()
822 operandValue.lifetime = OperandLifeTime::TEMPORARY_VARIABLE; in mutateOperationRemoveWriteTest()
824 ASSERT_EQ(operandValue.lifetime, in mutateOperationRemoveWriteTest()