Home
last modified time | relevance | path

Searched refs:FileNumber (Results 1 – 23 of 23) sorted by relevance

/external/llvm/lib/MC/
DMCContext.cpp469 unsigned FileNumber, unsigned CUID) { in getDwarfFile() argument
471 return Table.getFile(Directory, FileName, FileNumber); in getDwarfFile()
476 bool MCContext::isValidDwarfFileNumber(unsigned FileNumber, unsigned CUID) { in isValidDwarfFileNumber() argument
478 if (FileNumber == 0 || FileNumber >= MCDwarfFiles.size()) in isValidDwarfFileNumber()
481 return !MCDwarfFiles[FileNumber].Name.empty(); in isValidDwarfFileNumber()
497 unsigned MCContext::getCVFile(StringRef FileName, unsigned FileNumber) { in getCVFile() argument
498 return getCVContext().addFile(FileNumber, FileName) ? FileNumber : 0; in getCVFile()
501 bool MCContext::isValidCVFileNumber(unsigned FileNumber) { in isValidCVFileNumber() argument
502 return getCVContext().isValidFileNumber(FileNumber); in isValidCVFileNumber()
DMCCodeView.cpp40 bool CodeViewContext::isValidFileNumber(unsigned FileNumber) const { in isValidFileNumber()
41 unsigned Idx = FileNumber - 1; in isValidFileNumber()
47 bool CodeViewContext::addFile(unsigned FileNumber, StringRef Filename) { in addFile() argument
48 assert(FileNumber > 0); in addFile()
50 unsigned Idx = FileNumber - 1; in addFile()
DMCDwarf.cpp332 unsigned FileNumber) { in getFile() argument
333 return Header.getFile(Directory, FileName, FileNumber); in getFile()
338 unsigned FileNumber) { in getFile() argument
346 if (FileNumber == 0) { in getFile()
349 FileNumber = MCDwarfFiles.empty() ? 1 : MCDwarfFiles.size(); in getFile()
353 FileNumber)); in getFile()
358 MCDwarfFiles.resize(FileNumber + 1); in getFile()
361 MCDwarfFile &File = MCDwarfFiles[FileNumber]; in getFile()
402 return FileNumber; in getFile()
929 unsigned FileNumber = context.getGenDwarfFileNumber(); in Make() local
[all …]
/external/llvm-project/llvm/include/llvm/MC/
DMCDwarf.h237 unsigned FileNumber = 0);
323 unsigned FileNumber = 0);
326 uint16_t DwarfVersion, unsigned FileNumber = 0) {
328 DwarfVersion, FileNumber));
417 unsigned FileNumber; variable
426 : Name(name), FileNumber(fileNumber), LineNumber(lineNumber), in MCGenDwarfLabelEntry()
430 unsigned getFileNumber() const { return FileNumber; } in getFileNumber()
DMCCodeView.h142 bool isValidFileNumber(unsigned FileNumber) const;
143 bool addFile(MCStreamer &OS, unsigned FileNumber, StringRef Filename,
DMCContext.h603 unsigned FileNumber,
607 bool isValidDwarfFileNumber(unsigned FileNumber, unsigned CUID = 0);
677 void setGenDwarfFileNumber(unsigned FileNumber) { in setGenDwarfFileNumber() argument
678 GenDwarfFileNumber = FileNumber; in setGenDwarfFileNumber()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCDwarf.h232 unsigned FileNumber = 0);
318 unsigned FileNumber = 0);
321 uint16_t DwarfVersion, unsigned FileNumber = 0) {
323 DwarfVersion, FileNumber));
412 unsigned FileNumber; variable
421 : Name(name), FileNumber(fileNumber), LineNumber(lineNumber), in MCGenDwarfLabelEntry()
425 unsigned getFileNumber() const { return FileNumber; } in getFileNumber()
DMCCodeView.h142 bool isValidFileNumber(unsigned FileNumber) const;
143 bool addFile(MCStreamer &OS, unsigned FileNumber, StringRef Filename,
169 bool isValidCVFileNumber(unsigned FileNumber);
DMCContext.h548 unsigned FileNumber,
552 bool isValidDwarfFileNumber(unsigned FileNumber, unsigned CUID = 0);
622 void setGenDwarfFileNumber(unsigned FileNumber) { in setGenDwarfFileNumber() argument
623 GenDwarfFileNumber = FileNumber; in setGenDwarfFileNumber()
/external/llvm/include/llvm/MC/
DMCContext.h446 unsigned FileNumber, unsigned CUID);
448 bool isValidDwarfFileNumber(unsigned FileNumber, unsigned CUID = 0);
508 void setGenDwarfFileNumber(unsigned FileNumber) { in setGenDwarfFileNumber() argument
509 GenDwarfFileNumber = FileNumber; in setGenDwarfFileNumber()
542 unsigned getCVFile(StringRef FileName, unsigned FileNumber);
563 bool isValidCVFileNumber(unsigned FileNumber);
DMCDwarf.h205 unsigned FileNumber = 0);
237 unsigned FileNumber = 0);
302 unsigned FileNumber; variable
311 : Name(name), FileNumber(fileNumber), LineNumber(lineNumber), in MCGenDwarfLabelEntry()
315 unsigned getFileNumber() const { return FileNumber; } in getFileNumber()
DMCCodeView.h113 bool isValidFileNumber(unsigned FileNumber) const;
114 bool addFile(unsigned FileNumber, StringRef Filename);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCContext.cpp652 unsigned FileNumber, in getDwarfFile() argument
658 FileNumber); in getDwarfFile()
663 bool MCContext::isValidDwarfFileNumber(unsigned FileNumber, unsigned CUID) { in isValidDwarfFileNumber() argument
665 if (FileNumber == 0) in isValidDwarfFileNumber()
667 if (FileNumber >= LineTable.getMCDwarfFiles().size()) in isValidDwarfFileNumber()
670 return !LineTable.getMCDwarfFiles()[FileNumber].Name.empty(); in isValidDwarfFileNumber()
DMCDwarf.cpp542 unsigned FileNumber) { in tryGetFile() argument
544 FileNumber); in tryGetFile()
560 unsigned FileNumber) { in tryGetFile() argument
576 if (FileNumber == 0) { in tryGetFile()
579 FileNumber = MCDwarfFiles.empty() ? 1 : MCDwarfFiles.size(); in tryGetFile()
583 FileNumber)); in tryGetFile()
588 if (FileNumber >= MCDwarfFiles.size()) in tryGetFile()
589 MCDwarfFiles.resize(FileNumber + 1); in tryGetFile()
592 MCDwarfFile &File = MCDwarfFiles[FileNumber]; in tryGetFile()
640 return FileNumber; in tryGetFile()
[all …]
DMCCodeView.cpp39 bool CodeViewContext::isValidFileNumber(unsigned FileNumber) const { in isValidFileNumber()
40 unsigned Idx = FileNumber - 1; in isValidFileNumber()
46 bool CodeViewContext::addFile(MCStreamer &OS, unsigned FileNumber, in addFile() argument
50 assert(FileNumber > 0); in addFile()
53 unsigned Idx = FileNumber - 1; in addFile()
/external/llvm-project/llvm/lib/MC/
DMCContext.cpp785 unsigned FileNumber, in getDwarfFile() argument
791 FileNumber); in getDwarfFile()
796 bool MCContext::isValidDwarfFileNumber(unsigned FileNumber, unsigned CUID) { in isValidDwarfFileNumber() argument
798 if (FileNumber == 0) in isValidDwarfFileNumber()
800 if (FileNumber >= LineTable.getMCDwarfFiles().size()) in isValidDwarfFileNumber()
803 return !LineTable.getMCDwarfFiles()[FileNumber].Name.empty(); in isValidDwarfFileNumber()
DMCCodeView.cpp39 bool CodeViewContext::isValidFileNumber(unsigned FileNumber) const { in isValidFileNumber()
40 unsigned Idx = FileNumber - 1; in isValidFileNumber()
46 bool CodeViewContext::addFile(MCStreamer &OS, unsigned FileNumber, in addFile() argument
50 assert(FileNumber > 0); in addFile()
53 unsigned Idx = FileNumber - 1; in addFile()
DMCDwarf.cpp571 unsigned FileNumber) { in tryGetFile() argument
573 FileNumber); in tryGetFile()
589 unsigned FileNumber) { in tryGetFile() argument
605 if (FileNumber == 0) { in tryGetFile()
608 FileNumber = MCDwarfFiles.empty() ? 1 : MCDwarfFiles.size(); in tryGetFile()
612 FileNumber)); in tryGetFile()
617 if (FileNumber >= MCDwarfFiles.size()) in tryGetFile()
618 MCDwarfFiles.resize(FileNumber + 1); in tryGetFile()
621 MCDwarfFile &File = MCDwarfFiles[FileNumber]; in tryGetFile()
669 return FileNumber; in tryGetFile()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DAsmParser.cpp2252 unsigned FileNumber = getStreamer().EmitDwarfFileDirective( in parseStatement() local
2254 getContext().setGenDwarfFileNumber(FileNumber); in parseStatement()
3353 int64_t FileNumber = -1; in parseDirectiveFile() local
3355 FileNumber = getTok().getIntVal(); in parseDirectiveFile()
3358 if (FileNumber < 0) in parseDirectiveFile()
3375 if (check(FileNumber == -1, in parseDirectiveFile()
3400 if (check(FileNumber == -1, in parseDirectiveFile()
3406 if (check(FileNumber == -1, in parseDirectiveFile()
3417 if (FileNumber == -1) { in parseDirectiveFile()
3446 if (FileNumber == 0) { in parseDirectiveFile()
[all …]
/external/llvm-project/llvm/lib/MC/MCParser/
DAsmParser.cpp2266 unsigned FileNumber = getStreamer().emitDwarfFileDirective( in parseStatement() local
2268 getContext().setGenDwarfFileNumber(FileNumber); in parseStatement()
3379 int64_t FileNumber = -1; in parseDirectiveFile() local
3381 FileNumber = getTok().getIntVal(); in parseDirectiveFile()
3384 if (FileNumber < 0) in parseDirectiveFile()
3401 if (check(FileNumber == -1, in parseDirectiveFile()
3426 if (check(FileNumber == -1, in parseDirectiveFile()
3432 if (check(FileNumber == -1, in parseDirectiveFile()
3443 if (FileNumber == -1) { in parseDirectiveFile()
3472 if (FileNumber == 0) { in parseDirectiveFile()
[all …]
DMasmParser.cpp2589 unsigned FileNumber = getStreamer().emitDwarfFileDirective( in parseStatement() local
2591 getContext().setGenDwarfFileNumber(FileNumber); in parseStatement()
4496 int64_t FileNumber = -1; in parseDirectiveFile() local
4498 FileNumber = getTok().getIntVal(); in parseDirectiveFile()
4501 if (FileNumber < 0) in parseDirectiveFile()
4518 if (check(FileNumber == -1, in parseDirectiveFile()
4543 if (check(FileNumber == -1, in parseDirectiveFile()
4549 if (check(FileNumber == -1, in parseDirectiveFile()
4560 if (FileNumber == -1) { in parseDirectiveFile()
4589 if (FileNumber == 0) { in parseDirectiveFile()
[all …]
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp1888 unsigned FileNumber = getStreamer().EmitDwarfFileDirective( in parseStatement() local
1890 getContext().setGenDwarfFileNumber(FileNumber); in parseStatement()
3013 int64_t FileNumber = -1; in parseDirectiveFile() local
3016 FileNumber = getTok().getIntVal(); in parseDirectiveFile()
3019 if (FileNumber < 1) in parseDirectiveFile()
3037 if (FileNumber == -1) in parseDirectiveFile()
3051 if (FileNumber == -1) in parseDirectiveFile()
3058 else if (getStreamer().EmitDwarfFileDirective(FileNumber, Directory, Filename) == in parseDirectiveFile()
3096 int64_t FileNumber = getTok().getIntVal(); in parseDirectiveLoc() local
3097 if (FileNumber < 1) in parseDirectiveLoc()
[all …]
/external/llvm-project/llvm/docs/
DExtensions.rst428 ``.cv_file`` *FileNumber FileName* [ *checksum* ] [ *checksumkind* ]
444 …``.cv_inline_site_id`` *FunctionId* ``within`` *Function* ``inlined_at`` *FileNumber Line* [ *Colu…
454 …``.cv_loc`` *FunctionId FileNumber* [ *Line* ] [ *Column* ] [ *prologue_end* ] [ ``is_stmt`` *valu…
464 ``.cv_inline_linetable`` *PrimaryFunctionId* ``,`` *FileNumber Line FunctionStart FunctionEnd*
482 ``.cv_filechecksumoffset`` *FileNumber*