| /src/external/apache2/llvm/dist/llvm/include/llvm/Object/ |
| Minidump.h | 110 MemoryInfoIterator(ArrayRef<uint8_t> Storage, size_t Stride) 111 : Storage(Storage), Stride(Stride) { 112 assert(Storage.size() % Stride == 0); 125 Storage = Storage.drop_front(Stride); 131 size_t Stride;
|
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| MachineRegisterInfo.cpp | 339 int Stride = 1; 341 Stride = -1; 370 Dst += Stride; 371 Src += Stride;
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| X86LowerAMXType.cpp | 176 // Use the maximun column as stride. 177 Value *Stride = Builder.getInt64(64); 180 std::array<Value *, 4> Args = {Row, Col, I8Ptr, Stride}; 188 // %stride); 203 // Use the maximum column as stride. It must be the same with load 204 // stride. 205 Value *Stride = Builder.getInt64(64); 208 std::array<Value *, 5> Args = {Row, Col, I8Ptr, Stride, Tile}; 229 Value *I8Ptr, *Stride; 235 Stride = Builder.getInt64(64) [all...] |
| X86LowerAMXIntrinsics.cpp | 78 Value *Ptr, Value *Stride, Value *Tile); 150 Value *Col, Value *Ptr, Value *Stride, Value *Tile) { 183 Value *CurrentRowZExt = B.CreateZExt(CurrentRow, Stride->getType()); 184 Value *CurrentColZExt = B.CreateZExt(CurrentCol, Stride->getType()); 186 B.CreateAdd(B.CreateMul(CurrentRowZExt, Stride), CurrentColZExt); 516 Value *M, *N, *Ptr, *Stride, *Tile; 520 m_Value(M), m_Value(N), m_Value(Ptr), m_Value(Stride))); 524 m_Value(Stride), m_Value(Tile))); 530 Value *StrideDWord = PreBuilder.CreateLShr(Stride, PreBuilder.getInt64(2));
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| StraightLineStrengthReduce.cpp | 145 : CandidateKind(CT), Base(B), Index(Idx), Stride(S), Ins(I) {} 151 // Note that Index and Stride of a GEP candidate do not necessarily have the 152 // same integer type. In that case, during rewriting, Stride will be 156 Value *Stride = nullptr; 167 // <Base: a, Index: 1, Stride: b + 2> 171 // <Base: b, Index: 2, Stride: a + 1> 183 // share the same base and stride. 231 // A helper function that factors ArrayIdx to a product of a stride and a 281 // They share the same base, stride, and candidate kind. 282 Basis.Base == C.Base && Basis.Stride == C.Stride & [all...] |
| LoopIdiomRecognize.cpp | 511 // Check to see if we have a constant stride. 545 // Check to see if the stride matches the size of the store. If so, then we 547 APInt Stride = getStoreStride(StoreEv); 549 if (StoreSize != Stride && StoreSize != -Stride) 570 // The store and load must share the same stride. 592 // Make sure this is a strided store with a constant stride. 779 APInt Stride = getStoreStride(StoreEv); 781 // Check to see if the stride matches the size of the stores. If so, then 783 if (StoreSize != Stride && StoreSize != -Stride [all...] |
| LowerMatrixIntrinsics.cpp | 94 // assuming \p Stride elements between start two consecutive vectors. 95 // \p Stride must be >= \p NumElements. 115 // Column 0: computeVectorAddr(Base, 0 (column), 4 (stride), 2 (num rows), ..) 117 // Column 1: computeVectorAddr(Base, 1 (column), 4 (stride), 2 (num rows), ..) 119 // Column 2: computeVectorAddr(Base, 2 (column), 4 (stride), 2 (num rows), ..) 132 Value *computeVectorAddr(Value *BasePtr, Value *VecIdx, Value *Stride, 136 assert((!isa<ConstantInt>(Stride) || 137 cast<ConstantInt>(Stride)->getZExtValue() >= NumElements) && 138 "Stride must be >= the number of elements in the result vector."); 141 // Compute the start of the vector with index VecIdx as VecIdx * Stride [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| VectorUtils.h | 339 /// Get the stride of a pointer access in a loop. Looks for symbolic 340 /// strides "a[i*stride]". Returns the symbolic stride, or null otherwise. 504 /// Create a stride shuffle mask. 507 /// are incremented by \p Stride. The mask can be used to deinterleave an 511 /// <Start, Start + Stride, ..., Start + Stride * (VF - 1)> 513 /// For example, the mask for Start = 0, Stride = 2, and VF = 4 is: 516 llvm::SmallVector<int, 16> createStrideMask(unsigned Start, unsigned Stride, 556 /// The group of interleaved loads/stores sharing the same stride an [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/ |
| LoopVectorizationLegality.cpp | 278 // 1) it has a canonical IV (starting from 0 and with stride 1), 415 int Stride = getPtrStride(PSE, Ptr, TheLoop, Strides, CanAddPredicate, false); 416 if (Stride == 1 || Stride == -1) 417 return Stride;
|
| LoadStoreVectorizer.cpp | 421 uint64_t Stride = DL.getTypeAllocSize(GTIA.getIndexedType()); 422 if (PtrDelta.urem(Stride) != 0) 425 APInt IdxDiff = PtrDelta.udiv(Stride).zextOrSelf(IdxBitWidth);
|
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| VectorUtils.cpp | 192 /// Get the stride of a pointer access in a loop. Looks for symbolic 193 /// strides "a[i*stride]". Returns the symbolic stride, or null otherwise. 255 Value *Stride = U->getValue(); 256 if (!Lp->isLoopInvariant(Stride)) 262 Stride = getUniqueCastUse(Stride, Lp, StripedOffRecurrenceCast); 264 return Stride; 796 llvm::createStrideMask(unsigned Start, unsigned Stride, unsigned VF) { 799 Mask.push_back(Start + i * Stride); [all...] |
| LoopAccessAnalysis.cpp | 123 cl::desc("Enable symbolic stride memory access versioning")); 149 // symbolic stride replaced by one. 153 // For a non-symbolic stride, just return the original expression. 195 // Get the stride replaced scev. 650 int64_t Stride = getPtrStride(PSE, Ptr, L, Strides); 651 if (Stride == 1 || PSE.hasNoOverflow(Ptr, SCEVWrapPredicate::IncrementNUSW)) 1016 /// Check whether the access through \p Ptr has a constant stride. 1026 LLVM_DEBUG(dbgs() << "LAA: Bad stride - Not a pointer to a scalar type" 1038 LLVM_DEBUG(dbgs() << "LAA: Bad stride - Not an AddRecExpr pointer " << *Ptr 1043 // The access function must stride over the innermost loop [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Parse/ |
| ParseExpr.cpp | 1900 ExprResult Idx, Length, Stride; 1928 Stride = ParseExpression(); 1940 !Stride.isInvalid() && Tok.is(tok::r_square)) { 1944 Length.get(), Stride.get(), RLoc);
|
| /src/external/apache2/llvm/dist/llvm/lib/IR/ |
| LLVMContextImpl.h | 308 Metadata *Stride; 311 Metadata *Stride) 313 Stride(Stride) {} 316 UpperBound(N->getRawUpperBound()), Stride(N->getRawStride()) {} 337 BoundsEqual(Stride, RHS->getRawStride()); 344 LowerBound, UpperBound, Stride); 345 return hash_combine(CountNode, LowerBound, UpperBound, Stride); 353 Metadata *Stride; 356 Metadata *Stride) [all...] |
| AsmWriter.cpp | 1926 auto *Stride = N->getRawStride(); 1927 if (auto *SE = dyn_cast_or_null<ConstantAsMetadata>(Stride)) { 1929 Printer.printInt("stride", SV->getSExtValue(), /* ShouldSkipZero */ false); 1931 Printer.printMetadata("stride", Stride, /*ShouldSkipNull */ true); 1980 auto *Stride = N->getRawStride(); 1981 if (IsConstant(Stride)) 1982 Printer.printInt("stride", GetConstant(Stride), 1985 Printer.printMetadata("stride", Stride, /*ShouldSkipNull */ true) [all...] |
| Verifier.cpp | 967 auto *Stride = N.getRawStride(); 968 AssertDI(!Stride || isa<ConstantAsMetadata>(Stride) || 969 isa<DIVariable>(Stride) || isa<DIExpression>(Stride), 970 "Stride must be signed constant or DIVariable or DIExpression", &N); 991 auto *Stride = N.getRawStride(); 992 AssertDI(Stride, "GenericSubrange must contain stride", &N); 993 AssertDI(isa<DIVariable>(Stride) || isa<DIExpression>(Stride) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
| HexagonLoopIdiomRecognition.cpp | 1953 // Check to see if the stride matches the size of the store. If so, then we 1955 int Stride = getSCEVStride(StoreEv); 1956 if (Stride == 0) 1959 if (StoreSize != unsigned(std::abs(Stride))) 1975 // The store and load must share the same stride. 2035 unsigned Stride = getSCEVStride(StoreEv); 2037 if (Stride != StoreSize) 2142 // Check the stride. 2213 // If stride is positive, copying things from higher to lower addresses 2214 // is equivalent to memmove. For negative stride, it's the other wa [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/sancov/ |
| sancov.cpp | 618 uint32_t Stride = Sec.reserved2; 619 uint32_t Cnt = Sec.size / Stride; 624 uint64_t Addr = Sec.addr + J * Stride;
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/ |
| SystemZISelLowering.cpp | 4710 unsigned Stride = 1; 4711 for (; Stride * 2 < Ops.size(); Stride *= 2) { 4712 for (unsigned I = 0; I < Ops.size() - Stride; I += Stride * 2) { 4713 SDValue SubOps[] = { Ops[I], Ops[I + Stride] }; 4722 else if (OpNo == I + Stride) 4751 if (Stride > 1) { 4752 Ops[1] = Ops[Stride]; 4755 Bytes[I] -= (Stride - 1) * SystemZ::VectorBytes [all...] |
| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| CGOpenMPRuntime.cpp | 1598 ITy, // stride 2742 // kmp_int[32|64] stride, kmp_int[32|64] chunk); 2754 CGF.Builder.getIntN(IVSize, 1), // Stride 2802 Values.ST.getPointer(), // &Stride 2892 ST.getPointer() // &Stride 2961 /// (Taskloops only) Stride. 8036 // For supporting stride in array section, we need to initialize the first 8045 // the first Stride. For example, for `int arr[10][10]`, the DimSizes 8046 // should be [10, 10] and the first stride is 4 btyes. 8108 // Collect info for non-contiguous. Notice that offset, count, and stride [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Sema/ |
| SemaChecking.cpp | 16207 // Check stride argument. 16217 uint64_t Stride = Value->getZExtValue(); 16218 if (Stride < *MaybeRows) { 16298 // Apply default Lvalue conversions and convert the stride expression to 16312 // Check stride argument. 16316 uint64_t Stride = Value->getZExtValue(); 16317 if (Stride < MatrixTy->getNumRows()) {
|
| TreeTransform.h | 2541 Expr *Length, Expr *Stride, 2545 Length, Stride, RBracketLoc); 10608 ExprResult Stride; 10610 Stride = getDerived().TransformExpr(Str); 10611 if (Stride.isInvalid()) 10621 E->getColonLocFirst(), E->getColonLocSecond(), Length.get(), Stride.get(),
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
| PPCISelLowering.cpp | 8356 int Stride = FourEltRes ? WideNumElts / 4 : WideNumElts / 2; 8360 ShuffV[i * Stride] = i; 8363 ShuffV[i * Stride - 1] = i - 1;
|
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| DAGCombiner.cpp | 10478 const unsigned Stride = SplitSrcVT.getStoreSize(); 10484 const unsigned Offset = Idx * Stride; 10492 BasePtr = DAG.getMemBasePlusOffset(BasePtr, TypeSize::Fixed(Stride), DL);
|