Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dtrim_functions_tf.cc50 explicit TrimFunctionsPass() : trim_funcs_allowlist_(trim_funcs_allowlist) {} in TrimFunctionsPass()
52 : trim_funcs_allowlist_(trim_funcs_allowlist) {} in TrimFunctionsPass()
59 llvm::ArrayRef<std::string> trim_funcs_allowlist_; member in mlir::TFL::__anon84a156850111::TrimFunctionsPass
74 if (trim_funcs_allowlist_.empty()) return false; in TrimModule()
78 if (llvm::is_contained(trim_funcs_allowlist_, func.getName())) { in TrimModule()
85 if (!llvm::is_contained(trim_funcs_allowlist_, "main") && in TrimModule()
86 func.getName() == trim_funcs_allowlist_[0]) { in TrimModule()