Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/include/llvm/Object/
H A DMachOUniversalWriter.h34 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 &Rhs) {
100 Error writeUniversalBinary(ArrayRef<Slice> Slices, StringRef OutputFileName);
102 Error writeUniversalBinaryToStream(ArrayRef<Slice> Slices, raw_ostream &Out);
H A DMinidump.h207 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()
/openbsd/gnu/llvm/llvm/lib/Object/
H A DMachOUniversalWriter.cpp85 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(O, calculateAlignment(O)) {} in Slice() function in Slice
120 Expected<Slice> Slice::create(const Archive &A, LLVMContext *LLVMCtx) { in create()
216 Slice ArchiveSlice(*(MFO), MFO->is64Bit() ? 3 : 2); in create()
222 Expected<Slice> ArchiveSliceOrErr = Slice::create(*IRFO, 0); in create()
230 Expected<Slice> Slice::create(const IRObjectFile &IRO, uint32_t Align) { in create()
244 buildFatArchList(ArrayRef<Slice> Slices) { in buildFatArchList()
314 Error object::writeUniversalBinary(ArrayRef<Slice> Slices, in writeUniversalBinary()
[all …]
/openbsd/gnu/llvm/llvm/tools/llvm-lipo/
H A Dllvm-lipo.cpp127 Expected<Slice> ArchiveOrSlice = Slice::create(A, &LLVMCtx); in createSliceFromArchive()
134 Expected<Slice> IROrErr = Slice::create(IRO, Align); in createSliceFromIR()
399 Expected<Slice> SliceOrErr = Slice::create(**IROrError, O.getAlign()); in printBinaryArchs()
533 for (auto &Slice : Slices) { in updateAlignments() local
555 static SmallVector<Slice, 2>
590 Expected<Slice> SliceOrErr = Slice::create(*IRO, 0); in buildSlices()
656 static StringMap<Slice>
659 StringMap<Slice> Slices; in buildReplacementSlices()
668 Slice S(*O); in buildReplacementSlices()
677 Slices, [](StringMapEntry<Slice> &E) -> Slice & { return E.getValue(); }); in buildReplacementSlices()
[all …]
/openbsd/gnu/llvm/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;
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DSROA.cpp255 class Slice { class
267 Slice() = default;
604 for (Slice &S : P) in advance()
2107 for (const Slice &S : P) in checkVectorTypeForPromotion()
2165 for (const Slice &S : P) in isVectorPromotionViable()
4127 Slice *S; in presplitLoadsAndStores()
4147 for (Slice &S : P) { in presplitLoadsAndStores()
4695 for (Slice &S : P) { in rewritePartition()
4801 for (Slice &S : AS) in splitAlloca()
4806 for (Slice &S : AS) { in splitAlloca()
[all …]
/openbsd/gnu/llvm/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp686 for (auto Slice : Obj.objects()) { in macho2yaml() local
688 arch.cputype = Slice.getCPUType(); in macho2yaml()
689 arch.cpusubtype = Slice.getCPUSubType(); in macho2yaml()
690 arch.offset = Slice.getOffset(); in macho2yaml()
691 arch.size = Slice.getSize(); in macho2yaml()
692 arch.align = Slice.getAlign(); in macho2yaml()
693 arch.reserved = Slice.getReserved(); in macho2yaml()
696 auto SliceObj = Slice.getAsObjectFile(); in macho2yaml()
/openbsd/gnu/llvm/llvm/tools/llvm-libtool-darwin/
H A Dllvm-libtool-darwin.cpp552 static Expected<SmallVector<Slice, 2>>
555 SmallVector<Slice, 2> Slices; in buildSlices()
559 Expected<Slice> ArchiveSlice = Slice::create(A, &LLVMCtx); in buildSlices()
644 Expected<SmallVector<Slice, 2>> Slices = buildSlices(LLVMCtx, OutputBinaries); in createStaticLibrary()
/openbsd/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
H A DLinePrinter.cpp209 BinaryStreamRef Slice(*S); in formatMsfStreamData() local
212 Substream.StreamData = Slice.drop_front(Offset).keep_front(Size); in formatMsfStreamData()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DSelectOptimize.cpp182 void getExclBackwardsSlice(Instruction *I, std::stack<Instruction *> &Slice,
755 std::stack<Instruction *> &Slice, in getExclBackwardsSlice() argument
791 Slice.push(II); in getExclBackwardsSlice()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DValueTracking.cpp4339 Slice.Array = nullptr; in getConstantDataArrayInfo()
4340 Slice.Offset = 0; in getConstantDataArrayInfo()
4380 Slice.Array = Array; in getConstantDataArrayInfo()
4381 Slice.Offset = Offset; in getConstantDataArrayInfo()
4392 ConstantDataArraySlice Slice; in getConstantStringInfo() local
4396 if (Slice.Array == nullptr) { in getConstantStringInfo()
4407 if (Slice.Length == 1) { in getConstantStringInfo()
4419 Str = Str.substr(Slice.Offset); in getConstantStringInfo()
4478 ConstantDataArraySlice Slice; in GetStringLengthH() local
4482 if (Slice.Array == nullptr) in GetStringLengthH()
[all …]
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/
H A DValueTracking.h321 bool getConstantDataArrayInfo(const Value *V, ConstantDataArraySlice &Slice,
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp941 ConstantDataArraySlice Slice; in optimizeStringLength() local
942 if (getConstantDataArrayInfo(GEP->getOperand(0), Slice, CharSize)) { in optimizeStringLength()
944 if (Slice.Array == nullptr) { in optimizeStringLength()
948 for (uint64_t I = 0, E = Slice.Length; I < E; ++I) { in optimizeStringLength()
949 if (Slice.Array->getElementAsInteger(I + Slice.Offset) == 0) { in optimizeStringLength()
/openbsd/gnu/llvm/llvm/lib/ObjCopy/MachO/
H A DMachOObjcopy.cpp478 SmallVector<Slice, 2> Slices; in executeObjcopyOnMachOUniversalBinary()
/openbsd/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp4096 ArrayRef<int> Slice = ArrayRef(NewMask).slice(0, Sz); in reorderNodeWithReuses() local
4097 SmallVector<unsigned> NewOrder(Slice.begin(), Slice.end()); in reorderNodeWithReuses()
6823 ArrayRef<Value *> Slice = VL.slice(Cnt, VF); in getEntryCost() local
6824 if (!VectorizedLoads.count(Slice.front()) && in getEntryCost()
6825 !VectorizedLoads.count(Slice.back()) && allSameBlock(Slice)) { in getEntryCost()
6829 canVectorizeLoads(Slice, Slice.front(), *TTI, *DL, *SE, *LI, in getEntryCost()
6840 VectorizedLoads.insert(Slice.begin(), Slice.end()); in getEntryCost()
11562 if (!VectorizedStores.count(Slice.front()) && in vectorizeStores()
11563 !VectorizedStores.count(Slice.back()) && in vectorizeStores()
11564 vectorizeStoreChain(Slice, R, Cnt, MinVF)) { in vectorizeStores()
[all …]
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp6858 const ConstantDataArraySlice &Slice) { in getMemsetStringVal() argument
6860 if (Slice.Array == nullptr) { in getMemsetStringVal()
6879 unsigned NumBytes = std::min(NumVTBytes, unsigned(Slice.Length)); in getMemsetStringVal()
6884 Val |= (uint64_t)(unsigned char)Slice[i] << i*8; in getMemsetStringVal()
6887 Val |= (uint64_t)(unsigned char)Slice[i] << (NumVTBytes-i-1)*8; in getMemsetStringVal()
6937 return getConstantDataArrayInfo(G->getGlobal(), Slice, 8, in isMemSrcFromConstant()
7006 ConstantDataArraySlice Slice; in getMemcpyLoadsAndStores() local
7008 bool CopyFromConstant = !isVol && isMemSrcFromConstant(Src, Slice); in getMemcpyLoadsAndStores()
7009 bool isZeroConstant = CopyFromConstant && Slice.Array == nullptr; in getMemcpyLoadsAndStores()
7078 if (SrcOff < Slice.Length) { in getMemcpyLoadsAndStores()
[all …]
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp3383 Decl *Slice = instantiateUnresolvedUsingDecl(D, true); in instantiateUnresolvedUsingDecl() local
3384 if (!Slice) in instantiateUnresolvedUsingDecl()
3390 Expansions.push_back(cast<NamedDecl>(Slice)); in instantiateUnresolvedUsingDecl()
/openbsd/usr.sbin/unbound/doc/
H A Dunbound.doxygen306 # Set the OPTIMIZE_OUTPUT_SLICE tag to YES if your project consists of Slice
319 # Csharp (C#), C, C++, Lex, D, PHP, md (Markdown), Objective-C, Python, Slice,
/openbsd/games/fortune/datfiles/
H A Dfortunes4924 Slice him up before he slays you.