Home
last modified time | relevance | path

Searched refs:AliasKind (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_input_output_alias_config.cc29 AliasKind kind) { in SetUpAlias()
30 TF_RET_CHECK(kind == AliasKind::kUserAlias || kind == AliasKind::kSystemAlias) in SetUpAlias()
61 case AliasKind::kUserAlias: in ToProto()
64 case AliasKind::kSystemAlias: in ToProto()
95 AliasKind kind = AliasKind::kSystemAlias; in CreateFromProto()
97 kind = AliasKind::kUserAlias; in CreateFromProto()
110 const char* kind = alias.kind == AliasKind::kUserAlias ? "USER" : "SYSTEM"; in ToString()
119 HloInputOutputAliasConfig::AliasKind
122 AliasKind kind = AliasKind::kNoAlias; in ParameterAliasKind()
Dhlo_input_output_alias_config_test.cc91 /*kind=*/HloInputOutputAliasConfig::AliasKind::kUserAlias)); in TEST_F()
123 /*kind=*/HloInputOutputAliasConfig::AliasKind::kUserAlias)); in TEST_F()
128 /*kind=*/HloInputOutputAliasConfig::AliasKind::kUserAlias)); in TEST_F()
162 /*kind=*/HloInputOutputAliasConfig::AliasKind::kUserAlias)); in TEST_F()
167 /*kind=*/HloInputOutputAliasConfig::AliasKind::kUserAlias)); in TEST_F()
193 /*kind=*/HloInputOutputAliasConfig::AliasKind::kUserAlias)); in TEST_F()
219 /*kind=*/HloInputOutputAliasConfig::AliasKind::kUserAlias)); in TEST_F()
224 /*kind=*/HloInputOutputAliasConfig::AliasKind::kUserAlias)); in TEST_F()
Dhlo_input_output_alias_config.h38 enum AliasKind { enum
47 Alias(AliasKind kind, int64 parameter_number, ShapeIndex parameter_index) in Alias()
52 AliasKind kind;
67 const ShapeIndex& param_index, AliasKind kind);
71 AliasKind ParameterAliasKind(int64 param_number,
78 return ParameterAliasKind(param_number, param_index) != AliasKind::kNoAlias; in ParameterHasAlias()
Dhlo_alias_analysis_test.cc245 /*kind=*/HloInputOutputAliasConfig::AliasKind::kUserAlias)); in TEST_F()
248 /*kind=*/HloInputOutputAliasConfig::AliasKind::kUserAlias)); in TEST_F()
253 /*kind=*/HloInputOutputAliasConfig::AliasKind::kUserAlias)); in TEST_F()
291 /*kind=*/HloInputOutputAliasConfig::AliasKind::kUserAlias)); in TEST_F()
294 /*kind=*/HloInputOutputAliasConfig::AliasKind::kUserAlias)); in TEST_F()
299 /*kind=*/HloInputOutputAliasConfig::AliasKind::kUserAlias)); in TEST_F()
382 /*kind=*/HloInputOutputAliasConfig::AliasKind::kUserAlias)); in TEST_F()
385 /*kind=*/HloInputOutputAliasConfig::AliasKind::kUserAlias)); in TEST_F()
Doptimize_input_output_buffer_alias.cc78 HloInputOutputAliasConfig::AliasKind::kSystemAlias)); in Build()
Dcopy_insertion_test.cc1380 /*kind=*/HloInputOutputAliasConfig::AliasKind::kUserAlias)); in TEST_F()
1383 /*kind=*/HloInputOutputAliasConfig::AliasKind::kUserAlias)); in TEST_F()
1415 /*kind=*/HloInputOutputAliasConfig::AliasKind::kUserAlias)); in TEST_F()
1418 /*kind=*/HloInputOutputAliasConfig::AliasKind::kUserAlias)); in TEST_F()
1483 /*kind=*/HloInputOutputAliasConfig::AliasKind::kUserAlias)); in TEST_F()
1525 /*kind=*/HloInputOutputAliasConfig::AliasKind::kUserAlias)); in TEST_F()
1567 /*kind=*/HloInputOutputAliasConfig::AliasKind::kUserAlias)); in TEST_F()
/external/llvm/include/llvm/IR/
DModuleSummaryIndex.h90 enum SummaryKind { AliasKind, FunctionKind, GlobalVarKind }; enumerator
210 AliasSummary(GVFlags Flags) : GlobalValueSummary(AliasKind, Flags) {} in AliasSummary()
214 return GVS->getSummaryKind() == AliasKind; in classof()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DModuleSummaryIndex.h236 enum SummaryKind : unsigned { AliasKind, FunctionKind, GlobalVarKind };
300 assert((K != AliasKind || Refs.empty()) &&
372 : GlobalValueSummary(AliasKind, Flags, ArrayRef<ValueInfo>{}),
377 return GVS->getSummaryKind() == AliasKind;
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dxrt_execute_op.cc242 return alias.kind == xla::HloInputOutputAliasConfig::AliasKind::kUserAlias in DoWork()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DAsmWriter.cpp2781 case GlobalValueSummary::AliasKind: in getSummaryKindName()
2979 if (Summary.getSummaryKind() == GlobalValueSummary::AliasKind) in printSummary()
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.cc412 HloInputOutputAliasConfig::AliasKind::kUserAlias)); in PopulateInputOutputAlias()