Home
last modified time | relevance | path

Searched full:transformer (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DRewriteRule.cpp1 //===--- Transformer.cpp - Transformer library implementation ---*- C++ -*-===//
9 #include "clang/Tooling/Transformer/RewriteRule.h"
15 #include "clang/Tooling/Transformer/SourceCode.h"
25 using namespace transformer;
32 const char transformer::RootID[] = "___root___";
34 static Expected<SmallVector<transformer::Edit, 1>>
36 SmallVector<transformer::Edit, 1> Edits; in translateEdits()
52 transformer::Edit T; in translateEdits()
78 EditGenerator transformer::editList(SmallVector<ASTEdit, 1> Edits) { in editList()
84 EditGenerator transformer::edit(ASTEdit Edit) { in edit()
[all …]
H A DTransformer.cpp1 //===--- Transformer.cpp - Transformer library implementation ---*- C++ -*-===//
9 #include "clang/Tooling/Transformer/Transformer.h"
36 const llvm::SmallVectorImpl<transformer::Edit> &Edits, in convertToAtomicChanges()
49 case transformer::EditKind::Range: in convertToAtomicChanges()
55 case transformer::EditKind::AddInclude: in convertToAtomicChanges()
71 void Transformer::registerMatchers(MatchFinder *MatchFinder) { in registerMatchers()
76 void Transformer::run(const MatchFinder::MatchResult &Result) { in run()
H A DRangeSelector.cpp9 #include "clang/Tooling/Transformer/RangeSelector.h"
15 #include "clang/Tooling/Transformer/SourceCode.h"
24 using namespace transformer;
99 RangeSelector transformer::before(RangeSelector Selector) { in before()
108 RangeSelector transformer::after(RangeSelector Selector) { in after()
134 RangeSelector transformer::node(std::string ID) { in node()
147 RangeSelector transformer::statement(std::string ID) { in statement()
157 RangeSelector transformer::enclose(RangeSelector Begin, RangeSelector End) { in enclose()
176 RangeSelector transformer::encloseNodes(std::string BeginID, in encloseNodes()
178 return transformer::enclose(node(std::move(BeginID)), node(std::move(EndID))); in encloseNodes()
[all …]
H A DStencil.cpp9 #include "clang/Tooling/Transformer/Stencil.h"
16 #include "clang/Tooling/Transformer/SourceCode.h"
17 #include "clang/Tooling/Transformer/SourceCodeBuilders.h"
27 using namespace transformer;
315 class SelectBoundStencil : public clang::transformer::StencilInterface {
426 Stencil transformer::detail::makeStencil(StringRef Text) { in makeStencil()
430 Stencil transformer::detail::makeStencil(RangeSelector Selector) { in makeStencil()
434 Stencil transformer::dPrint(StringRef Id) { in dPrint()
438 Stencil transformer::expression(llvm::StringRef Id) { in expression()
443 Stencil transformer::deref(llvm::StringRef ExprId) { in deref()
[all …]
H A DParsing.cpp9 #include "clang/Tooling/Transformer/Parsing.h"
15 #include "clang/Tooling/Transformer/RangeSelector.h"
16 #include "clang/Tooling/Transformer/SourceCode.h"
27 using namespace transformer;
32 // Transformer types. We intend to unify this implementation soon to share as
267 Expected<RangeSelector> transformer::parseRangeSelector(llvm::StringRef Input) { in parseRangeSelector()
H A DSourceCodeBuilders.cpp9 #include "clang/Tooling/Transformer/SourceCodeBuilders.h"
15 #include "clang/Tooling/Transformer/SourceCode.h"
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Transformer/
H A DTransformer.h1 //===--- Transformer.h - Transformer class ----------------------*- C++ -*-===//
14 #include "clang/Tooling/Transformer/RewriteRule.h"
23 /// Implementation details of \c Transformer with type erasure around
38 convertToAtomicChanges(const llvm::SmallVectorImpl<transformer::Edit> &Edits,
63 class Transformer : public ast_matchers::MatchFinder::MatchCallback {
79 explicit Transformer(transformer::RewriteRuleWith<void> Rule,
81 : Transformer(std::move(Rule),
96 explicit Transformer(
97 transformer::RewriteRuleWith<MetadataT> Rule,
119 populateMetadata(const transformer::RewriteRuleWith<T> &Rule,
[all …]
H A DParsing.h1 //===--- Parsing.h - Parsing library for Transformer ------------*- C++ -*-===//
10 /// Defines parsing functions for Transformer types.
12 /// Transformer types are under development.
21 #include "clang/Tooling/Transformer/RangeSelector.h"
26 namespace transformer {
37 } // namespace transformer
H A DMatchConsumer.h25 namespace transformer {
32 /// This is a central abstraction of the Transformer framework.
62 /// This is a central abstraction of the Transformer framework. It is a
101 } // namespace transformer
H A DRewriteRule.h22 #include "clang/Tooling/Transformer/MatchConsumer.h"
23 #include "clang/Tooling/Transformer/RangeSelector.h"
33 namespace transformer {
177 // Transformer guarantees that this ID is bound to the triggering node whenever
267 // * Matcher: the pattern term, expressed as clang matchers (with Transformer
280 // The \c Transformer class can be used to apply the rewrite rule and obtain the
293 /// When a case of the rule matches, the \c Transformer invokes the
470 /// RewriteRule, like Transformer and TransfomerTidy, or for more advanced
478 /// operates directly on the AST, rather than generating a Transformer
537 } // namespace transformer
H A DRangeSelector.h20 #include "clang/Tooling/Transformer/MatchConsumer.h"
26 namespace transformer {
110 } // namespace transformer
H A DStencil.h26 #include "clang/Tooling/Transformer/MatchConsumer.h"
27 #include "clang/Tooling/Transformer/RangeSelector.h"
34 namespace transformer {
169 } // namespace transformer
/freebsd/contrib/llvm-project/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp640 llvm_unreachable("'P' transformer cannot be used after 'C'"); in parsePrototypeDescriptor()
642 llvm_unreachable("'P' transformer cannot be used twice"); in parsePrototypeDescriptor()
664 llvm_unreachable("Illegal non-primitive type transformer!"); in parsePrototypeDescriptor()
672 void RVVType::applyModifier(const PrototypeDescriptor &Transformer) { in applyModifier() argument
673 // Handle primitive type transformer in applyModifier()
674 switch (static_cast<BaseTypeModifier>(Transformer.PT)) { in applyModifier()
705 switch (static_cast<VectorTypeModifier>(Transformer.VTM)) { in applyModifier()
821 NF = 2 + static_cast<uint8_t>(Transformer.VTM) - in applyModifier()
837 if ((static_cast<unsigned>(Transformer.TM) & TypeModifierMask) != in applyModifier()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionHelper.h44 /// The ASTConsumer that the returned transformer should send
H A DClangUtilityFunction.h96 /// The ASTConsumer that the returned transformer should send
H A DIRDynamicChecks.h85 /// Run this IR transformer on a single module
H A DClangFunctionCaller.h77 /// The ASTConsumer that the returned transformer should send
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Dnvidia,tegra-audio-rt5631.yaml67 nvidia,model = "Asus Transformer Infinity TF700T RT5631";
/freebsd/sys/contrib/device-tree/Bindings/arm/aspeed/
H A Daspeed.yaml88 - inventec,transformer-bmc
/freebsd/sys/contrib/device-tree/src/arm/nvidia/
H A Dtegra30-asus-tf201.dts4 #include "tegra30-asus-transformer-common.dtsi"
8 model = "Asus Transformer Prime TF201";
631 nvidia,model = "Asus Transformer Prime TF201 RT5631";
H A Dtegra30-asus-tf700t.dts4 #include "tegra30-asus-transformer-common.dtsi"
7 model = "Asus Transformer Infinity TF700T";
827 nvidia,model = "Asus Transformer Infinity TF700T RT5631";
H A Dtegra114-asus-tf701t.dts11 model = "Asus Transformer Pad TF701T";
733 nvidia,model = "Asus Transformer Pad TF701T RT5639";
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DDwarfTransformer.h36 /// Create a DWARF transformer.
/freebsd/sys/contrib/device-tree/Bindings/net/
H A Dti,dp83867.yaml23 transformer. This device interfaces directly to the MAC layer through the
/freebsd/sys/contrib/device-tree/src/arm/aspeed/
H A Daspeed-bmc-inventec-transformers.dts13 compatible = "inventec,transformer-bmc", "aspeed,ast2600";

12