Home
last modified time | relevance | path

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

12345678

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineOperand.h154 /// 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 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()
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.OrdKind == MustAliasMem; in isMustAlias()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.h32 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 && "contents not initialized"); in getDirectiveTokens()
97 if (auto *Directives = Contents->DepDirectives.load()) { in getDirectiveTokens()
124 return Contents; in getCachedContents()
[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.cpp83 const AccelTableBase &Contents; ///< Data to emit. member in __anon2660ec280311::AccelTableWriter
97 AccelTableWriter(AsmPrinter *Asm, const AccelTableBase &Contents, in AccelTableWriter() argument
99 : Asm(Asm), Contents(Contents), SkipIdenticalHashes(SkipIdenticalHashes) { in AccelTableWriter()
156 AppleAccelTableWriter(AsmPrinter *Asm, const AccelTableBase &Contents, in AppleAccelTableWriter() argument
158 : AccelTableWriter(Asm, Contents, true), in AppleAccelTableWriter()
159 Header(Contents.getBucketCount(), Contents.getUniqueHashCount(), in AppleAccelTableWriter()
235 AsmPrinter *Asm, const AccelTableBase &Contents,
253 for (const auto &Bucket : Contents.getBuckets()) { in emitHashes()
267 const auto &Buckets = Contents.getBuckets(); in emitOffsets()
311 const auto &Buckets = Contents.getBuckets(); in emitBuckets()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCFragment.cpp152 const SmallVectorImpl<char> &Contents = DF->getContents(); in dump() local
153 for (unsigned i = 0, e = Contents.size(); i != e; ++i) { in dump()
155 OS << hexdigit((Contents[i] >> 4) & 0xF) << hexdigit(Contents[i] & 0xF); in dump()
157 OS << "] (" << Contents.size() << " bytes)"; in dump()
176 const SmallVectorImpl<char> &Contents = CEIF->getContents(); in dump() local
177 for (unsigned i = 0, e = Contents.size(); i != e; ++i) { in dump()
179 OS << hexdigit((Contents[i] >> 4) & 0xF) << hexdigit(Contents[i] & 0xF); in dump()
181 OS << "] (" << Contents.size() << " bytes)"; in dump()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineRegisterInfo.cpp287 MO->Contents.Reg.Prev = MO; in addRegOperandToUseList()
288 MO->Contents.Reg.Next = nullptr; in addRegOperandToUseList()
295 MachineOperand *Last = Head->Contents.Reg.Prev; in addRegOperandToUseList()
298 Head->Contents.Reg.Prev = MO; in addRegOperandToUseList()
299 MO->Contents.Reg.Prev = Last; in addRegOperandToUseList()
305 MO->Contents.Reg.Next = Head; in addRegOperandToUseList()
309 MO->Contents.Reg.Next = nullptr; in addRegOperandToUseList()
310 Last->Contents.Reg.Next = MO; in addRegOperandToUseList()
322 MachineOperand *Next = MO->Contents.Reg.Next; in removeRegOperandFromUseList()
323 MachineOperand *Prev = MO->Contents.Reg.Prev; in removeRegOperandFromUseList()
[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/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp51 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->DepDirectives.store( in ensureDirectiveTokensArePopulated()
[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 in printData()
[all...]
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/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/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/lib/Object/
H A DIRObjectFile.cpp76 Expected<StringRef> Contents = Sec.getContents(); in findBitcodeInObject()
77 if (!Contents) in findBitcodeInObject() local
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/include/llvm/Support/
H A DJSON.h1003 void array(Block Contents) { in array() argument
1005 Contents(); in array()
1009 void object(Block Contents) { in object() argument
1011 Contents(); in object()
1017 void rawValue(llvm::function_ref<void(raw_ostream &)> Contents) { in rawValue() argument
1019 Contents(OS); in rawValue()
1022 void rawValue(llvm::StringRef Contents) { in rawValue() argument
1023 rawValue([&](raw_ostream &OS) { OS << Contents; }); in rawValue()
1034 void attribute(llvm::StringRef Key, const Value& Contents) { in attribute() argument
1035 attributeImpl(Key, [&] { value(Contents); }); in attribute()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-strings/
H A Dllvm-strings.cpp89 static void strings(raw_ostream &OS, StringRef FileName, StringRef Contents) { in parseIntArg()
111 const char *B = Contents.begin(); in strings()
113 for (P = Contents.begin(), E = Contents.end(); P < E; ++P) { in strings()
96 strings(raw_ostream & OS,StringRef FileName,StringRef Contents) strings() argument
/freebsd/contrib/llvm-project/llvm/lib/DWP/
H A DDWP.cpp336 SectionRef Sec, StringRef Name, StringRef &Contents) { in handleCompressedSection() argument
345 Expected<Decompressor> Dec = Decompressor::create(Name, Contents, IsLE, Is64); in handleCompressedSection()
353 Contents = UncompressedSections.back(); in handleCompressedSection()
583 StringRef Contents = *ContentsOrErr; in handleSection() local
586 Contents)) in handleSection()
597 SectionLength.push_back(std::make_pair(Kind, Contents.size())); in handleSection()
601 AbbrevSection = Contents; in handleSection()
607 CurStrOffsetSection = Contents; in handleSection()
609 CurStrSection = Contents; in handleSection()
611 CurTypesSection.push_back(Contents); in handleSection()
[all …]
/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/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/clang/lib/InstallAPI/
H A DFrontend.cpp139 SmallString<4096> Contents; in createInputBuffer() local
140 raw_svector_ostream OS(Contents); in createInputBuffer()
157 if (Contents.empty()) in createInputBuffer()
163 return llvm::MemoryBuffer::getMemBufferCopy(Contents, BufferName); in createInputBuffer()
/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