Home
last modified time | relevance | path

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

/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.h34 class TreePattern; variable
61 TypeSet(MVT::SimpleValueType VT, TreePattern &TP);
113 bool MergeInTypeInfo(const EEVT::TypeSet &InVT, TreePattern &TP);
115 bool MergeInTypeInfo(MVT::SimpleValueType InVT, TreePattern &TP) { in MergeInTypeInfo()
120 bool EnforceInteger(TreePattern &TP);
123 bool EnforceFloatingPoint(TreePattern &TP);
126 bool EnforceScalar(TreePattern &TP);
129 bool EnforceVector(TreePattern &TP);
133 bool EnforceSmallerThan(EEVT::TypeSet &Other, TreePattern &TP);
137 bool EnforceVectorEltTypeIs(EEVT::TypeSet &VT, TreePattern &TP);
[all …]
DCodeGenDAGPatterns.cpp48 EEVT::TypeSet::TypeSet(MVT::SimpleValueType VT, TreePattern &TP) { in TypeSet()
78 bool EEVT::TypeSet::FillWithPossibleTypes(TreePattern &TP, in FillWithPossibleTypes()
154 bool EEVT::TypeSet::MergeInTypeInfo(const EEVT::TypeSet &InVT, TreePattern &TP){ in MergeInTypeInfo()
229 bool EEVT::TypeSet::EnforceInteger(TreePattern &TP) { in EnforceInteger()
255 bool EEVT::TypeSet::EnforceFloatingPoint(TreePattern &TP) { in EnforceFloatingPoint()
281 bool EEVT::TypeSet::EnforceScalar(TreePattern &TP) { in EnforceScalar()
308 bool EEVT::TypeSet::EnforceVector(TreePattern &TP) { in EnforceVector()
337 bool EEVT::TypeSet::EnforceSmallerThan(EEVT::TypeSet &Other, TreePattern &TP) { in EnforceSmallerThan()
455 TreePattern &TP) { in EnforceVectorEltTypeIs()
483 TreePattern &TP) { in EnforceVectorEltTypeIs()
[all …]
DDAGISelMatcherEmitter.cpp38 DenseMap<TreePattern *, unsigned> NodePredicateMap;
43 StringMap<TinyPtrVector<TreePattern *>> NodePredicatesByCodeToRun;
70 TreePattern *TP = Pred.getOrigPatFragRecord(); in getNodePredicate()
73 TinyPtrVector<TreePattern *> &SameCodePreds = in getNodePredicate()
DDAGISelMatcherGen.cpp177 TreePattern &TP = *CGP.pf_begin()->second; in InferPossibleTypes()
659 const TreePattern *InstPat = Inst.getPattern(); in GetInstPatternNode()
DDAGISelMatcher.h29 class TreePattern; variable
416 TreePattern *Pred;
DFastISelEmitter.cpp48 DenseMap<TreePattern *, unsigned> ImmIDs;
/external/antlr/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/runtime/Java/src/main/java/org/antlr/runtime/tree/
DTreeWizard.java73 public static class TreePattern extends CommonTree { class in TreeWizard
76 public TreePattern(Token payload) { in TreePattern() method in TreeWizard.TreePattern
90 public static class WildcardTreePattern extends TreePattern {
100 return new TreePattern(payload); in create()
221 final TreePattern tpattern = (TreePattern)parser.pattern(); in find()
283 final TreePattern tpattern = (TreePattern)parser.pattern(); in visit()
320 TreePattern tpattern = (TreePattern)parser.pattern(); in parse()
338 protected boolean _parse(Object t1, TreePattern tpattern, Map<String, Object> labels) { in _parse()
363 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/runtime/ObjC/Framework/
DTreePatternParser.m135 TreePattern *node;
184 if ( label!=nil && [node class] == [TreePattern class] ) {
185 ((TreePattern *)node).label = label;
187 if ( arg!=nil && [node class] == [TreePattern class] ) {
188 ((TreePattern *)node).hasTextArg = YES;
DTreeWizard.m103 @implementation TreePattern implementation
110 return (CommonTree *)[[TreePattern alloc] initWithToken:payload];
124 NSLog( @"called dealloc in TreePattern" );
159 /** 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();
524 TreePattern *tpattern;
530 tpattern = (TreePattern *)aTPattern;
DTreeWizard.h68 @interface TreePattern : CommonTree {
81 @interface ANTLRWildcardTreePattern : TreePattern {
/external/antlr/runtime/Python3/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/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/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/runtime/Python/unittests/
Dtesttreewizard.py11 TreePattern, WildcardTreePattern, TreePatternTreeAdaptor
200 self.failUnless(isinstance(tree, TreePattern))
/external/antlr/runtime/Python3/unittests/
Dtesttreewizard.py10 TreePattern, WildcardTreePattern, TreePatternTreeAdaptor
199 self.assertIsInstance(tree, TreePattern)