Lines Matching refs:Variants
3207 std::vector<std::vector<TreePatternNode*> > Variants; in GenerateVariantsOf() local
3208 Variants.push_back(ChildVariants[0]); // Intrinsic id. in GenerateVariantsOf()
3209 Variants.push_back(ChildVariants[2]); in GenerateVariantsOf()
3210 Variants.push_back(ChildVariants[1]); in GenerateVariantsOf()
3212 Variants.push_back(ChildVariants[i]); in GenerateVariantsOf()
3213 CombineChildVariants(N, Variants, OutVariants, CDP, DepVars); in GenerateVariantsOf()
3237 std::vector<TreePatternNode*> Variants; in GenerateVariants() local
3242 GenerateVariantsOf(PatternsToMatch[i].getSrcPattern(), Variants, *this, in GenerateVariants()
3245 assert(!Variants.empty() && "Must create at least original variant!"); in GenerateVariants()
3246 Variants.erase(Variants.begin()); // Remove the original pattern. in GenerateVariants()
3248 if (Variants.empty()) // No variants for this pattern. in GenerateVariants()
3255 for (unsigned v = 0, e = Variants.size(); v != e; ++v) { in GenerateVariants()
3256 TreePatternNode *Variant = Variants[v]; in GenerateVariants()