Lines Matching refs:Variants
3729 std::vector<std::vector<TreePatternNode*> > Variants; in GenerateVariantsOf() local
3730 Variants.push_back(ChildVariants[0]); // Intrinsic id. in GenerateVariantsOf()
3731 Variants.push_back(ChildVariants[2]); in GenerateVariantsOf()
3732 Variants.push_back(ChildVariants[1]); in GenerateVariantsOf()
3734 Variants.push_back(ChildVariants[i]); in GenerateVariantsOf()
3735 CombineChildVariants(N, Variants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3759 std::vector<TreePatternNode*> Variants; in GenerateVariants() local
3764 GenerateVariantsOf(PatternsToMatch[i].getSrcPattern(), Variants, *this, in GenerateVariants()
3767 assert(!Variants.empty() && "Must create at least original variant!"); in GenerateVariants()
3768 Variants.erase(Variants.begin()); // Remove the original pattern. in GenerateVariants()
3770 if (Variants.empty()) // No variants for this pattern. in GenerateVariants()
3777 for (unsigned v = 0, e = Variants.size(); v != e; ++v) { in GenerateVariants()
3778 TreePatternNode *Variant = Variants[v]; in GenerateVariants()