Lines Matching refs:Variants
3559 for (const auto &Variants : ChildVariants) in CombineChildVariants() local
3560 if (Variants.empty()) in CombineChildVariants()
3757 std::vector<std::vector<TreePatternNode*> > Variants; in GenerateVariantsOf() local
3758 Variants.push_back(ChildVariants[0]); // Intrinsic id. in GenerateVariantsOf()
3759 Variants.push_back(ChildVariants[2]); in GenerateVariantsOf()
3760 Variants.push_back(ChildVariants[1]); in GenerateVariantsOf()
3762 Variants.push_back(ChildVariants[i]); in GenerateVariantsOf()
3763 CombineChildVariants(N, Variants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3787 std::vector<TreePatternNode*> Variants; in GenerateVariants() local
3792 GenerateVariantsOf(PatternsToMatch[i].getSrcPattern(), Variants, *this, in GenerateVariants()
3795 assert(!Variants.empty() && "Must create at least original variant!"); in GenerateVariants()
3796 Variants.erase(Variants.begin()); // Remove the original pattern. in GenerateVariants()
3798 if (Variants.empty()) // No variants for this pattern. in GenerateVariants()
3805 for (unsigned v = 0, e = Variants.size(); v != e; ++v) { in GenerateVariants()
3806 TreePatternNode *Variant = Variants[v]; in GenerateVariants()