Lines Matching refs:mainModel

2188         auto mainModel = std::make_unique<PartitioningModel>();  in createControlFlowModelForCachingTests()  local
2190 const uint32_t opnd0 = mainModel->addBooleanOperand(); in createControlFlowModelForCachingTests()
2191 const uint32_t opnd1 = mainModel->addFloatOperand(); in createControlFlowModelForCachingTests()
2192 const uint32_t opnd2 = mainModel->addFloatOperand(); in createControlFlowModelForCachingTests()
2193 const uint32_t opnd3 = mainModel->addFloatOperand(); in createControlFlowModelForCachingTests()
2194 mainModel->addIfOperation(opnd0, *trueModel, *falseModel, {opnd1, opnd2}, {opnd3}); in createControlFlowModelForCachingTests()
2195 mainModel->identifyInputsAndOutputs({opnd0, opnd1, opnd2}, {opnd3}); in createControlFlowModelForCachingTests()
2196 mainModel->finish(); in createControlFlowModelForCachingTests()
2197 ASSERT_TRUE(mainModel->isValid()); in createControlFlowModelForCachingTests()
2201 models->push_back(std::move(mainModel)); in createControlFlowModelForCachingTests()
2604 auto mainModel = std::make_unique<PartitioningModel>(); in createIfModel() local
2605 const uint32_t opnd0 = mainModel->addBooleanOperand(); in createIfModel()
2606 const uint32_t opnd1 = mainModel->addFloatOperand(dimensionedMain); in createIfModel()
2607 const uint32_t opnd2 = mainModel->addFloatOperand(dimensionedMain); in createIfModel()
2608 const uint32_t opnd3 = mainModel->addFloatOperand(dimensionedMain); in createIfModel()
2609 mainModel->addIfOperation(opnd0, *thenModel, *elseModel, {opnd1, opnd2}, {opnd3}); in createIfModel()
2610 mainModel->identifyInputsAndOutputs({opnd0, opnd1, opnd2}, {opnd3}); in createIfModel()
2611 mainModel->finish(); in createIfModel()
2612 EXPECT_TRUE(mainModel->isValid()); in createIfModel()
2615 models.push_back(std::move(mainModel)); in createIfModel()
2631 auto mainModel = std::make_unique<PartitioningModel>(); in createWhileModel() local
2632 const uint32_t opnd0 = mainModel->addFloatOperand(dimensionedMain); in createWhileModel()
2633 const uint32_t opnd1 = mainModel->addFloatOperand(dimensionedMain); in createWhileModel()
2634 const uint32_t opnd2 = mainModel->addFloatOperand(dimensionedMain); in createWhileModel()
2635 mainModel->addWhileOperation(*condModel, *bodyModel, {opnd0, opnd1}, {opnd2}); in createWhileModel()
2636 mainModel->identifyInputsAndOutputs({opnd0, opnd1}, {opnd2}); in createWhileModel()
2637 mainModel->finish(); in createWhileModel()
2638 EXPECT_TRUE(mainModel->isValid()); in createWhileModel()
2641 models.push_back(std::move(mainModel)); in createWhileModel()