Lines Matching refs:Scope
967 MDScopeRef Scope = getSubprogramRef(); in TEST_F() local
972 File, 1, Scope, BaseType, 2, 3, 4, 5, ExtraData); in TEST_F()
977 EXPECT_EQ(Scope, N->getScope()); in TEST_F()
985 "something", File, 1, Scope, BaseType, 2, 3, in TEST_F()
989 "something", File, 1, Scope, BaseType, 2, 3, in TEST_F()
992 File, 1, Scope, BaseType, 2, 3, 4, 5, in TEST_F()
995 "something", getFile(), 1, Scope, BaseType, 2, in TEST_F()
998 "something", File, 2, Scope, BaseType, 2, 3, in TEST_F()
1005 Scope, getBasicType("basic2"), 2, 3, 4, 5, ExtraData)); in TEST_F()
1007 "something", File, 1, Scope, BaseType, 3, 3, in TEST_F()
1010 "something", File, 1, Scope, BaseType, 2, 2, in TEST_F()
1013 "something", File, 1, Scope, BaseType, 2, 3, in TEST_F()
1016 "something", File, 1, Scope, BaseType, 2, 3, in TEST_F()
1019 "something", File, 1, Scope, BaseType, 2, 3, in TEST_F()
1028 MDScopeRef Scope = getSubprogramRef(); in TEST_F() local
1033 File, 1, Scope, BaseType, UINT64_MAX, in TEST_F()
1047 MDScopeRef Scope = getSubprogramRef(); in TEST_F() local
1059 auto *N = MDCompositeType::get(Context, Tag, Name, File, Line, Scope, in TEST_F()
1067 EXPECT_EQ(Scope, N->getScope()); in TEST_F()
1079 EXPECT_EQ(N, MDCompositeType::get(Context, Tag, Name, File, Line, Scope, in TEST_F()
1084 EXPECT_NE(N, MDCompositeType::get(Context, Tag + 1, Name, File, Line, Scope, in TEST_F()
1088 EXPECT_NE(N, MDCompositeType::get(Context, Tag, "abc", File, Line, Scope, in TEST_F()
1092 EXPECT_NE(N, MDCompositeType::get(Context, Tag, Name, getFile(), Line, Scope, in TEST_F()
1096 EXPECT_NE(N, MDCompositeType::get(Context, Tag, Name, File, Line + 1, Scope, in TEST_F()
1105 Context, Tag, Name, File, Line, Scope, getBasicType("other"), in TEST_F()
1108 EXPECT_NE(N, MDCompositeType::get(Context, Tag, Name, File, Line, Scope, in TEST_F()
1112 EXPECT_NE(N, MDCompositeType::get(Context, Tag, Name, File, Line, Scope, in TEST_F()
1117 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, in TEST_F()
1121 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, in TEST_F()
1125 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, in TEST_F()
1129 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, in TEST_F()
1133 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, in TEST_F()
1136 EXPECT_NE(N, MDCompositeType::get(Context, Tag, Name, File, Line, Scope, in TEST_F()
1140 EXPECT_NE(N, MDCompositeType::get(Context, Tag, Name, File, Line, Scope, in TEST_F()
1147 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, in TEST_F()
1151 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, in TEST_F()
1164 MDScopeRef Scope = getSubprogramRef(); in TEST_F() local
1176 auto *N = MDCompositeType::get(Context, Tag, Name, File, Line, Scope, in TEST_F()
1190 MDScopeRef Scope = getSubprogramRef(); in TEST_F() local
1199 auto *N = MDCompositeType::get(Context, Tag, Name, File, Line, Scope, in TEST_F()
1422 MDScopeRef Scope = getCompositeType(); in TEST_F() local
1442 Context, Scope, Name, LinkageName, File, Line, Type, IsLocalToUnit, in TEST_F()
1447 EXPECT_EQ(Scope, N->getScope()); in TEST_F()
1465 EXPECT_EQ(N, MDSubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
1476 EXPECT_NE(N, MDSubprogram::get(Context, Scope, "other", LinkageName, File, in TEST_F()
1481 EXPECT_NE(N, MDSubprogram::get(Context, Scope, Name, "other", File, Line, in TEST_F()
1486 EXPECT_NE(N, MDSubprogram::get(Context, Scope, Name, LinkageName, getFile(), in TEST_F()
1491 EXPECT_NE(N, MDSubprogram::get(Context, Scope, Name, LinkageName, File, in TEST_F()
1497 Context, Scope, Name, LinkageName, File, Line, in TEST_F()
1501 EXPECT_NE(N, MDSubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
1506 EXPECT_NE(N, MDSubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
1511 EXPECT_NE(N, MDSubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
1516 EXPECT_NE(N, MDSubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
1521 EXPECT_NE(N, MDSubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
1526 EXPECT_NE(N, MDSubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
1531 EXPECT_NE(N, MDSubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
1536 EXPECT_NE(N, MDSubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
1541 EXPECT_NE(N, MDSubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
1546 EXPECT_NE(N, MDSubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
1551 EXPECT_NE(N, MDSubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
1556 EXPECT_NE(N, MDSubprogram::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
1567 MDScopeRef Scope = getCompositeType(); in TEST_F() local
1586 Context, Scope, Name, LinkageName, File, Line, Type, IsLocalToUnit, in TEST_F()
1605 MDLocalScope *Scope = getSubprogram(); in TEST_F() local
1610 auto *N = MDLexicalBlock::get(Context, Scope, File, Line, Column); in TEST_F()
1613 EXPECT_EQ(Scope, N->getScope()); in TEST_F()
1617 EXPECT_EQ(N, MDLexicalBlock::get(Context, Scope, File, Line, Column)); in TEST_F()
1621 EXPECT_NE(N, MDLexicalBlock::get(Context, Scope, getFile(), Line, Column)); in TEST_F()
1622 EXPECT_NE(N, MDLexicalBlock::get(Context, Scope, File, Line + 1, Column)); in TEST_F()
1623 EXPECT_NE(N, MDLexicalBlock::get(Context, Scope, File, Line, Column + 1)); in TEST_F()
1632 MDLocalScope *Scope = getSubprogram(); in TEST_F() local
1636 auto *N = MDLexicalBlockFile::get(Context, Scope, File, Discriminator); in TEST_F()
1639 EXPECT_EQ(Scope, N->getScope()); in TEST_F()
1642 EXPECT_EQ(N, MDLexicalBlockFile::get(Context, Scope, File, Discriminator)); in TEST_F()
1647 MDLexicalBlockFile::get(Context, Scope, getFile(), Discriminator)); in TEST_F()
1649 MDLexicalBlockFile::get(Context, Scope, File, Discriminator + 1)); in TEST_F()
1658 MDScope *Scope = getFile(); in TEST_F() local
1663 auto *N = MDNamespace::get(Context, Scope, File, Name, Line); in TEST_F()
1666 EXPECT_EQ(Scope, N->getScope()); in TEST_F()
1670 EXPECT_EQ(N, MDNamespace::get(Context, Scope, File, Name, Line)); in TEST_F()
1673 EXPECT_NE(N, MDNamespace::get(Context, Scope, getFile(), Name, Line)); in TEST_F()
1674 EXPECT_NE(N, MDNamespace::get(Context, Scope, File, "other", Line)); in TEST_F()
1675 EXPECT_NE(N, MDNamespace::get(Context, Scope, File, Name, Line + 1)); in TEST_F()
1734 MDScope *Scope = getSubprogram(); in TEST_F() local
1746 auto *N = MDGlobalVariable::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
1750 EXPECT_EQ(Scope, N->getScope()); in TEST_F()
1760 EXPECT_EQ(N, MDGlobalVariable::get(Context, Scope, Name, LinkageName, File, in TEST_F()
1768 EXPECT_NE(N, MDGlobalVariable::get(Context, Scope, "other", LinkageName, File, in TEST_F()
1771 EXPECT_NE(N, MDGlobalVariable::get(Context, Scope, Name, "other", File, Line, in TEST_F()
1775 MDGlobalVariable::get(Context, Scope, Name, LinkageName, getFile(), in TEST_F()
1779 MDGlobalVariable::get(Context, Scope, Name, LinkageName, File, in TEST_F()
1783 MDGlobalVariable::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
1786 EXPECT_NE(N, MDGlobalVariable::get(Context, Scope, Name, LinkageName, File, in TEST_F()
1789 EXPECT_NE(N, MDGlobalVariable::get(Context, Scope, Name, LinkageName, File, in TEST_F()
1793 MDGlobalVariable::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
1797 MDGlobalVariable::get(Context, Scope, Name, LinkageName, File, Line, in TEST_F()
1809 MDLocalScope *Scope = getSubprogram(); in TEST_F() local
1817 auto *N = MDLocalVariable::get(Context, Tag, Scope, Name, File, Line, Type, in TEST_F()
1820 EXPECT_EQ(Scope, N->getScope()); in TEST_F()
1827 EXPECT_EQ(N, MDLocalVariable::get(Context, Tag, Scope, Name, File, Line, Type, in TEST_F()
1830 EXPECT_NE(N, MDLocalVariable::get(Context, dwarf::DW_TAG_auto_variable, Scope, in TEST_F()
1834 EXPECT_NE(N, MDLocalVariable::get(Context, Tag, Scope, "other", File, Line, in TEST_F()
1836 EXPECT_NE(N, MDLocalVariable::get(Context, Tag, Scope, Name, getFile(), Line, in TEST_F()
1838 EXPECT_NE(N, MDLocalVariable::get(Context, Tag, Scope, Name, File, Line + 1, in TEST_F()
1840 EXPECT_NE(N, MDLocalVariable::get(Context, Tag, Scope, Name, File, Line, in TEST_F()
1842 EXPECT_NE(N, MDLocalVariable::get(Context, Tag, Scope, Name, File, Line, Type, in TEST_F()
1844 EXPECT_NE(N, MDLocalVariable::get(Context, Tag, Scope, Name, File, Line, Type, in TEST_F()
1955 MDScope *Scope = getSubprogram(); in TEST_F() local
1960 auto *N = MDImportedEntity::get(Context, Tag, Scope, Entity, Line, Name); in TEST_F()
1963 EXPECT_EQ(Scope, N->getScope()); in TEST_F()
1967 EXPECT_EQ(N, MDImportedEntity::get(Context, Tag, Scope, Entity, Line, Name)); in TEST_F()
1971 Scope, Entity, Line, Name)); in TEST_F()
1974 EXPECT_NE(N, MDImportedEntity::get(Context, Tag, Scope, getCompositeType(), in TEST_F()
1977 MDImportedEntity::get(Context, Tag, Scope, Entity, Line + 1, Name)); in TEST_F()
1979 MDImportedEntity::get(Context, Tag, Scope, Entity, Line, "other")); in TEST_F()