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()
281 if (model.operands[input].lifetime == OperandLifeTime::TEMPORARY_VARIABLE || in mutateExecutionOrderTest()
282 model.operands[input].lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateExecutionOrderTest()
444 switch (operand.lifetime) { in getInvalidLifeTimes()
491 toString(model.operands[operand].lifetime); in mutateOperandLifeTimeTest()
496 switch (operandObj.lifetime) { in mutateOperandLifeTimeTest()
508 operandObj.lifetime = invalidLifeTime; in mutateOperandLifeTimeTest()
536 switch (operand.lifetime) { in getInputOutputLifeTime()
577 toString(model.operands[operand].lifetime); in mutateOperandInputOutputTest()
582 operandObj.lifetime = *changedLifeTime; in mutateOperandInputOutputTest()
646 if (operandValue.lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateOperandAddWriterTest()
647 operandValue.lifetime = OperandLifeTime::TEMPORARY_VARIABLE; in mutateOperandAddWriterTest()
649 ASSERT_EQ(operandValue.lifetime, in mutateOperandAddWriterTest()
819 if (operandValue.lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateOperationRemoveWriteTest()
820 operandValue.lifetime = OperandLifeTime::TEMPORARY_VARIABLE; in mutateOperationRemoveWriteTest()
822 ASSERT_EQ(operandValue.lifetime, in mutateOperationRemoveWriteTest()