Lines Matching refs:lifetime

83                                       .lifetime = OperandLifeTime::MODEL_INPUT,  in addOperand()
88 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand() argument
91 model->operands[index].lifetime = lifetime; in addOperand()
178 size += sizeForBinder(operand.lifetime); in sizeForBinder()
263 if (model.operands[input].lifetime == OperandLifeTime::TEMPORARY_VARIABLE || in mutateExecutionOrderTest()
264 model.operands[input].lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateExecutionOrderTest()
421 switch (operand.lifetime) { in getInvalidLifeTimes()
468 toString(model.operands[operand].lifetime); in mutateOperandLifeTimeTest()
472 switch (operandObj.lifetime) { in mutateOperandLifeTimeTest()
484 operandObj.lifetime = invalidLifeTime; in mutateOperandLifeTimeTest()
512 switch (operand.lifetime) { in getInputOutputLifeTime()
553 toString(model.operands[operand].lifetime); in mutateOperandInputOutputTest()
557 operandObj.lifetime = *changedLifeTime; in mutateOperandInputOutputTest()
617 if (operandValue.lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateOperandAddWriterTest()
618 operandValue.lifetime = OperandLifeTime::TEMPORARY_VARIABLE; in mutateOperandAddWriterTest()
620 ASSERT_EQ(operandValue.lifetime, OperandLifeTime::TEMPORARY_VARIABLE); in mutateOperandAddWriterTest()
783 if (operandValue.lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateOperationRemoveWriteTest()
784 operandValue.lifetime = OperandLifeTime::TEMPORARY_VARIABLE; in mutateOperationRemoveWriteTest()
786 ASSERT_EQ(operandValue.lifetime, OperandLifeTime::TEMPORARY_VARIABLE); in mutateOperationRemoveWriteTest()