| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | MachineOperand.h | 205 } Contents; variable 212 static_assert(sizeof(Contents) <= 2 * sizeof(void *), in MachineOperand() 555 return Contents.ImmVal; in getImm() 560 return Contents.CI; in getCImm() 565 return Contents.CFP; in getFPImm() 570 return Contents.MBB; in getMBB() 576 return Contents.OffsetedInfo.Val.Index; in getIndex() 581 return Contents.OffsetedInfo.Val.GV; in getGlobal() 586 return Contents.OffsetedInfo.Val.BA; in getBlockAddress() 591 return Contents.Sym; in getMCSymbol() [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.OrdKind == MustAliasMem; in isMustAlias() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Tooling/DependencyScanning/ |
| H A D | DependencyScanningFilesystem.h | 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 && "contents not initialized"); in getDirectiveTokens() 97 if (auto *Directives = Contents->DepDirectives.load()) { in getDirectiveTokens() 124 return Contents; in getCachedContents() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AccelTable.cpp | 94 const AccelTableBase &Contents; ///< Data to emit. member in __anonae21389f0311::AccelTableWriter 108 AccelTableWriter(AsmPrinter *Asm, const AccelTableBase &Contents, in AccelTableWriter() argument 110 : Asm(Asm), Contents(Contents), SkipIdenticalHashes(SkipIdenticalHashes) { in AccelTableWriter() 167 AppleAccelTableWriter(AsmPrinter *Asm, const AccelTableBase &Contents, in AppleAccelTableWriter() argument 169 : AccelTableWriter(Asm, Contents, true), in AppleAccelTableWriter() 170 Header(Contents.getBucketCount(), Contents.getUniqueHashCount(), in AppleAccelTableWriter() 237 AsmPrinter *Asm, const AccelTableBase &Contents, 248 for (const auto &Bucket : Contents.getBuckets()) { in emitHashes() 262 const auto &Buckets = Contents.getBuckets(); in emitOffsets() 306 const auto &Buckets = Contents.getBuckets(); in emitBuckets() [all …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/DependencyScanning/ |
| H A D | DependencyScanningFilesystem.cpp | 50 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() 66 if (scanSourceForDependencyDirectives(Contents->Original->getBuffer(), in scanForDirectivesIfNecessary() 67 Contents->DepDirectiveTokens, in scanForDirectivesIfNecessary() 69 Contents->DepDirectiveTokens.clear(); in scanForDirectivesIfNecessary() 71 Contents->DepDirectives.store(new std::optional<DependencyDirectivesTy>()); in scanForDirectivesIfNecessary() 79 Contents->DepDirectives.store( in scanForDirectivesIfNecessary() [all …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/MCTargetDesc/ |
| H A D | RISCVELFStreamer.h | 46 SmallVector<AttributeItem, 64> Contents; variable 52 for (size_t i = 0; i < Contents.size(); ++i) in getAttributeItem() 53 if (Contents[i].Tag == Attribute) in getAttributeItem() 54 return &Contents[i]; in getAttributeItem() 70 Contents.push_back({AttributeType::Numeric, Attribute, Value, ""}); in setAttributeItem() 85 Contents.push_back({AttributeType::Text, Attribute, 0, std::string(Value)}); in setAttributeItem() 101 Contents.push_back({AttributeType::NumericAndText, Attribute, IntValue, in setAttributeItems()
|
| H A D | RISCVELFStreamer.cpp | 72 if (Contents.empty()) in finishAttributeSection() 103 for (AttributeItem item : Contents) { in finishAttributeSection() 123 Contents.clear(); in finishAttributeSection() 128 for (AttributeItem item : Contents) { in calculateContentSize() 187 Contents.clear(); in reset()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | MachineRegisterInfo.cpp | 276 MO->Contents.Reg.Prev = MO; in addRegOperandToUseList() 277 MO->Contents.Reg.Next = nullptr; in addRegOperandToUseList() 284 MachineOperand *Last = Head->Contents.Reg.Prev; 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() 311 MachineOperand *Next = MO->Contents.Reg.Next; in removeRegOperandFromUseList() 312 MachineOperand *Prev = MO->Contents.Reg.Prev; in removeRegOperandFromUseList() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Pod-Simple/lib/Pod/Simple/ |
| H A D | HTMLBatch.pm | 312 my $Contents = eval { $self->_wopen($outfile) }; 313 if( $Contents ) { 320 $self->_write_contents_start( $Contents, $outfile, ); 321 $self->_write_contents_middle( $Contents, $outfile, $toplevel, $toplevel_form_freq ); 322 $self->_write_contents_end( $Contents, $outfile, ); 329 my($self, $Contents, $outfile) = @_; 344 unless(print $Contents $starter, "<dl class='superindex'>\n" ) { 346 close($Contents); 355 my($self, $Contents, $outfile, $toplevel2submodules, $toplevel_form_freq) = @_; 361 printf $Contents q [all...] |
| /openbsd-src/gnu/llvm/llvm/lib/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() 134 Sec.Contents = ArrayRef<uint8_t>( in handleArgs()
|
| H A D | WasmWriter.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()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/ |
| H A D | Win64EHDumper.cpp | 378 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/MC/ |
| H A D | MCFragment.cpp | 388 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()
|
| /openbsd-src/gnu/llvm/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()
|
| H A D | OffloadBinary.cpp | 37 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/XRay/ |
| H A D | InstrumentationMap.cpp | 71 StringRef Contents = ""; in loadObj() local 89 if (Error E = I->getContents().moveInto(Contents)) in loadObj() 145 auto C = Contents.bytes_begin(); in loadObj() 149 if ((C - Contents.bytes_end()) % ELFSledEntrySize != 0) in loadObj() 157 uint64_t A = I->getAddress() + C - Contents.bytes_begin() + Offset; in loadObj() 168 for (; C != Contents.bytes_end(); C += ELFSledEntrySize) { in loadObj() 198 Entry.Address += C - Contents.bytes_begin() + Address; in loadObj() 199 Entry.Function += C - Contents.bytes_begin() + WordSize + Address; in loadObj()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/MC/ |
| H A D | MCFragment.h | 187 SmallVector<char, ContentsSize> Contents; variable 196 SmallVectorImpl<char> &getContents() { return Contents; } in getContents() 197 const SmallVectorImpl<char> &getContents() const { return Contents; } in getContents() 434 SmallString<8> Contents; variable 439 Contents.push_back(0); in MCFragment() 446 SmallString<8> &getContents() { return Contents; } in getContents() 447 const SmallString<8> &getContents() const { return Contents; } in getContents() 521 SmallString<8> Contents; variable 539 SmallString<8> &getContents() { return Contents; } in getContents() 540 const SmallString<8> &getContents() const { return Contents; } in getContents()
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/build/ |
| H A D | mac_sdk.gni | 23 …mac_sdk_path = "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDK… 24 …ios_sdk_path = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/S… 25 …iossim_sdk_path = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/D…
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | JSON.h | 980 void array(Block Contents) { in array() argument 982 Contents(); in array() 986 void object(Block Contents) { in object() argument 988 Contents(); in object() 994 void rawValue(llvm::function_ref<void(raw_ostream &)> Contents) { in rawValue() argument 996 Contents(OS); in rawValue() 999 void rawValue(llvm::StringRef Contents) { in rawValue() argument 1000 rawValue([&](raw_ostream &OS) { OS << Contents; }); in rawValue() 1011 void attribute(llvm::StringRef Key, const Value& Contents) { in attribute() argument 1012 attributeImpl(Key, [&] { value(Contents); }); in attribute() [all …]
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-strings/ |
| H A D | llvm-strings.cpp | 94 static void strings(raw_ostream &OS, StringRef FileName, StringRef Contents) { in strings() argument 116 const char *B = Contents.begin(); in strings() 118 for (P = Contents.begin(), E = Contents.end(); P < E; ++P) { in strings()
|
| /openbsd-src/gnu/llvm/llvm/lib/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/DWP/ |
| H A D | DWP.cpp | 286 SectionRef Sec, StringRef Name, StringRef &Contents) { in handleCompressedSection() argument 295 Expected<Decompressor> Dec = Decompressor::create(Name, Contents, IsLE, Is64); in handleCompressedSection() 303 Contents = UncompressedSections.back(); in handleCompressedSection() 509 StringRef Contents = *ContentsOrErr; in handleSection() local 512 Contents)) in handleSection() 523 SectionLength.push_back(std::make_pair(Kind, Contents.size())); in handleSection() 527 AbbrevSection = Contents; in handleSection() 533 CurStrOffsetSection = Contents; in handleSection() 535 CurStrSection = Contents; in handleSection() 537 CurTypesSection.push_back(Contents); in handleSection() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjCopy/XCOFF/ |
| H A D | XCOFFWriter.cpp | 30 FileSize += Sec.Contents.size(); in finalizeSections() 78 Ptr = std::copy(Sec.Contents.begin(), Sec.Contents.end(), Ptr); in writeSections()
|