Lines Matching refs:Variants
3566 for (const auto &Variants : ChildVariants) in CombineChildVariants() local
3567 if (Variants.empty()) in CombineChildVariants()
3764 std::vector<std::vector<TreePatternNode*> > Variants; in GenerateVariantsOf() local
3765 Variants.push_back(ChildVariants[0]); // Intrinsic id. in GenerateVariantsOf()
3766 Variants.push_back(ChildVariants[2]); in GenerateVariantsOf()
3767 Variants.push_back(ChildVariants[1]); in GenerateVariantsOf()
3769 Variants.push_back(ChildVariants[i]); in GenerateVariantsOf()
3770 CombineChildVariants(N, Variants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3794 std::vector<TreePatternNode*> Variants; in GenerateVariants() local
3799 GenerateVariantsOf(PatternsToMatch[i].getSrcPattern(), Variants, *this, in GenerateVariants()
3802 assert(!Variants.empty() && "Must create at least original variant!"); in GenerateVariants()
3803 Variants.erase(Variants.begin()); // Remove the original pattern. in GenerateVariants()
3805 if (Variants.empty()) // No variants for this pattern. in GenerateVariants()
3812 for (unsigned v = 0, e = Variants.size(); v != e; ++v) { in GenerateVariants()
3813 TreePatternNode *Variant = Variants[v]; in GenerateVariants()