Searched refs:Contents (Results 1 - 25 of 70) sorted by relevance

123

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineOperand.h152 /// SmallContents - This really should be part of the Contents union, but
158 unsigned OffsetLo; // Matches Contents.OffsetedInfo.OffsetHi.
165 /// Contents union - This contains the payload for the various operand types.
198 } Contents; variable in typeref:union:llvm::MachineOperand::ContentsUnion
205 static_assert(sizeof(Contents) <= 2 * sizeof(void *),
206 "Contents should be at most two pointers");
211 "ParentMI, and Contents");
537 return Contents.ImmVal;
542 return Contents.CI;
547 return Contents
[all...]
H A DScheduleDAG.h91 } Contents; member in class:llvm::SDep
105 : Dep(S, kind), Contents() {
113 Contents.Reg = Reg;
117 Contents.Reg = Reg;
124 : Dep(S, Order), Contents(), Latency(0) {
125 Contents.OrdKind = kind;
169 return getKind() == Order && (Contents.OrdKind == MayAliasMem
170 || Contents.OrdKind == MustAliasMem);
175 return getKind() == Order && Contents.OrdKind == Barrier;
187 return getKind() == Order && Contents
[all...]
H A DAccelTable.h294 void emitAppleAccelTableImpl(AsmPrinter *Asm, AccelTableBase &Contents,
302 void emitAppleAccelTable(AsmPrinter *Asm, AccelTable<DataT> &Contents, argument
305 emitAppleAccelTableImpl(Asm, Contents, Prefix, SecBegin, DataT::Atoms);
309 AccelTable<DWARF5AccelTableData> &Contents,
314 AsmPrinter *Asm, AccelTable<DWARF5AccelTableStaticData> &Contents,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DDebugSubsectionRecord.cpp60 const DebugSubsectionRecord &Contents, CodeViewContainer Container)
61 : Contents(Contents), Container(Container) {}
65 : Contents.getRecordData().getLength();
76 Header.Kind = uint32_t(Subsection ? Subsection->kind() : Contents.kind());
80 : Contents.getRecordData().getLength();
89 if (auto EC = Writer.writeStreamRef(Contents.getRecordData()))
59 DebugSubsectionRecordBuilder( const DebugSubsectionRecord &Contents, CodeViewContainer Container) argument
H A DDebugStringTableSubsection.cpp25 Error DebugStringTableSubsectionRef::initialize(BinaryStreamRef Contents) { argument
26 Stream = Contents;
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-strings/
H A Dllvm-strings.cpp60 static void strings(raw_ostream &OS, StringRef FileName, StringRef Contents) { argument
82 const char *B = Contents.begin();
84 for (P = Contents.begin(), E = Contents.end(); P < E; ++P) {
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugSubsectionRecord.h62 DebugSubsectionRecordBuilder(const DebugSubsectionRecord &Contents,
69 /// The subsection to build. Will be null if Contents is non-empty.
73 DebugSubsectionRecord Contents; member in class:llvm::codeview::DebugSubsectionRecordBuilder
H A DDebugStringTableSubsection.h39 Error initialize(BinaryStreamRef Contents);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Object/
H A DIRObjectFile.cpp77 Expected<StringRef> Contents = Sec.getContents(); local
78 if (!Contents)
79 return Contents.takeError();
80 if (Contents->size() <= 1)
82 return MemoryBufferRef(*Contents, Obj.getFileName());
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAccelTable.cpp95 const AccelTableBase &Contents; ///< Data to emit. member in class:__anon4505::AccelTableWriter
109 AccelTableWriter(AsmPrinter *Asm, const AccelTableBase &Contents, argument
111 : Asm(Asm), Contents(Contents), SkipIdenticalHashes(SkipIdenticalHashes) {
168 AppleAccelTableWriter(AsmPrinter *Asm, const AccelTableBase &Contents, argument
170 : AccelTableWriter(Asm, Contents, true),
171 Header(Contents.getBucketCount(), Contents.getUniqueHashCount(),
240 AsmPrinter *Asm, const AccelTableBase &Contents,
251 for (auto &Bucket : Contents
515 Dwarf5AccelTableWriter( AsmPrinter *Asm, const AccelTableBase &Contents, ArrayRef<MCSymbol *> CompUnits, llvm::function_ref<unsigned(const DataT &)> getCUIndexForEntry) argument
544 emitAppleAccelTableImpl(AsmPrinter *Asm, AccelTableBase &Contents, StringRef Prefix, const MCSymbol *SecBegin, ArrayRef<AppleAccelTableData::Atom> Atoms) argument
551 emitDWARF5AccelTable( AsmPrinter *Asm, AccelTable<DWARF5AccelTableData> &Contents, const DwarfDebug &DD, ArrayRef<std::unique_ptr<DwarfCompileUnit>> CUs) argument
584 emitDWARF5AccelTable( AsmPrinter *Asm, AccelTable<DWARF5AccelTableStaticData> &Contents, ArrayRef<MCSymbol *> CUs, llvm::function_ref<unsigned(const DWARF5AccelTableStaticData &)> getCUIndexForEntry) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp46 Result.Contents.reserve(Buffer->getBufferSize() + 1);
47 Result.Contents.append(Buffer->getBufferStart(), Buffer->getBufferEnd());
49 Result.Contents.push_back('\0');
50 Result.Contents.pop_back();
68 Result.Contents = std::move(MinimizedFileContents);
71 Result.Contents.pop_back();
242 llvm::ErrorOr<StringRef> Contents = Entry->getContents();
243 if (!Contents)
244 return Contents.getError();
246 llvm::MemoryBuffer::getMemBuffer(*Contents, Entr
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineRegisterInfo.cpp276 MO->Contents.Reg.Prev = MO;
277 MO->Contents.Reg.Next = nullptr;
284 MachineOperand *Last = Head->Contents.Reg.Prev;
287 Head->Contents.Reg.Prev = MO;
288 MO->Contents.Reg.Prev = Last;
294 MO->Contents.Reg.Next = Head;
298 MO->Contents.Reg.Next = nullptr;
299 Last->Contents.Reg.Next = MO;
311 MachineOperand *Next = MO->Contents.Reg.Next;
312 MachineOperand *Prev = MO->Contents
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkLinker.cpp45 if (Expected<StringRef> Contents = Section.getContents())
46 return *Contents;
48 return Contents.takeError();
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/MIRParser/
H A DMIRParser.h76 /// \param Contents - The MemoryBuffer containing the machine level IR.
79 createMIRParser(std::unique_ptr<MemoryBuffer> Contents, LLVMContext &Context,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/MC/
H A DMCFragment.cpp352 OS << " Contents:[";
353 const SmallVectorImpl<char> &Contents = DF->getContents(); local
354 for (unsigned i = 0, e = Contents.size(); i != e; ++i) {
356 OS << hexdigit((Contents[i] >> 4) & 0xF) << hexdigit(Contents[i] & 0xF);
358 OS << "] (" << Contents.size() << " bytes)";
376 OS << " Contents:[";
377 const SmallVectorImpl<char> &Contents = CEIF->getContents(); local
378 for (unsigned i = 0, e = Contents.size(); i != e; ++i) {
380 OS << hexdigit((Contents[
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCFragment.h175 SmallVector<char, ContentsSize> Contents; member in class:llvm::MCEncodedFragmentWithContents
184 SmallVectorImpl<char> &getContents() { return Contents; }
185 const SmallVectorImpl<char> &getContents() const { return Contents; }
379 SmallString<8> Contents; member in class:llvm::MCLEBFragment
384 Contents.push_back(0);
391 SmallString<8> &getContents() { return Contents; }
392 const SmallString<8> &getContents() const { return Contents; }
466 SmallString<8> Contents; member in class:llvm::MCCVInlineLineTableFragment
484 SmallString<8> &getContents() { return Contents; }
485 const SmallString<8> &getContents() const { return Contents; }
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DWin64EHDumper.cpp340 ArrayRef<uint8_t> Contents; local
341 if (Error E = Ctx.COFF.getSectionContents(XData, Contents))
344 if (Contents.empty())
347 if (Offset > Contents.size())
350 const auto UI = reinterpret_cast<const UnwindInfo*>(Contents.data() + Offset);
366 ArrayRef<uint8_t> Contents; local
368 if (Error E = Ctx.COFF.getSectionContents(PData, Contents))
370 if (Contents.empty())
374 reinterpret_cast<const RuntimeFunction *>(Contents.data());
375 const size_t Count = Contents
[all...]
H A DARMEHABIPrinter.h436 Expected<ArrayRef<uint8_t>> Contents = ELF->getSectionContents(EHT); local
437 if (!Contents)
464 *reinterpret_cast<const support::ulittle32_t *>(Contents->data() + TableEntryOffset);
474 PrintOpcodes(Contents->data() + TableEntryOffset, 3, 1);
479 PrintOpcodes(Contents->data() + TableEntryOffset, 2 + 4 * AdditionalWords,
503 Expected<ArrayRef<uint8_t>> Contents = ELF->getSectionContents(IT); local
504 if (!Contents)
518 reinterpret_cast<const support::ulittle32_t *>(Contents->data());
551 PrintOpcodes(Contents->data() + Entry * IndexTableEntrySize + 4, 3, 1);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/XRay/
H A DInstrumentationMap.cpp69 StringRef Contents = "";
85 Contents = *E;
125 auto C = Contents.bytes_begin();
128 if ((C - Contents.bytes_end()) % ELF64SledEntrySize != 0)
136 uint64_t A = I->getAddress() + C - Contents.bytes_begin() + Offset;
146 for (; C != Contents.bytes_end(); C += ELF64SledEntrySize) {
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.h68 return StringRef(Contents);
101 llvm::SmallString<1> Contents; member in class:clang::tooling::dependencies::CachedFileSystemEntry
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp258 void printSymbolVersionDependency(ArrayRef<uint8_t> Contents, argument
262 const uint8_t *Buf = Contents.data();
284 ArrayRef<uint8_t> Contents,
288 const uint8_t *Buf = Contents.data();
323 ArrayRef<uint8_t> Contents = local
330 printSymbolVersionDependency<ELFT>(Contents, StrTab);
332 printSymbolVersionDefinition<ELFT>(Shdr, Contents, StrTab);
283 printSymbolVersionDefinition(const typename ELFT::Shdr &Shdr, ArrayRef<uint8_t> Contents, StringRef StrTab) argument
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DProgram.h174 writeFileWithEncoding(StringRef FileName, StringRef Contents,
H A DJSON.h780 void array(Block Contents) { argument
782 Contents();
786 void object(Block Contents) { argument
788 Contents();
796 void attribute(llvm::StringRef Key, const Value& Contents) { argument
797 attributeImpl(Key, [&] { value(Contents); });
800 void attributeArray(llvm::StringRef Key, Block Contents) { argument
801 attributeImpl(Key, [&] { array(Contents); });
804 void attributeObject(llvm::StringRef Key, Block Contents) { argument
805 attributeImpl(Key, [&] { object(Contents); });
819 attributeImpl(llvm::StringRef Key, Block Contents) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/COFF/
H A DCOFFObjcopy.cpp60 static void addSection(Object &Obj, StringRef Name, ArrayRef<uint8_t> Contents, argument
66 Sec.setOwnedContents(Contents);
85 std::vector<uint8_t> Contents = local
87 addSection(Obj, ".gnu_debuglink", Contents,
H A DReader.cpp67 ArrayRef<uint8_t> Contents; local
68 if (Error E = COFFObj.getSectionContents(Sec, Contents))
70 S.setContentsRef(Contents);

Completed in 303 milliseconds

123