Lines Matching refs:FuncScope

143   LexicalScope *FuncScope = LS.getCurrentFunctionScope();  in TEST_F()  local
144 EXPECT_EQ(FuncScope->getParent(), nullptr); in TEST_F()
145 EXPECT_EQ(FuncScope->getDesc(), OurFunc); in TEST_F()
146 EXPECT_EQ(FuncScope->getInlinedAt(), nullptr); in TEST_F()
147 EXPECT_EQ(FuncScope->getScopeNode(), OurFunc); in TEST_F()
148 EXPECT_FALSE(FuncScope->isAbstractScope()); in TEST_F()
149 EXPECT_EQ(FuncScope->getChildren().size(), 0u); in TEST_F()
153 auto &Ranges = FuncScope->getRanges(); in TEST_F()
160 EXPECT_TRUE(FuncScope->dominates(FuncScope)); in TEST_F()
185 LexicalScope *FuncScope = LS.getCurrentFunctionScope(); in TEST_F() local
186 EXPECT_EQ(FuncScope->getDesc(), OurFunc); in TEST_F()
187 auto &Children = FuncScope->getChildren(); in TEST_F()
194 EXPECT_TRUE(FuncScope->dominates(BlockScope)); in TEST_F()
195 EXPECT_FALSE(BlockScope->dominates(FuncScope)); in TEST_F()
196 EXPECT_EQ(FuncScope->getParent(), nullptr); in TEST_F()
197 EXPECT_EQ(BlockScope->getParent(), FuncScope); in TEST_F()
220 LexicalScope *FuncScope = LS.getCurrentFunctionScope(); in TEST_F() local
221 auto &Children = FuncScope->getChildren(); in TEST_F()
233 EXPECT_EQ(FuncScope->getParent(), nullptr); in TEST_F()
234 EXPECT_EQ(BlockScope->getParent(), FuncScope); in TEST_F()
255 LexicalScope *FuncScope = LS.getCurrentFunctionScope(); in TEST_F() local
259 auto &Ranges = FuncScope->getRanges(); in TEST_F()
290 LexicalScope *FuncScope = LS.getCurrentFunctionScope(); in TEST_F() local
291 auto &FuncRanges = FuncScope->getRanges(); in TEST_F()
309 LexicalScope *FuncScope = LS.getCurrentFunctionScope(); in TEST_F() local
312 ASSERT_NE(FuncScope, nullptr); in TEST_F()
318 auto &FuncRanges = FuncScope->getRanges(); in TEST_F()
347 LexicalScope *FuncScope = LS.getCurrentFunctionScope(); in TEST_F() local
350 ASSERT_NE(FuncScope, nullptr); in TEST_F()
354 EXPECT_TRUE(FuncScope->dominates(BlockScope)); in TEST_F()
355 EXPECT_TRUE(FuncScope->dominates(OtherBlockScope)); in TEST_F()
356 EXPECT_FALSE(BlockScope->dominates(FuncScope)); in TEST_F()
358 EXPECT_FALSE(OtherBlockScope->dominates(FuncScope)); in TEST_F()
389 LexicalScope *FuncScope = LS.getCurrentFunctionScope(); in TEST_F() local
392 ASSERT_NE(FuncScope, nullptr); in TEST_F()
446 LexicalScope *FuncScope = LS.getCurrentFunctionScope(); in TEST_F() local
448 ASSERT_NE(FuncScope, nullptr); in TEST_F()