Home
last modified time | relevance | path

Searched refs:new_call (Results 1 – 25 of 712) sorted by relevance

12345678910>>...29

/dports/misc/tvm/incubator-tvm-0.6.1/src/relay/pass/
H A Deliminate_common_subexpr.cc45 const CallNode* new_call = new_expr.as<CallNode>(); in VisitExpr_() local
46 CHECK(new_call); in VisitExpr_()
47 const OpNode* op = new_call->op.as<OpNode>(); in VisitExpr_()
50 if (new_call->args.size() == 0 || op == nullptr || op_stateful.get(GetRef<Op>(op), false)) { in VisitExpr_()
57 auto it = expr_map_.find(new_call->op); in VisitExpr_()
61 if (!attrs_equal(new_call->attrs, candidate->attrs)) { in VisitExpr_()
64 for (size_t i = 0; i < new_call->args.size(); i++) { in VisitExpr_()
65 if (!new_call->args[i].same_as(candidate->args[i]) && in VisitExpr_()
66 !IsEqualScalar(new_call->args[i], candidate->args[i])) { in VisitExpr_()
75 expr_map_[new_call->op].push_back(new_call); in VisitExpr_()
H A Dcanonicalize_cast.cc109 const CallNode* new_call = new_expr.as<CallNode>(); in GetNewCallArg() local
110 CHECK(new_call); in GetNewCallArg()
111 CHECK(new_call->op.same_as(cast)); in GetNewCallArg()
112 return CallNode::make(new_call->op, new_call->args, new_call->attrs, in GetNewCallArg()
113 new_call->type_args); in GetNewCallArg()
H A Dalter_op_layout.cc214 const CallNode *new_call = new_e.as<CallNode>(); in CallAlter() local
215 CHECK(new_call) << "Can only replace the original operator with another call node"; in CallAlter()
216 return GetRef<Call>(new_call); in CallAlter()
295 Call new_call = CallAlter(ref_call, normal_new_args); in AlterOpLayoutRewrite() local
298 if (new_call->op->IsInstance<OpNode>()) { in AlterOpLayoutRewrite()
300 std::tie(new_in2, new_out, success) = CallInfer(new_call, new_in, old_in, input_shapes); in AlterOpLayoutRewrite()
314 for (auto arg : new_call->args) { in AlterOpLayoutRewrite()
335 Expr tuple_output = CallNode::make(new_call->op, transformed_args, in AlterOpLayoutRewrite()
336 new_call->attrs); in AlterOpLayoutRewrite()
350 rnode->value = CallNode::make(new_call->op, transformed_args, in AlterOpLayoutRewrite()
[all …]
/dports/misc/py-tvm/incubator-tvm-0.6.1/src/relay/pass/
H A Deliminate_common_subexpr.cc45 const CallNode* new_call = new_expr.as<CallNode>(); in VisitExpr_() local
46 CHECK(new_call); in VisitExpr_()
47 const OpNode* op = new_call->op.as<OpNode>(); in VisitExpr_()
50 if (new_call->args.size() == 0 || op == nullptr || op_stateful.get(GetRef<Op>(op), false)) { in VisitExpr_()
57 auto it = expr_map_.find(new_call->op); in VisitExpr_()
61 if (!attrs_equal(new_call->attrs, candidate->attrs)) { in VisitExpr_()
64 for (size_t i = 0; i < new_call->args.size(); i++) { in VisitExpr_()
65 if (!new_call->args[i].same_as(candidate->args[i]) && in VisitExpr_()
66 !IsEqualScalar(new_call->args[i], candidate->args[i])) { in VisitExpr_()
75 expr_map_[new_call->op].push_back(new_call); in VisitExpr_()
H A Dcanonicalize_cast.cc109 const CallNode* new_call = new_expr.as<CallNode>(); in GetNewCallArg() local
110 CHECK(new_call); in GetNewCallArg()
111 CHECK(new_call->op.same_as(cast)); in GetNewCallArg()
112 return CallNode::make(new_call->op, new_call->args, new_call->attrs, in GetNewCallArg()
113 new_call->type_args); in GetNewCallArg()
H A Dalter_op_layout.cc214 const CallNode *new_call = new_e.as<CallNode>(); in CallAlter() local
215 CHECK(new_call) << "Can only replace the original operator with another call node"; in CallAlter()
216 return GetRef<Call>(new_call); in CallAlter()
295 Call new_call = CallAlter(ref_call, normal_new_args); in AlterOpLayoutRewrite() local
298 if (new_call->op->IsInstance<OpNode>()) { in AlterOpLayoutRewrite()
300 std::tie(new_in2, new_out, success) = CallInfer(new_call, new_in, old_in, input_shapes); in AlterOpLayoutRewrite()
314 for (auto arg : new_call->args) { in AlterOpLayoutRewrite()
335 Expr tuple_output = CallNode::make(new_call->op, transformed_args, in AlterOpLayoutRewrite()
336 new_call->attrs); in AlterOpLayoutRewrite()
350 rnode->value = CallNode::make(new_call->op, transformed_args, in AlterOpLayoutRewrite()
[all …]
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/src/relay/transforms/
H A Deliminate_common_subexpr.cc47 const CallNode* new_call = new_expr.as<CallNode>(); in Rewrite_() local
48 CHECK(new_call); in Rewrite_()
49 const OpNode* op = new_call->op.as<OpNode>(); in Rewrite_()
52 if (new_call->args.size() == 0 || op == nullptr || op_stateful.get(GetRef<Op>(op), false)) { in Rewrite_()
59 auto it = expr_map_.find(new_call->op); in Rewrite_()
64 if (!attrs_equal(new_call->attrs, candidate->attrs)) { in Rewrite_()
67 for (size_t i = 0; i < new_call->args.size(); i++) { in Rewrite_()
68 if (!new_call->args[i].same_as(candidate->args[i]) && in Rewrite_()
69 !IsEqualScalar(new_call->args[i], candidate->args[i])) { in Rewrite_()
79 expr_map_[new_call->op].push_back(new_expr); in Rewrite_()
H A Dcanonicalize_cast.cc113 const CallNode* new_call = new_expr.as<CallNode>(); in GetNewCallArg() local
114 CHECK(new_call); in GetNewCallArg()
115 CHECK(new_call->op == cast_op_); in GetNewCallArg()
116 return Call(new_call->op, new_call->args, new_call->attrs, new_call->type_args); in GetNewCallArg()
H A Dtransform_layout.h300 Call new_call = memorizer.CallWithNewLayouts(ref_call, normal_new_args); in LayoutRewriter() local
303 if (new_call->op->IsInstance<OpNode>()) { in LayoutRewriter()
305 std::tie(new_in2, new_out, success) = InferCorrectLayouts(new_call, new_in, old_in, types); in LayoutRewriter()
321 for (auto arg : new_call->args) { in LayoutRewriter()
340 Expr tuple_output = Call(new_call->op, transformed_args, new_call->attrs); in LayoutRewriter()
354 rnode->value = Call(new_call->op, transformed_args, new_call->attrs); in LayoutRewriter()
/dports/misc/tvm/incubator-tvm-0.6.1/src/relay/pass/quantize/
H A Dcalibrate.cc52 const CallNode* new_call = new_e.as<CallNode>(); in VisitExpr_() local
53 CHECK(new_call); in VisitExpr_()
54 if (new_call->op.same_as(simulated_quantize)) { in VisitExpr_()
55 auto attrs = new_call->attrs.as<SimulatedQuantizeAttrs>(); in VisitExpr_()
58 const Expr& quantize_input = new_call->args[0]; // expression being quantized in VisitExpr_()
64 Expr identity_quantize = CallNode::make(new_call->op, new_args, Attrs{new_attrs}, {}); in VisitExpr_()
/dports/misc/py-tvm/incubator-tvm-0.6.1/src/relay/pass/quantize/
H A Dcalibrate.cc52 const CallNode* new_call = new_e.as<CallNode>(); in VisitExpr_() local
53 CHECK(new_call); in VisitExpr_()
54 if (new_call->op.same_as(simulated_quantize)) { in VisitExpr_()
55 auto attrs = new_call->attrs.as<SimulatedQuantizeAttrs>(); in VisitExpr_()
58 const Expr& quantize_input = new_call->args[0]; // expression being quantized in VisitExpr_()
64 Expr identity_quantize = CallNode::make(new_call->op, new_args, Attrs{new_attrs}, {}); in VisitExpr_()
/dports/devel/py-bandit/bandit-1.7.1/bandit/plugins/
H A Ddjango_xss.py170 new_call = ast.Call()
171 new_call.args = []
172 new_call.args = []
173 new_call.keywords = None
174 new_call.lineno = var.lineno
175 new_call.func = ast.Attribute()
176 new_call.func.value = var.left
177 new_call.func.attr = 'format'
179 new_call.args = var.right.elts
181 new_call.args = [var.right]
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/chrome_cleaner/engines/broker/
H A Dinterface_log_service.cc79 APICall* new_call = call_record_.add_api_calls(); in ObserveCall() local
80 new_call->set_function_name(log_information.function_name); in ObserveCall()
81 new_call->set_file_name(log_information.file_name); in ObserveCall()
82 new_call->set_microseconds_since_start(microseconds_since_start); in ObserveCall()
83 new_call->mutable_parameters()->insert(params.begin(), params.end()); in ObserveCall()
/dports/lang/gcc8/gcc-8.5.0/gcc/
H A Dtree-call-cdce.c1012 gcall *new_call = gimple_build_call_internal_vec (ifn, args); in use_internal_fn() local
1013 gimple_set_location (new_call, gimple_location (call)); in use_internal_fn()
1018 gimple_call_set_lhs (new_call, lhs); in use_internal_fn()
1020 SSA_NAME_DEF_STMT (lhs) = new_call; in use_internal_fn()
1024 gsi_insert_before (&gsi, new_call, GSI_SAME_STMT); in use_internal_fn()
1040 gimple_set_vuse (new_call, gimple_vuse (call)); in use_internal_fn()
1041 gimple_set_vdef (new_call, gimple_vdef (call)); in use_internal_fn()
1042 SSA_NAME_DEF_STMT (gimple_vdef (new_call)) = new_call; in use_internal_fn()
1043 gimple_set_location (new_call, gimple_location (call)); in use_internal_fn()
1044 gsi_replace (&gsi, new_call, false); in use_internal_fn()
[all …]
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/
H A Dtree-call-cdce.c1012 gcall *new_call = gimple_build_call_internal_vec (ifn, args); in use_internal_fn() local
1013 gimple_set_location (new_call, gimple_location (call)); in use_internal_fn()
1018 gimple_call_set_lhs (new_call, lhs); in use_internal_fn()
1020 SSA_NAME_DEF_STMT (lhs) = new_call; in use_internal_fn()
1024 gsi_insert_before (&gsi, new_call, GSI_SAME_STMT); in use_internal_fn()
1040 gimple_set_vuse (new_call, gimple_vuse (call)); in use_internal_fn()
1041 gimple_set_vdef (new_call, gimple_vdef (call)); in use_internal_fn()
1042 SSA_NAME_DEF_STMT (gimple_vdef (new_call)) = new_call; in use_internal_fn()
1043 gimple_set_location (new_call, gimple_location (call)); in use_internal_fn()
1044 gsi_replace (&gsi, new_call, false); in use_internal_fn()
[all …]
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/
H A Dtree-call-cdce.c1012 gcall *new_call = gimple_build_call_internal_vec (ifn, args); in use_internal_fn() local
1013 gimple_set_location (new_call, gimple_location (call)); in use_internal_fn()
1018 gimple_call_set_lhs (new_call, lhs); in use_internal_fn()
1020 SSA_NAME_DEF_STMT (lhs) = new_call; in use_internal_fn()
1024 gsi_insert_before (&gsi, new_call, GSI_SAME_STMT); in use_internal_fn()
1040 gimple_set_vuse (new_call, gimple_vuse (call)); in use_internal_fn()
1041 gimple_set_vdef (new_call, gimple_vdef (call)); in use_internal_fn()
1042 SSA_NAME_DEF_STMT (gimple_vdef (new_call)) = new_call; in use_internal_fn()
1043 gimple_set_location (new_call, gimple_location (call)); in use_internal_fn()
1044 gsi_replace (&gsi, new_call, false); in use_internal_fn()
[all …]
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/
H A Dtree-call-cdce.c1049 gcall *new_call = gimple_build_call_internal_vec (ifn, args); in use_internal_fn() local
1050 gimple_set_location (new_call, gimple_location (call)); in use_internal_fn()
1055 gimple_call_set_lhs (new_call, lhs); in use_internal_fn()
1057 SSA_NAME_DEF_STMT (lhs) = new_call; in use_internal_fn()
1061 gsi_insert_before (&gsi, new_call, GSI_SAME_STMT); in use_internal_fn()
1077 gimple_set_vuse (new_call, gimple_vuse (call)); in use_internal_fn()
1078 gimple_set_vdef (new_call, gimple_vdef (call)); in use_internal_fn()
1079 SSA_NAME_DEF_STMT (gimple_vdef (new_call)) = new_call; in use_internal_fn()
1080 gimple_set_location (new_call, gimple_location (call)); in use_internal_fn()
1081 gsi_replace (&gsi, new_call, false); in use_internal_fn()
[all …]
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/
H A Dtree-call-cdce.c1012 gcall *new_call = gimple_build_call_internal_vec (ifn, args); in use_internal_fn() local
1013 gimple_set_location (new_call, gimple_location (call)); in use_internal_fn()
1018 gimple_call_set_lhs (new_call, lhs); in use_internal_fn()
1020 SSA_NAME_DEF_STMT (lhs) = new_call; in use_internal_fn()
1024 gsi_insert_before (&gsi, new_call, GSI_SAME_STMT); in use_internal_fn()
1040 gimple_set_vuse (new_call, gimple_vuse (call)); in use_internal_fn()
1041 gimple_set_vdef (new_call, gimple_vdef (call)); in use_internal_fn()
1042 SSA_NAME_DEF_STMT (gimple_vdef (new_call)) = new_call; in use_internal_fn()
1043 gimple_set_location (new_call, gimple_location (call)); in use_internal_fn()
1044 gsi_replace (&gsi, new_call, false); in use_internal_fn()
[all …]
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/
H A Dtree-call-cdce.c1012 gcall *new_call = gimple_build_call_internal_vec (ifn, args); in use_internal_fn() local
1013 gimple_set_location (new_call, gimple_location (call)); in use_internal_fn()
1018 gimple_call_set_lhs (new_call, lhs); in use_internal_fn()
1020 SSA_NAME_DEF_STMT (lhs) = new_call; in use_internal_fn()
1024 gsi_insert_before (&gsi, new_call, GSI_SAME_STMT); in use_internal_fn()
1040 gimple_set_vuse (new_call, gimple_vuse (call)); in use_internal_fn()
1041 gimple_set_vdef (new_call, gimple_vdef (call)); in use_internal_fn()
1042 SSA_NAME_DEF_STMT (gimple_vdef (new_call)) = new_call; in use_internal_fn()
1043 gimple_set_location (new_call, gimple_location (call)); in use_internal_fn()
1044 gsi_replace (&gsi, new_call, false); in use_internal_fn()
[all …]
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/
H A Dtree-call-cdce.c1012 gcall *new_call = gimple_build_call_internal_vec (ifn, args); in use_internal_fn() local
1013 gimple_set_location (new_call, gimple_location (call)); in use_internal_fn()
1018 gimple_call_set_lhs (new_call, lhs); in use_internal_fn()
1020 SSA_NAME_DEF_STMT (lhs) = new_call; in use_internal_fn()
1024 gsi_insert_before (&gsi, new_call, GSI_SAME_STMT); in use_internal_fn()
1040 gimple_set_vuse (new_call, gimple_vuse (call)); in use_internal_fn()
1041 gimple_set_vdef (new_call, gimple_vdef (call)); in use_internal_fn()
1042 SSA_NAME_DEF_STMT (gimple_vdef (new_call)) = new_call; in use_internal_fn()
1043 gimple_set_location (new_call, gimple_location (call)); in use_internal_fn()
1044 gsi_replace (&gsi, new_call, false); in use_internal_fn()
[all …]
/dports/lang/gcc9/gcc-9.4.0/gcc/
H A Dtree-call-cdce.c1049 gcall *new_call = gimple_build_call_internal_vec (ifn, args); in use_internal_fn() local
1050 gimple_set_location (new_call, gimple_location (call)); in use_internal_fn()
1055 gimple_call_set_lhs (new_call, lhs); in use_internal_fn()
1057 SSA_NAME_DEF_STMT (lhs) = new_call; in use_internal_fn()
1061 gsi_insert_before (&gsi, new_call, GSI_SAME_STMT); in use_internal_fn()
1077 gimple_set_vuse (new_call, gimple_vuse (call)); in use_internal_fn()
1078 gimple_set_vdef (new_call, gimple_vdef (call)); in use_internal_fn()
1079 SSA_NAME_DEF_STMT (gimple_vdef (new_call)) = new_call; in use_internal_fn()
1080 gimple_set_location (new_call, gimple_location (call)); in use_internal_fn()
1081 gsi_replace (&gsi, new_call, false); in use_internal_fn()
[all …]
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/
H A Dtree-call-cdce.c1049 gcall *new_call = gimple_build_call_internal_vec (ifn, args); in use_internal_fn() local
1050 gimple_set_location (new_call, gimple_location (call)); in use_internal_fn()
1055 gimple_call_set_lhs (new_call, lhs); in use_internal_fn()
1057 SSA_NAME_DEF_STMT (lhs) = new_call; in use_internal_fn()
1061 gsi_insert_before (&gsi, new_call, GSI_SAME_STMT); in use_internal_fn()
1077 gimple_set_vuse (new_call, gimple_vuse (call)); in use_internal_fn()
1078 gimple_set_vdef (new_call, gimple_vdef (call)); in use_internal_fn()
1079 SSA_NAME_DEF_STMT (gimple_vdef (new_call)) = new_call; in use_internal_fn()
1080 gimple_set_location (new_call, gimple_location (call)); in use_internal_fn()
1081 gsi_replace (&gsi, new_call, false); in use_internal_fn()
[all …]
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/jit/
H A Dlibgccjit++.h270 rvalue new_call (function func,
277 rvalue new_call (function func,
279 rvalue new_call (function func,
1107 context::new_call (function func, in new_call() function
1125 context::new_call (function func, in new_call() function
1133 context::new_call (function func, in new_call() function
1142 context::new_call (function func, in new_call() function
1152 context::new_call (function func, in new_call() function
1163 context::new_call (function func, in new_call() function
1176 context::new_call (function func, in new_call() function
[all …]
/dports/lang/gcc9/gcc-9.4.0/gcc/jit/
H A Dlibgccjit++.h271 rvalue new_call (function func,
278 rvalue new_call (function func,
280 rvalue new_call (function func,
1114 context::new_call (function func, in new_call() function
1132 context::new_call (function func, in new_call() function
1140 context::new_call (function func, in new_call() function
1149 context::new_call (function func, in new_call() function
1159 context::new_call (function func, in new_call() function
1170 context::new_call (function func, in new_call() function
1183 context::new_call (function func, in new_call() function
[all …]
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/jit/
H A Dlibgccjit++.h270 rvalue new_call (function func,
277 rvalue new_call (function func,
279 rvalue new_call (function func,
1107 context::new_call (function func, in new_call() function
1125 context::new_call (function func, in new_call() function
1133 context::new_call (function func, in new_call() function
1142 context::new_call (function func, in new_call() function
1152 context::new_call (function func, in new_call() function
1163 context::new_call (function func, in new_call() function
1176 context::new_call (function func, in new_call() function
[all …]

12345678910>>...29