Lines Matching refs:Scope

428   DILocalScope *Scope = getSubprogram();  in TEST_F()  local
433 auto *Var = DILocalVariable::get(Context, Scope, "foo", File, in TEST_F()
441 Scope->print((SS << "\n").indent(2)); in TEST_F()
466 auto *Var = DILocalVariable::get(Context, Scope, "foo", File, in TEST_F()
474 Scope->print((SS << "\n").indent(2)); in TEST_F()
1229 DILocalScope *Scope = getSubprogram(); in TEST_F() local
1233 auto *VlaExpr = DILocalVariable::get(Context, Scope, "vla_expr", File, 8, in TEST_F()
1249 DILocalScope *Scope = getSubprogram(); in TEST_F() local
1261 auto *UVother = DILocalVariable::get(Context, Scope, "ubother", File, 8, Type, in TEST_F()
1300 DILocalScope *Scope = getSubprogram(); in TEST_F() local
1305 DILocalVariable::get(Context, Scope, "lb", File, 8, Type, 2, Flags, 8, in TEST_F()
1308 DILocalVariable::get(Context, Scope, "ub", File, 8, Type, 2, Flags, 8, in TEST_F()
1311 DILocalVariable::get(Context, Scope, "st", File, 8, Type, 2, Flags, 8, in TEST_F()
1313 auto *SVother = DILocalVariable::get(Context, Scope, "stother", File, 8, Type, in TEST_F()
1344 DILocalScope *Scope = getSubprogram(); in TEST_F() local
1354 auto *LVother = DILocalVariable::get(Context, Scope, "lbother", File, 8, Type, in TEST_F()
1384 DILocalScope *Scope = getSubprogram(); in TEST_F() local
1393 auto *UVother = DILocalVariable::get(Context, Scope, "ubother", File, 8, Type, in TEST_F()
1432 DILocalScope *Scope = getSubprogram(); in TEST_F() local
1437 DILocalVariable::get(Context, Scope, "lb", File, 8, Type, 2, Flags, 8, in TEST_F()
1440 DILocalVariable::get(Context, Scope, "ub", File, 8, Type, 2, Flags, 8, in TEST_F()
1443 DILocalVariable::get(Context, Scope, "st", File, 8, Type, 2, Flags, 8, in TEST_F()
1445 auto *SVother = DILocalVariable::get(Context, Scope, "stother", File, 8, Type, in TEST_F()
1476 DILocalScope *Scope = getSubprogram(); in TEST_F() local
1481 DILocalVariable::get(Context, Scope, "lb", File, 8, Type, 2, Flags, 8, nullptr); in TEST_F()
1485 auto *LVother = DILocalVariable::get(Context, Scope, "lbother", File, 8, Type, in TEST_F()
1646 DIScope *Scope = getSubprogram(); in TEST_F() local
1655 1, Scope, BaseType, 2, 3, 4, DWARFAddressSpace, Flags5, in TEST_F()
1661 EXPECT_EQ(Scope, N->getScope()); in TEST_F()
1670 "something", File, 1, Scope, BaseType, 2, 3, in TEST_F()
1674 "something", File, 1, Scope, BaseType, 2, 3, in TEST_F()
1677 File, 1, Scope, BaseType, 2, 3, in TEST_F()
1680 "something", getFile(), 1, Scope, BaseType, 2, in TEST_F()
1683 "something", File, 2, Scope, BaseType, 2, 3, in TEST_F()
1691 Scope, getBasicType("basic2"), 2, 3, 4, DWARFAddressSpace, in TEST_F()
1694 "something", File, 1, Scope, BaseType, 3, 3, in TEST_F()
1697 "something", File, 1, Scope, BaseType, 2, 2, in TEST_F()
1700 "something", File, 1, Scope, BaseType, 2, 3, in TEST_F()
1703 "something", File, 1, Scope, BaseType, 2, 3, in TEST_F()
1706 "something", File, 1, Scope, BaseType, 2, 3, in TEST_F()
1709 "something", File, 1, Scope, BaseType, 2, 3, in TEST_F()
1718 DIScope *Scope = getSubprogram(); in TEST_F() local
1724 Context, dwarf::DW_TAG_pointer_type, "something", File, 1, Scope, in TEST_F()
1740 DIScope *Scope = getSubprogram(); in TEST_F() local
1752 auto *N = DICompositeType::get(Context, Tag, Name, File, Line, Scope, in TEST_F()
1760 EXPECT_EQ(Scope, N->getScope()); in TEST_F()
1772 EXPECT_EQ(N, DICompositeType::get(Context, Tag, Name, File, Line, Scope, in TEST_F()
1777 EXPECT_NE(N, DICompositeType::get(Context, Tag + 1, Name, File, Line, Scope, in TEST_F()
1781 EXPECT_NE(N, DICompositeType::get(Context, Tag, "abc", File, Line, Scope, in TEST_F()
1785 EXPECT_NE(N, DICompositeType::get(Context, Tag, Name, getFile(), Line, Scope, in TEST_F()
1789 EXPECT_NE(N, DICompositeType::get(Context, Tag, Name, File, Line + 1, Scope, in TEST_F()
1798 Context, Tag, Name, File, Line, Scope, getBasicType("other"), in TEST_F()
1801 EXPECT_NE(N, DICompositeType::get(Context, Tag, Name, File, Line, Scope, in TEST_F()
1805 EXPECT_NE(N, DICompositeType::get(Context, Tag, Name, File, Line, Scope, in TEST_F()
1810 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, in TEST_F()
1815 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, in TEST_F()
1819 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, in TEST_F()
1823 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, in TEST_F()
1827 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, in TEST_F()
1830 EXPECT_NE(N, DICompositeType::get(Context, Tag, Name, File, Line, Scope, in TEST_F()
1834 EXPECT_NE(N, DICompositeType::get(Context, Tag, Name, File, Line, Scope, in TEST_F()
1840 EXPECT_FALSE(DICompositeType::get(Context, Tag, Name, File, Line, Scope, in TEST_F()
1845 EXPECT_FALSE(DICompositeType::get(Context, Tag, Name, File, Line, Scope, in TEST_F()
1860 DIScope *Scope = getSubprogram(); in TEST_F() local
1872 auto *N = DICompositeType::get(Context, Tag, Name, File, Line, Scope, in TEST_F()
1886 DIScope *Scope = getSubprogram(); in TEST_F() local
1896 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, AlignInBits, in TEST_F()
1931 DIScope *Scope = getSubprogram(); in TEST_F() local
1945 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, AlignInBits, in TEST_F()
1951 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, AlignInBits, in TEST_F()
1955 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, AlignInBits, in TEST_F()
1959 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, AlignInBits, in TEST_F()
1976 DILocalScope *Scope = getSubprogram(); in TEST_F() local
1985 Metadata *DlVar1 = DILocalVariable::get(Context, Scope, "dl_var1", File, 8, in TEST_F()
1987 Metadata *DlVar2 = DILocalVariable::get(Context, Scope, "dl_var2", File, 8, in TEST_F()
2006 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, AlignInBits, in TEST_F()
2011 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, AlignInBits, in TEST_F()
2016 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, AlignInBits, in TEST_F()
2025 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, AlignInBits, in TEST_F()
2030 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, AlignInBits, in TEST_F()
2035 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, AlignInBits, in TEST_F()
2044 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, AlignInBits, in TEST_F()
2049 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, AlignInBits, in TEST_F()
2054 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, AlignInBits, in TEST_F()
2063 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, AlignInBits, in TEST_F()
2068 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, AlignInBits, in TEST_F()
2073 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, AlignInBits, in TEST_F()
2266 DIScope *Scope = getCompositeType(); in TEST_F() local
2295 Context, Scope, Name, LinkageName, File, Line, Type, ScopeLine, in TEST_F()
2301 EXPECT_EQ(Scope, N->getScope()); in TEST_F()
2323 EXPECT_EQ(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
2335 EXPECT_NE(N, DISubprogram::get(Context, Scope, "other", LinkageName, File, in TEST_F()
2341 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, "other", File, Line, in TEST_F()
2346 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, LinkageName, getFile(), in TEST_F()
2352 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, in TEST_F()
2358 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
2365 Context, Scope, Name, LinkageName, File, Line, Type, in TEST_F()
2371 Context, Scope, Name, LinkageName, File, Line, Type, in TEST_F()
2376 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
2382 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
2389 Context, Scope, Name, LinkageName, File, Line, Type, in TEST_F()
2394 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
2401 Context, Scope, Name, LinkageName, File, Line, Type, in TEST_F()
2406 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
2412 DISubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
2417 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
2422 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
2427 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
2432 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
2437 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
2450 DILocalScope *Scope = getSubprogram(); in TEST_F() local
2455 auto *N = DILexicalBlock::get(Context, Scope, File, Line, Column); in TEST_F()
2458 EXPECT_EQ(Scope, N->getScope()); in TEST_F()
2462 EXPECT_EQ(N, DILexicalBlock::get(Context, Scope, File, Line, Column)); in TEST_F()
2466 EXPECT_NE(N, DILexicalBlock::get(Context, Scope, getFile(), Line, Column)); in TEST_F()
2467 EXPECT_NE(N, DILexicalBlock::get(Context, Scope, File, Line + 1, Column)); in TEST_F()
2468 EXPECT_NE(N, DILexicalBlock::get(Context, Scope, File, Line, Column + 1)); in TEST_F()
2503 DILocalScope *Scope = getSubprogram(); in TEST_F() local
2507 auto *N = DILexicalBlockFile::get(Context, Scope, File, Discriminator); in TEST_F()
2510 EXPECT_EQ(Scope, N->getScope()); in TEST_F()
2513 EXPECT_EQ(N, DILexicalBlockFile::get(Context, Scope, File, Discriminator)); in TEST_F()
2518 DILexicalBlockFile::get(Context, Scope, getFile(), Discriminator)); in TEST_F()
2520 DILexicalBlockFile::get(Context, Scope, File, Discriminator + 1)); in TEST_F()
2529 DIScope *Scope = getFile(); in TEST_F() local
2533 auto *N = DINamespace::get(Context, Scope, Name, ExportSymbols); in TEST_F()
2536 EXPECT_EQ(Scope, N->getScope()); in TEST_F()
2538 EXPECT_EQ(N, DINamespace::get(Context, Scope, Name, ExportSymbols)); in TEST_F()
2540 EXPECT_NE(N, DINamespace::get(Context, Scope, "other", ExportSymbols)); in TEST_F()
2541 EXPECT_NE(N, DINamespace::get(Context, Scope, Name, !ExportSymbols)); in TEST_F()
2551 DIScope *Scope = getFile(); in TEST_F() local
2559 auto *N = DIModule::get(Context, File, Scope, Name, ConfigMacro, Includes, in TEST_F()
2564 EXPECT_EQ(Scope, N->getScope()); in TEST_F()
2571 EXPECT_EQ(N, DIModule::get(Context, File, Scope, Name, ConfigMacro, Includes, in TEST_F()
2575 EXPECT_NE(N, DIModule::get(Context, File, Scope, "other", ConfigMacro, in TEST_F()
2577 EXPECT_NE(N, DIModule::get(Context, File, Scope, Name, "other", Includes, in TEST_F()
2579 EXPECT_NE(N, DIModule::get(Context, File, Scope, Name, ConfigMacro, "other", in TEST_F()
2581 EXPECT_NE(N, DIModule::get(Context, File, Scope, Name, ConfigMacro, Includes, in TEST_F()
2583 EXPECT_NE(N, DIModule::get(Context, getFile(), Scope, Name, ConfigMacro, in TEST_F()
2585 EXPECT_NE(N, DIModule::get(Context, File, Scope, Name, ConfigMacro, Includes, in TEST_F()
2587 EXPECT_NE(N, DIModule::get(Context, File, Scope, Name, ConfigMacro, Includes, in TEST_F()
2656 DIScope *Scope = getSubprogram(); in TEST_F() local
2671 Context, Scope, Name, LinkageName, File, Line, Type, IsLocalToUnit, in TEST_F()
2676 EXPECT_EQ(Scope, N->getScope()); in TEST_F()
2687 EXPECT_EQ(N, DIGlobalVariable::get(Context, Scope, Name, LinkageName, File, in TEST_F()
2697 EXPECT_NE(N, DIGlobalVariable::get(Context, Scope, "other", LinkageName, File, in TEST_F()
2701 EXPECT_NE(N, DIGlobalVariable::get(Context, Scope, Name, "other", File, Line, in TEST_F()
2705 EXPECT_NE(N, DIGlobalVariable::get(Context, Scope, Name, LinkageName, in TEST_F()
2709 EXPECT_NE(N, DIGlobalVariable::get(Context, Scope, Name, LinkageName, File, in TEST_F()
2713 EXPECT_NE(N, DIGlobalVariable::get(Context, Scope, Name, LinkageName, File, in TEST_F()
2717 EXPECT_NE(N, DIGlobalVariable::get(Context, Scope, Name, LinkageName, File, in TEST_F()
2721 EXPECT_NE(N, DIGlobalVariable::get(Context, Scope, Name, LinkageName, File, in TEST_F()
2725 EXPECT_NE(N, DIGlobalVariable::get(Context, Scope, Name, LinkageName, File, in TEST_F()
2729 EXPECT_NE(N, DIGlobalVariable::get(Context, Scope, Name, LinkageName, File, in TEST_F()
2733 EXPECT_NE(N, DIGlobalVariable::get(Context, Scope, Name, LinkageName, File, in TEST_F()
2746 DIScope *Scope = getSubprogram(); in TEST_F() local
2762 Context, Scope, Name, LinkageName, File, Line, Type, IsLocalToUnit, in TEST_F()
2766 Context, Scope, "other", LinkageName, File, Line, Type, IsLocalToUnit, in TEST_F()
2784 DILocalScope *Scope = getSubprogram(); in TEST_F() local
2794 DILocalVariable::get(Context, Scope, Name, File, Line, Type, Arg, Flags, in TEST_F()
2797 EXPECT_EQ(Scope, N->getScope()); in TEST_F()
2805 EXPECT_EQ(N, DILocalVariable::get(Context, Scope, Name, File, Line, Type, Arg, in TEST_F()
2809 DILocalVariable::get(Context, Scope, Name, File, Line, Type, 0, Flags, in TEST_F()
2813 EXPECT_NE(N, DILocalVariable::get(Context, Scope, "other", File, Line, Type, in TEST_F()
2815 EXPECT_NE(N, DILocalVariable::get(Context, Scope, Name, getFile(), Line, Type, in TEST_F()
2817 EXPECT_NE(N, DILocalVariable::get(Context, Scope, Name, File, Line + 1, Type, in TEST_F()
2819 EXPECT_NE(N, DILocalVariable::get(Context, Scope, Name, File, Line, in TEST_F()
2822 EXPECT_NE(N, DILocalVariable::get(Context, Scope, Name, File, Line, Type, in TEST_F()
2824 EXPECT_NE(N, DILocalVariable::get(Context, Scope, Name, File, Line, Type, in TEST_F()
3102 DIScope *Scope = getSubprogram(); in TEST_F() local
3109 DIImportedEntity::get(Context, Tag, Scope, Entity, File, Line, Name); in TEST_F()
3112 EXPECT_EQ(Scope, N->getScope()); in TEST_F()
3118 N, DIImportedEntity::get(Context, Tag, Scope, Entity, File, Line, Name)); in TEST_F()
3122 Scope, Entity, File, Line, Name)); in TEST_F()
3125 EXPECT_NE(N, DIImportedEntity::get(Context, Tag, Scope, getCompositeType(), in TEST_F()
3127 EXPECT_NE(N, DIImportedEntity::get(Context, Tag, Scope, Entity, nullptr, Line, in TEST_F()
3129 EXPECT_NE(N, DIImportedEntity::get(Context, Tag, Scope, Entity, File, in TEST_F()
3131 EXPECT_NE(N, DIImportedEntity::get(Context, Tag, Scope, Entity, File, Line, in TEST_F()
3139 auto *Ne = DIImportedEntity::get(Context, Tag, Scope, Entity, File, Line, in TEST_F()
3144 EXPECT_EQ(Ne, DIImportedEntity::get(Context, Tag, Scope, Entity, File, Line, in TEST_F()
3146 EXPECT_NE(Ne, DIImportedEntity::get(Context, Tag, Scope, Entity, File, Line, in TEST_F()
3148 EXPECT_NE(Ne, DIImportedEntity::get(Context, Tag, Scope, Entity, File, Line, in TEST_F()
3151 Ne, DIImportedEntity::get(Context, Tag, Scope, Entity, File, Line, Name)); in TEST_F()
3573 DILocalScope *Scope = getSubprogram(); in TEST_F() local
3578 DILocation *InlinedLoc = DILocation::get(Context, 2, 7, Scope); in TEST_F()
3581 DILocalVariable::get(Context, Scope, "A", File, 5, Type, 2, Flags, 8, nullptr); in TEST_F()
3583 DILocalVariable::get(Context, Scope, "B", File, 7, Type, 3, Flags, 8, nullptr); in TEST_F()