Home
last modified time | relevance | path

Searched refs:simplified_node (Results 1 – 3 of 3) sorted by relevance

/external/deqp-deps/SPIRV-Tools/test/opt/
Dscalar_analysis.cpp529 SENode* simplified_node; in TEST_F() local
546 simplified_node = analysis.SimplifyExpression(subtract_node); in TEST_F()
547 EXPECT_EQ(simplified_node->GetType(), SENode::Constant); in TEST_F()
548 EXPECT_EQ(simplified_node->AsSEConstantNode()->FoldToSingleValue(), 0u); in TEST_F()
565 simplified_node = analysis.SimplifyExpression(subtract_node); in TEST_F()
567 EXPECT_EQ(simplified_node->GetType(), SENode::Constant); in TEST_F()
568 EXPECT_EQ(simplified_node->AsSEConstantNode()->FoldToSingleValue(), 1u); in TEST_F()
585 simplified_node = analysis.SimplifyExpression(subtract_node); in TEST_F()
586 EXPECT_EQ(simplified_node->GetType(), SENode::Constant); in TEST_F()
587 EXPECT_EQ(simplified_node->AsSEConstantNode()->FoldToSingleValue(), -1); in TEST_F()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dscalar_analysis.cpp529 SENode* simplified_node; in TEST_F() local
546 simplified_node = analysis.SimplifyExpression(subtract_node); in TEST_F()
547 EXPECT_EQ(simplified_node->GetType(), SENode::Constant); in TEST_F()
548 EXPECT_EQ(simplified_node->AsSEConstantNode()->FoldToSingleValue(), 0u); in TEST_F()
565 simplified_node = analysis.SimplifyExpression(subtract_node); in TEST_F()
567 EXPECT_EQ(simplified_node->GetType(), SENode::Constant); in TEST_F()
568 EXPECT_EQ(simplified_node->AsSEConstantNode()->FoldToSingleValue(), 1u); in TEST_F()
585 simplified_node = analysis.SimplifyExpression(subtract_node); in TEST_F()
586 EXPECT_EQ(simplified_node->GetType(), SENode::Constant); in TEST_F()
587 EXPECT_EQ(simplified_node->AsSEConstantNode()->FoldToSingleValue(), -1); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Darithmetic_optimizer.cc3613 NodeDef* simplified_node = node_map_->GetNode(simplified_tensor); in SimplifyArithmeticOps() local
3614 if (simplified_node != nullptr) { in SimplifyArithmeticOps()
3615 nodes_to_simplify.PushBack(simplified_node); in SimplifyArithmeticOps()