aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/service/pattern_matcher_test.cc
Commit message (Collapse)AuthorAge
* Short-circuit AllOf as well. This fixes a crash in ConstantScalar, as itGravatar Tim Shen2018-09-24
| | | | | | uses Cast internally. PiperOrigin-RevId: 214356411
* Fix Hlo pattern matcher's AnyOf, so that a sub-pattern doesn't captureGravatar Tim Shen2018-09-24
| | | | | | | | when it's not matched. Also add invariant checking for AllOf. PiperOrigin-RevId: 214351269
* Ensure that no capture is done unless Match() return true. Otherwise theGravatar Tim Shen2018-09-21
| | | | | | | | | | | application that relies on such behavior is hard to get right. To implement this, we need to be careful about AllOf, so that no capture is done unless all sub-patterns succeed. This leads to the solution that we have to run all patterns twice, first time with no captures, and second time to capture. PiperOrigin-RevId: 214042307
* Simplify XLA pattern matcher to explicitly construct AllOf relations,Gravatar Tim Shen2018-09-21
| | | | | | instead of relying on individual patterns carrying around continuations. PiperOrigin-RevId: 214031269
* Add ConstantScalar, WithPredicate, Disjunction, and OpAnyOrder (where OpGravatar Tim Shen2018-09-18
| | | | | | is a commutative binary operator) to the XLA pattern matcher. PiperOrigin-RevId: 213543953
* Add GetTupleElement pattern matcher.Gravatar Mark Heffernan2018-07-02
| | | | | | Include variant which takes a int indicating which tuple index value to match. Also correct some matchers (send, etc) which had the wrong arity. PiperOrigin-RevId: 203053486
* [XLA] Move xla/tools/parser/* into xla/service.Gravatar Justin Lebar2018-06-01
| | | | | | | | Now that we're using the parser inside of xla/service, it's awkward for it to live inside of xla/tools, because everything else in there is a standalone tool. We've already had one person be confused by this. PiperOrigin-RevId: 198935921
* [XLA] Add FusionKind matcher to pattern_matcher.h.Gravatar Justin Lebar2018-05-07
| | | | PiperOrigin-RevId: 195700319
* [XLA] Fix arguments to IsSparseArray and IsDenseArrayGravatar A. Unique TensorFlower2018-04-17
| | | | PiperOrigin-RevId: 193238920
* [XLA] Pattern matcher for HLO, Shapes, LayoutsGravatar A. Unique TensorFlower2018-04-13
PiperOrigin-RevId: 192834129