• Home
  • Raw
  • Download

Lines Matching refs:mainModel

2750         auto mainModel = std::make_unique<PartitioningModel>();  in createControlFlowModelForCachingTests()  local
2752 const uint32_t opnd0 = mainModel->addBooleanOperand(); in createControlFlowModelForCachingTests()
2753 const uint32_t opnd1 = mainModel->addFloatOperand(); in createControlFlowModelForCachingTests()
2754 const uint32_t opnd2 = mainModel->addFloatOperand(); in createControlFlowModelForCachingTests()
2755 const uint32_t opnd3 = mainModel->addFloatOperand(); in createControlFlowModelForCachingTests()
2756 mainModel->addIfOperation(opnd0, *trueModel, *falseModel, {opnd1, opnd2}, {opnd3}); in createControlFlowModelForCachingTests()
2757 mainModel->identifyInputsAndOutputs({opnd0, opnd1, opnd2}, {opnd3}); in createControlFlowModelForCachingTests()
2758 mainModel->finish(); in createControlFlowModelForCachingTests()
2759 ASSERT_TRUE(mainModel->isValid()); in createControlFlowModelForCachingTests()
2763 models->push_back(std::move(mainModel)); in createControlFlowModelForCachingTests()
3166 auto mainModel = std::make_unique<PartitioningModel>(); in createIfModel() local
3167 const uint32_t opnd0 = mainModel->addBooleanOperand(); in createIfModel()
3168 const uint32_t opnd1 = mainModel->addFloatOperand(dimensionedMain); in createIfModel()
3169 const uint32_t opnd2 = mainModel->addFloatOperand(dimensionedMain); in createIfModel()
3170 const uint32_t opnd3 = mainModel->addFloatOperand(dimensionedMain); in createIfModel()
3171 mainModel->addIfOperation(opnd0, *thenModel, *elseModel, {opnd1, opnd2}, {opnd3}); in createIfModel()
3172 mainModel->identifyInputsAndOutputs({opnd0, opnd1, opnd2}, {opnd3}); in createIfModel()
3173 mainModel->finish(); in createIfModel()
3174 EXPECT_TRUE(mainModel->isValid()); in createIfModel()
3177 models.push_back(std::move(mainModel)); in createIfModel()
3193 auto mainModel = std::make_unique<PartitioningModel>(); in createWhileModel() local
3194 const uint32_t opnd0 = mainModel->addFloatOperand(dimensionedMain); in createWhileModel()
3195 const uint32_t opnd1 = mainModel->addFloatOperand(dimensionedMain); in createWhileModel()
3196 const uint32_t opnd2 = mainModel->addFloatOperand(dimensionedMain); in createWhileModel()
3197 mainModel->addWhileOperation(*condModel, *bodyModel, {opnd0, opnd1}, {opnd2}); in createWhileModel()
3198 mainModel->identifyInputsAndOutputs({opnd0, opnd1}, {opnd2}); in createWhileModel()
3199 mainModel->finish(); in createWhileModel()
3200 EXPECT_TRUE(mainModel->isValid()); in createWhileModel()
3203 models.push_back(std::move(mainModel)); in createWhileModel()