/external/llvm/utils/TableGen/ |
D | CodeGenDAGPatterns.h | 34 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 …]
|
D | CodeGenDAGPatterns.cpp | 48 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 …]
|
D | DAGISelMatcherEmitter.cpp | 38 DenseMap<TreePattern *, unsigned> NodePredicateMap; 43 StringMap<TinyPtrVector<TreePattern *>> NodePredicatesByCodeToRun; 70 TreePattern *TP = Pred.getOrigPatFragRecord(); in getNodePredicate() 73 TinyPtrVector<TreePattern *> &SameCodePreds = in getNodePredicate()
|
D | DAGISelMatcherGen.cpp | 177 TreePattern &TP = *CGP.pf_begin()->second; in InferPossibleTypes() 659 const TreePattern *InstPat = Inst.getPattern(); in GetInstPatternNode()
|
D | DAGISelMatcher.h | 29 class TreePattern; variable 416 TreePattern *Pred;
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
D | TreeWizard.cs | 97 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 …]
|
D | TreePatternParser.cs | 114 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/CSharp3/Sources/Antlr3.Runtime/Tree/ |
D | TreeWizard.cs | 105 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 …]
|
D | TreePatternParser.cs | 134 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/Java/src/main/java/org/antlr/runtime/tree/ |
D | TreeWizard.java | 73 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()
|
D | TreePatternParser.java | 113 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/llvm-project/llvm/utils/TableGen/ |
D | CodeGenDAGPatterns.h | 41 class TreePattern; variable 262 TypeInfer(TreePattern &T) : TP(T), ForceMode(0) {} in TypeInfer() 358 TreePattern &TP; 419 TreePattern &TP) const; 484 bool ApplyTypeConstraints(TreePatternNode *N, TreePattern &TP) const; 493 TreePattern *PatFragRec; 496 TreePredicateFn(TreePattern *N); 499 TreePattern *getOrigPatFragRecord() const { return PatFragRec; } in getOrigPatFragRecord() 712 bool isTypeCompletelyUnknown(unsigned ResNo, TreePattern &TP) const { in isTypeCompletelyUnknown() 819 TreePattern &TP, [all …]
|
D | CodeGenDAGPatterns.cpp | 864 TreePredicateFn::TreePredicateFn(TreePattern *N) : PatFragRec(N) { in TreePredicateFn() 1541 TreePattern &TP) const { in ApplyTypeConstraint() 1651 TreePattern &TP) { in UpdateNodeTypeFromInst() 1681 bool TreePatternNode::ContainsUnresolvedType(TreePattern &TP) const { in ContainsUnresolvedType() 1790 if (TreePattern *PFRec = CDP.getPatternFragmentIfRead(Operator)) { in GetNumNodeResults() 1986 TreePatternNodePtr T, TreePattern &TP, in InlinePatternFragments() 2065 TreePattern *Frag = TP.getDAGPatterns().getPatternFragment(Op); in InlinePatternFragments() 2132 TreePattern &TP) { in getImplicitType() 2345 static void emitTooManyOperandsError(TreePattern &TP, in emitTooManyOperandsError() 2353 static void emitTooFewOperandsError(TreePattern &TP, in emitTooFewOperandsError() [all …]
|
D | DAGISelMatcherEmitter.cpp | 53 DenseMap<TreePattern *, unsigned> NodePredicateMap; 59 StringMap<TinyPtrVector<TreePattern *>> NodePredicatesByCodeToRun; 110 TreePattern *TP = Pred.getOrigPatFragRecord(); in getNodePredicate() 113 TinyPtrVector<TreePattern *> &SameCodePreds = in getNodePredicate()
|
D | DAGISelMatcherGen.cpp | 176 TreePattern &TP = *CGP.pf_begin()->second; in InferPossibleTypes() 539 TreePattern *TP = Pred.Fn.getOrigPatFragRecord(); in EmitMatchCode()
|
D | FastISelEmitter.cpp | 58 DenseMap<TreePattern *, unsigned> ImmIDs; 172 TreePattern *TP = PredFn.getOrigPatFragRecord(); in emitImmediatePredicate()
|
D | DAGISelMatcher.h | 28 class TreePattern; variable 427 TreePattern *Pred;
|
/external/antlr/runtime/ObjC/Framework/ |
D | TreePatternParser.m | 135 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;
|
D | TreeWizard.m | 103 @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;
|
D | TreeWizard.h | 68 @interface TreePattern : CommonTree { 81 @interface ANTLRWildcardTreePattern : TreePattern {
|
/external/antlr/runtime/Python3/antlr3/ |
D | treewizard.py | 262 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/ |
D | treewizard.py | 262 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/ |
D | Antlr.Runtime.Tree.pas | 4036 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/ |
D | testtreewizard.py | 11 TreePattern, WildcardTreePattern, TreePatternTreeAdaptor 200 self.failUnless(isinstance(tree, TreePattern))
|
/external/antlr/runtime/Python3/unittests/ |
D | testtreewizard.py | 10 TreePattern, WildcardTreePattern, TreePatternTreeAdaptor 199 self.assertIsInstance(tree, TreePattern)
|