Home
last modified time | relevance | path

Searched refs:IsArg (Results 1 – 25 of 29) sorted by relevance

12

/external/llvm/include/llvm/Transforms/IPO/
DDeadArgumentElimination.h40 RetOrArg(const Function *F, unsigned Idx, bool IsArg) in RetOrArg()
41 : F(F), Idx(Idx), IsArg(IsArg) {} in RetOrArg()
44 bool IsArg; member
48 return std::tie(F, Idx, IsArg) < std::tie(O.F, O.Idx, O.IsArg);
53 return F == O.F && Idx == O.Idx && IsArg == O.IsArg;
57 return (Twine(IsArg ? "Argument #" : "Return value #") + Twine(Idx) + in getDescription()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DDeadArgumentElimination.h47 bool IsArg; member
49 RetOrArg(const Function *F, unsigned Idx, bool IsArg) in RetOrArg()
50 : F(F), Idx(Idx), IsArg(IsArg) {} in RetOrArg()
54 return std::tie(F, Idx, IsArg) < std::tie(O.F, O.Idx, O.IsArg);
59 return F == O.F && Idx == O.Idx && IsArg == O.IsArg;
63 return (Twine(IsArg ? "Argument #" : "Return value #") + Twine(Idx) + in getDescription()
/external/llvm-project/llvm/include/llvm/Transforms/IPO/
DDeadArgumentElimination.h47 bool IsArg; member
49 RetOrArg(const Function *F, unsigned Idx, bool IsArg) in RetOrArg()
50 : F(F), Idx(Idx), IsArg(IsArg) {} in RetOrArg()
54 return std::tie(F, Idx, IsArg) < std::tie(O.F, O.Idx, O.IsArg);
59 return F == O.F && Idx == O.Idx && IsArg == O.IsArg;
63 return (Twine(IsArg ? "Argument #" : "Return value #") + Twine(Idx) + in getDescription()
/external/tensorflow/tensorflow/core/common_runtime/
Deval_const_tensor.cc128 DCHECK(node->IsArg()); in GetArgNodeIndex()
205 if (!current_node->IsArg() && current_node->op_def().is_stateful()) { in ExtractConstantSubgraph()
243 if (outer_context && current_node->IsArg()) { in ExtractConstantSubgraph()
369 if (src->IsArg() && outer_context) { in EvaluateConstantTensor()
Dreplicate_per_replica_nodes.cc46 if (replicated_node->IsArg()) { in ReplicateNode()
165 if (replicated_node->IsArg() && replicated_node->out_edges().empty()) { in RemoveDeadReplicatedArgs()
254 if (n->IsArg()) { in ReplicatePerReplicaNodesInFunctionGraph()
Dlower_functional_ops.cc73 if (n->IsArg() || n->IsRetval()) return true; in HasArgsOrRetvals()
Dpartitioning_utils.cc88 if (node->IsArg()) { in UpdateArgAndRetvalMetadata()
Dpartitioning_utils_test.cc229 if (n->IsArg()) { in TEST_F()
Dreplicate_per_replica_nodes_test.cc61 if (node->IsArg()) { in CheckArgNum()
Dinline_function_utils.cc660 !n->IsArg(); // (c) in InlineFunctionBody()
/external/tensorflow/tensorflow/compiler/tf2xla/
Drearrange_function_argument.cc195 if (!e->src()->IsArg()) { in CalculateRetvalRearrange()
333 if (input_node->IsArg()) { in MaybeRewriteWhileNode()
Dresource_util.cc293 if (n->IsArg()) { in AnalyzeResourceUsage()
Dxla_compiler.cc103 if (n->IsArg()) { in ComputeArgAndRetvalShardings()
788 if (n->IsArg()) { in CompileFunction()
Dtf2xla_util.cc117 if (n->IsArg()) { in ReplaceArgUsageWithConstNode()
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugReporterVisitor.h353 bool IsArg = false,
/external/tensorflow/tensorflow/core/grappler/utils/
Dfunctions.cc335 if (IsArg(node)) { in ReplaceInputWithConst()
597 if (IsArg(func_node) || IsRetval(func_node) || in MakeFunctionDef()
/external/tensorflow/tensorflow/core/grappler/
Dop_types.h39 bool IsArg(const NodeDef& node);
Dop_types.cc92 bool IsArg(const NodeDef& node) { in IsArg() function
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dgeneric_layout_optimizer.cc388 if (IsArg(*node->node())) { in EraseOutputShapeAttrs()
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
Dencapsulate_tpu_computations_pass.cc373 if (!e->src()->IsArg() && in MoveHeadOutsideCompilationToHost()
482 if (e->src()->IsArg()) { in MoveHeadOutsideCompilationToHost()
650 if (n->IsArg()) { in MoveHeadOutsideCompilationToHost()
794 if (!n->IsArg()) { in RemoveUnusedXlaInput()
1255 if (!n->IsArg()) { in ReplaceArgUsedByOutsideCompilationWithPlaceholder()
1498 if (!e->IsControlEdge() && e->src()->IsArg() && e->dst()->IsRetval()) { in RemoveEdgesBetweenArgAndRetval()
/external/tensorflow/tensorflow/core/kernels/data/
Dsingle_threaded_executor.cc100 if (n->IsArg()) { in Initialize()
/external/tensorflow/tensorflow/core/framework/
Dgraph_to_functiondef.cc321 if (node->IsArg()) { in GraphToFunctionDefHelper()
/external/tensorflow/tensorflow/core/graph/
Dgraph.h201 bool IsArg() const { return class_ == NC_ARG; } in IsArg() function
/external/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp951 BugReport &report, bool IsArg, in trackNullOrUndefValue() argument
970 if (IsArg && !Inner) { in trackNullOrUndefValue()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dimport_model.cc1037 if (node.IsArg()) { in InferOutputType()
1542 if (arg_node.node->IsArg()) { in ConvertFunctionArgAndRets()
1926 if (input_node.IsArg() && input_edge->IsControlEdge()) { in ConvertNode()
2450 if (node->IsArg()) in GetArgsRetsAndTypesFromFunctionGraph()

12