Home
last modified time | relevance | path

Searched refs:Slice (Results 1 – 25 of 44) sorted by relevance

12

/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Object/
H A DMachOUniversalWriter.h27 class Slice {
38 Slice(const IRObjectFile &IRO, uint32_t CPUType, uint32_t CPUSubType,
42 explicit Slice(const MachOObjectFile &O);
44 Slice(const MachOObjectFile &O, uint32_t Align);
49 Slice(const Archive &A, uint32_t CPUType, uint32_t CPUSubType,
52 static Expected<Slice> create(const Archive &A,
55 static Expected<Slice> create(const IRObjectFile &IRO, uint32_t Align);
79 friend bool operator<(const Slice &Lhs, const Slice &Rhs) {
93 Error writeUniversalBinary(ArrayRef<Slice> Slices, StringRef OutputFileName);
95 Error writeUniversalBinaryToStream(ArrayRef<Slice> Slices, raw_ostream &Out);
H A DMinidump.h206 Expected<ArrayRef<uint8_t>> Slice = in getDataSliceAs() local
208 if (!Slice) in getDataSliceAs()
209 return Slice.takeError(); in getDataSliceAs()
210 return ArrayRef<T>(reinterpret_cast<const T *>(Slice->data()), Count); in getDataSliceAs()
/netbsd/external/apache2/llvm/dist/llvm/lib/Object/
H A DMachOUniversalWriter.cpp78 Slice::Slice(const Archive &A, uint32_t CPUType, uint32_t CPUSubType, in Slice() function in Slice
83 Slice::Slice(const MachOObjectFile &O, uint32_t Align) in Slice() function in Slice
89 Slice::Slice(const IRObjectFile &IRO, uint32_t CPUType, uint32_t CPUSubType, in Slice() function in Slice
94 Slice::Slice(const MachOObjectFile &O) : Slice(O, calculateAlignment(O)) {} in Slice() function in Slice
113 Expected<Slice> Slice::create(const Archive &A, LLVMContext *LLVMCtx) { in create()
209 Slice ArchiveSlice(*(MFO.get()), MFO->is64Bit() ? 3 : 2); in create()
215 Expected<Slice> ArchiveSliceOrErr = Slice::create(*IRFO, 0); in create()
223 Expected<Slice> Slice::create(const IRObjectFile &IRO, uint32_t Align) { in create()
237 buildFatArchList(ArrayRef<Slice> Slices) { in buildFatArchList()
307 Error object::writeUniversalBinary(ArrayRef<Slice> Slices, in writeUniversalBinary()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/tools/llvm-lipo/
H A Dllvm-lipo.cpp122 Expected<Slice> ArchiveOrSlice = Slice::create(A, &LLVMCtx); in createSliceFromArchive()
129 Expected<Slice> IROrErr = Slice::create(IRO, Align); in createSliceFromIR()
399 Expected<Slice> SliceOrErr = Slice::create(**IROrError, O.getAlign()); in printBinaryArchs()
531 for (auto &Slice : Slices) { in updateAlignments() local
553 static SmallVector<Slice, 2>
588 Expected<Slice> SliceOrErr = Slice::create(*IRO, 0); in buildSlices()
655 static StringMap<Slice>
658 StringMap<Slice> Slices; in buildReplacementSlices()
667 Slice S(*O); in buildReplacementSlices()
676 Slices, [](StringMapEntry<Slice> &E) -> Slice & { return E.getValue(); }); in buildReplacementSlices()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DLEB128.h144 uint64_t Slice = *p & 0x7f; variable
145 if ((Shift >= 64 && Slice != 0) || Slice << Shift >> Shift != Slice) {
152 Value += Slice << Shift;
179 uint64_t Slice = Byte & 0x7f; variable
180 if ((Shift >= 64 && Slice != (Value < 0 ? 0x7f : 0x00)) ||
181 (Shift == 63 && Slice != 0 && Slice != 0x7f)) {
188 Value |= Slice << Shift;
/netbsd/external/apache2/llvm/dist/llvm/lib/Support/
H A DCRC.cpp92 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()
/netbsd/external/gpl3/gdb/dist/gdb/testsuite/gdb.ada/mod_from_name/
H A Dfoo.adb31 Slice : SomePackedArray renames XP.Y (3 .. 5); variable
34 Slice (4) := 4; -- START
/netbsd/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.ada/mod_from_name/
H A Dfoo.adb31 Slice : SomePackedArray renames XP.Y (3 .. 5); variable
34 Slice (4) := 4; -- START
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DSROA.cpp148 class Slice { class
160 Slice() = default;
497 for (Slice &S : P) in advance()
1917 for (const Slice &S : P) in isVectorPromotionViable()
2124 for (const Slice &S : P) in isIntegerWideningViable()
3805 Slice *S; in presplitLoadsAndStores()
3825 for (Slice &S : P) { in presplitLoadsAndStores()
4348 for (Slice &S : P) { in rewritePartition()
4442 for (Slice &S : AS) in splitAlloca()
4447 for (Slice &S : AS) { in splitAlloca()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp612 for (auto Slice : Obj.objects()) { in macho2yaml() local
614 arch.cputype = Slice.getCPUType(); in macho2yaml()
615 arch.cpusubtype = Slice.getCPUSubType(); in macho2yaml()
616 arch.offset = Slice.getOffset(); in macho2yaml()
617 arch.size = Slice.getSize(); in macho2yaml()
618 arch.align = Slice.getAlign(); in macho2yaml()
619 arch.reserved = Slice.getReserved(); in macho2yaml()
622 auto SliceObj = Slice.getAsObjectFile(); in macho2yaml()
/netbsd/external/apache2/llvm/dist/llvm/tools/llvm-libtool-darwin/
H A Dllvm-libtool-darwin.cpp449 static Expected<SmallVector<Slice, 2>>
451 SmallVector<Slice, 2> Slices; in buildSlices()
455 Expected<Slice> ArchiveSlice = Slice::create(A, &LLVMCtx); in buildSlices()
510 Expected<SmallVector<Slice, 2>> Slices = buildSlices(OutputBinaries); in createStaticLibrary()
/netbsd/external/gpl3/gdb/dist/ld/testsuite/ld-ctf/
H A Dslice.d5 #name: Slice
/netbsd/external/gpl3/gdb.old/dist/ld/testsuite/ld-ctf/
H A Dslice.d5 #name: Slice
/netbsd/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
H A DLinePrinter.cpp203 BinaryStreamRef Slice(*S); in formatMsfStreamData() local
206 Substream.StreamData = Slice.drop_front(Offset).keep_front(Size); in formatMsfStreamData()
/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DValueTracking.cpp4118 Slice.Array = nullptr; in getConstantDataArrayInfo()
4119 Slice.Offset = 0; in getConstantDataArrayInfo()
4137 Slice.Array = Array; in getConstantDataArrayInfo()
4138 Slice.Offset = Offset; in getConstantDataArrayInfo()
4148 ConstantDataArraySlice Slice; in getConstantStringInfo() local
4152 if (Slice.Array == nullptr) { in getConstantStringInfo()
4157 if (Slice.Length == 1) { in getConstantStringInfo()
4169 Str = Str.substr(Slice.Offset); in getConstantStringInfo()
4228 ConstantDataArraySlice Slice; in GetStringLengthH() local
4232 if (Slice.Array == nullptr) in GetStringLengthH()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DValueTracking.h330 bool getConstantDataArrayInfo(const Value *V, ConstantDataArraySlice &Slice,
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp632 ConstantDataArraySlice Slice; in optimizeStringLength() local
633 if (getConstantDataArrayInfo(GEP->getOperand(0), Slice, CharSize)) { in optimizeStringLength()
635 if (Slice.Array == nullptr) { in optimizeStringLength()
639 for (uint64_t I = 0, E = Slice.Length; I < E; ++I) { in optimizeStringLength()
640 if (Slice.Array->getElementAsInteger(I + Slice.Offset) == 0) { in optimizeStringLength()
/netbsd/external/bsd/mdocml/dist/
H A Dlib.in51 LINE("libdisk", "Interface to Slice and Partition Labels Library (libdisk, \\-ldisk)")
/netbsd/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/
H A DMachOObjcopy.cpp407 SmallVector<Slice, 2> Slices; in executeObjcopyOnMachOUniversalBinary()
/netbsd/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dctfeexpr.c357 ue = Slice(se->type, se->e1, se->lwr, se->upr); in copyLiteral()
505 *pue = Slice(e->type, se->e1, se->lwr, se->upr); in resolveSlice()
509 return Slice(e->type, se->e1, se->lwr, se->upr).copy(); in resolveSlice()
H A Dctfeexpr.d379 ue = Slice(se.type, se.e1, se.lwr, se.upr); in copyLiteral()
517 *pue = Slice(e.type, se.e1, se.lwr, se.upr);
521 return Slice(e.type, se.e1, se.lwr, se.upr).copy();
/netbsd/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dctfeexpr.c357 ue = Slice(se->type, se->e1, se->lwr, se->upr); in copyLiteral()
505 *pue = Slice(e->type, se->e1, se->lwr, se->upr); in resolveSlice()
509 return Slice(e->type, se->e1, se->lwr, se->upr).copy(); in resolveSlice()
/netbsd/external/gpl3/gcc.old/dist/libphobos/src/std/algorithm/
H A Dsorting.d2252 struct Slice{ size_t base, length; } in TimSortImpl() argument
2269 Slice[stackSize] stack = void; in TimSortImpl()
2290 stack[stackLen++] = Slice(i, runLen); in TimSortImpl()
2409 void mergeAt()(R range, Slice[] stack, immutable size_t at, ref size_t minGallop, ref T[] temp) in TimSortImpl()
2422 stack[at] = Slice(base, len); in TimSortImpl()
/netbsd/external/gpl3/gcc/dist/libphobos/src/std/algorithm/
H A Dsorting.d2347 struct Slice{ size_t base, length; } in TimSortImpl() argument
2365 Slice[stackSize] stack = void; in TimSortImpl()
2386 stack[stackLen++] = Slice(i, runLen); in TimSortImpl()
2527 void mergeAt()(R range, Slice[] stack, immutable size_t at, ref size_t minGallop, ref T[] temp) in TimSortImpl()
2542 stack[at] = Slice(base, len); in TimSortImpl()
/netbsd/external/gpl3/gcc.old/dist/gcc/config/rs6000/
H A Dpower9.md67 ; Slice plus 3rd slot

12