Home
last modified time | relevance | path

Searched refs:is_constant (Results 1 – 25 of 74) sorted by relevance

123

/external/skia/src/core/
DSkRasterPipelineBlitter.cpp28 bool is_opaque, bool is_constant);
104 is_constant = true; in SkCreateRasterPipelineBlitter() local
106 shaderPipeline, is_opaque, is_constant); in SkCreateRasterPipelineBlitter()
110 bool is_constant = shader->isConstant(); in SkCreateRasterPipelineBlitter() local
118 shaderPipeline, is_opaque, is_constant); in SkCreateRasterPipelineBlitter()
130 bool is_constant = false; // If this were the case, it'd be better to just set a paint color. in SkCreateRasterPipelineBlitter() local
132 shaderPipeline, is_opaque, is_constant); in SkCreateRasterPipelineBlitter()
140 bool is_constant) { in Create() argument
177 is_constant = is_constant && (blitter->fDitherRate == 0.0f); in Create()
182 if (is_constant) { in Create()
[all …]
/external/skqp/src/core/
DSkRasterPipelineBlitter.cpp28 bool is_opaque, bool is_constant);
104 is_constant = true; in SkCreateRasterPipelineBlitter() local
106 shaderPipeline, is_opaque, is_constant); in SkCreateRasterPipelineBlitter()
110 bool is_constant = shader->isConstant(); in SkCreateRasterPipelineBlitter() local
118 shaderPipeline, is_opaque, is_constant); in SkCreateRasterPipelineBlitter()
130 bool is_constant = false; // If this were the case, it'd be better to just set a paint color. in SkCreateRasterPipelineBlitter() local
132 shaderPipeline, is_opaque, is_constant); in SkCreateRasterPipelineBlitter()
140 bool is_constant) { in Create() argument
177 is_constant = is_constant && (blitter->fDitherRate == 0.0f); in Create()
182 if (is_constant) { in Create()
[all …]
/external/tensorflow/tensorflow/core/ops/
Dcontrol_flow_ops.cc150 bool is_constant; in __anonc22003ab0402() local
151 TF_RETURN_IF_ERROR(c->GetAttr("is_constant", &is_constant)); in __anonc22003ab0402()
152 if (is_constant) { in __anonc22003ab0402()
/external/skqp/src/sksl/
DSkSLCompiler.cpp517 bool is_constant(const Expression& expr, double value) { in is_constant() function
527 if (!is_constant(c.getVecComponent(i), value)) { in is_constant()
757 if (is_constant(*bin->fLeft, 1)) { in simplifyExpression()
769 else if (is_constant(*bin->fLeft, 0)) { in simplifyExpression()
784 else if (is_constant(*bin->fRight, 1)) { in simplifyExpression()
796 else if (is_constant(*bin->fRight, 0)) { in simplifyExpression()
813 if (is_constant(*bin->fLeft, 0)) { in simplifyExpression()
824 } else if (is_constant(*bin->fRight, 0)) { in simplifyExpression()
838 if (is_constant(*bin->fRight, 0)) { in simplifyExpression()
852 if (is_constant(*bin->fRight, 1)) { in simplifyExpression()
[all …]
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_RefEnter.pbtxt23 name: "is_constant"
37 `is_constant` is true, `output` is a constant in the child frame; otherwise
Dapi_def_Enter.pbtxt23 name: "is_constant"
38 `is_constant` is true, `output` is a constant in the child frame; otherwise
/external/tensorflow/tensorflow/compiler/xla/service/
Dbuffer_assignment.h103 is_constant(); in is_readonly()
120 bool is_constant() const { return is_constant_; } in is_constant() function
230 !is_constant(); in IsPreallocatedTempBuffer()
289 void set_constant(bool is_constant) { is_constant_ = is_constant; } in set_constant() argument
Dbuffer_assignment.cc294 if (is_constant()) { in ToString()
615 if (allocation.is_constant()) { in ComputeSummaryStats()
1704 bool is_constant = false; in AssignColocatedBufferSets() local
1713 is_constant = true; in AssignColocatedBufferSets()
1717 CHECK(!is_constant || entry_parameter_number == -1) in AssignColocatedBufferSets()
1728 if (is_constant) { in AssignColocatedBufferSets()
/external/skia/src/sksl/
DSkSLCompiler.cpp517 bool is_constant(const Expression& expr, double value) { in is_constant() function
527 if (!is_constant(c.getVecComponent(i), value)) { in is_constant()
757 if (is_constant(*bin->fLeft, 1)) { in simplifyExpression()
769 else if (is_constant(*bin->fLeft, 0)) { in simplifyExpression()
784 else if (is_constant(*bin->fRight, 1)) { in simplifyExpression()
796 else if (is_constant(*bin->fRight, 0)) { in simplifyExpression()
813 if (is_constant(*bin->fLeft, 0)) { in simplifyExpression()
824 } else if (is_constant(*bin->fRight, 0)) { in simplifyExpression()
838 if (is_constant(*bin->fRight, 0)) { in simplifyExpression()
852 if (is_constant(*bin->fRight, 1)) { in simplifyExpression()
[all …]
/external/tensorflow/tensorflow/core/grappler/costs/graph_properties_testdata/
Dloops_and_resource_vars.pbtxt144 key: "is_constant"
173 key: "is_constant"
373 key: "is_constant"
414 key: "is_constant"
443 key: "is_constant"
Dloops_and_queues.pbtxt106 key: "is_constant"
135 key: "is_constant"
301 key: "is_constant"
439 key: "is_constant"
468 key: "is_constant"
Dnested_loop.pbtxt69 key: "is_constant"
98 key: "is_constant"
286 key: "is_constant"
315 key: "is_constant"
Dwhile_loop.pbtxt62 key: "is_constant"
91 key: "is_constant"
Dwhile_loop_var_handle_op.pbtxt74 key: "is_constant"
95 key: "is_constant"
Dqueues_and_loops.pbtxt179 key: "is_constant"
208 key: "is_constant"
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_expression.cc120 TF_ASSIGN_OR_RETURN(bool is_constant, in ResolveConstant()
122 if (!is_constant) return {absl::nullopt}; in ResolveConstant()
Dcpu_function_runtime.h42 bool is_constant() const { return kind() == Kind::kConstant; } in is_constant() function
/external/mesa3d/src/compiler/nir/
Dnir_search.h58 bool is_constant; member
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dbuffer_assignment_util.cc23 CHECK(allocation.is_constant()); in InstrForConstantBufferAllocation()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dbuffer_info_util.cc29 } else if (allocation.is_constant()) { in CreateBufferInfosFromBufferAssignment()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_executable.cc208 if (allocation.is_constant()) { in ResolveConstantGlobals()
272 if (allocation.is_constant()) { in ExecuteOnStream()
Dbuffer_allocations.cc52 } else if (allocation.is_constant()) { in Build()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dlocal_client_aot_test_helper.cc98 CHECK(result->buffer_infos()[2].is_constant()); // const buffer in main()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_optimize.c535 unsigned int is_constant[2] = {0, 0}; in is_presub_candidate() local
560 is_constant[i] = 1; in is_presub_candidate()
564 if (is_constant[0] && is_constant[1]) in is_presub_candidate()
/external/tensorflow/tensorflow/python/ops/
Dcontrol_flow_ops.py211 is_constant=False, argument
239 data, frame_name, is_constant, parallel_iterations, name=name)
242 data, frame_name, is_constant, parallel_iterations, name=name)
248 return _Enter(t, frame_name, is_constant, parallel_iterations,
1007 elif constant_op.is_constant(cur_value):
2433 is_constant=True,
2572 is_constant=False,
2624 is_constant=False,
2721 is_constant=False,
2805 is_constant=False,
[all …]

123