| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineOperand.h | 200 } Contents; variable 544 return Contents.CI; in getCImm() 549 return Contents.CFP; in getFPImm() 554 return Contents.MBB; in getMBB() 575 return Contents.Sym; in getMCSymbol() 648 return Contents.MD; in getMetadata() 662 Contents.CI = CI; in setCImm() 667 Contents.CFP = CFP; in setFPImm() 686 Contents.MD = MD; in setMetadata() 691 Contents.MBB = MBB; in setMBB() [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() 212 return getKind() == Data && Contents.Reg != 0; in isAssignedRegDep() 221 return Contents.Reg; in getReg() 235 Contents.Reg = Reg; in setReg() 472 return Contents.Reg == Other.Contents.Reg; in overlaps() [all …]
|
| H A D | AccelTable.h | 295 void emitAppleAccelTableImpl(AsmPrinter *Asm, AccelTableBase &Contents, 303 void emitAppleAccelTable(AsmPrinter *Asm, AccelTable<DataT> &Contents, in emitAppleAccelTable() argument 306 emitAppleAccelTableImpl(Asm, Contents, Prefix, SecBegin, DataT::Atoms); in emitAppleAccelTable() 310 AccelTable<DWARF5AccelTableData> &Contents, 315 AsmPrinter *Asm, AccelTable<DWARF5AccelTableStaticData> &Contents,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AccelTable.cpp | 111 : Asm(Asm), Contents(Contents), SkipIdenticalHashes(SkipIdenticalHashes) { in AccelTableWriter() 170 : AccelTableWriter(Asm, Contents, true), in AppleAccelTableWriter() 171 Header(Contents.getBucketCount(), Contents.getUniqueHashCount(), in AppleAccelTableWriter() 249 for (auto &Bucket : Contents.getBuckets()) { in emitHashes() 263 const auto &Buckets = Contents.getBuckets(); in emitOffsets() 516 Contents.getUniqueNameCount()), in Dwarf5AccelTableWriter() 542 Contents.finalize(Asm, Prefix); in emitAppleAccelTableImpl() 569 Contents.finalize(Asm, "names"); in emitDWARF5AccelTable() 571 Asm, Contents, CompUnits, in emitDWARF5AccelTable() 584 Contents.finalize(Asm, "names"); in emitDWARF5AccelTable() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
| H A D | DebugSubsectionRecord.cpp | 57 const DebugSubsectionRecord &Contents) in DebugSubsectionRecordBuilder() argument 58 : Contents(Contents) {} in DebugSubsectionRecordBuilder() 62 : Contents.getRecordData().getLength(); in calculateSerializedLength() 74 Header.Kind = uint32_t(Subsection ? Subsection->kind() : Contents.kind()); in commit() 78 : Contents.getRecordData().getLength(); in commit() 87 if (auto EC = Writer.writeStreamRef(Contents.getRecordData())) in commit()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
| H A D | RISCVELFStreamer.h | 29 SmallVector<AttributeItem, 64> Contents; variable 34 for (size_t i = 0; i < Contents.size(); ++i) in getAttributeItem() 35 if (Contents[i].Tag == Attribute) in getAttributeItem() 36 return &Contents[i]; in getAttributeItem() 52 Contents.push_back({AttributeType::Numeric, Attribute, Value, ""}); in setAttributeItem() 67 Contents.push_back({AttributeType::Text, Attribute, 0, std::string(Value)}); in setAttributeItem() 83 Contents.push_back({AttributeType::NumericAndText, Attribute, IntValue, in setAttributeItems()
|
| H A D | RISCVELFStreamer.cpp | 97 if (Contents.empty()) in finishAttributeSection() 128 for (AttributeItem item : Contents) { in finishAttributeSection() 148 Contents.clear(); in finishAttributeSection() 153 for (AttributeItem item : Contents) { in calculateContentSize()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineRegisterInfo.cpp | 276 MO->Contents.Reg.Prev = MO; in addRegOperandToUseList() 277 MO->Contents.Reg.Next = nullptr; in addRegOperandToUseList() 287 Head->Contents.Reg.Prev = MO; in addRegOperandToUseList() 288 MO->Contents.Reg.Prev = Last; in addRegOperandToUseList() 294 MO->Contents.Reg.Next = Head; in addRegOperandToUseList() 298 MO->Contents.Reg.Next = nullptr; in addRegOperandToUseList() 299 Last->Contents.Reg.Next = MO; in addRegOperandToUseList() 318 Prev->Contents.Reg.Next = Next; in removeRegOperandFromUseList() 322 MO->Contents.Reg.Prev = nullptr; in removeRegOperandFromUseList() 323 MO->Contents.Reg.Next = nullptr; in removeRegOperandFromUseList() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
| H A D | DependencyScanningFilesystem.cpp | 46 Result.Contents.reserve(Buffer->getBufferSize() + 1); in createFileEntry() 47 Result.Contents.append(Buffer->getBufferStart(), Buffer->getBufferEnd()); in createFileEntry() 49 Result.Contents.push_back('\0'); in createFileEntry() 50 Result.Contents.pop_back(); in createFileEntry() 68 Result.Contents = std::move(MinimizedFileContents); in createFileEntry() 71 Result.Contents.pop_back(); in createFileEntry() 260 llvm::ErrorOr<StringRef> Contents = Entry->getContents(); in create() local 261 if (!Contents) in create() 262 return Contents.getError(); in create() 264 llvm::MemoryBuffer::getMemBuffer(*Contents, Entry->getName(), in create()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | Win64EHDumper.cpp | 339 ArrayRef<uint8_t> Contents; in printRuntimeFunction() local 340 if (Error E = Ctx.COFF.getSectionContents(XData, Contents)) in printRuntimeFunction() 343 if (Contents.empty()) in printRuntimeFunction() 346 if (Offset > Contents.size()) in printRuntimeFunction() 349 const auto UI = reinterpret_cast<const UnwindInfo*>(Contents.data() + Offset); in printRuntimeFunction() 365 ArrayRef<uint8_t> Contents; in printData() local 367 if (Error E = Ctx.COFF.getSectionContents(PData, Contents)) in printData() 369 if (Contents.empty()) in printData() 373 reinterpret_cast<const RuntimeFunction *>(Contents.data()); in printData() 374 const size_t Count = Contents.size() / sizeof(RuntimeFunction); in printData()
|
| H A D | ARMEHABIPrinter.h | 450 Expected<ArrayRef<uint8_t>> Contents = ELF.getSectionContents(EHT); in PrintExceptionTable() local 451 if (!Contents) in PrintExceptionTable() 478 *reinterpret_cast<const support::ulittle32_t *>(Contents->data() + TableEntryOffset); in PrintExceptionTable() 488 PrintOpcodes(Contents->data() + TableEntryOffset, 3, 1); in PrintExceptionTable() 493 PrintOpcodes(Contents->data() + TableEntryOffset, 2 + 4 * AdditionalWords, in PrintExceptionTable() 522 Expected<ArrayRef<uint8_t>> Contents = ELF.getSectionContents(*IT); in PrintIndexTable() local 523 if (!Contents) in PrintIndexTable() 537 reinterpret_cast<const support::ulittle32_t *>(Contents->data()); in PrintIndexTable() 593 PrintOpcodes(Contents->data() + Entry * IndexTableEntrySize + 4, 3, 1); in PrintIndexTable()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/wasm/ |
| H A D | WasmObjcopy.cpp | 44 ArrayRef<uint8_t> Contents = Sec.Contents; in dumpSectionToFile() local 46 FileOutputBuffer::create(Filename, Contents.size()); in dumpSectionToFile() 50 std::copy(Contents.begin(), Contents.end(), Buf->getBufferStart()); in dumpSectionToFile() 135 Sec.Contents = makeArrayRef<uint8_t>( in handleArgs()
|
| H A D | Writer.cpp | 29 SectionSize = S.Contents.size(); in createSectionHeader() 70 Out.write(reinterpret_cast<const char *>(Obj.Sections[I].Contents.data()), in write() 71 Obj.Sections[I].Contents.size()); in write()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCFragment.cpp | 384 const SmallVectorImpl<char> &Contents = DF->getContents(); in dump() local 385 for (unsigned i = 0, e = Contents.size(); i != e; ++i) { in dump() 387 OS << hexdigit((Contents[i] >> 4) & 0xF) << hexdigit(Contents[i] & 0xF); in dump() 389 OS << "] (" << Contents.size() << " bytes)"; in dump() 408 const SmallVectorImpl<char> &Contents = CEIF->getContents(); in dump() local 409 for (unsigned i = 0, e = Contents.size(); i != e; ++i) { in dump() 411 OS << hexdigit((Contents[i] >> 4) & 0xF) << hexdigit(Contents[i] & 0xF); in dump() 413 OS << "] (" << Contents.size() << " bytes)"; in dump()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Object/ |
| H A D | IRObjectFile.cpp | 77 Expected<StringRef> Contents = Sec.getContents(); in findBitcodeInObject() local 78 if (!Contents) in findBitcodeInObject() 79 return Contents.takeError(); in findBitcodeInObject() 80 if (Contents->size() <= 1) in findBitcodeInObject() 82 return MemoryBufferRef(*Contents, Obj.getFileName()); in findBitcodeInObject()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/XRay/ |
| H A D | InstrumentationMap.cpp | 71 StringRef Contents = ""; in loadObj() local 90 Contents = *E; in loadObj() 147 auto C = Contents.bytes_begin(); in loadObj() 151 if ((C - Contents.bytes_end()) % ELFSledEntrySize != 0) in loadObj() 159 uint64_t A = I->getAddress() + C - Contents.bytes_begin() + Offset; in loadObj() 170 for (; C != Contents.bytes_end(); C += ELFSledEntrySize) { in loadObj() 200 Entry.Address += C - Contents.bytes_begin() + Address; in loadObj() 201 Entry.Function += C - Contents.bytes_begin() + WordSize + Address; in loadObj()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCFragment.h | 188 SmallVector<char, ContentsSize> Contents; variable 197 SmallVectorImpl<char> &getContents() { return Contents; } in getContents() 198 const SmallVectorImpl<char> &getContents() const { return Contents; } in getContents() 422 SmallString<8> Contents; variable 427 Contents.push_back(0); in MCFragment() 434 SmallString<8> &getContents() { return Contents; } in getContents() 435 const SmallString<8> &getContents() const { return Contents; } in getContents() 509 SmallString<8> Contents; variable 527 SmallString<8> &getContents() { return Contents; } in getContents() 528 const SmallString<8> &getContents() const { return Contents; } in getContents()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | JSON.h | 910 void array(Block Contents) { in array() argument 912 Contents(); in array() 916 void object(Block Contents) { in object() argument 918 Contents(); in object() 926 Contents(OS); in rawValue() 929 void rawValue(llvm::StringRef Contents) { in rawValue() argument 930 rawValue([&](raw_ostream &OS) { OS << Contents; }); in rawValue() 942 attributeImpl(Key, [&] { value(Contents); }); in attribute() 946 attributeImpl(Key, [&] { array(Contents); }); in attributeArray() 950 attributeImpl(Key, [&] { object(Contents); }); in attributeObject() [all …]
|
| H A D | VirtualFileSystem.h | 619 std::vector<std::unique_ptr<Entry>> Contents; variable 624 DirectoryEntry(StringRef Name, std::vector<std::unique_ptr<Entry>> Contents, in DirectoryEntry() argument 626 : Entry(EK_Directory, Name), Contents(std::move(Contents)), in DirectoryEntry() 636 Contents.push_back(std::move(Content)); in addContent() 639 Entry *getLastContent() const { return Contents.back().get(); } in getLastContent() 641 using iterator = decltype(Contents)::iterator; 643 iterator contents_begin() { return Contents.begin(); } in contents_begin() 644 iterator contents_end() { return Contents.end(); } in contents_end()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/COFF/ |
| H A D | COFFObjcopy.cpp | 60 static void addSection(Object &Obj, StringRef Name, ArrayRef<uint8_t> Contents, in addSection() argument 66 Sec.setOwnedContents(Contents); in addSection() 85 Expected<std::vector<uint8_t>> Contents = in addGnuDebugLink() local 87 if (!Contents) in addGnuDebugLink() 88 return Contents.takeError(); in addGnuDebugLink() 90 addSection(Obj, ".gnu_debuglink", *Contents, in addGnuDebugLink()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-strings/ |
| H A D | llvm-strings.cpp | 90 static void strings(raw_ostream &OS, StringRef FileName, StringRef Contents) { in strings() argument 112 const char *B = Contents.begin(); in strings() 114 for (P = Contents.begin(), E = Contents.end(); P < E; ++P) { in strings()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DWP/ |
| H A D | DWP.cpp | 275 StringRef &Name, StringRef &Contents) { in handleCompressedSection() argument 289 Contents = UncompressedSections.back(); in handleCompressedSection() 494 StringRef Contents = *ContentsOrErr; in handleSection() local 511 AbbrevSection = Contents; in handleSection() 517 CurStrOffsetSection = Contents; in handleSection() 519 CurStrSection = Contents; in handleSection() 521 CurTypesSection.push_back(Contents); in handleSection() 523 CurCUIndexSection = Contents; in handleSection() 525 CurTUIndexSection = Contents; in handleSection() 527 CurInfoSection.push_back(Contents); in handleSection() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Remarks/ |
| H A D | RemarkLinker.cpp | 45 if (Expected<StringRef> Contents = Section.getContents()) in getRemarksSectionContents() local 46 return *Contents; in getRemarksSectionContents() 48 return Contents.takeError(); in getRemarksSectionContents()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | ELFDump.cpp | 281 static void printSymbolVersionDependency(ArrayRef<uint8_t> Contents, in printSymbolVersionDependency() argument 285 const uint8_t *Buf = Contents.data(); in printSymbolVersionDependency() 307 ArrayRef<uint8_t> Contents, in printSymbolVersionDefinition() argument 311 const uint8_t *Buf = Contents.data(); in printSymbolVersionDefinition() 347 ArrayRef<uint8_t> Contents = in printSymbolVersionInfo() local 354 printSymbolVersionDependency<ELFT>(Contents, StrTab); in printSymbolVersionInfo() 356 printSymbolVersionDefinition<ELFT>(Shdr, Contents, StrTab); in printSymbolVersionInfo()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | DebugSubsectionRecord.h | 58 DebugSubsectionRecordBuilder(const DebugSubsectionRecord &Contents); 69 DebugSubsectionRecord Contents; variable
|