Lines Matching refs:simplified
143 SENode* simplified = analysis.SimplifyExpression(const_cast<SENode*>(node)); in TEST_F() local
145 EXPECT_EQ(simplified->GetType(), SENode::RecurrentAddExpr); in TEST_F()
147 EXPECT_EQ(simplified->GetChild(0)->GetType(), SENode::Constant); in TEST_F()
148 EXPECT_EQ(simplified->GetChild(0)->AsSEConstantNode()->FoldToSingleValue(), in TEST_F()
151 EXPECT_EQ(simplified->GetChild(1)->GetType(), SENode::Constant); in TEST_F()
152 EXPECT_EQ(simplified->GetChild(1)->AsSEConstantNode()->FoldToSingleValue(), in TEST_F()
155 EXPECT_EQ(simplified->GetChild(0), simplified->GetChild(1)); in TEST_F()
269 SENode* simplified = analysis.SimplifyExpression(const_cast<SENode*>(node)); in TEST_F() local
270 EXPECT_EQ(simplified->GetType(), SENode::RecurrentAddExpr); in TEST_F()
272 const SERecurrentNode* rec = simplified->AsSERecurrentNode(); in TEST_F()
376 SENode* simplified = analysis.SimplifyExpression(const_cast<SENode*>(node)); in TEST_F() local
378 EXPECT_EQ(simplified->GetType(), SENode::Constant); in TEST_F()
379 EXPECT_EQ(simplified->AsSEConstantNode()->FoldToSingleValue(), 33u); in TEST_F()