/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | MachOUniversalWriter.h | 9 // Declares the Slice class and writeUniversalBinary function for writing a 34 class Slice { 45 Slice(const IRObjectFile &IRO, uint32_t CPUType, uint32_t CPUSubType, 49 explicit Slice(const MachOObjectFile &O); 51 Slice(const MachOObjectFile &O, uint32_t Align); 56 Slice(const Archive &A, uint32_t CPUType, uint32_t CPUSubType, 59 static Expected<Slice> create(const Archive &A, 62 static Expected<Slice> create(const IRObjectFile &IRO, uint32_t Align); 86 friend bool operator<(const Slice &Lhs, const Slice [all...] |
H A D | Minidump.h | 207 Expected<ArrayRef<uint8_t>> Slice = in getDataSliceAs() local 209 if (!Slice) in getDataSliceAs() 210 return Slice.takeError(); in getDataSliceAs() 211 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 | 144 uint64_t Slice = *p & 0x7f; variable 146 ((Shift == 63 && (Slice << Shift >> Shift) != Slice) || 147 (Shift > 63 && Slice != 0))) { 153 Value += Slice << Shift; 181 uint64_t Slice = Byte & 0x7f; variable 183 ((Shift == 63 && Slice != 0 && Slice != 0x7f) || 184 (Shift > 63 && Slice != (Value < 0 ? 0x7f : 0x00)))) { 191 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 | 161 Ctx.Slice->addObjCIVar(Record, Name, Linkage, Avail, IV, *Access, AC); in recordObjCInstanceVariables() 185 Ctx.Slice->addObjCInterface(Name, Linkage, Avail, D, *Access, IsEHType); in VisitObjCInterfaceDecl() 209 Ctx.Slice->addObjCCategory(InterfaceName, CategoryName, Avail, D, *Access) in VisitObjCCategoryDecl() 244 auto [GR, FA] = Ctx.Slice->addGlobal(getMangledName(D), Linkage, in VisitVarDecl() 298 Ctx.Slice->addGlobal(Name, Linkage, GlobalRecord::Kind::Function, Avail, in VisitFunctionDecl() 490 auto [GR, FA] = Ctx.Slice->addGlobal(Name, RecordLinkage::Exported, in emitVTableSymbols() 505 auto [GR, FA] = Ctx.Slice->addGlobal(Name, RecordLinkage::Exported, in emitVTableSymbols() 535 Ctx.Slice->addGlobal(Name, RecordLinkage::Exported, in emitVTableSymbols() 541 Ctx.Slice->addGlobal(Name, RecordLinkage::Exported, in emitVTableSymbols() 634 auto [GR, FA] = Ctx.Slice->addGlobal(Name, RecordLinkage::Exported, in VisitCXXRecordDecl() [all …]
|
H A D | DylibVerifier.cpp | 151 Record *findRecordFromSlice(const RecordsSlice *Slice, StringRef Name, in findRecordFromSlice() argument 155 return Slice->findGlobal(Name); in findRecordFromSlice() 157 return Slice->findObjCIVar(Name.contains('.'), Name); in findRecordFromSlice() 160 return Slice->findObjCInterface(Name); in findRecordFromSlice() 502 Dylib, [&T](const auto &Slice) { return T == Slice->getTarget(); }); in assignSlice() argument 799 for (std::shared_ptr<RecordsSlice> Slice : Dylib) { in verifyRemainingSymbols() 800 if (Ctx.Target.Arch == Slice->getTarget().Arch) in verifyRemainingSymbols() 804 Ctx.Target = Slice->getTarget(); in verifyRemainingSymbols() 805 Ctx.DylibSlice = Slice.get(); in verifyRemainingSymbols() 806 Slice->visit(*this); in verifyRemainingSymbols()
|
H A D | Frontend.cpp | 161 {"installapi-includes-", Ctx.Slice->getTriple().str(), "-", in createInputBuffer()
|
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/BinaryReader/ |
H A D | DylibReader.cpp | 145 static Error readMachOHeader(MachOObjectFile *Obj, RecordsSlice &Slice) { in readMachOHeader() argument 147 auto &BA = Slice.getBinaryAttrs(); in readMachOHeader() 172 BA.InstallName = Slice.copyString(LCI.Ptr + DLLC.dylib.name); in readMachOHeader() 180 Slice.copyString(LCI.Ptr + DLLC.dylib.name)); in readMachOHeader() 185 BA.ParentUmbrella = Slice.copyString(LCI.Ptr + SFC.umbrella); in readMachOHeader() 190 BA.AllowableClients.emplace_back(Slice.copyString(LCI.Ptr + SCLC.client)); in readMachOHeader() 202 BA.UUID = Slice.copyString(Stream.str()); in readMachOHeader() 207 BA.RPaths.emplace_back(Slice.copyString(LCI.Ptr + RPLC.path)); in readMachOHeader() 249 static Error readSymbols(MachOObjectFile *Obj, RecordsSlice &Slice, in readSymbols() argument 279 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 | 520 class Slice { class 532 Slice() = default; 534 Slice(uint64_t BeginOffset, uint64_t EndOffset, Use *U, bool IsSplittable) in Slice() function in __anondf5662880411::Slice 555 bool operator<(const Slice &RHS) const { in operator <() 568 friend LLVM_ATTRIBUTE_UNUSED bool operator<(const Slice &LHS, in operator <() 573 const Slice &RHS) { in operator <() 577 bool operator==(const Slice &RHS) const { in operator ==() 581 bool operator!=(const Slice &RHS) const { return !operator==(RHS); } in operator !=() 604 using iterator = SmallVectorImpl<Slice>::iterator; 610 using const_iterator = SmallVectorImpl<Slice>::const_iterator; [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | GIMatchTableExecutor.h | 730 uint64_t Slice = MatchTable[CurrentIdx] & 0x7f; in fastDecodeULEB128() local 731 Value += Slice << Shift; in fastDecodeULEB128()
|
/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/lib/DebugInfo/PDB/Native/ |
H A D | LinePrinter.cpp | 209 BinaryStreamRef Slice(*S); in formatMsfStreamData() local 212 Substream.StreamData = Slice.drop_front(Offset).keep_front(Size); in formatMsfStreamData()
|
/freebsd/tools/tools/nanobsd/embedded/ |
H A D | common | 538 # Slice 1: FAT for ROM loading bootstrap 539 # Slice 2: Config partition 540 # Slice 3: FreeBSD partition (sized exactly) 541 # Slice 4: FreeBSD partition (empty)
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | SelectOptimize.cpp | 330 void getExclBackwardsSlice(Instruction *I, std::stack<Instruction *> &Slice, 1034 std::stack<Instruction *> &Slice, in getExclBackwardsSlice() argument 1071 Slice.push(II); in getExclBackwardsSlice()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 6249 ConstantDataArraySlice &Slice, in getConstantDataArrayInfo() argument 6292 Slice.Array = nullptr; in getConstantDataArrayInfo() 6293 Slice.Offset = 0; in getConstantDataArrayInfo() 6298 Slice.Length = Length < Offset ? 0 : Length - Offset; in getConstantDataArrayInfo() 6333 Slice.Array = Array; in getConstantDataArrayInfo() 6334 Slice.Offset = Offset; in getConstantDataArrayInfo() 6335 Slice.Length = NumElts - Offset; in getConstantDataArrayInfo() 6345 ConstantDataArraySlice Slice; in getConstantStringInfo() local 6346 if (!getConstantDataArrayInfo(V, Slice, 8)) in getConstantStringInfo() 6349 if (Slice.Array == nullptr) { in getConstantStringInfo() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 4280 MutableArrayRef<unsigned> Slice = CurrentOrder.slice(I * PartSz, Limit); in findReusedOrderedScalars() local 4282 if (any_of(Slice, [&](int I) { return I != NumScalars; })) { in findReusedOrderedScalars() 4283 std::fill(Slice.begin(), Slice.end(), NumScalars); in findReusedOrderedScalars() 4311 std::fill(Slice.begin(), Slice.end(), NumScalars); in findReusedOrderedScalars() 4332 std::fill(Slice.begin(), Slice.end(), NumScalars); in findReusedOrderedScalars() 4664 ArrayRef<Value *> Slice = VL.slice(Cnt, VF); in canVectorizeLoads() local 4668 canVectorizeLoads(Slice, Slic in canVectorizeLoads() 5203 ArrayRef<int> Slice = ArrayRef(NewMask).slice(0, Sz); reorderNodeWithReuses() local 7748 ArrayRef<int> Slice = Mask.slice(Idx * VF, VF); isIdentityMask() local 8285 ArrayRef<Value *> Slice = VL.slice(Cnt, VF); getBuildVectorCost() local 8377 ArrayRef<Value *> Slice = VL.slice(P, VF); getBuildVectorCost() local 16161 ArrayRef<Value *> Slice = ArrayRef(Operands).slice(Cnt, Size); vectorizeStores() local [all...] |
H A D | VectorCombine.cpp | 1732 for (unsigned Slice = 0; Slice < NumSlices; ++Slice) { in isFreeConcat() local 1733 Use *SliceV = Item[Slice * NumElts].first; in isFreeConcat() 1737 auto [V, Lane] = Item[Slice * NumElts + Elt]; in isFreeConcat()
|
/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/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 991 ConstantDataArraySlice Slice; in optimizeStringLength() local 992 if (getConstantDataArrayInfo(GEP->getOperand(0), Slice, CharSize)) { in optimizeStringLength() 994 if (Slice.Array == nullptr) { in optimizeStringLength() 998 for (uint64_t I = 0, E = Slice.Length; I < E; ++I) { in optimizeStringLength() 999 if (Slice.Array->getElementAsInteger(I + Slice.Offset) == 0) { in optimizeStringLength()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
H A D | MachOObjcopy.cpp | 489 SmallVector<Slice, 2> Slices; in executeObjcopyOnMachOUniversalBinary()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ValueTracking.h | 690 bool getConstantDataArrayInfo(const Value *V, ConstantDataArraySlice &Slice,
|
/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 | 7685 const ConstantDataArraySlice &Slice) { in getMemsetStringVal() argument 7687 if (Slice.Array == nullptr) { in getMemsetStringVal() 7706 unsigned NumBytes = std::min(NumVTBytes, unsigned(Slice.Length)); in getMemsetStringVal() 7711 Val |= (uint64_t)(unsigned char)Slice[i] << i*8; in getMemsetStringVal() 7714 Val |= (uint64_t)(unsigned char)Slice[i] << (NumVTBytes-i-1)*8; in getMemsetStringVal() 7750 static bool isMemSrcFromConstant(SDValue Src, ConstantDataArraySlice &Slice) { in isMemSrcFromConstant() argument 7764 return getConstantDataArrayInfo(G->getGlobal(), Slice, 8, in isMemSrcFromConstant() 7833 ConstantDataArraySlice Slice; in getMemcpyLoadsAndStores() local 7835 bool CopyFromConstant = !isVol && isMemSrcFromConstant(Src, Slice); in getMemcpyLoadsAndStores() 7836 bool isZeroConstant = CopyFromConstant && Slice.Array == nullptr; in getMemcpyLoadsAndStores() [all …]
|