| /llvm-project-15.0.7/clang/unittests/Lex/ |
| H A D | DependencyDirectivesScannerTest.cpp | 47 SmallVector<char, 128> Out; in TEST() 67 SmallVector<char, 128> Out; in TEST() 119 SmallVector<char, 128> Out; in TEST() 127 SmallVector<char, 128> Out; in TEST() 140 SmallVector<char, 128> Out; in TEST() 160 SmallVector<char, 128> Out; in TEST() 183 SmallVector<char, 128> Out; in TEST() 197 SmallVector<char, 128> Out; in TEST() 217 SmallVector<char, 128> Out; in TEST() 236 SmallVector<char, 128> Out; in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/CodeGen/ |
| H A D | AllocationOrderTest.cpp | 28 SmallVector<MCPhysReg, 16> Hints = {1, 2, 3}; in TEST() 29 SmallVector<MCPhysReg, 16> Order = {4, 5, 6, 7}; in TEST() 35 SmallVector<MCPhysReg, 16> Hints = {1, 2, 3}; in TEST() 36 SmallVector<MCPhysReg, 16> Order = {4, 1, 5, 6}; in TEST() 42 SmallVector<MCPhysReg, 16> Hints = {1, 2, 3}; in TEST() 49 SmallVector<MCPhysReg, 16> Hints = {1, 2, 3}; in TEST() 58 SmallVector<MCPhysReg, 16> Hints = {1, 2, 3}; in TEST() 68 SmallVector<MCPhysReg, 16> Hints = {1, 2, 3}; in TEST() 75 SmallVector<MCPhysReg, 16> Hints = {1, 2, 3}; in TEST() 82 SmallVector<MCPhysReg, 16> Hints = {1, 2, 3}; in TEST() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/ |
| H A D | VectorUnrollDistribute.cpp | 47 SmallVector<int64_t, 4> vectorShape; 48 SmallVector<int64_t> loopOrder; 49 SmallVector<int64_t> sliceStrides; 165 static SmallVector<int64_t> 168 SmallVector<int64_t> loopOrder = in getUnrollOrder() 210 SmallVector<int64_t> loopOrder = in matchAndRewrite() 217 SmallVector<Value, 4> indices = in matchAndRewrite() 260 SmallVector<int64_t> loopOrder = in matchAndRewrite() 325 SmallVector<int64_t>, Value, in matchAndRewrite() 424 SmallVector<int64_t>, Value, in matchAndRewrite() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | BlockExtractor.cpp | 52 SmallVector<BasicBlock *, 16> NewGroup; in init() 61 SmallVector<SmallVector<BasicBlock *, 16>, 4> GroupsOfBlocks; 64 SmallVector<std::pair<std::string, SmallVector<std::string, 4>>, 4> 81 SmallVector<SmallVector<BasicBlock *, 16>, 4> MassagedGroupsOfBlocks; in BlockExtractorLegacyPass() 83 SmallVector<BasicBlock *, 16> NewGroup; in BlockExtractorLegacyPass() 128 SmallVector<StringRef, 16> Lines; in loadFile() 132 SmallVector<StringRef, 4> LineSplit; in loadFile() 140 SmallVector<StringRef, 4> BBNames; in loadFile() 175 SmallVector<BasicBlock *, 2> NewBBs; in splitLandingPadPreds() 186 SmallVector<Function *, 4> Functions; in runOnModule() [all …]
|
| /llvm-project-15.0.7/mlir/unittests/Dialect/ |
| H A D | BroadcastShapeTest.cpp | 15 using llvm::SmallVector; 19 SmallVector<int64_t, 4> result; in TEST() 25 SmallVector<int64_t, 4> result; in TEST() 31 SmallVector<int64_t, 4> result; in TEST() 37 SmallVector<int64_t, 4> result; in TEST() 43 SmallVector<int64_t, 4> result; in TEST() 49 SmallVector<int64_t, 4> result; in TEST() 56 SmallVector<int64_t, 4> result; in TEST() 62 SmallVector<int64_t, 4> result; in TEST() 68 SmallVector<int64_t, 4> result; in TEST()
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | IteratorTest.cpp | 157 SmallVector<int *, 4> V; in TEST() 198 SmallVector<std::unique_ptr<int>, 4> V; in TEST() 254 SmallVector<S *, 2> V{&A[0], &A[1]}; in TEST() 267 EXPECT_EQ((SmallVector<int, 3>{1, 3, 5}), Actual); in TEST() 274 SmallVector<int> Actual; in TEST() 277 EXPECT_EQ((SmallVector<int, 3>{1, 3, 5}), Actual); in TEST() 298 EXPECT_EQ((SmallVector<int, 3>{1, 3, 5}), Actual); in TEST() 306 EXPECT_EQ((SmallVector<int, 3>{1, 3, 5}), Actual); in TEST() 320 EXPECT_EQ((SmallVector<int, 3>{1, 3, 5}), Actual); in TEST() 355 EXPECT_EQ((SmallVector<int, 0>{}), Actual3); in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Passes/ |
| H A D | PassBuilder.h | 620 SmallVector<std::function<void(LoopPassManager &, OptimizationLevel)>, 2> 644 SmallVector<std::function<void(ModuleAnalysisManager &)>, 2> 646 SmallVector<std::function<bool(StringRef, ModulePassManager &, 650 SmallVector< 654 SmallVector<std::function<void(CGSCCAnalysisManager &)>, 2> 656 SmallVector<std::function<bool(StringRef, CGSCCPassManager &, 661 SmallVector<std::function<void(FunctionAnalysisManager &)>, 2> 663 SmallVector<std::function<bool(StringRef, FunctionPassManager &, 668 SmallVector<std::function<void(LoopAnalysisManager &)>, 2> 670 SmallVector<std::function<bool(StringRef, LoopPassManager &, [all …]
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | LinkerScript.h | 203 SmallVector<SectionPattern, 0> sectionPatterns; 207 SmallVector<InputSectionBase *, 0> sectionBases; 211 SmallVector<InputSection *, 0> sections; 244 SmallVector<StringRef, 0> names; 279 SmallVector<InputSectionBase *, 0> 321 SmallVector<PhdrEntry *, 0> createPhdrs(); 337 SmallVector<SectionCommand *, 0> sectionCommands; 340 SmallVector<PhdrsCommand, 0> phdrsCommands; 353 SmallVector<llvm::StringRef, 0> referencedSymbols; 357 SmallVector<InsertCommand, 0> insertCommands; [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/ |
| H A D | TilingInterfaceImpl.cpp | 39 SmallVector<StringRef> getLoopIteratorTypes(Operation *op) const { in getLoopIteratorTypes() 64 SmallVector<Operation *> 74 SmallVector<Value> offsetValues = in getTiledImplementation() 76 SmallVector<Value, 4> tiledOperands = makeTiledShapes( in getTiledImplementation() 80 SmallVector<Type> resultTensorTypes = llvm::to_vector(llvm::map_range( in getTiledImplementation() 98 SmallVector<OpFoldResult> &resultOffsets, in getResultTilePosition() 99 SmallVector<OpFoldResult> &resultSizes) const { in getResultTilePosition() 116 SmallVector<Value> sizeVals = in getResultTilePosition() 118 SmallVector<Value> subShapeSizes = in getResultTilePosition() 158 SmallVector<OpFoldResult> iterationTileOffsets(numLoops), in generateResultTileValue() [all …]
|
| H A D | FusionOnTensors.cpp | 65 static SmallVector<int64_t> 77 producerIndexingMap.getSubMap(SmallVector<unsigned>( in getTiledProducerLoops() 89 SmallVector<int64_t> tiledProducerLoopIndices; in getTiledProducerLoops() 144 SmallVector<Value> producerLoopBounds; in getTiledProducer() 222 SmallVector<BlockArgument> bbArgs; in getTiedBBArgs() 239 SmallVector<BlockArgument> bbArgs = getTiedBBArgs(bbArg); in getTiedIterArg() 269 SmallVector<BlockArgument> bbArgs = getTiedBBArgs(bbArg); in hasOtherUses() 379 SmallVector<int64_t> tiledProducerLoopIndices = in fuseProducer() 409 SmallVector<LinalgOp> result; in getAllTiledAndFusedOps() 437 SmallVector<StringAttr> iterTypes = in tileConsumerAndFuseProducers() [all …]
|
| H A D | Split.cpp | 27 static SmallVector<Value> 31 SmallVector<Value> slices; in getOperandSlices() 46 SmallVector<OpFoldResult> sizes; in getOperandSlices() 85 SmallVector<Value> operands = llvm::to_vector( in createSplitPart() 105 SmallVector<Value, 4> allShapes = in splitOp() 108 SmallVector<Value, 4> iterationSpaceShapes = in splitOp() 120 SmallVector<Value> splitIterationSpace = in splitOp() 122 SmallVector<Value> originalResults = llvm::to_vector( in splitOp() 125 SmallVector<Value> firstResults; in splitOp() 138 SmallVector<Value> secondResults; in splitOp() [all …]
|
| H A D | DropUnitDims.cpp | 108 SmallVector<AffineExpr, 4> dimReplacements; in replaceUnitDims() 119 SmallVector<AffineExpr, 4> symReplacements; in replaceUnitDims() 124 SmallVector<AffineMap, 4> newIndexingMaps; in replaceUnitDims() 245 SmallVector<AffineExpr> reassociations; in replaceUnitExtents() 246 SmallVector<Attribute> reassociationMaps; in replaceUnitExtents() 247 SmallVector<AffineExpr> newIndexExprs; in replaceUnitExtents() 248 SmallVector<int64_t> newShape; in replaceUnitExtents() 304 SmallVector<ReassociationExprs, 2> 371 SmallVector<Type> newInputOutputTypes; in matchAndRewrite() 409 SmallVector<Value, 4> res; in matchAndRewrite() [all …]
|
| H A D | ConstantFold.cpp | 46 SmallVector<APInt> apInts; 47 SmallVector<APFloat> apFloats; 139 SmallVector<APInt> intOutputValues; in matchAndRewrite() 140 SmallVector<APFloat> fpOutputValues; in matchAndRewrite() 148 SmallVector<unsigned> dims; in matchAndRewrite() 156 SmallVector<SmallVector<unsigned>> inputDims; in matchAndRewrite() 164 SmallVector<uint64_t> indices(loopBounds.size(), 0); in matchAndRewrite() 165 SmallVector<uint64_t> dstIndices(loopBounds.size(), 0); in matchAndRewrite() 166 SmallVector<SmallVector<uint64_t>> srcIndices( in matchAndRewrite() 167 numInputs, SmallVector<uint64_t>(loopBounds.size(), 0)); in matchAndRewrite() [all …]
|
| H A D | SplitReduction.cpp | 93 SmallVector<unsigned> dims; in splitReduction() 116 SmallVector<Value> newInputs; in splitReduction() 117 SmallVector<AffineMap> newMaps; in splitReduction() 121 SmallVector<int64_t> newShape; in splitReduction() 122 SmallVector<AffineExpr> exprs; in splitReduction() 213 SmallVector<AffineExpr> exprs; in splitReduction() 284 SmallVector<unsigned> dims; in splitReductionByScaling() 329 SmallVector<Value> newOutputs; in splitReductionByScaling() 339 SmallVector<Value> dims = in splitReductionByScaling() 358 SmallVector<AffineMap> newMaps; in splitReductionByScaling() [all …]
|
| H A D | ElementwiseOpFusion.cpp | 160 SmallVector<Value> fusedIndices; in generateFusedElementwiseOpRegion() 249 static Optional<SmallVector<Value>> 263 SmallVector<Value> fusedOperands; in fuseElementwiseOpsImpl() 353 static Optional<SmallVector<Value>> 504 SmallVector<SmallVector<int64_t>> expandedShapeMap; 587 SmallVector<AffineExpr> newExprs; in getIndexingMapInExpandedOp() 751 SmallVector<Value> outputs; in fuseWithReshapeByExpansion() 792 SmallVector<Value> resultVals; in fuseWithReshapeByExpansion() 1199 static SmallVector<StringRef> 1369 SmallVector<Type> resultTypes; in collapseGenericOpIterationDims() [all …]
|
| /llvm-project-15.0.7/flang/include/flang/Lower/ |
| H A D | IterationSpace.h | 151 llvm::SmallVector<mlir::Value> indices; 199 llvm::SmallVector<A> stack; 271 llvm::SmallVector<llvm::SmallVector<FrontEndMaskExpr>> &getMasks() { 274 const llvm::SmallVector<llvm::SmallVector<FrontEndMaskExpr>> & 430 llvm::SmallVector<mlir::Type> result; 532 llvm::SmallVector<llvm::SmallVector<fir::DoLoopOp>> getLoopStack() const { 543 llvm::SmallVector<llvm::SmallVector<FrontEndSymbol>> symbolStack; 545 llvm::SmallVector<llvm::SmallVector<ArrayBases>> rhsBases; 553 llvm::SmallVector<mlir::Value> innerArgs; 554 llvm::SmallVector<mlir::Value> initialArgs; [all …]
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | AffineMap.cpp | 219 static SmallVector<AffineMap, 4> 226 SmallVector<AffineMap, 4> maps; in inferFromExprList() 234 SmallVector<AffineMap, 4> 239 SmallVector<AffineMap, 4> 288 SmallVector<int64_t> result; in getConstantResults() 334 SmallVector<int64_t, 2> integers; in constantFold() 356 SmallVector<AffineExpr, 4> exprs; in partialConstantFold() 456 SmallVector<AffineExpr, 8> exprs; in compose() 471 SmallVector<int64_t, 4> res; in compose() 566 static SmallVector<AffineMap> [all …]
|
| /llvm-project-15.0.7/mlir/unittests/Analysis/Presburger/ |
| H A D | IntegerPolyhedronTest.cpp | 109 SmallVector<unsigned, 4> perm(nDim); in checkPermutationsSample() 112 SmallVector<int64_t, 4> permuted; in checkPermutationsSample() 119 SmallVector<SmallVector<int64_t, 4>, 4> permutedIneqs, permutedEqs; in checkPermutationsSample() 701 SmallVector<unsigned, 8> denoms = {3}; in TEST() 714 SmallVector<unsigned, 8> denoms = {4}; in TEST() 728 SmallVector<unsigned, 8> denoms = {4}; in TEST() 738 SmallVector<unsigned, 8> denoms = {4}; in TEST() 777 SmallVector<unsigned, 8> denoms = {0}; in TEST() 793 SmallVector<unsigned, 8> denoms = {2}; in TEST() 1162 ArrayRef<std::pair<StringRef, SmallVector<SmallVector<int64_t, 8>, 8>>> in expectSymbolicIntegerLexMin() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Target/SPIRV/Serialization/ |
| H A D | Serializer.h | 344 SmallVector<uint32_t, 4> capabilities; 345 SmallVector<uint32_t, 0> extensions; 346 SmallVector<uint32_t, 0> extendedSets; 347 SmallVector<uint32_t, 3> memoryModel; 348 SmallVector<uint32_t, 0> entryPoints; 349 SmallVector<uint32_t, 4> executionModes; 350 SmallVector<uint32_t, 0> debug; 351 SmallVector<uint32_t, 0> names; 352 SmallVector<uint32_t, 0> decorations; 354 SmallVector<uint32_t, 0> functions; [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/ |
| H A D | TileUsingInterface.cpp | 32 SmallVector<int64_t> tileSizes(ts.begin(), ts.end()); in setTileSizes() 47 static SmallVector<unsigned> 62 static SmallVector<T> applyPermutationToVector(const SmallVector<T> &vector, in applyPermutationToVector() 69 static SmallVector<unsigned> 98 static SmallVector<scf::ForOp> 107 SmallVector<scf::ForOp> loops; in generateTileLoopNest() 183 SmallVector<Value> tileSizeVector = in returningMatchAndRewrite() 191 SmallVector<OpFoldResult> offsets, sizes; in returningMatchAndRewrite() 195 SmallVector<unsigned> interchangeVector; in returningMatchAndRewrite() 261 SmallVector<Value> replacements; in returningMatchAndRewrite() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/MC/SystemZ/ |
| H A D | SystemZAsmLexerTest.cpp | 146 SmallVector<AsmToken::TokenKind> ExpectedTokens( in TEST_F() 165 SmallVector<AsmToken::TokenKind> ExpectedTokens( in TEST_F() 180 SmallVector<AsmToken::TokenKind> ExpectedTokens( in TEST_F() 196 SmallVector<AsmToken::TokenKind> ExpectedTokens( in TEST_F() 212 SmallVector<AsmToken::TokenKind> ExpectedTokens( in TEST_F() 229 SmallVector<AsmToken::TokenKind> ExpectedTokens( in TEST_F() 244 SmallVector<AsmToken::TokenKind> ExpectedTokens( in TEST_F() 259 SmallVector<AsmToken::TokenKind> ExpectedTokens; in TEST_F() 304 SmallVector<AsmToken::TokenKind> ExpectedTokens; in TEST_F() 341 SmallVector<AsmToken::TokenKind> ExpectedTokens; in TEST_F() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Utils/ |
| H A D | ReshapeOpsUtils.cpp | 18 Optional<SmallVector<ReassociationIndices>> 30 Optional<SmallVector<ReassociationIndices>> 36 SmallVector<ReassociationIndices> reassociationMap; in getReassociationIndicesForCollapse() 100 SmallVector<ReassociationIndices> composedIndices; in composeReassociationIndices() 131 SmallVector<SmallVector<AffineExpr, 2>, 2> 134 SmallVector<SmallVector<AffineExpr, 2>, 2> reassociationMaps; in convertReassociationIndicesToExprs() 136 SmallVector<AffineExpr, 2> reassociationMap; in convertReassociationIndicesToExprs() 161 SmallVector<Attribute, 4> reassociationAttr = in getReassociationIndicesAttribute() 171 SmallVector<ReassociationIndices, 2> reassociationIndices; in convertReassociationMapsToIndices() 182 SmallVector<AffineMap, 4> [all …]
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/CodeGen/ |
| H A D | MLIRGen.cpp | 232 SmallVector<Value> replValues; in genImpl() 298 SmallVector<Value> values; in genVar() 407 SmallVector<Value> arguments; in genExprImpl() 499 SmallVector<Value> operands; in genExprImpl() 505 SmallVector<Value> attrValues; in genExprImpl() 512 SmallVector<Value> results; in genExprImpl() 521 SmallVector<Value> elements; in genExprImpl() 535 SmallVector<Value> 543 SmallVector<Value> results = in genConstraintCall() 594 return SmallVector<Value>(); in genConstraintOrRewriteCall() [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Linalg/Utils/ |
| H A D | Utils.h | 152 Optional<SmallVector<ReassociationIndices>> 188 SmallVector<Value> computeTileOffsets(OpBuilder &b, Location loc, 195 SmallVector<Value> computeTileSizes(OpBuilder &b, Location loc, 209 SmallVector<Value> insertSlicesBack(OpBuilder &builder, Location loc, 239 SmallVector<Value, 4> makeTiledShapes(OpBuilder &builder, Location loc, 254 SmallVector<LinalgDependenceGraph::LinalgDependenceGraphElem, 1>>; 343 using ProcInfoCallBackFn = std::function<SmallVector<ProcInfo, 2>( 363 SmallVector<DistributionMethod, 0> distributionMethod = {}; 403 SmallVector<LinalgOp> getAllTiledAndFusedOps(); 423 SmallVector<BlockArgument> getTiedBBArgs(BlockArgument bbArg); [all …]
|
| /llvm-project-15.0.7/llvm/unittests/tools/llvm-profgen/ |
| H A D | ContextCompressionTest.cpp | 16 SmallVector<std::string, 16> Context = {"a", "b", "c", "a", "b", "c"}; in TEST() 17 SmallVector<std::string, 16> Expect = {"a", "b", "c"}; in TEST() 23 SmallVector<std::string, 16> Context = {"m", "a", "a", "b", "c", "a", in TEST() 25 SmallVector<std::string, 16> Expect = {"m", "a", "b", "c", "d"}; in TEST() 31 SmallVector<std::string, 16> Context = {"m", "a", "a", "b", "c", "a", in TEST() 33 SmallVector<std::string, 16> Expect = {"m", "a", "b", "c", in TEST()
|