| /freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | MachOUniversalWriter.h | 35 class Slice { 46 Slice(const IRObjectFile &IRO, uint32_t CPUType, uint32_t CPUSubType, 50 LLVM_ABI explicit Slice(const MachOObjectFile &O); 52 LLVM_ABI Slice(const MachOObjectFile &O, uint32_t Align); 57 LLVM_ABI Slice(const Archive &A, uint32_t CPUType, uint32_t CPUSubType, 60 LLVM_ABI static Expected<Slice> create(const Archive &A, 63 LLVM_ABI static Expected<Slice> create(const IRObjectFile &IRO, 88 friend bool operator<(const Slice &Lhs, const Slice &Rhs) { 105 writeUniversalBinary(ArrayRef<Slice> Slices, StringRef OutputFileName, 109 ArrayRef<Slice> Slices, raw_ostream &Out,
|
| H A D | Minidump.h | 370 Expected<ArrayRef<uint8_t>> Slice = in getDataSliceAs() local 372 if (!Slice) in getDataSliceAs() 373 return Slice.takeError(); in getDataSliceAs() 375 return ArrayRef<T>(reinterpret_cast<const T *>(Slice->data()), Count); in getDataSliceAs()
|
| /freebsd/contrib/llvm-project/llvm/lib/Object/ |
| H A D | MachOUniversalWriter.cpp | 9 // Defines the Slice class and writeUniversalBinary function for writing a MachO 85 Slice::Slice(const Archive &A, uint32_t CPUType, uint32_t CPUSubType, in Slice() function in Slice 90 Slice::Slice(const MachOObjectFile &O, uint32_t Align) in Slice() function in Slice 96 Slice::Slice(const IRObjectFile &IRO, uint32_t CPUType, uint32_t CPUSubType, in Slice() function in Slice 101 Slice::Slice(const MachOObjectFile &O) : Slice( function in Slice [all...] |
| H A D | GOFFObjectFile.cpp | 599 const uint8_t *Slice = Record + DataIndex; in getContinuousData() local 602 CompleteData.append(Slice, Slice + SliceLength); in getContinuousData() 604 Slice += SliceLength; in getContinuousData() 608 DataLength -= SliceLength, Slice += GOFF::PayloadLength) { in getContinuousData() 611 assert(Record::isContinuation(Slice) && "Continuation bit must be set"); in getContinuousData() 613 if (DataLength <= 77 && Record::isContinued(Slice)) in getContinuousData() 618 Slice += GOFF::RecordPrefixLength; in getContinuousData() 619 CompleteData.append(Slice, Slice + SliceLength); in getContinuousData()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | LEB128.h | 145 uint64_t Slice = *p & 0x7f; variable 147 ((Shift == 63 && (Slice << Shift >> Shift) != Slice) || 148 (Shift > 63 && Slice != 0))) { 154 Value += Slice << Shift; 182 uint64_t Slice = Byte & 0x7f; variable 184 ((Shift == 63 && Slice != 0 && Slice != 0x7f) || 185 (Shift > 63 && Slice != (Value < 0 ? 0x7f : 0x00)))) { 192 Value |= Slice << Shift;
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | CRC.cpp | 92 ArrayRef<uint8_t> Slice = Data.take_front(UINT32_MAX); in crc32() local 93 CRC = ::crc32(CRC, (const Bytef *)Slice.data(), (uInt)Slice.size()); in crc32() 94 Data = Data.drop_front(Slice.size()); in crc32()
|
| /freebsd/contrib/llvm-project/clang/lib/InstallAPI/ |
| H A D | Visitor.cpp | 160 Ctx.Slice->addObjCIVar(Record, Name, Linkage, Avail, IV, *Access, AC); in recordObjCInstanceVariables() 184 Ctx.Slice->addObjCInterface(Name, Linkage, Avail, D, *Access, IsEHType); in VisitObjCInterfaceDecl() 208 Ctx.Slice->addObjCCategory(InterfaceName, CategoryName, Avail, D, *Access) in VisitObjCCategoryDecl() 243 auto [GR, FA] = Ctx.Slice->addGlobal(getMangledName(D), Linkage, in VisitVarDecl() 297 Ctx.Slice->addGlobal(Name, Linkage, GlobalRecord::Kind::Function, Avail, in VisitFunctionDecl() 489 auto [GR, FA] = Ctx.Slice->addGlobal(Name, RecordLinkage::Exported, in emitVTableSymbols() 504 auto [GR, FA] = Ctx.Slice->addGlobal(Name, RecordLinkage::Exported, in emitVTableSymbols() 534 Ctx.Slice->addGlobal(Name, RecordLinkage::Exported, in emitVTableSymbols() 540 Ctx.Slice->addGlobal(Name, RecordLinkage::Exported, in emitVTableSymbols() 633 auto [GR, FA] = Ctx.Slice->addGlobal(Name, RecordLinkage::Exported, in VisitCXXRecordDecl() [all …]
|
| H A D | DylibVerifier.cpp | 170 Record *findRecordFromSlice(const RecordsSlice *Slice, StringRef Name, in findRecordFromSlice() argument 174 return Slice->findGlobal(Name); in findRecordFromSlice() 176 return Slice->findObjCIVar(Name.contains('.'), Name); in findRecordFromSlice() 179 return Slice->findObjCInterface(Name); in findRecordFromSlice() 521 Dylib, [&T](const auto &Slice) { return T == Slice->getTarget(); }); in assignSlice() argument 817 for (std::shared_ptr<RecordsSlice> Slice : Dylib) { in verifyRemainingSymbols() 818 if (Ctx.Target.Arch == Slice->getTarget().Arch) in verifyRemainingSymbols() 822 Ctx.Target = Slice->getTarget(); in verifyRemainingSymbols() 823 Ctx.DylibSlice = Slice.get(); in verifyRemainingSymbols() 824 Slice->visit(*this); in verifyRemainingSymbols()
|
| H A D | Frontend.cpp | 160 {"installapi-includes-", Ctx.Slice->getTriple().str(), "-", in createInputBuffer()
|
| /freebsd/contrib/llvm-project/llvm/lib/TextAPI/BinaryReader/ |
| H A D | DylibReader.cpp | 144 static Error readMachOHeader(MachOObjectFile *Obj, RecordsSlice &Slice) { in readMachOHeader() argument 146 auto &BA = Slice.getBinaryAttrs(); in readMachOHeader() 171 BA.InstallName = Slice.copyString(LCI.Ptr + DLLC.dylib.name); in readMachOHeader() 179 Slice.copyString(LCI.Ptr + DLLC.dylib.name)); in readMachOHeader() 184 BA.ParentUmbrella = Slice.copyString(LCI.Ptr + SFC.umbrella); in readMachOHeader() 189 BA.AllowableClients.emplace_back(Slice.copyString(LCI.Ptr + SCLC.client)); in readMachOHeader() 201 BA.UUID = Slice.copyString(Stream.str()); in readMachOHeader() 206 BA.RPaths.emplace_back(Slice.copyString(LCI.Ptr + RPLC.path)); in readMachOHeader() 248 static Error readSymbols(MachOObjectFile *Obj, RecordsSlice &Slice, in readSymbols() argument 278 Slice.addRecord(Sym.name(), Flags, GlobalRecord::Kind::Unknown, Linkage); in readSymbols() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 523 class Slice { class 535 Slice() = default; 537 Slice(uint64_t BeginOffset, uint64_t EndOffset, Use *U, bool IsSplittable) in Slice() function in __anondf5662880411::Slice 558 bool operator<(const Slice &RHS) const { in operator <() 571 friend LLVM_ATTRIBUTE_UNUSED bool operator<(const Slice &LHS, in operator <() 576 const Slice &RHS) { in operator <() 580 bool operator==(const Slice &RHS) const { in operator ==() 584 bool operator!=(const Slice &RHS) const { return !operator==(RHS); } in operator !=() 608 using iterator = SmallVectorImpl<Slice>::iterator; 614 using const_iterator = SmallVectorImpl<Slice>::const_iterator; [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/InstallAPI/ |
| H A D | Context.h | 44 std::shared_ptr<FrontendRecordsSlice> Slice; member
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | GIMatchTableExecutor.h | 773 uint64_t Slice = MatchTable[CurrentIdx] & 0x7f; in fastDecodeULEB128() local 774 Value += Slice << Shift; in fastDecodeULEB128()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | LinePrinter.cpp | 208 BinaryStreamRef Slice(*S); in formatMsfStreamData() local 211 Substream.StreamData = Slice.drop_front(Offset).keep_front(Size); in formatMsfStreamData()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 5443 MutableArrayRef<unsigned> Slice = CurrentOrder.slice(I * PartSz, Limit); in findReusedOrderedScalars() local 5445 if (any_of(Slice, [&](unsigned I) { return I != NumScalars; })) { in findReusedOrderedScalars() 5446 llvm::fill(Slice, NumScalars); in findReusedOrderedScalars() 5474 llvm::fill(Slice, NumScalars); in findReusedOrderedScalars() 5495 llvm::fill(Slice, NumScalars); in findReusedOrderedScalars() 6268 ArrayRef<Value *> Slice = VL.slice(Cnt, VF); in canVectorizeLoads() local 6272 canVectorizeLoads(Slice, Slice.front(), Order, PointerOps, BestVF, in canVectorizeLoads() 6993 ArrayRef<int> Slice = ArrayRef(NewMask).slice(0, Sz); in reorderNodeWithReuses() local 6994 SmallVector<unsigned> NewOrder(Slice); in reorderNodeWithReuses() 8327 ArrayRef<LoadInst *> Slice = in tryToVectorizeGatheredLoads() local [all …]
|
| H A D | VectorCombine.cpp | 2680 for (unsigned Slice = 0; Slice < NumSlices; ++Slice) { in isFreeConcat() local 2681 Use *SliceV = Item[Slice * NumElts].first; in isFreeConcat() 2685 auto [V, Lane] = Item[Slice * NumElts + Elt]; in isFreeConcat()
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/ |
| H A D | ELFObjcopy.cpp | 663 auto Slice = OldData.slice(CurPos, RemRange.OldFrom - CurPos); in updateData() local 664 llvm::append_range(NewData, Slice); in updateData() 669 auto Slice = OldData.slice(CurPos); in updateData() local 670 llvm::append_range(NewData, Slice); in updateData()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SelectOptimize.cpp | 266 void getExclBackwardsSlice(Instruction *I, std::stack<Instruction *> &Slice, 1150 std::stack<Instruction *> &Slice, in getExclBackwardsSlice() argument 1187 Slice.push(II); in getExclBackwardsSlice()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 6363 ConstantDataArraySlice &Slice, in getConstantDataArrayInfo() argument 6406 Slice.Array = nullptr; in getConstantDataArrayInfo() 6407 Slice.Offset = 0; in getConstantDataArrayInfo() 6412 Slice.Length = Length < Offset ? 0 : Length - Offset; in getConstantDataArrayInfo() 6447 Slice.Array = Array; in getConstantDataArrayInfo() 6448 Slice.Offset = Offset; in getConstantDataArrayInfo() 6449 Slice.Length = NumElts - Offset; in getConstantDataArrayInfo() 6459 ConstantDataArraySlice Slice; in getConstantStringInfo() local 6460 if (!getConstantDataArrayInfo(V, Slice, 8)) in getConstantStringInfo() 6463 if (Slice.Array == nullptr) { in getConstantStringInfo() [all …]
|
| /freebsd/contrib/mandoc/ |
| H A D | lib.in | 51 LINE("libdisk", "Interface to Slice and Partition Labels Library (libdisk, \\-ldisk)")
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ValueTracking.h | 396 ConstantDataArraySlice &Slice,
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOObjcopy.cpp | 527 SmallVector<Slice, 2> Slices; in executeObjcopyOnMachOUniversalBinary()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 984 ConstantDataArraySlice Slice; in optimizeStringLength() local 985 if (getConstantDataArrayInfo(GEP->getOperand(0), Slice, CharSize)) { in optimizeStringLength() 987 if (Slice.Array == nullptr) { in optimizeStringLength() 991 for (uint64_t I = 0, E = Slice.Length; I < E; ++I) { in optimizeStringLength() 992 if (Slice.Array->getElementAsInteger(I + Slice.Offset) == 0) { in optimizeStringLength()
|
| /freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | TGParser.cpp | 955 for (auto *Slice : Slices) { in ParseSliceElements() local 956 Result = (Result ? cast<TypedInit>(BinOpInit::getListConcat(Result, Slice)) in ParseSliceElements() 957 : Slice); in ParseSliceElements()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 8268 const ConstantDataArraySlice &Slice) { in getMemsetStringVal() argument 8270 if (Slice.Array == nullptr) { in getMemsetStringVal() 8280 unsigned NumBytes = std::min(NumVTBytes, unsigned(Slice.Length)); in getMemsetStringVal() 8285 Val |= (uint64_t)(unsigned char)Slice[i] << i*8; in getMemsetStringVal() 8288 Val |= (uint64_t)(unsigned char)Slice[i] << (NumVTBytes-i-1)*8; in getMemsetStringVal() 8327 static bool isMemSrcFromConstant(SDValue Src, ConstantDataArraySlice &Slice) { in isMemSrcFromConstant() argument 8341 return getConstantDataArrayInfo(G->getGlobal(), Slice, 8, in isMemSrcFromConstant() 8408 ConstantDataArraySlice Slice; in getMemcpyLoadsAndStores() local 8410 bool CopyFromConstant = !isVol && isMemSrcFromConstant(Src, Slice); in getMemcpyLoadsAndStores() 8411 bool isZeroConstant = CopyFromConstant && Slice.Array == nullptr; in getMemcpyLoadsAndStores() [all …]
|