Lines Matching refs:RewriteDescriptor
97 template <RewriteDescriptor::Type DT, typename ValueType,
99 class ExplicitRewriteDescriptor : public RewriteDescriptor {
105 : RewriteDescriptor(DT), Source(Naked ? StringRef("\01" + S.str()) : S), in ExplicitRewriteDescriptor()
110 static bool classof(const RewriteDescriptor *RD) { in classof()
115 template <RewriteDescriptor::Type DT, typename ValueType,
133 template <RewriteDescriptor::Type DT, typename ValueType,
137 class PatternRewriteDescriptor : public RewriteDescriptor {
143 : RewriteDescriptor(DT), Pattern(P), Transform(T) { } in PatternRewriteDescriptor()
147 static bool classof(const RewriteDescriptor *RD) { in classof()
152 template <RewriteDescriptor::Type DT, typename ValueType,
186 typedef ExplicitRewriteDescriptor<RewriteDescriptor::Type::Function,
193 typedef ExplicitRewriteDescriptor<RewriteDescriptor::Type::GlobalVariable,
200 typedef ExplicitRewriteDescriptor<RewriteDescriptor::Type::NamedAlias,
208 typedef PatternRewriteDescriptor<RewriteDescriptor::Type::Function,
217 typedef PatternRewriteDescriptor<RewriteDescriptor::Type::GlobalVariable,
226 typedef PatternRewriteDescriptor<RewriteDescriptor::Type::NamedAlias,