Lines Matching refs:bodyModel
835 void addWhileOperation(const PartitioningModel& condModel, const PartitioningModel& bodyModel, in addWhileOperation() argument
839 const uint32_t bodyOperand = addRefModelOperand(bodyModel); in addWhileOperation()
3191 auto bodyModel = createBranchOrBodyModel(dimensionedBody); in createWhileModel() local
3197 mainModel->addWhileOperation(*condModel, *bodyModel, {opnd0, opnd1}, {opnd2}); in createWhileModel()
3205 models.push_back(std::move(bodyModel)); in createWhileModel()
3541 auto bodyModel = std::make_unique<PartitioningModel>(); in TEST_F() local
3542 const uint32_t bodyOpnd0 = bodyModel->addFloatOperand(); in TEST_F()
3543 const uint32_t bodyOpnd1 = bodyModel->addFloatOperand(); in TEST_F()
3544 const uint32_t bodyOpnd2 = bodyModel->addFloatOperand(); in TEST_F()
3545 const uint32_t bodyOpnd3 = bodyModel->addOperation2To1V1_0(1, bodyOpnd0, bodyOpnd1); in TEST_F()
3546 const uint32_t bodyOpnd4 = bodyModel->addOperation2To1V1_0(1, bodyOpnd0, bodyOpnd2); in TEST_F()
3547 bodyModel->identifyInputsAndOutputs({bodyOpnd0, bodyOpnd1, bodyOpnd2}, {bodyOpnd3, bodyOpnd4}); in TEST_F()
3548 bodyModel->finish(); in TEST_F()
3549 EXPECT_TRUE(bodyModel->isValid()); in TEST_F()
3555 mModel->addWhileOperation(*condModel, *bodyModel, {mainOpnd0, mainOpnd1, mainOpnd2}, in TEST_F()
3630 auto bodyModel = std::make_unique<PartitioningModel>(); in TEST_F() local
3631 const uint32_t bodyOpnd0 = bodyModel->addFloatOperand(); in TEST_F()
3632 const uint32_t bodyOpnd1 = bodyModel->addFloatOperand(); in TEST_F()
3633 const uint32_t bodyOpnd2 = bodyModel->addBooleanOperand(); in TEST_F()
3634 const uint32_t bodyOpnd3 = bodyModel->addFloatOperand(); in TEST_F()
3635 bodyModel->addIfOperation(bodyOpnd2, *thenModel, *elseModel, {bodyOpnd0, bodyOpnd1}, in TEST_F()
3637 bodyModel->identifyInputsAndOutputs({bodyOpnd0, bodyOpnd1, bodyOpnd2}, {bodyOpnd3}); in TEST_F()
3638 bodyModel->finish(); in TEST_F()
3639 EXPECT_TRUE(bodyModel->isValid()); in TEST_F()
3645 mModel->addWhileOperation(*condModel, *bodyModel, {mainOpnd0, mainOpnd1, mainOpnd2}, in TEST_F()