Lines Matching refs:lifetime

103                                       .lifetime = OperandLifeTime::MODEL_INPUT,  in addOperand()
108 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand() argument
111 model->operands[index].lifetime = lifetime; in addOperand()
224 size += sizeForBinder(operand.lifetime); in sizeForBinder()
322 if (model.operands[input].lifetime == OperandLifeTime::TEMPORARY_VARIABLE || in mutateExecutionOrderTest()
323 model.operands[input].lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateExecutionOrderTest()
515 switch (operand.lifetime) { in getInvalidLifeTimes()
562 toString(model.operands[operand].lifetime); in mutateOperandLifeTimeTest()
567 switch (operandObj.lifetime) { in mutateOperandLifeTimeTest()
579 operandObj.lifetime = invalidLifeTime; in mutateOperandLifeTimeTest()
607 switch (operand.lifetime) { in getInputOutputLifeTime()
648 toString(model.operands[operand].lifetime); in mutateOperandInputOutputTest()
653 operandObj.lifetime = *changedLifeTime; in mutateOperandInputOutputTest()
716 if (operandValue.lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateOperandAddWriterTest()
717 operandValue.lifetime = OperandLifeTime::TEMPORARY_VARIABLE; in mutateOperandAddWriterTest()
719 ASSERT_EQ(operandValue.lifetime, in mutateOperandAddWriterTest()
962 if (operandValue.lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateOperationRemoveWriteTest()
963 operandValue.lifetime = OperandLifeTime::TEMPORARY_VARIABLE; in mutateOperationRemoveWriteTest()
965 ASSERT_EQ(operandValue.lifetime, in mutateOperationRemoveWriteTest()