Home | History | Annotate | Download | only in IR

Lines Matching defs:File

5 // This file is distributed under the University of Illinois Open Source
91 return DIFile::getDistinct(Context, "file.c", "/path/to/dir");
990 DIFile *File = getFile();
996 File, 1, Scope, BaseType, 2, 3, 4, 5, ExtraData);
999 EXPECT_EQ(File, N->getFile());
1009 "something", File, 1, Scope, BaseType, 2, 3,
1013 "something", File, 1, Scope, BaseType, 2, 3,
1016 File, 1, Scope, BaseType, 2, 3, 4, 5,
1022 "something", File, 2, Scope, BaseType, 2, 3,
1025 "something", File, 1, getSubprogram(),
1028 Context, dwarf::DW_TAG_pointer_type, "something", File, 1,
1031 "something", File, 1, Scope, BaseType, 3, 3,
1034 "something", File, 1, Scope, BaseType, 2, 2,
1037 "something", File, 1, Scope, BaseType, 2, 3,
1040 "something", File, 1, Scope, BaseType, 2, 3,
1043 "something", File, 1, Scope, BaseType, 2, 3,
1051 DIFile *File = getFile();
1057 File, 1, Scope, BaseType, UINT64_MAX,
1069 DIFile *File = getFile();
1083 auto *N = DICompositeType::get(Context, Tag, Name, File, Line, Scope,
1089 EXPECT_EQ(File, N->getFile());
1103 EXPECT_EQ(N, DICompositeType::get(Context, Tag, Name, File, Line, Scope,
1108 EXPECT_NE(N, DICompositeType::get(Context, Tag + 1, Name, File, Line, Scope,
1112 EXPECT_NE(N, DICompositeType::get(Context, Tag, "abc", File, Line, Scope,
1120 EXPECT_NE(N, DICompositeType::get(Context, Tag, Name, File, Line + 1, Scope,
1125 Context, Tag, Name, File, Line, getSubprogram(), BaseType,
1129 Context, Tag, Name, File, Line, Scope, getBasicType("other"),
1132 EXPECT_NE(N, DICompositeType::get(Context, Tag, Name, File, Line, Scope,
1136 EXPECT_NE(N, DICompositeType::get(Context, Tag, Name, File, Line, Scope,
1141 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits,
1145 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits,
1149 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits,
1153 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits,
1157 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits,
1160 EXPECT_NE(N, DICompositeType::get(Context, Tag, Name, File, Line, Scope,
1164 EXPECT_NE(N, DICompositeType::get(Context, Tag, Name, File, Line, Scope,
1170 EXPECT_FALSE(DICompositeType::get(Context, Tag, Name, File, Line, Scope,
1175 EXPECT_FALSE(DICompositeType::get(Context, Tag, Name, File, Line, Scope,
1188 DIFile *File = getFile();
1202 auto *N = DICompositeType::get(Context, Tag, Name, File, Line, Scope,
1214 DIFile *File = getFile();
1226 Context, Tag, Name, File, Line, Scope, BaseType, SizeInBits, AlignInBits,
1293 StringRef Filename = "file";
1311 DIScope *N = DIFile::get(Context, "file", "dir");
1319 DIFile *File = getFile();
1324 StringRef SplitDebugFilename = "another/file";
1333 Context, SourceLanguage, File, Producer, IsOptimized, Flags,
1340 EXPECT_EQ(File, N->getFile());
1357 EXPECT_EQ(File, Temp->getFile());
1379 DIFile *File = getFile();
1384 StringRef SplitDebugFilename = "another/file";
1391 Context, SourceLanguage, File, Producer, IsOptimized, Flags,
1416 DIFile *File = getFile();
1434 auto *N = DISubprogram::get(Context, Scope, Name, LinkageName, File, Line,
1444 EXPECT_EQ(File, N->getFile());
1460 EXPECT_EQ(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, Line,
1467 Context, getCompositeType(), Name, LinkageName, File, Line,
1472 Context, Scope, "other", LinkageName, File, Line, Type,
1476 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, "other", File, Line,
1487 Context, Scope, Name, LinkageName, File, Line + 1, Type,
1492 DISubprogram::get(Context, Scope, Name, LinkageName, File, Line,
1497 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, Line,
1502 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, Line,
1508 Context, Scope, Name, LinkageName, File, Line, Type,
1512 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, Line,
1517 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, Line,
1522 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, Line,
1527 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, Line,
1532 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, Line,
1537 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, Line,
1542 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, Line,
1547 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, Line,
1552 EXPECT_NE(N, DISubprogram::get(Context, Scope, Name, LinkageName, File, Line,
1566 DIFile *File = getFile();
1570 auto *N = DILexicalBlock::get(Context, Scope, File, Line, Column);
1574 EXPECT_EQ(File, N->getFile());
1577 EXPECT_EQ(N, DILexicalBlock::get(Context, Scope, File, Line, Column));
1580 DILexicalBlock::get(Context, getSubprogram(), File, Line, Column));
1582 EXPECT_NE(N, DILexicalBlock::get(Context, Scope, File, Line + 1, Column));
1583 EXPECT_NE(N, DILexicalBlock::get(Context, Scope, File, Line, Column + 1));
1619 DIFile *File = getFile();
1622 auto *N = DILexicalBlockFile::get(Context, Scope, File, Discriminator);
1626 EXPECT_EQ(File, N->getFile());
1628 EXPECT_EQ(N, DILexicalBlockFile::get(Context, Scope, File, Discriminator));
1630 EXPECT_NE(N, DILexicalBlockFile::get(Context, getSubprogram(), File,
1635 DILexicalBlockFile::get(Context, Scope, File, Discriminator + 1));
1645 DIFile *File = getFile();
1649 auto *N = DINamespace::get(Context, Scope, File, Name, Line);
1653 EXPECT_EQ(File, N->getFile());
1656 EXPECT_EQ(N, DINamespace::get(Context, Scope, File, Name, Line));
1658 EXPECT_NE(N, DINamespace::get(Context, getFile(), File, Name, Line));
1660 EXPECT_NE(N, DINamespace::get(Context, Scope, File, "other", Line));
1661 EXPECT_NE(N, DINamespace::get(Context, Scope, File, Name, Line + 1));
1757 DIFile *File = getFile();
1766 auto *N = DIGlobalVariable::get(Context, Scope, Name, LinkageName, File, Line,
1773 EXPECT_EQ(File, N->getFile());
1780 EXPECT_EQ(N, DIGlobalVariable::get(Context, Scope, Name, LinkageName, File,
1786 File, Line, Type, IsLocalToUnit, IsDefinition,
1788 EXPECT_NE(N, DIGlobalVariable::get(Context, Scope, "other", LinkageName, File,
1791 EXPECT_NE(N, DIGlobalVariable::get(Context, Scope, Name, "other", File, Line,
1799 DIGlobalVariable::get(Context, Scope, Name, LinkageName, File,
1803 DIGlobalVariable::get(Context, Scope, Name, LinkageName, File, Line,
1806 EXPECT_NE(N, DIGlobalVariable::get(Context, Scope, Name, LinkageName, File,
1809 EXPECT_NE(N, DIGlobalVariable::get(Context, Scope, Name, LinkageName, File,
1813 DIGlobalVariable::get(Context, Scope, Name, LinkageName, File, Line,
1817 DIGlobalVariable::get(Context, Scope, Name, LinkageName, File, Line,
1830 DIFile *File = getFile();
1838 DILocalVariable::get(Context, Scope, Name, File, Line, Type, Arg, Flags);
1842 EXPECT_EQ(File, N->getFile());
1847 EXPECT_EQ(N, DILocalVariable::get(Context, Scope, Name, File, Line, Type, Arg,
1851 DILocalVariable::get(Context, Scope, Name, File, Line, Type, 0, Flags)
1853 EXPECT_NE(N, DILocalVariable::get(Context, getSubprogram(), Name, File, Line,
1855 EXPECT_NE(N, DILocalVariable::get(Context, Scope, "other", File, Line, Type,
1859 EXPECT_NE(N, DILocalVariable::get(Context, Scope, Name, File, Line + 1, Type,
1861 EXPECT_NE(N, DILocalVariable::get(Context, Scope, Name, File, Line,
1863 EXPECT_NE(N, DILocalVariable::get(Context, Scope, Name, File, Line, Type,
1865 EXPECT_NE(N, DILocalVariable::get(Context, Scope, Name, File, Line, Type, Arg,
1947 DIFile *File = getFile();
1954 auto *N = DIObjCProperty::get(Context, Name, File, Line, GetterName,
1959 EXPECT_EQ(File, N->getFile());
1965 EXPECT_EQ(N, DIObjCProperty::get(Context, Name, File, Line, GetterName,
1968 EXPECT_NE(N, DIObjCProperty::get(Context, "other", File, Line, GetterName,
1972 EXPECT_NE(N, DIObjCProperty::get(Context, Name, File, Line + 1, GetterName,
1974 EXPECT_NE(N, DIObjCProperty::get(Context, Name, File, Line, "other",
1976 EXPECT_NE(N, DIObjCProperty::get(Context, Name, File, Line, GetterName,
1978 EXPECT_NE(N, DIObjCProperty::get(Context, Name, File, Line, GetterName,
1980 EXPECT_NE(N, DIObjCProperty::get(Context, Name, File, Line, GetterName,