Home
last modified time | relevance | path

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

12

/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()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenDAGPatterns.h33 class TreePattern; variable
60 TypeSet(MVT::SimpleValueType VT, TreePattern &TP);
108 bool MergeInTypeInfo(const EEVT::TypeSet &InVT, TreePattern &TP);
110 bool MergeInTypeInfo(MVT::SimpleValueType InVT, TreePattern &TP) { in MergeInTypeInfo()
115 bool EnforceInteger(TreePattern &TP);
118 bool EnforceFloatingPoint(TreePattern &TP);
121 bool EnforceScalar(TreePattern &TP);
124 bool EnforceVector(TreePattern &TP);
128 bool EnforceSmallerThan(EEVT::TypeSet &Other, TreePattern &TP);
132 bool EnforceVectorEltTypeIs(EEVT::TypeSet &VT, TreePattern &TP);
[all …]
DCodeGenDAGPatterns.cpp42 EEVT::TypeSet::TypeSet(MVT::SimpleValueType VT, TreePattern &TP) { in TypeSet()
72 bool EEVT::TypeSet::FillWithPossibleTypes(TreePattern &TP, in FillWithPossibleTypes()
147 bool EEVT::TypeSet::MergeInTypeInfo(const EEVT::TypeSet &InVT, TreePattern &TP){ in MergeInTypeInfo()
228 bool EEVT::TypeSet::EnforceInteger(TreePattern &TP) { in EnforceInteger()
249 bool EEVT::TypeSet::EnforceFloatingPoint(TreePattern &TP) { in EnforceFloatingPoint()
271 bool EEVT::TypeSet::EnforceScalar(TreePattern &TP) { in EnforceScalar()
293 bool EEVT::TypeSet::EnforceVector(TreePattern &TP) { in EnforceVector()
318 bool EEVT::TypeSet::EnforceSmallerThan(EEVT::TypeSet &Other, TreePattern &TP) { in EnforceSmallerThan()
503 TreePattern &TP) { in EnforceVectorEltTypeIs()
544 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;
613 StringMap<TreePattern*> PFsByName; in EmitPredicateFunctions()
/external/antlr/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/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/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenDAGPatterns.h41 class TreePattern; variable
251 TypeInfer(TreePattern &T) : TP(T), ForceMode(0) {} in TypeInfer()
347 TreePattern &TP;
408 TreePattern &TP) const;
452 bool ApplyTypeConstraints(TreePatternNode *N, TreePattern &TP) const;
461 TreePattern *PatFragRec;
464 TreePredicateFn(TreePattern *N);
467 TreePattern *getOrigPatFragRecord() const { return PatFragRec; } in getOrigPatFragRecord()
638 bool isTypeCompletelyUnknown(unsigned ResNo, TreePattern &TP) const { in isTypeCompletelyUnknown()
737 TreePattern &TP,
[all …]
DCodeGenDAGPatterns.cpp827 TreePredicateFn::TreePredicateFn(TreePattern *N) : PatFragRec(N) { in TreePredicateFn()
1421 TreePattern &TP) const { in ApplyTypeConstraint()
1531 TreePattern &TP) { in UpdateNodeTypeFromInst()
1561 bool TreePatternNode::ContainsUnresolvedType(TreePattern &TP) const { in ContainsUnresolvedType()
1670 if (TreePattern *PFRec = CDP.getPatternFragmentIfRead(Operator)) { in GetNumNodeResults()
1859 TreePatternNodePtr T, TreePattern &TP, in InlinePatternFragments()
1935 TreePattern *Frag = TP.getDAGPatterns().getPatternFragment(Op); in InlinePatternFragments()
1994 TreePattern &TP) { in getImplicitType()
2206 static void emitTooManyOperandsError(TreePattern &TP, in emitTooManyOperandsError()
2214 static void emitTooFewOperandsError(TreePattern &TP, in emitTooFewOperandsError()
[all …]
DDAGISelMatcherEmitter.cpp51 DenseMap<TreePattern *, unsigned> NodePredicateMap;
56 StringMap<TinyPtrVector<TreePattern *>> NodePredicatesByCodeToRun;
99 TreePattern *TP = Pred.getOrigPatFragRecord(); in getNodePredicate()
102 TinyPtrVector<TreePattern *> &SameCodePreds = in getNodePredicate()
/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/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/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/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)

12