Home
last modified time | relevance | path

Searched refs:getStringRef (Results 1 – 25 of 28) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dcontrol_to_executor_dialect.cc57 return op->getName().getStringRef().startswith("_tf."); in IsUnderscoredTFOp()
147 if (op.getName().getStringRef() == "_tf.Switch") { in runOnFunction()
150 } else if (op.getName().getStringRef() == "_tf._SwitchN") { in runOnFunction()
153 } else if (op.getName().getStringRef() == "_tf.Merge") { in runOnFunction()
156 } else if (op.getName().getStringRef() == "_tf.NextIteration.source") { in runOnFunction()
173 } else if (op.getName().getStringRef() == "_tf.NextIteration.sink") { in runOnFunction()
183 } else if (op.getName().getStringRef() == "_tf.LoopCond") { in runOnFunction()
186 } else if (op.getName().getStringRef() == "_tf.Enter") { in runOnFunction()
189 } else if (op.getName().getStringRef() == "_tf.Exit") { in runOnFunction()
192 } else if (op.getName().getStringRef() == "_tf.ControlTrigger") { in runOnFunction()
[all …]
Dexport_tf_dialect_op.cc101 GetTensorFlowOpName(inst->getName().getStringRef())); in GetUnregisteredAttrs()
150 inst->getName().getStringRef().drop_front()); in ConvertTFDialectOpToNodeDef()
195 inst->getName().getStringRef().str()); in ConvertTFDialectOpToNodeDef()
Dexecutor_to_control_dialect.cc114 new_op_name += wrapped_op.getName().getStringRef(); in runOnFunction()
Dexport_graphdef.cc449 auto input_name = input->getName().getStringRef(); in AddArgumentNode()
681 auto op_name = GetTensorFlowOpName(inner_op.getName().getStringRef()); in Convert()
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/
Dlstm_utils_test.cc149 EXPECT_EQ(it->getName().getStringRef(), mlir::ReturnOp::getOperationName()); in TEST_F()
152 EXPECT_EQ(it->getName().getStringRef(), in TEST_F()
202 EXPECT_EQ(it->getName().getStringRef(), mlir::ReturnOp::getOperationName()); in TEST_F()
205 EXPECT_EQ(it->getName().getStringRef(), in TEST_F()
228 EXPECT_EQ(it->getName().getStringRef(), mlir::ReturnOp::getOperationName()); in TEST_F()
231 EXPECT_EQ(it->getName().getStringRef(), in TEST_F()
/external/icu/icu4c/source/i18n/
Dnumrange_impl.cpp304 …length = NumberFormatterImpl::writeNumber(micros1, data.quantity1, data.getStringRef(), 0, status); in formatSingleValue()
305 NumberFormatterImpl::writeAffixes(micros1, data.getStringRef(), 0, length, status); in formatSingleValue()
317 …length = NumberFormatterImpl::writeNumber(micros1, data.quantity1, data.getStringRef(), 0, status); in formatApproximately()
319 length += micros1.modInner->apply(data.getStringRef(), 0, length, status); in formatApproximately()
320 length += micros1.modMiddle->apply(data.getStringRef(), 0, length, status); in formatApproximately()
321 length += fApproximatelyModifier.apply(data.getStringRef(), 0, length, status); in formatApproximately()
322 micros1.modOuter->apply(data.getStringRef(), 0, length, status); in formatApproximately()
400 FormattedStringBuilder& string = data.getStringRef(); in formatRange()
Dnumber_capi.cpp118 result->fData.getStringRef().clear(); in unumf_formatInt()
130 result->fData.getStringRef().clear(); in unumf_formatDouble()
142 result->fData.getStringRef().clear(); in unumf_formatDecimal()
Dreldatefmt.cpp888 UnicodeString result = output.getStringRef().toUnicodeString(); in doFormat()
906 output->getStringRef().writeTerminator(status); in doFormatToValue()
958 output.getStringRef(), in formatImpl()
975 output.getStringRef(), 0, output.getStringRef().length(), status); in formatImpl()
1026 output.getStringRef(), in formatNumericImpl()
1043 output.getStringRef(), 0, output.getStringRef().length(), status); in formatNumericImpl()
1084 output.getStringRef().append( in formatAbsoluteImpl()
1170 if (output.getStringRef().length() != 0) { in formatRelativeImpl()
Dformattedval_impl.h143 inline FormattedStringBuilder& getStringRef() { in getStringRef() function
146 inline const FormattedStringBuilder& getStringRef() const { in getStringRef() function
Dnumber_fluent.cpp687 fCompiled->format(results->quantity, results->getStringRef(), status); in formatImpl()
689 … NumberFormatterImpl::formatStatic(fMacros, results->quantity, results->getStringRef(), status); in formatImpl()
694 results->getStringRef().writeTerminator(status); in formatImpl()
Dquantityformatter.cpp199 output = std::move(fn.getStringRef()); in formatAndSelect()
Dnumrange_fluent.cpp334 results.getStringRef().writeTerminator(status); in formatImpl()
Dplurfmt.cpp288 numberString = data.getStringRef().toUnicodeString(); in format()
/external/tensorflow/tensorflow/compiler/mlir/
Dop_or_arg_name_mapper.cc156 return std::string(op->getName().getStringRef()); in GetName()
167 result.getOwner()->getName().getStringRef(), in GetName()
169 return std::string(result.getOwner()->getName().getStringRef()); in GetName()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Draise_control_flow.cc75 return op.getName().getStringRef().startswith("_tf."); in isUnderscoredTFOp()
97 op.getName().getStringRef().drop_front()); in rewriteOps()
Dtpu_cluster_formation.cc278 return input->emitError() << "'" << input->getName().getStringRef() in SortTPUReplicatedInputsByIndex()
290 << "failed to sort '" << inputs.front()->getName().getStringRef() in SortTPUReplicatedInputsByIndex()
490 op->emitOpError() << "expects " << op->getName().getStringRef() in runOnFunction()
Dfold_switch.cc261 auto name = op->getName().getStringRef(); in HasSendOrReceive()
Dtpu_dynamic_layout_pass.cc226 if (!compile || compile->getName().getStringRef() != "tf._TPUCompileMlir" || in runOnFunction()
Dshape_inference.cc213 StringRef op_name = op->getName().getStringRef(); in InferShapeForSingleOperation()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dexport_utils.cc227 auto op_name_or_status = GetTensorFlowOpName(op->getName().getStringRef()); in IsRefTypeControlOp()
289 GetTensorFlowOpName(inst->getName().getStringRef())); in GetOperationNodeDef()
483 inst->getName().getStringRef().compare("_tf.LegacyCall") == 0; in IsLegacyCallInstruction()
Ddump_mlir_util.cc153 LOG(INFO) << "Dumped MLIR operation '" << op->getName().getStringRef().str() in DumpMlirOpToFile()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/analysis/
Dside_effect_analysis.cc297 auto op_name = op->getName().getStringRef().str(); in GetResourceInfoForOp()
303 op->getName().getStringRef().split('.').second.str()); in GetResourceInfoForOp()
339 StringRef op_name = op->getName().getStringRef(); in OpIsKnownToHaveNoSideEffect()
/external/icu/icu4c/source/test/intltest/
Dformatted_string_builder_test.cpp213 FormattedStringBuilder& sb = sbi.getStringRef(); in testFields()
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_utils.h242 quantized_op->getName().getStringRef(), inputs, in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dmlir_hlo_to_hlo.cc886 inst->getName().getStringRef().str() + '\''); in Lower()

12