Home
last modified time | relevance | path

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

/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DTokenRewriteStream.cs150 class ReplaceOp : RewriteOperation { class in Antlr.Runtime.TokenRewriteStream
152 public ReplaceOp(TokenRewriteStream stream, int from, int to, object text) in ReplaceOp() method in Antlr.Runtime.TokenRewriteStream.ReplaceOp
167 class DeleteOp : ReplaceOp {
295 RewriteOperation op = new ReplaceOp(this, from, to, text); in Replace()
498 if (!(op is ReplaceOp)) in ReduceToSingleOperationPerIndex()
500 ReplaceOp rop = (ReplaceOp)rewrites[i]; in ReduceToSingleOperationPerIndex()
511 var prevReplaces = GetKindOfOps(rewrites, typeof(ReplaceOp), i); in ReduceToSingleOperationPerIndex()
513 ReplaceOp prevRop = (ReplaceOp)prevReplaces[j]; in ReduceToSingleOperationPerIndex()
552 var prevReplaces = GetKindOfOps(rewrites, typeof(ReplaceOp), i); in ReduceToSingleOperationPerIndex()
554 ReplaceOp rop = (ReplaceOp)prevReplaces[j]; in ReduceToSingleOperationPerIndex()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DTokenRewriteStream.cs169 private class ReplaceOp : RewriteOperation class in Antlr.Runtime.TokenRewriteStream
172 public ReplaceOp( TokenRewriteStream stream, int from, int to, object text ) in ReplaceOp() method in Antlr.Runtime.TokenRewriteStream.ReplaceOp
338 RewriteOperation op = new ReplaceOp( this, from, to, text ); in Replace()
575 if ( !( op is ReplaceOp ) ) in ReduceToSingleOperationPerIndex()
577 ReplaceOp rop = (ReplaceOp)rewrites[i]; in ReduceToSingleOperationPerIndex()
597 var prevReplaces = GetKindOfOps( rewrites, typeof( ReplaceOp ), i ); in ReduceToSingleOperationPerIndex()
600 ReplaceOp prevRop = (ReplaceOp)prevReplaces[j]; in ReduceToSingleOperationPerIndex()
654 var prevReplaces = GetKindOfOps( rewrites, typeof( ReplaceOp ), i ); in ReduceToSingleOperationPerIndex()
657 ReplaceOp rop = (ReplaceOp)prevReplaces[j]; in ReduceToSingleOperationPerIndex()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DTokenRewriteStream.java138 class ReplaceOp extends RewriteOperation { class in TokenRewriteStream
140 public ReplaceOp(int from, int to, Object text) { in ReplaceOp() method in TokenRewriteStream.ReplaceOp
271 RewriteOperation op = new ReplaceOp(from, to, text); in replace()
467 if ( !(op instanceof ReplaceOp) ) continue; in reduceToSingleOperationPerIndex()
468 ReplaceOp rop = (ReplaceOp)rewrites.get(i); in reduceToSingleOperationPerIndex()
485 List<? extends ReplaceOp> prevReplaces = getKindOfOps(rewrites, ReplaceOp.class, i); in reduceToSingleOperationPerIndex()
487 ReplaceOp prevRop = prevReplaces.get(j); in reduceToSingleOperationPerIndex()
533 List<? extends ReplaceOp> prevReplaces = getKindOfOps(rewrites, ReplaceOp.class, i); in reduceToSingleOperationPerIndex()
535 ReplaceOp rop = prevReplaces.get(j); in reduceToSingleOperationPerIndex()
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/
DTokenRewriteStream.js121 trs.ReplaceOp = function(from, to, text) { class in trs
122 trs.ReplaceOp.superclass.constructor.call(this, from, text);
125 org.antlr.lang.extend(trs.ReplaceOp, trs.RewriteOperation, {
137 org.antlr.lang.extend(trs.DeleteOp, trs.ReplaceOp);
209 if (op instanceof trs.ReplaceOp) {
217 if (prevOp instanceof trs.ReplaceOp) {
319 new trs.ReplaceOp(first, last, text));
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/
DTokenRewriteStream.as145 var op:RewriteOperation = new ReplaceOp(fromIndex, toIndex, text);
320 if ( !(op is ReplaceOp) ) continue;
321 var rop:ReplaceOp = ReplaceOp(rewrites[i]);
331 var prevReplaces:Array = getKindOfOps(rewrites, ReplaceOp, i);
333 var prevRop:ReplaceOp = ReplaceOp(prevReplaces[j]);
368 prevReplaces = getKindOfOps(rewrites, ReplaceOp, i);
370 rop = ReplaceOp(prevReplaces[j]);
478 /** I'm going to try replacing range from x..y with (y-x)+1 ReplaceOp
481 class ReplaceOp extends RewriteOperation { class
484 public function ReplaceOp(fromIndex:int, toIndex:int, text:Object) { method in ReplaceOp
[all …]
/external/llvm-project/mlir/lib/Conversion/PDLToPDLInterp/
DPDLToPDLInterp.cpp85 void generateRewriter(pdl::ReplaceOp replaceOp,
460 pdl::OperationOp, pdl::ReplaceOp, pdl::TypeOp>([&](auto op) { in generateRewriter()
541 pdl::ReplaceOp replaceOp, DenseMap<Value, Value> &rewriteValues, in generateRewriter()
562 builder.create<pdl_interp::ReplaceOp>( in generateRewriter()
587 pdl::ReplaceOp replOpUser = dyn_cast<pdl::ReplaceOp>(use.getOwner()); in generateOperationResultTypeRewriter()
/external/llvm-project/mlir/lib/Dialect/PDL/IR/
DPDL.cpp226 ReplaceOp replOpUser = dyn_cast<ReplaceOp>(use.getOwner()); in verifyResultTypesAreInferrable()
374 static LogicalResult verify(ReplaceOp op) { in verify()
/external/antlr/runtime/Python/antlr3/
Dstreams.py992 class ReplaceOp(RewriteOperation): class
1203 op = ReplaceOp(self, first, last, text)
1397 if not isinstance(rop, ReplaceOp):
1413 for j, prevRop in self.getKindOfOps(rewrites, ReplaceOp, i):
1460 for j, rop in self.getKindOfOps(rewrites, ReplaceOp, i):
/external/antlr/runtime/Python3/antlr3/
Dstreams.py938 class ReplaceOp(RewriteOperation): class
1148 op = ReplaceOp(self, first, last, text)
1337 if not isinstance(rop, ReplaceOp):
1353 for j, prevRop in self.getKindOfOps(rewrites, ReplaceOp, i):
1400 for j, rop in self.getKindOfOps(rewrites, ReplaceOp, i):
/external/llvm-project/mlir/lib/Rewrite/
DByteCode.cpp116 ReplaceOp, enumerator
220 void generate(pdl_interp::ReplaceOp op, ByteCodeWriter &writer);
502 pdl_interp::ReplaceOp, pdl_interp::SwitchAttributeOp, in generate()
644 void Generator::generate(pdl_interp::ReplaceOp op, ByteCodeWriter &writer) { in generate()
645 writer.append(OpCode::ReplaceOp, op.operation(), op.replValues()); in generate()
1149 case ReplaceOp: { in execute()
/external/llvm-project/mlir/test/Dialect/PDL/
Dinvalid.mlir151 // pdl::ReplaceOp
/external/llvm-project/mlir/include/mlir/Dialect/PDL/IR/
DPDLOps.td336 // pdl::ReplaceOp
/external/llvm-project/mlir/test/Rewrite/
Dpdl-bytecode.mlir571 // pdl_interp::ReplaceOp
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp1119 static Value *simplifyWithOpReplaced(Value *V, Value *Op, Value *ReplaceOp, in simplifyWithOpReplaced() argument
1127 return SimplifyBinOp(BO->getOpcode(), ReplaceOp, BO->getOperand(1), Q); in simplifyWithOpReplaced()
1129 return SimplifyBinOp(BO->getOpcode(), BO->getOperand(0), ReplaceOp, Q); in simplifyWithOpReplaced()
/external/llvm-project/mlir/include/mlir/Dialect/PDLInterp/IR/
DPDLInterpOps.td736 // pdl_interp::ReplaceOp
/external/guice/extensions/persist/lib/
Dantlr-2.7.5h3.jarMETA-INF/ META-INF/MANIFEST.MF antlr/ antlr/ActionElement.class ActionElement ...