Home
last modified time | relevance | path

Searched refs:TreePattern (Results 1 – 16 of 16) sorted by relevance

/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.h34 class TreePattern; variable
61 TypeSet(MVT::SimpleValueType VT, TreePattern &TP);
109 bool MergeInTypeInfo(const EEVT::TypeSet &InVT, TreePattern &TP);
111 bool MergeInTypeInfo(MVT::SimpleValueType InVT, TreePattern &TP) { in MergeInTypeInfo()
116 bool EnforceInteger(TreePattern &TP);
119 bool EnforceFloatingPoint(TreePattern &TP);
122 bool EnforceScalar(TreePattern &TP);
125 bool EnforceVector(TreePattern &TP);
129 bool EnforceSmallerThan(EEVT::TypeSet &Other, TreePattern &TP);
133 bool EnforceVectorEltTypeIs(EEVT::TypeSet &VT, TreePattern &TP);
[all …]
DCodeGenDAGPatterns.cpp45 EEVT::TypeSet::TypeSet(MVT::SimpleValueType VT, TreePattern &TP) { in TypeSet()
75 bool EEVT::TypeSet::FillWithPossibleTypes(TreePattern &TP, in FillWithPossibleTypes()
150 bool EEVT::TypeSet::MergeInTypeInfo(const EEVT::TypeSet &InVT, TreePattern &TP){ in MergeInTypeInfo()
231 bool EEVT::TypeSet::EnforceInteger(TreePattern &TP) { in EnforceInteger()
252 bool EEVT::TypeSet::EnforceFloatingPoint(TreePattern &TP) { in EnforceFloatingPoint()
274 bool EEVT::TypeSet::EnforceScalar(TreePattern &TP) { in EnforceScalar()
296 bool EEVT::TypeSet::EnforceVector(TreePattern &TP) { in EnforceVector()
321 bool EEVT::TypeSet::EnforceSmallerThan(EEVT::TypeSet &Other, TreePattern &TP) { in EnforceSmallerThan()
506 TreePattern &TP) { in EnforceVectorEltTypeIs()
547 TreePattern &TP) { in EnforceVectorSubVectorTypeIs()
[all …]
DDAGISelMatcherGen.cpp173 TreePattern &TP = *CGP.pf_begin()->second; in InferPossibleTypes()
626 const TreePattern *InstPat = Inst.getPattern(); in GetInstPatternNode()
DDAGISelMatcherEmitter.cpp37 DenseMap<TreePattern *, unsigned> NodePredicateMap;
612 StringMap<TreePattern*> PFsByName; in EmitPredicateFunctions()
DDAGISelMatcher.h29 class TreePattern; variable
425 TreePattern *Pred;
DFastISelEmitter.cpp46 DenseMap<TreePattern *, unsigned> ImmIDs;
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DTreeWizard.cs105 public class TreePattern : CommonTree class in Antlr.Runtime.Tree.TreeWizard
109 public TreePattern( IToken payload ) : in TreePattern() method in Antlr.Runtime.Tree.TreeWizard.TreePattern
126 public class WildcardTreePattern : TreePattern
139 return new TreePattern( payload ); in Create()
287 TreePattern _tpattern;
289 … public FindTreeWizardContextVisitor( TreeWizard outer, TreePattern tpattern, IList subtrees ) in FindTreeWizardContextVisitor()
321 TreePattern tpattern = (TreePattern)parser.Pattern(); in Find()
385 TreePattern _tpattern;
387 …eeWizard outer, IContextVisitor visitor, IDictionary<string, object> labels, TreePattern tpattern ) in VisitTreeWizardContextVisitor()
419 TreePattern tpattern = (TreePattern)parser.Pattern(); in Visit()
[all …]
DTreePatternParser.cs134 TreeWizard.TreePattern node = in ParseNode()
172 if ( label != null && node2.GetType() == typeof( TreeWizard.TreePattern ) ) in ParseNode()
174 ( (TreeWizard.TreePattern)node2 ).label = label; in ParseNode()
176 if ( arg != null && node2.GetType() == typeof( TreeWizard.TreePattern ) ) in ParseNode()
178 ( (TreeWizard.TreePattern)node2 ).hasTextArg = true; in ParseNode()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DTreeWizard.cs97 public class TreePattern : CommonTree { class in Antlr.Runtime.Tree.TreeWizard
100 public TreePattern(IToken payload) : in TreePattern() method in Antlr.Runtime.Tree.TreeWizard.TreePattern
112 public class WildcardTreePattern : TreePattern {
121 return new TreePattern(payload); in Create()
251 TreePattern _tpattern;
253 … public FindTreeWizardContextVisitor(TreeWizard outer, TreePattern tpattern, IList subtrees) { in FindTreeWizardContextVisitor()
280 TreePattern tpattern = (TreePattern)parser.Pattern(); in Find()
334 TreePattern _tpattern;
336 …eWizard outer, IContextVisitor visitor, IDictionary<string, object> labels, TreePattern tpattern) { in VisitTreeWizardContextVisitor()
364 TreePattern tpattern = (TreePattern)parser.Pattern(); in Visit()
[all …]
DTreePatternParser.cs114 TreeWizard.TreePattern node = in ParseNode()
147 if (label != null && node2.GetType() == typeof(TreeWizard.TreePattern)) { in ParseNode()
148 ((TreeWizard.TreePattern)node2).label = label; in ParseNode()
150 if (arg != null && node2.GetType() == typeof(TreeWizard.TreePattern)) { in ParseNode()
151 ((TreeWizard.TreePattern)node2).hasTextArg = true; in ParseNode()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DTreeWizard.java72 public static class TreePattern extends CommonTree { class in TreeWizard
75 public TreePattern(Token payload) { in TreePattern() method in TreeWizard.TreePattern
88 public static class WildcardTreePattern extends TreePattern {
97 return new TreePattern(payload); in create()
217 final TreePattern tpattern = (TreePattern)parser.pattern(); in find()
278 final TreePattern tpattern = (TreePattern)parser.pattern(); in visit()
314 TreePattern tpattern = (TreePattern)parser.pattern(); in parse()
332 protected boolean _parse(Object t1, TreePattern tpattern, Map labels) { in _parse()
357 TreePattern child2 = (TreePattern)tpattern.getChild(i); in _parse()
DTreePatternParser.java113 TreeWizard.TreePattern node = in parseNode()
146 if ( label!=null && node.getClass()==TreeWizard.TreePattern.class ) { in parseNode()
147 ((TreeWizard.TreePattern)node).label = label; in parseNode()
149 if ( arg!=null && node.getClass()==TreeWizard.TreePattern.class ) { in parseNode()
150 ((TreeWizard.TreePattern)node).hasTextArg = true; in parseNode()
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Dtreewizard.py262 if label is not None and isinstance(node, TreePattern):
265 if arg is not None and isinstance(node, TreePattern):
271 class TreePattern(CommonTree): class
292 class WildcardTreePattern(TreePattern):
300 return TreePattern(payload)
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Tree.pas4036 TreePattern: ITreePattern;
4045 TreePattern := Parser.Pattern as ITreePattern;
4048 if (TreePattern = nil) or (TreePattern.IsNil)
4049 or Supports(TreePattern, IWildcardTreePattern)
4053 RootTokenType := TreePattern.TokenType;
4054 Visitor := TPatternMatchingContextVisitor.Create(Self, TreePattern, Result);
4103 TreePattern: ITreePattern;
4107 TreePattern := Parser.Pattern as ITreePattern;
4108 Result := _Parse(T, TreePattern, Labels);
4116 TreePattern: ITreePattern;
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRTreeWizard.m159 /** This adaptor creates TreePattern objects for use during scan() */
368 // Create a TreePattern from the pattern
443 // Create a TreePattern from the pattern
490 TreePattern tpattern = (TreePattern)parser.pattern();
/external/antlr/antlr-3.4/runtime/Python/unittests/
Dtesttreewizard.py11 TreePattern, WildcardTreePattern, TreePatternTreeAdaptor
200 self.failUnless(isinstance(tree, TreePattern))