Home
last modified time | relevance | path

Searched refs:Contents (Results 1 – 25 of 184) sorted by relevance

12345678

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineOperand.h205 } Contents; variable
563 return Contents.CI; in getCImm()
568 return Contents.CFP; in getFPImm()
573 return Contents.MBB; in getMBB()
594 return Contents.Sym; in getMCSymbol()
677 return Contents.MD; in getMetadata()
691 Contents.CI = CI; in setCImm()
696 Contents.CFP = CFP; in setFPImm()
715 Contents.MD = MD; in setMetadata()
729 Contents.MBB = MBB; in setMBB()
[all …]
H A DScheduleDAG.h91 } 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 …]
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.h65 : 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 && "contents not initialized"); in getDirectiveTokens()
97 if (auto *Directives = Contents->DepDirectives.load()) { in getDirectiveTokens()
124 return Contents; in getCachedContents()
142 CachedFileContents *Contents; variable
325 std::unique_ptr<llvm::MemoryBuffer> Contents; member
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DDebugSubsectionRecord.cpp56 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()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAccelTable.cpp111 : Asm(Asm), Contents(Contents), SkipIdenticalHashes(SkipIdenticalHashes) { in AccelTableWriter()
170 : AccelTableWriter(Asm, Contents, true), in AppleAccelTableWriter()
171 Header(Contents.getBucketCount(), Contents.getUniqueHashCount(), in AppleAccelTableWriter()
271 const auto &Buckets = Contents.getBuckets(); in emitOffsets()
647 Contents.getUniqueNameCount()), in Dwarf5AccelTableWriter()
652 for (auto &Bucket : Contents.getBuckets()) in Dwarf5AccelTableWriter()
677 Contents.finalize(Asm, Prefix); in emitAppleAccelTableImpl()
720 Contents.finalize(Asm, "names"); in emitDWARF5AccelTable()
726 Asm, Contents, CompUnits, TypeUnits, in emitDWARF5AccelTable()
756 Contents.finalize(Asm, "names"); in emitDWARF5AccelTable()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYELFStreamer.h31 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()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineRegisterInfo.cpp276 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/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp50 CachedFileContents *Contents = Entry.getCachedContents(); in scanForDirectivesIfNecessary() local
51 assert(Contents && "contents not initialized"); in scanForDirectivesIfNecessary()
54 if (Contents->DepDirectives.load()) in scanForDirectivesIfNecessary()
57 std::lock_guard<std::mutex> GuardLock(Contents->ValueLock); in scanForDirectivesIfNecessary()
60 if (Contents->DepDirectives.load()) in scanForDirectivesIfNecessary()
67 Contents->DepDirectiveTokens, in scanForDirectivesIfNecessary()
69 Contents->DepDirectiveTokens.clear(); in scanForDirectivesIfNecessary()
79 Contents->DepDirectives.store( in scanForDirectivesIfNecessary()
142 std::unique_ptr<llvm::MemoryBuffer> Contents) { in getOrEmplaceEntryForUID() argument
147 if (Contents) in getOrEmplaceEntryForUID()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/wasm/
H A DWasmObjcopy.cpp44 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()
134 Sec.Contents = ArrayRef<uint8_t>( in handleArgs()
H A DWasmWriter.cpp29 SectionSize = S.Contents.size(); in createSectionHeader()
73 Out.write(reinterpret_cast<const char *>(Obj.Sections[I].Contents.data()), in write()
74 Obj.Sections[I].Contents.size()); in write()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DWin64EHDumper.cpp378 ArrayRef<uint8_t> Contents; in printRuntimeFunction() local
379 if (Error E = Ctx.COFF.getSectionContents(XData, Contents)) in printRuntimeFunction()
382 if (Contents.empty()) in printRuntimeFunction()
385 if (Offset > Contents.size()) in printRuntimeFunction()
388 const auto UI = reinterpret_cast<const UnwindInfo*>(Contents.data() + Offset); in printRuntimeFunction()
404 ArrayRef<uint8_t> Contents; in printData() local
406 if (Error E = Ctx.COFF.getSectionContents(PData, Contents)) in printData()
408 if (Contents.empty()) in printData()
412 reinterpret_cast<const RuntimeFunction *>(Contents.data()); in printData()
413 const size_t Count = Contents.size() / sizeof(RuntimeFunction); in printData()
H A DARMEHABIPrinter.h450 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/contrib/llvm-project/llvm/lib/MC/
H A DMCFragment.cpp388 const SmallVectorImpl<char> &Contents = DF->getContents(); in dump() local
389 for (unsigned i = 0, e = Contents.size(); i != e; ++i) { in dump()
391 OS << hexdigit((Contents[i] >> 4) & 0xF) << hexdigit(Contents[i] & 0xF); in dump()
393 OS << "] (" << Contents.size() << " bytes)"; in dump()
412 const SmallVectorImpl<char> &Contents = CEIF->getContents(); in dump() local
413 for (unsigned i = 0, e = Contents.size(); i != e; ++i) { in dump()
415 OS << hexdigit((Contents[i] >> 4) & 0xF) << hexdigit(Contents[i] & 0xF); in dump()
417 OS << "] (" << Contents.size() << " bytes)"; in dump()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFObjcopy.cpp61 static void addSection(Object &Obj, StringRef Name, ArrayRef<uint8_t> Contents, in addSection() argument
67 Sec.setOwnedContents(Contents); in addSection()
86 Expected<std::vector<uint8_t>> Contents = in addGnuDebugLink() local
88 if (!Contents) in addGnuDebugLink()
89 return Contents.takeError(); in addGnuDebugLink()
91 addSection(Obj, ".gnu_debuglink", *Contents, in addGnuDebugLink()
139 ArrayRef<uint8_t> Contents = Section.getContents(); in dumpSection() local
142 if (auto B = FileOutputBuffer::create(FileName, Contents.size())) in dumpSection()
147 llvm::copy(Contents, Buffer->getBufferStart()); in dumpSection()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DIRObjectFile.cpp76 Expected<StringRef> Contents = Sec.getContents(); in findBitcodeInObject() local
77 if (!Contents) in findBitcodeInObject()
78 return Contents.takeError(); in findBitcodeInObject()
79 if (Contents->size() <= 1) in findBitcodeInObject()
81 return MemoryBufferRef(*Contents, Obj.getFileName()); in findBitcodeInObject()
H A DOffloadBinary.cpp37 Error extractOffloadFiles(MemoryBufferRef Contents, in extractOffloadFiles() argument
41 while (Offset < Contents.getBuffer().size()) { in extractOffloadFiles()
43 MemoryBuffer::getMemBuffer(Contents.getBuffer().drop_front(Offset), "", in extractOffloadFiles()
57 Contents.getBufferIdentifier()); in extractOffloadFiles()
94 MemoryBufferRef Contents(*Buffer, Obj.getFileName()); in extractFromObject() local
95 if (Error Err = extractOffloadFiles(Contents, Binaries)) in extractFromObject()
136 MemoryBufferRef Contents(CDS->getAsString(), M->getName()); in extractFromBitcode() local
137 if (Error Err = extractOffloadFiles(Contents, Binaries)) in extractFromBitcode()
/freebsd/contrib/llvm-project/llvm/lib/XRay/
H A DInstrumentationMap.cpp72 StringRef Contents = ""; in loadObj() local
90 if (Error E = I->getContents().moveInto(Contents)) in loadObj()
146 auto C = Contents.bytes_begin(); in loadObj()
150 if ((C - Contents.bytes_end()) % ELFSledEntrySize != 0) in loadObj()
158 uint64_t A = I->getAddress() + C - Contents.bytes_begin() + Offset; in loadObj()
169 for (; C != Contents.bytes_end(); C += ELFSledEntrySize) { in loadObj()
199 Entry.Address += C - Contents.bytes_begin() + Address; in loadObj()
200 Entry.Function += C - Contents.bytes_begin() + WordSize + Address; in loadObj()
/freebsd/contrib/llvm-project/llvm/tools/llvm-strings/
H A Dllvm-strings.cpp89 static void strings(raw_ostream &OS, StringRef FileName, StringRef Contents) { in strings() argument
111 const char *B = Contents.begin(); in strings()
113 for (P = Contents.begin(), E = Contents.end(); P < E; ++P) { in strings()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DJSON.h1001 void array(Block Contents) { in array() argument
1003 Contents(); in array()
1007 void object(Block Contents) { in object() argument
1009 Contents(); in object()
1017 Contents(OS); in rawValue()
1020 void rawValue(llvm::StringRef Contents) { in rawValue() argument
1021 rawValue([&](raw_ostream &OS) { OS << Contents; }); in rawValue()
1033 attributeImpl(Key, [&] { value(Contents); }); in attribute()
1037 attributeImpl(Key, [&] { array(Contents); }); in attributeArray()
1041 attributeImpl(Key, [&] { object(Contents); }); in attributeObject()
[all …]
H A DVirtualFileSystem.h321 enum class PrintType { Summary, Contents, RecursiveContents }; enumerator
322 void print(raw_ostream &OS, PrintType Type = PrintType::Contents,
785 std::vector<std::unique_ptr<Entry>> Contents; variable
790 DirectoryEntry(StringRef Name, std::vector<std::unique_ptr<Entry>> Contents, in DirectoryEntry() argument
792 : Entry(EK_Directory, Name), Contents(std::move(Contents)), in DirectoryEntry()
802 Contents.push_back(std::move(Content)); in addContent()
805 Entry *getLastContent() const { return Contents.back().get(); } in getLastContent()
807 using iterator = decltype(Contents)::iterator;
809 iterator contents_begin() { return Contents.begin(); } in contents_begin()
810 iterator contents_end() { return Contents.end(); } in contents_end()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/XCOFF/
H A DXCOFFWriter.cpp30 FileSize += Sec.Contents.size(); in finalizeSections()
78 Ptr = std::copy(Sec.Contents.begin(), Sec.Contents.end(), Ptr); in writeSections()
/freebsd/contrib/llvm-project/llvm/lib/DWP/
H A DDWP.cpp353 Contents = UncompressedSections.back(); in handleCompressedSection()
559 StringRef Contents = *ContentsOrErr; in handleSection() local
562 Contents)) in handleSection()
577 AbbrevSection = Contents; in handleSection()
583 CurStrOffsetSection = Contents; in handleSection()
585 CurStrSection = Contents; in handleSection()
587 CurTypesSection.push_back(Contents); in handleSection()
589 CurCUIndexSection = Contents; in handleSection()
591 CurTUIndexSection = Contents; in handleSection()
593 CurInfoSection.push_back(Contents); in handleSection()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkLinker.cpp51 if (Expected<StringRef> Contents = Section.getContents()) in getRemarksSectionContents() local
52 return *Contents; in getRemarksSectionContents()
54 return Contents.takeError(); in getRemarksSectionContents()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugSubsectionRecord.h58 DebugSubsectionRecordBuilder(const DebugSubsectionRecord &Contents);
69 DebugSubsectionRecord Contents; variable
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DEPCGenericRTDyldMemoryManager.cpp74 alignAddr(Seg.back().Contents.get(), Align(Alignment))); in allocateCodeSection()
93 alignAddr(Seg.back().Contents.get(), Align(Alignment))); in allocateDataSection()
250 alignAddr(SecAlloc.Contents.get(), Align(SecAlloc.Align))), in finalizeMemory()
300 dbgs() << " " << static_cast<void *>(Alloc.Contents.get()) << " -> " in mapAllocsToRemoteAddrs()
304 Alloc.Contents.get(), Align(Alloc.Align))), in mapAllocsToRemoteAddrs()

12345678