/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/ |
D | tf_saved_model.cc | 66 return global_tensor.emitError() << "'type' and 'value' attributes should " in Verify() 71 return global_tensor.emitError() in Verify() 97 return op->emitError() in VerifyIndexPath() 109 return op->emitError() << "'tf_saved_model.index_path' elements should " in VerifyIndexPath() 128 return op->emitError() << "'tf_saved_model.bound_input' attribute should " in verifyRegionArgAttribute() 135 return op->emitError() << "'tf_saved_model.bound_input' attribute must " in verifyRegionArgAttribute() 142 return op->emitError() in verifyRegionArgAttribute() 148 return op->emitError() << "bound input for immutable " in verifyRegionArgAttribute() 159 return op->emitError() << "unknown tf_saved_model dialect arg attribute '" in verifyRegionArgAttribute() 170 return op->emitError() << "unknown tf_saved_model dialect result attribute '" in verifyRegionResultAttribute() [all …]
|
D | tf_executor.cc | 142 parser.emitError(parser.getNameLoc()) in parseType() 253 return parser.emitError(loc) << "expects a single block region"; in ParseGraphOp() 262 return parser.emitError(loc) << "expects a tf_executor.fetch terminator"; in ParseGraphOp() 481 return parser.emitError(parser.getNameLoc()) in ParseSwitchOp() 491 return parser.emitError(parser.getNameLoc()) in ParseSwitchOp() 593 return parser.emitError(parser.getNameLoc()) in ParseSwitchNOp() 597 return parser.emitError(parser.getNameLoc()) in ParseSwitchNOp() 711 return parser.emitError(parser.getNameLoc()) in ParseMergeOp() 779 return parser.emitError(loc) << " expects at least one data operand"; in ParseEnterOp() 803 return parser.emitError(loc) << " expects only a single data type"; in ParseEnterOp() [all …]
|
D | tf_ops.cc | 167 mlir::emitError(loc, "non-broadcastable operands"); in DeduceEqualCmpOpType() 261 return op->emitError() in VerifyTypesCompatibility() 285 return op->emitError() << "operand type " << ranked_ty in VerifyTypesCompatibility() 336 return emitError(loc, "dimensions can only be 0D or 1D tensor"); in VerifyReductionInputAndDims() 347 return emitError(loc) in VerifyReductionInputAndDims() 1085 return op.emitError("requires inputs to be at least 1d float tensor"); in Verify() 1201 return op.emitError("branches should have " + Twine(expectedNumInputs) + in Verify() 1208 return op.emitError( in Verify() 1215 return op.emitError( in Verify() 1223 return op.emitError(llvm::formatv( in Verify() [all …]
|
D | tf_device.cc | 207 return parser->emitError(loc) << "expects 'n' to be at least 2, got " << *n; in SetOperands() 213 return parser->emitError(loc) in SetOperands() 242 return parser->emitError(loc) << "expects a single block region"; in ParseReplicateOp() 250 return parser->emitError(loc) << "expects a tf_device.return terminator"; in ParseReplicateOp()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | materialize_mlir_passthrough_op.cc | 51 op->emitError() << "could not parse attached MLIR module"; in runOnFunction() 56 op->emitError() << "MLIR Opaque Op expects a main() entry point\n"; in runOnFunction() 60 op->emitError() << "mismatch between MLIR Opaque Op number of operands (" in runOnFunction() 67 op->emitError() << "mismatch between MLIR Opaque Op number of results (" in runOnFunction() 75 op->emitError() << "MLIR Opaque Op expects a main() entry point with a " in runOnFunction()
|
D | promote_resources_to_args.cc | 65 func.emitError("potential nested resource accesses in function"); in VerifyNoPotentialNestedResourceAccesses() 79 return function.emitError() in PromoteResourcesToArguments() 99 return var_handle_op.emitError("unrecognized resource type"); in PromoteResourcesToArguments() 121 return read_op.emitError("resource is not VarHandleOp"); in PromoteResourcesToArguments() 130 return write_op.emitError("resource is not VarHandleOp"); in PromoteResourcesToArguments() 139 return function.emitError("the function doesn't have an MLIR ReturnOp"); in PromoteResourcesToArguments()
|
D | tpu_cluster_formation.cc | 90 return metadata_op.emitError() << kBadTPUReplicateAttrMsg; in CollectMetadata() 95 return metadata_op.emitError() << kBadTPUReplicateAttrMsg; in CollectMetadata() 106 return metadata_op.emitError() in CollectMetadata() 126 return op.emitError() in CollectAndGroupClusterOps() 278 return input->emitError() << "'" << input->getName().getStringRef() in SortTPUReplicatedInputsByIndex() 289 return inputs.front()->emitError() in SortTPUReplicatedInputsByIndex() 304 return launch_op.emitError() << "requires '" << kNumReplicasAttr in ReplicateCluster() 355 return launch_op.emitError() in ReplicateCluster() 441 return launch_op.emitError() in FormClustersInBlock()
|
D | tf_graph_optimization_pass.cc | 66 mlir::emitError(mlir::UnknownLoc::get(&ctx)) << status.error_message(); in runOnModule() 85 mlir::emitError(mlir::UnknownLoc::get(&ctx)) in runOnModule() 97 mlir::emitError(mlir::UnknownLoc::get(&ctx)) in runOnModule() 158 mlir::emitError(mlir::UnknownLoc::get(&getContext())) in runOnModule()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/ |
D | error_util_test.cc | 43 emitError(loc) << "Diagnostic message"; in TEST() 57 emitError(loc) << "Diagnostic message reported"; in TEST() 58 emitError(loc) << "Second diagnostic message reported"; in TEST()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/ |
D | lstm_utils.cc | 385 return fused_func_op_.emitError() in InitializeFromFuncAttributes() 396 return fused_func_op_.emitError() in InitializeFromFuncAttributes() 402 return fused_func_op_.emitError() in InitializeFromFuncAttributes() 417 return fused_func_op_.emitError() in Initialize() 431 return fused_func_op_.emitError() << "The weight tensor was not of rank 2"; in Initialize() 435 return fused_func_op_.emitError() in Initialize() 463 return fused_func_op_.emitError() in Initialize() 471 return fused_func_op_.emitError() in Initialize() 592 func_op.emitError() << "Input type is not a ranked tensor type"; in ConvertKerasLSTMLayer() 603 return func_op.emitError() << "The weight should be rank of 2"; in ConvertKerasLSTMLayer()
|
/external/llvm/include/llvm/IR/ |
D | LLVMContext.h | 224 void emitError(unsigned LocCookie, const Twine &ErrorStr); 225 void emitError(const Instruction *I, const Twine &ErrorStr); 226 void emitError(const Twine &ErrorStr);
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | LLVMContext.h | 251 void emitError(unsigned LocCookie, const Twine &ErrorStr); 252 void emitError(const Instruction *I, const Twine &ErrorStr); 253 void emitError(const Twine &ErrorStr);
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/ |
D | translate_tf_dialect_op.cc | 47 emitError(UnknownLoc::get(context), in MlirToTfNodeDef() 57 op->emitError("failed to convert to TF NodeDef:") in MlirToTfNodeDef()
|
/external/llvm/lib/Linker/ |
D | LinkModules.cpp | 62 bool emitError(const Twine &Message) { in emitError() function in __anon5819f7380111::ModuleLinker 154 return emitError("Linking COMDATs named '" + ComdatName + in getComdatLeader() 160 return emitError( in getComdatLeader() 188 return emitError("Linking COMDATs named '" + ComdatName + in computeResultingSelectionKind() 198 return emitError("Linking COMDATs named '" + ComdatName + in computeResultingSelectionKind() 215 return emitError("Linking COMDATs named '" + ComdatName + in computeResultingSelectionKind() 222 return emitError("Linking COMDATs named '" + ComdatName + in computeResultingSelectionKind() 349 return emitError("Linking globals named '" + Src.getName() + in shouldLinkFromSource()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Linker/ |
D | LinkModules.cpp | 60 bool emitError(const Twine &Message) { in emitError() function in __anonac5088d00111::ModuleLinker 138 return emitError("Linking COMDATs named '" + ComdatName + in getComdatLeader() 144 return emitError( in getComdatLeader() 172 return emitError("Linking COMDATs named '" + ComdatName + in computeResultingSelectionKind() 182 return emitError("Linking COMDATs named '" + ComdatName + in computeResultingSelectionKind() 199 return emitError("Linking COMDATs named '" + ComdatName + in computeResultingSelectionKind() 206 return emitError("Linking COMDATs named '" + ComdatName + in computeResultingSelectionKind() 325 return emitError("Linking globals named '" + Src.getName() + in shouldLinkFromSource()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | LLVMContext.h | 306 void emitError(unsigned LocCookie, const Twine &ErrorStr); 307 void emitError(const Instruction *I, const Twine &ErrorStr); 308 void emitError(const Twine &ErrorStr);
|
/external/tensorflow/tensorflow/compiler/mlir/lite/ |
D | flatbuffer_import.cc | 544 return emitError(loc, err.ToString()), err; in ConvertOp() 565 return emitError(loc, type_or_err.status().ToString()), in ConvertOp() 598 return emitError(loc, status.ToString()), status; in ConvertOp() 646 return emitError(base_loc, err.ToString()), err; in GetOutputTensorIndices() 741 emitError(func_loc, "error reading argument types") in ConvertSubgraph() 766 emitError(func_loc, "error reading return types") in ConvertSubgraph() 791 return emitError(loc, err.ToString()), err; in ConvertSubgraph() 855 return emitError(const_loc, op_or_err.status().ToString()), in ConvertSubgraph() 903 return emitError(const_loc, op_or_err.status().ToString()), in ConvertSubgraph() 940 return emitError(base_loc, "couldn't parse flatbuffer"), nullptr; in FlatBufferToMlir() [all …]
|
D | flatbuffer_translate.cc | 250 error_handler.emitError() in HasValidTFLiteType() 255 error_handler.emitError("expected tensor type, got ") << value.getType(); in HasValidTFLiteType() 262 return error_handler.emitError( in HasValidTFLiteType() 281 return emitError(UnknownLoc::get(context), in IsValidTFLiteMlirModule() 288 return fn.emitError("should have exactly one basic block"), false; in IsValidTFLiteMlirModule() 294 return fn.emitError("invalid TFLite type: ") << arg.getType(), false; in IsValidTFLiteMlirModule() 304 return fn.emitError("invalid TFLite type: ") << result.getType(), in IsValidTFLiteMlirModule() 563 inst->emitError( in BuildBuffer() 605 return mlir::emitError( in BuildTensor() 821 return emitError(loc, "failed to serialize tensorflow node_def"), in CreateFlexOpCustomOptions() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/ |
D | LTOCodeGenerator.cpp | 218 emitError(ErrMsg); in writeMergedModules() 229 emitError(ErrMsg); in writeMergedModules() 249 emitError(EC.message()); in compileOptimizedToFile() 259 emitError((Twine("could not write object file: ") + Filename + ": " + in compileOptimizedToFile() 288 emitError(EC.message()); in compileOptimized() 335 emitError(ErrMsg); in determineTarget() 676 void LTOCodeGenerator::emitError(const std::string &ErrMsg) { in emitError() function in LTOCodeGenerator
|
/external/tensorflow/tensorflow/compiler/mlir/xla/ |
D | mlir_hlo_to_hlo.cc | 229 mlir::emitError(mlir::UnknownLoc::get(context)) in Convert_precision_config() 853 if (!literal_or.ok()) return inst->emitError("unsupported elemental type"); in Lower() 878 inst->emitError(llvm::Twine(computation_or.status().error_message())); in Lower() 885 inst->emitError("unable to lower operation of type '" + in Lower() 923 return f.emitError("only single block Function supported"); in RunOnFunction() 1117 return entry_func.emitError() << "requires '" << kPaddingMapAttr in AddDynamicParameterBindings() 1123 return entry_func.emitError( in AddDynamicParameterBindings() 1129 return entry_func.emitError( in AddDynamicParameterBindings() 1133 return entry_func.emitError(PaddingMapMismatchedArraySizeMsg( in AddDynamicParameterBindings() 1145 return entry_func.emitError( in AddDynamicParameterBindings() [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | split_merged_operands.cc | 91 op->emitError() in DuplicateValueIfNeeded() 111 func.emitError() << "Failed to duplicate values for the stateful op\n"; in runOnFunction()
|
D | prepare_composite_functions_tf.cc | 72 return func_.emitError() in VerifySignature() 77 return func_.emitError() << "Invalid number of results in the embedding " in VerifySignature()
|
/external/llvm/lib/LTO/ |
D | LTOCodeGenerator.cpp | 217 emitError(ErrMsg); in writeMergedModules() 228 emitError(ErrMsg); in writeMergedModules() 248 emitError(EC.message()); in compileOptimizedToFile() 284 emitError(EC.message()); in compileOptimized() 331 emitError(ErrMsg); in determineTarget() 668 void LTOCodeGenerator::emitError(const std::string &ErrMsg) { in emitError() function in LTOCodeGenerator
|
/external/llvm/lib/IR/ |
D | LLVMContext.cpp | 218 void LLVMContext::emitError(const Twine &ErrorStr) { in emitError() function in LLVMContext 222 void LLVMContext::emitError(const Instruction *I, const Twine &ErrorStr) { in emitError() function in LLVMContext 273 void LLVMContext::emitError(unsigned LocCookie, const Twine &ErrorStr) { in emitError() function in LLVMContext
|
/external/tensorflow/tensorflow/compiler/mlir/lite/ir/ |
D | tfl_ops.cc | 309 emitError(result.location) in buildComparisonBinOp() 330 emitError(result.location) in buildFusedBroadcastableBinOp() 638 emitError(result.location, "params must be atleast rank axis + 1"); in BuildGatherOp() 913 return op.emitError( in Verify() 918 return op.emitError( in Verify() 928 return op.emitError( in Verify() 940 return op.emitError( in Verify() 960 return op.emitError(llvm::formatv( in Verify() 1250 return op.emitError("LSTMOp expected to have two stateful operands"); in Verify() 1262 return op.emitError( in Verify() [all …]
|