Lines Matching refs:RewriteDescriptor
96 template <RewriteDescriptor::Type DT, typename ValueType,
98 class ExplicitRewriteDescriptor : public RewriteDescriptor {
104 : RewriteDescriptor(DT), Source(Naked ? StringRef("\01" + S.str()) : S), in ExplicitRewriteDescriptor()
109 static bool classof(const RewriteDescriptor *RD) { in classof()
114 template <RewriteDescriptor::Type DT, typename ValueType,
132 template <RewriteDescriptor::Type DT, typename ValueType,
136 class PatternRewriteDescriptor : public RewriteDescriptor {
142 : RewriteDescriptor(DT), Pattern(P), Transform(T) { } in PatternRewriteDescriptor()
146 static bool classof(const RewriteDescriptor *RD) { in classof()
151 template <RewriteDescriptor::Type DT, typename ValueType,
185 typedef ExplicitRewriteDescriptor<RewriteDescriptor::Type::Function,
192 typedef ExplicitRewriteDescriptor<RewriteDescriptor::Type::GlobalVariable,
199 typedef ExplicitRewriteDescriptor<RewriteDescriptor::Type::NamedAlias,
207 typedef PatternRewriteDescriptor<RewriteDescriptor::Type::Function,
216 typedef PatternRewriteDescriptor<RewriteDescriptor::Type::GlobalVariable,
225 typedef PatternRewriteDescriptor<RewriteDescriptor::Type::NamedAlias,