Home
last modified time | relevance | path

Searched refs:numLoops (Results 1 – 14 of 14) sorted by relevance

/external/s2-geometry-library-java/src/com/google/common/geometry/
DS2Polygon.java109 for (int i = 0; i < src.numLoops(); ++i) { in S2Polygon()
124 if (this.numLoops() != other.numLoops()) { in compareTo()
125 return this.numLoops() - other.numLoops(); in compareTo()
127 for (int i = 0; i < this.numLoops(); ++i) { in compareTo()
179 for (int i = 0; i < numLoops(); ++i) { in init()
247 public int numLoops() { in numLoops() method in S2Polygon
278 return numLoops() - 1; in getLastDescendant()
281 while (++k < numLoops() && loop(k).depth() > depth) { in getLastDescendant()
290 for (int i = 0; i < numLoops(); ++i) { in getAreaCentroid()
352 for (int i = 0; i < numLoops(); i++) { in getDistance()
[all …]
DS2PolygonBuilder.java276 for (int i = 0; i < polygon.numLoops(); ++i) { in addPolygon()
/external/llvm-project/mlir/lib/Conversion/LinalgToStandard/
DLinalgToStandard.cpp30 auto numLoops = indexedGenericOp.getNumLoops(); in extractOperandTypes() local
31 result.reserve(op->getNumOperands() + numLoops); in extractOperandTypes()
32 result.assign(numLoops, IndexType::get(ctx)); in extractOperandTypes()
173 auto numLoops = indexedGenericOp.getNumLoops(); in matchAndRewrite() local
175 operands.reserve(numLoops + op.getNumOperands()); in matchAndRewrite()
176 for (unsigned i = 0; i < numLoops; ++i) in matchAndRewrite()
/external/oboe/src/flowgraph/resampler/
DPolyphaseResamplerMono.cpp50 const int numLoops = mNumTaps >> 2; // n/4 in readFrame() local
51 for (int i = 0; i < numLoops; i++) { in readFrame()
DPolyphaseResamplerStereo.cpp54 const int numLoops = mNumTaps >> 2; // n/4 in readFrame() local
55 for (int i = 0; i < numLoops; i++) { in readFrame()
/external/llvm-project/mlir/lib/Conversion/SCFToGPU/
DSCFToGPU.cpp135 Optional<AffineForOp> collectBounds(AffineForOp forOp, unsigned numLoops);
164 AffineLoopToGpuConverter::collectBounds(AffineForOp forOp, unsigned numLoops) { in collectBounds() argument
166 dims.reserve(numLoops); in collectBounds()
167 lbs.reserve(numLoops); in collectBounds()
168 ivs.reserve(numLoops); in collectBounds()
169 steps.reserve(numLoops); in collectBounds()
171 for (unsigned i = 0; i < numLoops; ++i) { in collectBounds()
189 if (i != numLoops - 1) in collectBounds()
/external/llvm-project/mlir/test/lib/Transforms/
DTestLoopFusion.cpp155 unsigned numLoops = loops.size(); in iterateLoops() local
156 for (unsigned j = 0; j < numLoops; ++j) { in iterateLoops()
157 for (unsigned k = 0; k < numLoops; ++k) { in iterateLoops()
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DSparsification.cpp97 : numTensors(t), numLoops(l), isSparse(t, std::vector<bool>(l, false)) {} in Merger()
109 assert(t < numTensors && i < numLoops); in addLat()
111 latPoints.push_back(LatPoint(numLoops * numTensors, e, numTensors * i + t)); in addLat()
217 assert(t < numTensors && i < numLoops); in isSparseAccess()
237 const unsigned numLoops; member in __anon4430b2680111::Merger
248 unsigned numLoops) in CodeGen()
249 : options(o), loops(numLoops), sizes(numLoops), buffers(numTensors), in CodeGen()
250 pointers(numTensors, std::vector<Value>(numLoops)), in CodeGen()
251 indices(numTensors, std::vector<Value>(numLoops)), in CodeGen()
252 highs(numTensors, std::vector<Value>(numLoops)), in CodeGen()
[all …]
/external/llvm-project/mlir/lib/Dialect/Linalg/Utils/
DUtils.cpp325 unsigned numLoops = iteratorTypes.size(); in doit() local
326 ivs.reserve(numLoops); in doit()
327 lbsStorage.reserve(numLoops); in doit()
328 ubsStorage.reserve(numLoops); in doit()
329 stepsStorage.reserve(numLoops); in doit()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DLoopExtractor.cpp43 explicit LoopExtractor(unsigned numLoops = ~0) in LoopExtractor()
44 : LoopPass(ID), NumLoops(numLoops) { in LoopExtractor()
/external/s2-geometry-library-java/tests/com/google/common/geometry/
DS2PolygonTest.java232 assertEquals(2, union.numLoops());
274 assertEquals(2, union.numLoops());
322 for (int i = 0; i < shell.numLoops(); i++) { in testGetDistance()
/external/llvm/lib/Transforms/IPO/
DLoopExtractor.cpp41 explicit LoopExtractor(unsigned numLoops = ~0) in LoopExtractor()
42 : LoopPass(ID), NumLoops(numLoops) { in LoopExtractor()
/external/swiftshader/tests/ReactorUnitTests/
DReactorUnitTests.cpp3323 constexpr int numLoops = 16; in TEST() local
3326 auto results = std::unique_ptr<int[]>(new int[numThreads * numLoops]); in TEST()
3331 for(int l = 0; l < numLoops; l++) in TEST()
3341 results[t * numLoops + l] = f(t, l); in TEST()
3354 for(int l = 0; l < numLoops; l++) in TEST()
3357 auto result = results[t * numLoops + l]; in TEST()
3372 constexpr int numLoops = 16; in TEST() local
3381 auto results = std::unique_ptr<Result[]>(new Result[numThreads * numLoops]); in TEST()
3386 for(int l = 0; l < numLoops; l++) in TEST()
3399 auto &result = results[t * numLoops + l]; in TEST()
[all …]
/external/llvm-project/mlir/lib/Transforms/Utils/
DLoopUtils.cpp448 unsigned numLoops = origLoops.size(); in checkTilingLegalityImpl() local
450 for (unsigned d = 1; d <= numLoops + 1; ++d) { in checkTilingLegalityImpl()