| /llvm-project-15.0.7/clang/test/Driver/ |
| H A D | hip-cuid-hash.hip | 4 // Check CUID generated by hash. 5 // The same CUID is generated for the same file with the same options. 17 // Check CUID generated by hash. 18 // Different CUID's are generated for the same file with different options. 30 // SAME: "-cc1"{{.*}} "-target-cpu" "gfx906" {{.*}}"-cuid=[[CUID:[0-9a-f]+]]" 31 // SAME: "-cc1"{{.*}} "-target-cpu" "gfx906" {{.*}}"-cuid=[[CUID]]" 33 // DIFF: "-cc1"{{.*}} "-target-cpu" "gfx906" {{.*}}"-cuid=[[CUID:[0-9a-f]+]]" 34 // DIFF-NOT: "-target-cpu" "gfx906" {{.*}}"-cuid=[[CUID]]"
|
| H A D | hip-cuid.hip | 15 // Check random CUID generator. 26 // Check fixed CUID. 37 // Check fixed CUID override -fuse-cuid. 48 // Check hash CUID generator. 63 // HEX-SAME: "-cuid=[[CUID:[0-9a-f]+]]" 64 // FIXED-SAME: "-cuid=[[CUID:xyz_123]]" 69 // COMMON-SAME: "-cuid=[[CUID]]" 73 // COMMON-SAME: "-cuid=[[CUID]]" 78 // HEX-NOT: "-cuid=[[CUID]]" 85 // HEX-NOT: "-cuid=[[CUID]]" [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/ |
| H A D | MCContext.h | 722 bool isValidDwarfFileNumber(unsigned FileNumber, unsigned CUID = 0); 728 MCDwarfLineTable &getMCDwarfLineTable(unsigned CUID) { in getMCDwarfLineTable() argument 729 return MCDwarfLineTablesCUMap[CUID]; in getMCDwarfLineTable() 732 const MCDwarfLineTable &getMCDwarfLineTable(unsigned CUID) const { in getMCDwarfLineTable() argument 733 auto I = MCDwarfLineTablesCUMap.find(CUID); in getMCDwarfLineTable() 739 return getMCDwarfLineTable(CUID).getMCDwarfFiles(); 742 const SmallVectorImpl<std::string> &getMCDwarfDirs(unsigned CUID = 0) { 743 return getMCDwarfLineTable(CUID).getMCDwarfDirs(); 752 void setMCLineTableRootFile(unsigned CUID, StringRef CompilationDir, in setMCLineTableRootFile() argument 761 bool isDwarfMD5UsageConsistent(unsigned CUID) const { in isDwarfMD5UsageConsistent() argument [all …]
|
| H A D | MCStreamer.h | 906 unsigned CUID = 0) { 909 Source, CUID)); 920 unsigned CUID = 0); 926 unsigned CUID = 0); 1018 virtual MCSymbol *getDwarfLineTableSymbol(unsigned CUID);
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | DebugData.cpp | 322 const uint64_t CUID = getCUID(CU); in getIndexFromAddress() local 323 if (!AddressMaps.count(CUID)) in getIndexFromAddress() 324 AddressMaps[CUID] = AddressForDWOCU(); in getIndexFromAddress() 326 AddressForDWOCU &Map = AddressMaps[CUID]; in getIndexFromAddress() 342 const uint64_t CUID = getCUID(CU); in addIndexAddress() local 343 AddressForDWOCU &Map = AddressMaps[CUID]; in addIndexAddress() 365 auto AM = AddressMaps.find(CUID); in finalize() 368 DWOIdToOffsetMap[CUID] = Buffer.size(); in finalize() 419 auto AMIter = AddressMaps.find(CUID); in finalize() 483 const uint64_t CUID = getCUID(Unit); in getOffset() local [all …]
|
| H A D | BinaryContext.cpp | 1471 unsigned CUID, unsigned DWARFVersion) { in getDwarfFile() argument 1472 DwarfLineTable &Table = DwarfLineTablesCUMap[CUID]; in getDwarfFile() 1639 const uint64_t CUID = CU->getOffset(); in preprocessDebugInfo() local 1640 DwarfLineTable &BinaryLineTable = getDwarfLineTable(CUID); in preprocessDebugInfo() 1642 GlobalPrefix + "line_table_start" + Twine(CUID))); in preprocessDebugInfo() 1675 getDwarfFile("", "<unknown>", 0, None, None, CUID, DwarfVersion)); in preprocessDebugInfo() 1696 getDwarfFile(Dir, FileName, 0, Checksum, None, CUID, DwarfVersion)); in preprocessDebugInfo()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCStreamer.cpp | 234 unsigned CUID) { in tryEmitDwarfFileDirective() argument 236 Source, CUID); in tryEmitDwarfFileDirective() 243 unsigned CUID) { in emitDwarfFile0Directive() argument 244 getContext().setMCLineTableRootFile(CUID, Directory, Filename, Checksum, in emitDwarfFile0Directive() 270 MCSymbol *MCStreamer::getDwarfLineTableSymbol(unsigned CUID) { in getDwarfLineTableSymbol() argument 271 MCDwarfLineTable &Table = getContext().getMCDwarfLineTable(CUID); in getDwarfLineTableSymbol() 275 Context.getOrCreateSymbol(Prefix + "line_table_start" + Twine(CUID))); in getDwarfLineTableSymbol()
|
| H A D | MCAsmStreamer.cpp | 267 unsigned CUID = 0) override; 271 unsigned CUID = 0) override; 276 MCSymbol *getDwarfLineTableSymbol(unsigned CUID) override; 1541 Optional<MD5::MD5Result> Checksum, Optional<StringRef> Source, unsigned CUID) { in tryEmitDwarfFileDirective() argument 1542 assert(CUID == 0 && "multiple CUs not supported by MCAsmStreamer"); in tryEmitDwarfFileDirective() 1544 MCDwarfLineTable &Table = getContext().getMCDwarfLineTable(CUID); in tryEmitDwarfFileDirective() 1576 unsigned CUID) { in emitDwarfFile0Directive() argument 1577 assert(CUID == 0); in emitDwarfFile0Directive() 1582 getContext().setMCLineTableRootFile(CUID, Directory, Filename, Checksum, in emitDwarfFile0Directive() 1650 MCSymbol *MCAsmStreamer::getDwarfLineTableSymbol(unsigned CUID) { in getDwarfLineTableSymbol() argument
|
| H A D | MCContext.cpp | 944 unsigned CUID) { in getDwarfFile() argument 945 MCDwarfLineTable &Table = MCDwarfLineTablesCUMap[CUID]; in getDwarfFile() 952 bool MCContext::isValidDwarfFileNumber(unsigned FileNumber, unsigned CUID) { in isValidDwarfFileNumber() argument 953 const MCDwarfLineTable &LineTable = getMCDwarfLineTable(CUID); in isValidDwarfFileNumber()
|
| /llvm-project-15.0.7/bolt/include/bolt/Core/ |
| H A D | BinaryContext.h | 270 DwarfLineTable &getDwarfLineTable(unsigned CUID) { in getDwarfLineTable() argument 271 return DwarfLineTablesCUMap[CUID]; in getDwarfLineTable() 277 Optional<StringRef> Source, unsigned CUID,
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfCompileUnit.cpp | 122 unsigned CUID = Asm->OutStreamer->hasRawTextSupport() ? 0 : getUniqueID(); in getOrCreateSourceID() local 125 CUID); in getOrCreateSourceID() 131 File->getSource(), CUID); in getOrCreateSourceID()
|
| H A D | DwarfDebug.h | 655 DebugLoc emitInitialLocDirective(const MachineFunction &MF, unsigned CUID);
|
| H A D | DwarfDebug.cpp | 2105 const MDNode *S, unsigned Flags, unsigned CUID, in recordSourceLine() argument 2117 FileNo = static_cast<DwarfCompileUnit &>(*DCUs[CUID]) in recordSourceLine() 2125 unsigned CUID) { in emitInitialLocDirective() argument 2136 CUID, getDwarfVersion(), getUnits()); in emitInitialLocDirective()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | LangOptions.h | 446 std::string CUID; variable
|
| /llvm-project-15.0.7/bolt/lib/Rewrite/ |
| H A D | DWARFRewriter.cpp | 910 const unsigned CUID = CU->getOffset(); in updateLineTableOffsets() local 911 MCSymbol *Label = BC.getDwarfLineTable(CUID).getLabel(); in updateLineTableOffsets()
|
| /llvm-project-15.0.7/clang/lib/Driver/ |
| H A D | Driver.cpp | 2815 std::string CUID = FixedCUID.str(); in addDeviceDepences() local 2816 if (CUID.empty()) { in addDeviceDepences() 2818 CUID = llvm::utohexstr(llvm::sys::Process::GetRandomNumber(), in addDeviceDepences() 2833 CUID = llvm::utohexstr(Hash.low(), /*LowerCase=*/true); in addDeviceDepences() 2836 IA->setId(CUID); in addDeviceDepences()
|
| /llvm-project-15.0.7/clang/lib/Driver/ToolChains/ |
| H A D | Clang.cpp | 7034 auto CUID = cast<InputAction>(SourceAction)->getId(); in ConstructJob() local 7035 if (!CUID.empty()) in ConstructJob() 7036 CmdArgs.push_back(Args.MakeArgString(Twine("-cuid=") + Twine(CUID))); in ConstructJob()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTContext.cpp | 12416 if (LangOpts.CUID.empty()) in getCUIDHash() 12418 CUIDHash = llvm::utohexstr(llvm::MD5Hash(LangOpts.CUID), /*LowerCase=*/true); in getCUIDHash()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenModule.cpp | 6952 if (getLangOpts().CUID.empty()) { in printPostfixForExternalizedDecl()
|
| /llvm-project-15.0.7/clang/include/clang/Driver/ |
| H A D | Options.td | 1061 MarshallingInfoString<LangOpts<"CUID">>;
|