/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | TokenRewriteStream.cs | 270 IList<RewriteOperation> rewrites = GetProgram(programName); in InsertBefore() 271 op.instructionIndex = rewrites.Count; in InsertBefore() 272 rewrites.Add(op); in InsertBefore() 296 IList<RewriteOperation> rewrites = GetProgram(programName); in Replace() 297 op.instructionIndex = rewrites.Count; in Replace() 298 rewrites.Add(op); in Replace() 391 IList<RewriteOperation> rewrites; in ToString() 392 if (!programs.TryGetValue(programName, out rewrites)) in ToString() 393 rewrites = null; in ToString() 401 if (rewrites == null || rewrites.Count == 0) { in ToString() [all …]
|
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/ |
D | TokenRewriteStream.java | 246 List<? super RewriteOperation> rewrites = getProgram(programName); in insertBefore() local 247 op.instructionIndex = rewrites.size(); in insertBefore() 248 rewrites.add(op); in insertBefore() 272 List<? super RewriteOperation> rewrites = getProgram(programName); in replace() local 273 op.instructionIndex = rewrites.size(); in replace() 274 rewrites.add(op); in replace() 368 List<RewriteOperation> rewrites = programs.get(programName); in toString() local 374 if ( rewrites==null || rewrites.isEmpty() ) { in toString() 380 Map<Integer, ? extends RewriteOperation> indexToOp = reduceToSingleOperationPerIndex(rewrites); in toString() 460 …ends RewriteOperation> reduceToSingleOperationPerIndex(List<? extends RewriteOperation> rewrites) { in reduceToSingleOperationPerIndex() argument [all …]
|
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/ |
D | TokenRewriteStream.js | 200 var rewrites = this.getProgram(programName); 202 for (pos=0, len=rewrites.length; pos<len; pos++) { 203 searchOp = rewrites[pos]; 212 for (i=pos; i<rewrites.length; i++) { 213 prevOp = rewrites[pos]; 218 rewrites[pos] = op; // replace old with new 226 rewrites.splice(i, 0, op); 230 rewrites.splice(pos, 0, op); 234 rewrites.splice(pos, 0, op); 239 rewrites.push(op); [all …]
|
/external/tensorflow/tensorflow/compiler/aot/ |
D | codegen.cc | 129 std::vector<std::pair<string, string>>* rewrites) { in AddRewritesForShape() argument 147 rewrites->push_back({"{{I}}", absl::StrCat(i)}); in AddRewritesForShape() 148 rewrites->push_back({"{{TYPE}}", type}); in AddRewritesForShape() 149 rewrites->push_back({"{{DIM_VARS}}", absl::StrJoin(dim_vars, ", ")}); in AddRewritesForShape() 150 rewrites->push_back({"{{DIM_SIZES}}", dim_sizes}); in AddRewritesForShape() 151 rewrites->push_back({"{{INDICES}}", indices}); in AddRewritesForShape() 152 rewrites->push_back({"{{COUNT}}", absl::StrCat(count)}); in AddRewritesForShape() 165 const std::vector<std::pair<string, string>>& rewrites) { in RewriteWithName() argument 166 absl::StrReplaceAll(rewrites, &code); in RewriteWithName() 184 std::vector<std::pair<string, string>> rewrites; in GenArgMethods() local [all …]
|
/external/antlr/runtime/Python/antlr3/ |
D | streams.py | 1163 rewrites = self.getProgram(programName) 1164 op.instructionIndex = len(rewrites) 1165 rewrites.append(op) 1204 rewrites = self.getProgram(programName) 1205 op.instructionIndex = len(rewrites) 1206 rewrites.append(op) 1290 rewrites = self.programs.get(programName) 1291 if rewrites is None or len(rewrites) == 0: 1298 indexToOp = self.reduceToSingleOperationPerIndex(rewrites) 1336 def reduceToSingleOperationPerIndex(self, rewrites): argument [all …]
|
/external/antlr/runtime/Python3/antlr3/ |
D | streams.py | 1108 rewrites = self.getProgram(programName) 1109 op.instructionIndex = len(rewrites) 1110 rewrites.append(op) 1149 rewrites = self.getProgram(programName) 1150 op.instructionIndex = len(rewrites) 1151 rewrites.append(op) 1235 rewrites = self.programs.get(programName) 1236 if not rewrites: 1243 indexToOp = self.reduceToSingleOperationPerIndex(rewrites) 1276 def reduceToSingleOperationPerIndex(self, rewrites): argument [all …]
|
/external/antlr/runtime/ObjC/Framework/ |
D | TokenRewriteStream.m | 318 HashMap *rewrites = [self getProgram:programName]; 319 op.instructionIndex = [rewrites count]; 320 [rewrites addObject:op]; 354 HashMap *rewrites = (HashMap *)[lastRewriteTokenIndexes getName:programName]; 355 op.instructionIndex = [rewrites count]; 356 [rewrites addObject:op]; 461 HashMap *rewrites = (HashMap *)[programs getName:programName]; 468 if ( rewrites == nil || [rewrites count] == 0 ) { 474 HashMap *indexToOp = [self reduceToSingleOperationPerIndex:rewrites]; 556 - (HashMap *)reduceToSingleOperationPerIndex:(HashMap *)rewrites [all …]
|
D | TokenRewriteStream.h | 163 - (HashMap *)reduceToSingleOperationPerIndex:(HashMap *)rewrites; 164 - (HashMap *)getKindOfOps:(HashMap *)rewrites KindOfClass:(Class)kind; 165 - (HashMap *)getKindOfOps:(HashMap *)rewrites KindOfClass:(Class)kind Index:(NSInteger)before;
|
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/ |
D | TokenRewriteStream.as | 70 * rewrites from a single pass over the input. Just name the instruction 132 var rewrites:Array = getProgram(programName); 133 op.instructionIndex = rewrites.length; 134 rewrites.push(op); 146 var rewrites:Array = getProgram(programName); 147 op.instructionIndex = rewrites.length; 148 rewrites.push(op); 222 var rewrites:Array = programs[programName] as Array; 228 if ( rewrites==null || rewrites.length==0 ) { 235 var indexToOp:Array = reduceToSingleOperationPerIndex(rewrites); [all …]
|
/external/mesa3d/src/panfrost/bifrost/ |
D | isa_parse.py | 118 rewrites = {} 126 rewrites[rw.attrib['name']] = mp 128 common['swaps'].append([lr, cond, rewrites])
|
/external/openscreen/cast/cast_core/api/v2/ |
D | url_rewrite.proto | 37 // URL request rewrites to apply. 38 repeated UrlRequestRewrite rewrites = 3; field 102 // If the URL in the URL request ends with `url_ends_with`, rewrites the URL to
|
/external/llvm/include/llvm/MC/MCParser/ |
D | MCTargetAsmParser.h | 81 ParseInstructionInfo(SmallVectorImpl<AsmRewrite> *rewrites) in ParseInstructionInfo() 82 : AsmRewrites(rewrites) {} in ParseInstructionInfo()
|
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/ |
D | passes.td | 27 … = "Legalize from TensorFlow Lite to TOSA. Options allow selective disabling/enabling of rewrites"; 66 This pass rewrites quantized TFLite Softmax ops as: Dequantize, (float) Softmax, Quantize.
|
/external/tensorflow/tensorflow/compiler/mlir/tfrt/transforms/lmhlo_to_gpu/ |
D | kernel_ops_pattern.cc | 460 SmallVector<RewriteData, 4> rewrites; in matchAndRewrite() local 473 rewrites.emplace_back(std::move(*data)); in matchAndRewrite() 488 if (rewrites.empty()) { in matchAndRewrite() 500 for (const auto& data : rewrites) { in matchAndRewrite()
|
/external/llvm/test/CodeGen/ARM/ |
D | fast-isel-update-valuemap-for-extract.ll | 6 ; This test ensures that when fast-isel rewrites uses of the vreg for %tmp29, it also
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/MCParser/ |
D | MCTargetAsmParser.h | 118 ParseInstructionInfo(SmallVectorImpl<AsmRewrite> *rewrites) in ParseInstructionInfo() 119 : AsmRewrites(rewrites) {} in ParseInstructionInfo()
|
/external/antlr/antlr3-maven-archetype/src/main/resources/archetype-resources/src/main/antlr3/ |
D | TParser.g | 35 // Some imaginary tokens for tree rewrites
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | tensorlist_patterns.td | 23 // Note that the pattern below rewrites `TensorList` tensors (which has type DT_VARIANT)
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_MapDefun.pbtxt | 54 rewrites.
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/ |
D | AST.stg | 72 * These should be turned off if doing rewrites. This must be a "mode" 276 /** For empty rewrites: "r : ... -> ;" */ 340 * before I set it during rewrites. The assign will be to retval.tree.
|
/external/tensorflow/tensorflow/python/autograph/g3doc/reference/ |
D | functions.md | 13 AutoGraph rewrites all function calls with a special wrapper that may convert
|
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/ |
D | tf_xla_passes.td | 43 tokens (for ordering), and rewrites their respective functions and control
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
D | AST.stg | 105 * These should be turned off if doing rewrites. This must be a "mode" 300 /** For empty rewrites: "r : ... -> ;" */ 365 * before I set it during rewrites. The assign will be to retval.tree.
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/ |
D | AST.stg | 92 * These should be turned off if doing rewrites. This must be a "mode" 309 /** For empty rewrites: "r : ... -> ;" */ 372 * before I set it during rewrites. The assign will be to retval.tree.
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
D | AST.stg | 103 * These should be turned off if doing rewrites. This must be a "mode" 302 /** For empty rewrites: "r : ... -> ;" */ 367 * before I set it during rewrites. The assign will be to retval.tree.
|