| /src/external/apache2/llvm/dist/llvm/include/llvm/Object/ |
| MachOUniversalWriter.h | 9 // Declares the Slice class and writeUniversalBinary function for writing a 27 class Slice { 33 // P2Alignment field stores slice alignment values from universal 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) [all...] |
| Minidump.h | 40 return getData().slice(Stream.Location.RVA, Stream.Location.DataSize); 153 /// Return a slice of the given data array, with bounds checking. 157 /// Return the slice of the given data array as an array of objects of the 206 Expected<ArrayRef<uint8_t>> Slice = 208 if (!Slice) 209 return Slice.takeError(); 210 return ArrayRef<T>(reinterpret_cast<const T *>(Slice->data()), Count);
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| LEB128.h | 144 uint64_t Slice = *p & 0x7f; 145 if ((Shift >= 64 && Slice != 0) || Slice << Shift >> Shift != Slice) { 152 Value += Slice << Shift; 179 uint64_t Slice = Byte & 0x7f; 180 if ((Shift >= 64 && Slice != (Value < 0 ? 0x7f : 0x00)) || 181 (Shift == 63 && Slice != 0 && Slice != 0x7f)) { 188 Value |= Slice << Shift [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Object/ |
| MachOUniversalWriter.cpp | 9 // Defines the Slice class and writeUniversalBinary function for writing a MachO 78 Slice::Slice(const Archive &A, uint32_t CPUType, uint32_t CPUSubType, 83 Slice::Slice(const MachOObjectFile &O, uint32_t Align) 89 Slice::Slice(const IRObjectFile &IRO, uint32_t CPUType, uint32_t CPUSubType, 94 Slice::Slice(const MachOObjectFile &O) : Slice(O, calculateAlignment(O)) { [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/llvm-lipo/ |
| llvm-lipo.cpp | 121 static Slice createSliceFromArchive(const Archive &A) { 122 Expected<Slice> ArchiveOrSlice = Slice::create(A, &LLVMCtx); 128 static Slice createSliceFromIR(const IRObjectFile &IRO, unsigned Align) { 129 Expected<Slice> IROrErr = Slice::create(IRO, Align); 332 ? Slice(*cast<MachOObjectFile>(B)) 392 OS << Slice(*(MachOObjOrError->get())).getArchString() << " "; 399 Expected<Slice> SliceOrErr = Slice::create(**IROrError, O.getAlign()) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Support/ |
| CRC.cpp | 92 ArrayRef<uint8_t> Slice = Data.take_front(UINT32_MAX); 93 CRC = ::crc32(CRC, (const Bytef *)Slice.data(), (uInt)Slice.size()); 94 Data = Data.drop_front(Slice.size());
|
| /src/external/apache2/llvm/dist/llvm/tools/obj2yaml/ |
| macho2yaml.cpp | 612 for (auto Slice : Obj.objects()) { 614 arch.cputype = Slice.getCPUType(); 615 arch.cpusubtype = Slice.getCPUSubType(); 616 arch.offset = Slice.getOffset(); 617 arch.size = Slice.getSize(); 618 arch.align = Slice.getAlign(); 619 arch.reserved = Slice.getReserved(); 622 auto SliceObj = Slice.getAsObjectFile();
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-libtool-darwin/ |
| llvm-libtool-darwin.cpp | 449 static Expected<SmallVector<Slice, 2>> 451 SmallVector<Slice, 2> Slices; 455 Expected<Slice> ArchiveSlice = Slice::create(A, &LLVMCtx); 510 Expected<SmallVector<Slice, 2>> Slices = buildSlices(OutputBinaries);
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| SROA.cpp | 142 /// A used slice of an alloca. 144 /// This structure represents a slice of an alloca used by some instruction. It 148 class Slice { 155 /// Storage for both the use of this slice and whether it can be 160 Slice() = default; 162 Slice(uint64_t BeginOffset, uint64_t EndOffset, Use *U, bool IsSplittable) 183 bool operator<(const Slice &RHS) const { 196 friend LLVM_ATTRIBUTE_UNUSED bool operator<(const Slice &LHS, 201 const Slice &RHS) { 205 bool operator==(const Slice &RHS) const [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/ |
| LinePrinter.cpp | 203 BinaryStreamRef Slice(*S); 206 Substream.StreamData = Slice.drop_front(Offset).keep_front(Size);
|
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| ValueTracking.cpp | 3930 return InsertValueInst::Create(To, V, makeArrayRef(Idxs).slice(IdxSkip), 3979 return FindInsertedValue(C, idx_range.slice(1), InsertBefore); 4070 ConstantDataArraySlice &Slice, 4093 return getConstantDataArrayInfo(GEP->getOperand(0), Slice, ElementSize, 4118 Slice.Array = nullptr; 4119 Slice.Offset = 0; 4120 Slice.Length = Length - Offset; 4137 Slice.Array = Array; 4138 Slice.Offset = Offset; 4139 Slice.Length = NumElts - Offset [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| ValueTracking.h | 308 /// Slice starts at this Offset. 311 /// Length of the slice. 321 /// Convenience accessor for elements in the slice. 328 /// If successful \p Slice will point to a ConstantDataArray info object 330 bool getConstantDataArrayInfo(const Value *V, ConstantDataArraySlice &Slice,
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/ |
| MachOObjcopy.cpp | 407 SmallVector<Slice, 2> Slices; 435 // check each in turn to see what kind of slice this is, so ignore errors 444 "slice for '%s' of the universal Mach-O binary "
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| SimplifyLibCalls.cpp | 632 ConstantDataArraySlice Slice; 633 if (getConstantDataArrayInfo(GEP->getOperand(0), Slice, CharSize)) { 635 if (Slice.Array == nullptr) { 639 for (uint64_t I = 0, E = Slice.Length; I < E; ++I) { 640 if (Slice.Array->getElementAsInteger(I + Slice.Offset) == 0) {
|
| /src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| ctfeexpr.d | 248 case EXP.slice: 286 const slice = se.peekData(); 287 memcpy(s, slice.ptr, slice.length); 379 ue = Slice(se.type, se.e1, se.lwr, se.upr); 517 *pue = Slice(e.type, se.e1, se.lwr, se.upr); 521 return Slice(e.type, se.e1, se.lwr, se.upr).copy(); 525 * e must be an array literal, or a slice 526 * It's very wasteful to resolve the slice when we only 539 case EXP.slice [all...] |
| optimize.d | 1156 // Convert slice of string literal into dynamic array 1171 ret = Slice(e.type, e.e1, e.lwr, e.upr).copy(); 1176 // Leave the slice form so it might be 1385 case EXP.slice: visitSlice(ex.isSliceExp()); break;
|
| constfold.d | 1323 UnionExp Slice(Type type, Expression e1, Expression lwr, Expression upr) 1329 printf("Slice()\n"); 1377 /* Check whether slice `[newlwr .. newupr]` is in the range `[lwr .. upr]` 1387 /* Set a slice of char/integer array literal 'existingAE' from a string 'newval'. 1401 /* Set a slice of string 'existingSE' from a char array literal 'newae'. 1413 /* Set a slice of string 'existingSE' from a string 'newstr'. 1426 /* Compare a string slice with another string slice. 1438 /* Compare a string slice with an array literal slice [all...] |
| /src/external/gpl3/gcc.old/dist/libphobos/src/std/algorithm/ |
| sorting.d | 2347 struct Slice{ size_t base, length; } 2365 Slice[stackSize] stack = void; 2386 stack[stackLen++] = Slice(i, runLen); 2527 void mergeAt()(R range, Slice[] stack, immutable size_t at, ref size_t minGallop, ref T[] temp) 2542 stack[at] = Slice(base, len); 3413 Returns: a slice from `r[0]` to `r[nth]`, excluding `r[nth]` itself. 4025 Returns: The slice of `target` containing the copied elements.
|
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| SelectionDAG.cpp | 6208 const ConstantDataArraySlice &Slice) { 6210 if (Slice.Array == nullptr) { 6229 unsigned NumBytes = std::min(NumVTBytes, unsigned(Slice.Length)); 6234 Val |= (uint64_t)(unsigned char)Slice[i] << i*8; 6237 Val |= (uint64_t)(unsigned char)Slice[i] << (NumVTBytes-i-1)*8; 6273 static bool isMemSrcFromConstant(SDValue Src, ConstantDataArraySlice &Slice) { 6287 return getConstantDataArrayInfo(G->getGlobal(), Slice, 8, 6355 ConstantDataArraySlice Slice; 6357 bool CopyFromConstant = !isVol && isMemSrcFromConstant(Src, Slice); 6358 bool isZeroConstant = CopyFromConstant && Slice.Array == nullptr [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/ |
| SLPVectorizer.cpp | 6714 ArrayRef<Value *> Slice = makeArrayRef(Operands).slice(Cnt, Size); 6715 if (!VectorizedStores.count(Slice.front()) && 6716 !VectorizedStores.count(Slice.back()) && 6717 vectorizeStoreChain(Slice, R, Cnt)) { 6719 VectorizedStores.insert(Slice.begin(), Slice.end()); 6854 ArrayRef<Value *> Ops = VL.slice(I, OpsWidth);
|
| /src/external/apache2/llvm/dist/clang/lib/Sema/ |
| SemaTemplateInstantiateDecl.cpp | 3149 Decl *Slice = instantiateUnresolvedUsingDecl(D, true); 3150 if (!Slice) 3156 Expansions.push_back(cast<NamedDecl>(Slice)); 3181 // slice of a pack expansion.
|
| /src/external/gpl3/gcc.old/dist/libphobos/src/std/uni/ |
| package.d | 456 just a couple of operations - slice the upper bits, 889 @property auto slice(size_t n)()inout pure nothrow @nogc 999 assert(m.slice!(k)[i] == i+1, text("level:",i," : ",m.slice!(k)[0 .. n])); 1005 assert(m.slice!(k)[i] == n-i, text("level:",i," : ",m.slice!(k)[0 .. n])); 1011 m.slice!(k)[i] = force!ubyte(i+1); 1017 m.slice!(k)[i] = force!ubyte(n-i); 1077 assert(arr.slice!(lvl)[i] == i, text("Mismatch on lvl ", lvl, " idx ", i, " value: ", arr.slice!(lvl)[i])) [all...] |
| /src/external/gpl3/gcc.old/dist/libphobos/src/std/range/ |
| package.d | 660 "Attempt to get out-of-bounds slice of `stride` range"); 666 "Overflow when calculating slice of `stride` range"); 1680 alias Slice(R) = typeof(R.init[0 .. 1]); 1681 alias Slices = staticMap!(Slice, Ranges); 2353 assert(i <= j, "Invalid slice bounds"); 2354 assert(j <= length, "Attempting to slice past the end of a " 2903 "Attempting to slice a takeOne range with a larger first argument than the second." 2907 "Attempting to slice using an out of bounds index on a takeOne range." 3228 auto slice = new SliceClass([1, 2, 3]); 3229 assert(takeNone(slice).empty) [all...] |