Lines Matching refs:RewriteDescriptor
95 template <RewriteDescriptor::Type DT, typename ValueType,
97 class ExplicitRewriteDescriptor : public RewriteDescriptor {
103 : RewriteDescriptor(DT), Source(Naked ? StringRef("\01" + S.str()) : S), in ExplicitRewriteDescriptor()
108 static bool classof(const RewriteDescriptor *RD) { in classof()
113 template <RewriteDescriptor::Type DT, typename ValueType,
131 template <RewriteDescriptor::Type DT, typename ValueType,
135 class PatternRewriteDescriptor : public RewriteDescriptor {
141 : RewriteDescriptor(DT), Pattern(P), Transform(T) { } in PatternRewriteDescriptor()
145 static bool classof(const RewriteDescriptor *RD) { in classof()
150 template <RewriteDescriptor::Type DT, typename ValueType,
184 typedef ExplicitRewriteDescriptor<RewriteDescriptor::Type::Function,
191 typedef ExplicitRewriteDescriptor<RewriteDescriptor::Type::GlobalVariable,
198 typedef ExplicitRewriteDescriptor<RewriteDescriptor::Type::NamedAlias,
206 typedef PatternRewriteDescriptor<RewriteDescriptor::Type::Function,
215 typedef PatternRewriteDescriptor<RewriteDescriptor::Type::GlobalVariable,
224 typedef PatternRewriteDescriptor<RewriteDescriptor::Type::NamedAlias,