Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp871 unsigned NumAggElts; in foldAggregateConstructionIntoAggregateReuse() local
874 NumAggElts = AggTy->getStructNumElements(); in foldAggregateConstructionIntoAggregateReuse()
877 NumAggElts = AggTy->getArrayNumElements(); in foldAggregateConstructionIntoAggregateReuse()
886 assert(NumAggElts > 0 && "Aggregate should have elements."); in foldAggregateConstructionIntoAggregateReuse()
887 if (NumAggElts > 2) in foldAggregateConstructionIntoAggregateReuse()
895 SmallVector<std::optional<Instruction *>, 2> AggElts(NumAggElts, NotFound); in foldAggregateConstructionIntoAggregateReuse()
906 static const int DepthLimit = 2 * NumAggElts; in foldAggregateConstructionIntoAggregateReuse()