| /llvm-project/bolt/lib/Core/ |
| H A D | Relocation.cpp | 259 static bool skipRelocationProcessX86(uint64_t &Type, uint64_t Contents) { in skipRelocationProcessAArch64() argument 263 static bool skipRelocationProcessAArch64(uint64_t &Type, uint64_t Contents) { in skipRelocationProcessAArch64() 264 auto IsMov = [](uint64_t Contents) -> bool { in skipRelocationProcessAArch64() 266 return (Contents & 0x1f800000) == 0x12800000; in skipRelocationProcessAArch64() 269 auto IsB = [](uint64_t Contents) -> bool { in skipRelocationProcessAArch64() 271 return (Contents & 0xfc000000) == 0x14000000; in skipRelocationProcessAArch64() 274 auto IsAdr = [](uint64_t Contents) -> bool { in skipRelocationProcessAArch64() 276 return (Contents & 0x9f000000) == 0x10000000; in skipRelocationProcessAArch64() 279 auto IsAddImm = [](uint64_t Contents) -> bool { in skipRelocationProcessAArch64() 281 return (Contents in skipRelocationProcessAArch64() 255 skipRelocationProcessX86(uint64_t & Type,uint64_t Contents) skipRelocationProcessX86() argument 260 __anona44b90a10202(uint64_t Contents) skipRelocationProcessAArch64() argument 265 __anona44b90a10302(uint64_t Contents) skipRelocationProcessAArch64() argument 270 __anona44b90a10402(uint64_t Contents) skipRelocationProcessAArch64() argument 275 __anona44b90a10502(uint64_t Contents) skipRelocationProcessAArch64() argument 280 __anona44b90a10602(uint64_t Contents) skipRelocationProcessAArch64() argument 346 skipRelocationProcessRISCV(uint64_t & Type,uint64_t Contents) skipRelocationProcessRISCV() argument 406 extractValueX86(uint64_t Type,uint64_t Contents,uint64_t PC) extractValueX86() argument 414 extractValueAArch64(uint64_t Type,uint64_t Contents,uint64_t PC) extractValueAArch64() argument 522 extractUImmRISCV(uint32_t Contents) extractUImmRISCV() argument 526 extractIImmRISCV(uint32_t Contents) extractIImmRISCV() argument 530 extractSImmRISCV(uint32_t Contents) extractSImmRISCV() argument 534 extractJImmRISCV(uint32_t Contents) extractJImmRISCV() argument 540 extractBImmRISCV(uint32_t Contents) extractBImmRISCV() argument 546 extractValueRISCV(uint64_t Type,uint64_t Contents,uint64_t PC) extractValueRISCV() argument 815 skipRelocationProcess(uint64_t & Type,uint64_t Contents) skipRelocationProcess() argument 841 extractValue(uint64_t Type,uint64_t Contents,uint64_t PC) extractValue() argument [all...] |
| /llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineOperand.h | 154 /// SmallContents - This really should be part of the Contents union, but 160 unsigned OffsetLo; // Matches Contents.OffsetedInfo.OffsetHi. 167 /// Contents union - This contains the payload for the various operand types. 205 } Contents; variable 212 static_assert(sizeof(Contents) <= 2 * sizeof(void *), in MachineOperand() 213 "Contents should be at most two pointers"); in MachineOperand() 218 "ParentMI, and Contents"); in MachineOperand() 558 return Contents.ImmVal; in getImm() 563 return Contents.CI; in getCImm() 568 return Contents in getFPImm() [all...] |
| H A D | ScheduleDAG.h | 91 } Contents; variable 105 : Dep(S, kind), Contents() { in SDep() 113 Contents.Reg = Reg; in SDep() 117 Contents.Reg = Reg; in SDep() 124 : Dep(S, Order), Contents(), Latency(0) { in SDep() 125 Contents.OrdKind = kind; in SDep() 169 return getKind() == Order && (Contents.OrdKind == MayAliasMem in isNormalMemory() 170 || Contents.OrdKind == MustAliasMem); in isNormalMemory() 175 return getKind() == Order && Contents.OrdKind == Barrier; in isBarrier() 187 return getKind() == Order && Contents in isMustAlias() [all...] |
| /llvm-project/clang-tools-extra/clangd/support/ |
| H A D | Markup.cpp | 30 bool looksLikeTag(llvm::StringRef Contents) { in looksLikeTag() argument 31 if (Contents.empty()) in looksLikeTag() 33 if (Contents.front() == '!' || Contents.front() == '?' || in looksLikeTag() 34 Contents.front() == '/') in looksLikeTag() 37 if (!llvm::isAlpha(Contents.front())) in looksLikeTag() 40 Contents = Contents in looksLikeTag() 47 for (; !Contents.empty(); Contents = Contents.drop_front()) { in looksLikeTag() 48 if (llvm::isAlnum(Contents.front()) || llvm::isSpace(Contents.front())) in looksLikeTag() 50 if (Contents.front() == '>' || Contents.starts_with("/>")) in looksLikeTag() 52 if (Contents.front() == '=') in looksLikeTag() [all …]
|
| /llvm-project/llvm/test/MC/AMDGPU/ |
| H A D | amd_kernel_code_t.s | 5 ; OBJDUMP: Contents of section .known_is_dynamic_callstack: 8 ; OBJDUMP: Contents of section .known_wavefront_sgpr_count: 11 ; OBJDUMP: Contents of section .known_workitem_vgpr_count: 14 ; OBJDUMP: Contents of section .known_workitem_private_segment_byte_size: 17 ; OBJDUMP: Contents of section .known_granulated_workitem_vgpr_count: 20 ; OBJDUMP: Contents of section .known_enable_sgpr_workgroup_id_x: 23 ; OBJDUMP: Contents of section .unknown_is_dynamic_callstack: 26 ; OBJDUMP: Contents of section .unknown_wavefront_sgpr_count: 29 ; OBJDUMP: Contents of section .unknown_workitem_vgpr_count: 32 ; OBJDUMP: Contents o [all...] |
| /llvm-project/lld/test/COFF/ |
| H A D | functionpadmin.test | 47 BASE: Contents of section .text: 50 BASE-NEXT: Contents of section .rdata: 52 BASE-NEXT: Contents of section .pdata: 55 PADDED: Contents of section .text: 59 PADDED-NEXT: Contents of section .rdata: 61 PADDED-NEXT: Contents of section .pdata: 64 PADDED-MORE: Contents of section .text: 69 PADDED-MORE-NEXT: Contents of section .rdata: 71 PADDED-MORE-NEXT: Contents of section .pdata: 76 MULTI-BASE: Contents of section .text: [all …]
|
| /llvm-project/clang/include/clang/Tooling/DependencyScanning/ |
| H A D | DependencyScanningFilesystem.h | 29 /// Contents and directive tokens of a cached file entry. Single instance can 32 CachedFileContents(std::unique_ptr<llvm::MemoryBuffer> Contents) in CachedFileContents() 33 : Original(std::move(Contents)), DepDirectives(nullptr) {} in CachedFileContents() 65 : MaybeStat(std::move(Stat)), Contents(nullptr) { in CachedFileSystemEntry() 71 CachedFileContents *Contents) in CachedFileSystemEntry() argument 72 : MaybeStat(std::move(Stat)), Contents(std::move(Contents)) { in CachedFileSystemEntry() 86 assert(Contents && "contents not initialized"); in getOriginalContents() 87 return Contents->Original->getBuffer(); in getOriginalContents() 96 assert(Contents in getDirectiveTokens() 142 CachedFileContents *Contents; global() variable 386 std::unique_ptr<llvm::MemoryBuffer> Contents; global() member [all...] |
| /llvm-project/llvm/lib/DebugInfo/CodeView/ |
| H A D | DebugSubsectionRecord.cpp | 56 const DebugSubsectionRecord &Contents) in DebugSubsectionRecordBuilder() argument 57 : Contents(Contents) {} in DebugSubsectionRecordBuilder() 61 : Contents.getRecordData().getLength(); in calculateSerializedLength() 73 Header.Kind = uint32_t(Subsection ? Subsection->kind() : Contents.kind()); in commit() 77 : Contents.getRecordData().getLength(); in commit() 86 if (auto EC = Writer.writeStreamRef(Contents.getRecordData())) in commit()
|
| /llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AccelTable.cpp | 82 const AccelTableBase &Contents; ///< Data to emit. 96 AccelTableWriter(AsmPrinter *Asm, const AccelTableBase &Contents, 98 : Asm(Asm), Contents(Contents), SkipIdenticalHashes(SkipIdenticalHashes) { in AccelTableWriter() 155 AppleAccelTableWriter(AsmPrinter *Asm, const AccelTableBase &Contents, 157 : AccelTableWriter(Asm, Contents, true), in AppleAccelTableWriter() 158 Header(Contents.getBucketCount(), Contents.getUniqueHashCount(), in AppleAccelTableWriter() 234 AsmPrinter *Asm, const AccelTableBase &Contents, 252 for (const auto &Bucket : Contents in emitHashes() 83 const AccelTableBase &Contents; ///< Data to emit. global() member in __anon6191a53b0311::AccelTableWriter 97 AccelTableWriter(AsmPrinter * Asm,const AccelTableBase & Contents,bool SkipIdenticalHashes) AccelTableWriter() argument 156 AppleAccelTableWriter(AsmPrinter * Asm,const AccelTableBase & Contents,ArrayRef<Atom> Atoms,const MCSymbol * SecBegin) AppleAccelTableWriter() argument 599 Dwarf5AccelTableWriter(AsmPrinter * Asm,const AccelTableBase & Contents,ArrayRef<std::variant<MCSymbol *,uint64_t>> CompUnits,ArrayRef<std::variant<MCSymbol *,uint64_t>> TypeUnits,llvm::function_ref<std::optional<DWARF5AccelTable::UnitIndexAndEncoding> (const DWARF5AccelTableData &)> getIndexForEntry,bool IsSplitDwarf) Dwarf5AccelTableWriter() argument 636 emitAppleAccelTableImpl(AsmPrinter * Asm,AccelTableBase & Contents,StringRef Prefix,const MCSymbol * SecBegin,ArrayRef<AppleAccelTableData::Atom> Atoms) emitAppleAccelTableImpl() argument 644 emitDWARF5AccelTable(AsmPrinter * Asm,DWARF5AccelTable & Contents,const DwarfDebug & DD,ArrayRef<std::unique_ptr<DwarfCompileUnit>> CUs) emitDWARF5AccelTable() argument 712 emitDWARF5AccelTable(AsmPrinter * Asm,DWARF5AccelTable & Contents,ArrayRef<std::variant<MCSymbol *,uint64_t>> CUs,llvm::function_ref<std::optional<DWARF5AccelTable::UnitIndexAndEncoding> (const DWARF5AccelTableData &)> getIndexForEntry) emitDWARF5AccelTable() argument [all...] |
| /llvm-project/lld/test/ELF/ |
| H A D | debug-dead-reloc-32.s | 10 # CHECK: Contents of section .debug_loc: 12 # CHECK-NEXT: Contents of section .debug_ranges: 14 # CHECK-NEXT: Contents of section .debug_addr: 16 # CHECK-NEXT: Contents of section .debug_names: 23 # OVERRIDE: Contents of section .debug_loc: 25 # OVERRIDE-NEXT: Contents of section .debug_ranges: 27 # OVERRIDE-NEXT: Contents of section .debug_addr:
|
| H A D | mips-gp-ext.s | 32 # REL: Contents of section .reginfo: 37 # REL: Contents of section .text: 44 # REL: Contents of section .data: 53 # ABS: Contents of section .reginfo: 58 # ABS: Contents of section .text: 65 # ABS: Contents of section .data:
|
| /llvm-project/llvm/lib/MC/ |
| H A D | MCFragment.cpp | 145 OS << " Contents:["; in dump() 146 const SmallVectorImpl<char> &Contents = DF->getContents(); in dump() 147 for (unsigned i = 0, e = Contents.size(); i != e; ++i) { in dump() 149 OS << hexdigit((Contents[i] >> 4) & 0xF) << hexdigit(Contents[i] & 0xF); in dump() 151 OS << "] (" << Contents.size() << " bytes)"; in dump() 152 const SmallVectorImpl<char> &Contents = DF->getContents(); dump() local 176 const SmallVectorImpl<char> &Contents = CEIF->getContents(); dump() local
|
| /llvm-project/bolt/lib/Rewrite/ |
| H A D | PseudoProbeRewriter.cpp | 129 StringRef Contents = PseudoProbeDescSection->getContents(); in parsePseudoProbe() 131 reinterpret_cast<const uint8_t *>(Contents.data()), Contents.size(), in parsePseudoProbe() 157 Contents = PseudoProbeSection->getContents(); in updatePseudoProbes() 159 reinterpret_cast<const uint8_t *>(Contents.data()), Contents.size(), in updatePseudoProbes() 284 SmallString<8> Contents; in encodePseudoProbes() 294 Contents.append(Entry.begin(), Entry.end()); in encodePseudoProbes() 301 Contents.append(OSE.str().begin(), OSE.str().end()); in encodePseudoProbes() 308 Contents in encodePseudoProbes() 109 StringRef Contents = PseudoProbeDescSection->getContents(); parsePseudoProbe() local 245 SmallString<8> Contents; encodePseudoProbes() local [all...] |
| /llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineRegisterInfo.cpp | 284 MO->Contents.Reg.Prev = MO; in addRegOperandToUseList() 285 MO->Contents.Reg.Next = nullptr; in addRegOperandToUseList() 292 MachineOperand *Last = Head->Contents.Reg.Prev; in addRegOperandToUseList() 295 Head->Contents.Reg.Prev = MO; in addRegOperandToUseList() 296 MO->Contents.Reg.Prev = Last; in addRegOperandToUseList() 302 MO->Contents.Reg.Next = Head; in addRegOperandToUseList() 306 MO->Contents.Reg.Next = nullptr; in addRegOperandToUseList() 307 Last->Contents.Reg.Next = MO; in addRegOperandToUseList() 319 MachineOperand *Next = MO->Contents.Reg.Next; in removeRegOperandFromUseList() 320 MachineOperand *Prev = MO->Contents in removeRegOperandFromUseList() [all...] |
| /llvm-project/llvm/test/tools/dsymutil/X86/ |
| H A D | basic-linking-bundle.test | 8 RUN: llvm-dwarfdump -a %t/basic.macho.x86_64.dSYM/Contents/Resources/DWARF/basic.macho.x86_64 | Fil… 11 RUN: not ls %t/basic.macho.x86_64.dSYM/Contents/Resources/Remarks 16 RUN: FileCheck %s --input-file %t/basic.macho.x86_64.dSYM/Contents/Info.plist 19 RUN: llvm-dwarfdump -a %t/dsymdest/basic.macho.x86_64.dSYM/Contents/Resources/DWARF/basic.macho.x86… 20 RUN: FileCheck %s --input-file %t/dsymdest/basic.macho.x86_64.dSYM/Contents/Info.plist 32 RUN: llvm-dwarfdump -a %t/basic.macho.x86_64.dSYM/Contents/Resources/DWARF/basic.macho.x86_64 | Fil… 35 RUN: not ls %t/basic.macho.x86_64.dSYM/Contents/Resources/Remarks 40 RUN: FileCheck %s --input-file %t/basic.macho.x86_64.dSYM/Contents/Info.plist 44 RUN: llvm-dwarfdump -a %t/dsymdest/basic.macho.x86_64.dSYM/Contents/Resources/DWARF/basic.macho.x86… 45 RUN: FileCheck %s --input-file %t/dsymdest/basic.macho.x86_64.dSYM/Contents/Info.plist
|
| H A D | remarks-linking-fat-bundle.test | 10 RUN: llvm-bcanalyzer -dump %t/fat.macho.remarks.x86.dSYM/Contents/Resources/Remarks/fat.macho.remar… 11 RUN: llvm-bcanalyzer -dump %t/fat.macho.remarks.x86.dSYM/Contents/Resources/Remarks/fat.macho.remar… 12 RUN: llvm-bcanalyzer -dump %t/fat.macho.remarks.x86.dSYM/Contents/Resources/Remarks/fat.macho.remar… 17 RUN: llvm-bcanalyzer -dump %t/fat.macho.remarks.x86.dSYM/Contents/Resources/Remarks/fat.macho.remar… 18 RUN: llvm-bcanalyzer -dump %t/fat.macho.remarks.x86.dSYM/Contents/Resources/Remarks/fat.macho.remar… 19 RUN: llvm-bcanalyzer -dump %t/fat.macho.remarks.x86.dSYM/Contents/Resources/Remarks/fat.macho.remar…
|
| /llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/ |
| H A D | CSKYELFStreamer.h | 31 SmallVector<AttributeItem, 64> Contents; variable 36 for (size_t i = 0; i < Contents.size(); ++i) in getAttributeItem() 37 if (Contents[i].Tag == Attribute) in getAttributeItem() 38 return &Contents[i]; in getAttributeItem() 54 Contents.push_back({AttributeType::Numeric, Attribute, Value, ""}); in setAttributeItem() 69 Contents.push_back({AttributeType::Text, Attribute, 0, std::string(Value)}); in setAttributeItem() 85 Contents.push_back({AttributeType::NumericAndText, Attribute, IntValue, in setAttributeItems()
|
| /llvm-project/clang-tools-extra/clangd/tool/ |
| H A D | Check.cpp | 200 std::optional<std::string> Contents) { in buildInvocation() 208 if (Contents) { in buildInvocation() 209 Inputs.Contents = *Contents; in buildInvocation() local 210 log("Imaginary source file contents:\n{0}", Inputs.Contents); in buildInvocation() 212 if (auto Contents = TFS.view(std::nullopt)->getBufferForFile(File)) { in buildInvocation() 213 Inputs.Contents = Contents->get()->getBuffer().str(); in buildInvocation() 215 elog("Couldn't read {0}: {1}", File, Contents.getError().message()); in buildInvocation() 237 Style = getFormatStyleForFile(File, Inputs.Contents, TF in buildAST() 197 buildInvocation(const ThreadsafeFS & TFS,std::optional<std::string> Contents) buildInvocation() argument 476 std::optional<std::string> Contents; check() local [all...] |
| /llvm-project/lldb/test/API/macosx/add-dsym/ |
| H A D | Makefile | 5 all: a.out.dSYM hide.app/Contents/a.out.dSYM 7 hide.app/Contents/a.out.dSYM: 9 mkdir hide.app/Contents 10 mv a.out.dSYM hide.app/Contents
|
| /llvm-project/clang-tools-extra/clangd/unittests/ |
| H A D | DraftStoreTests.cpp | 23 EXPECT_EQ("", *DS.getDraft(File)->Contents); in TEST() 27 EXPECT_EQ("x", *DS.getDraft(File)->Contents); in TEST() 31 EXPECT_EQ("x", *DS.getDraft(File)->Contents); in TEST() 36 EXPECT_EQ("y", *DS.getDraft(File)->Contents); in TEST()
|
| /llvm-project/llvm/test/tools/llvm-objdump/XCOFF/ |
| H A D | raw-section-data.test | 5 # CHECK: Contents of section .text: 14 # CHECK-NEXT: Contents of section .data: 18 # CHECK-NEXT: Contents of section .bss: 20 # CHECK-NEXT: Contents of section .tdata: 22 # CHECK-NEXT: Contents of section .tbss:
|
| /llvm-project/llvm/test/Object/ |
| H A D | objdump-section-content.test | 4 # COFF-i386: Contents of section .text: 8 # COFF-i386: Contents of section .data: 15 # ELF-i386: Contents of section .text: 19 # ELF-i386: Contents of section .rodata.str1.1: 40 # BSS: Contents of section .bss:
|
| /llvm-project/clang/lib/Tooling/DependencyScanning/ |
| H A D | DependencyScanningFilesystem.cpp | 51 CachedFileContents *Contents = Entry.getCachedContents(); in ensureDirectiveTokensArePopulated() local 52 assert(Contents && "contents not initialized"); in ensureDirectiveTokensArePopulated() 55 if (Contents->DepDirectives.load()) in ensureDirectiveTokensArePopulated() 58 std::lock_guard<std::mutex> GuardLock(Contents->ValueLock); in ensureDirectiveTokensArePopulated() 61 if (Contents->DepDirectives.load()) in ensureDirectiveTokensArePopulated() 67 if (scanSourceForDependencyDirectives(Contents->Original->getBuffer(), in ensureDirectiveTokensArePopulated() 68 Contents->DepDirectiveTokens, in ensureDirectiveTokensArePopulated() 70 Contents->DepDirectiveTokens.clear(); in ensureDirectiveTokensArePopulated() 72 Contents->DepDirectives.store(new std::optional<DependencyDirectivesTy>()); in ensureDirectiveTokensArePopulated() 80 Contents in ensureDirectiveTokensArePopulated() 148 getOrEmplaceEntryForUID(llvm::sys::fs::UniqueID UID,llvm::vfs::Status Stat,std::unique_ptr<llvm::MemoryBuffer> Contents) getOrEmplaceEntryForUID() argument [all...] |
| /llvm-project/llvm/test/tools/llvm-objdump/MachO/ |
| H A D | section-contents.test | 3 CHECK: Contents of section __TEXT,__text: 8 CHECK: Contents of section __TEXT,__cstring: 10 CHECK: Contents of section __LD,__compact_unwind: 13 CHECK: Contents of section __TEXT,__eh_frame:
|
| H A D | literals.test | 16 # CHECK-LIT4: Contents of (__TEXT,__literal4) section 24 # NON-VERBOSE-LIT4: Contents of (__TEXT,__literal4) section 40 # CHECK-LIT8: Contents of (__TEXT,__literal8) section 48 # NON-VERBOSE-LIT8: Contents of (__TEXT,__literal8) section 59 # CHECK-LIT16: Contents of (__TEXT,__literal16) section 62 # NON-VERBOSE-LIT16: Contents of (__TEXT,__literal16) section
|