Home
last modified time | relevance | path

Searched +defs:val +defs:constant (Results 1 – 25 of 823) sorted by relevance

12345678910>>...33

/aosp_15_r20/external/mesa3d/src/compiler/glsl/
H A Dir_builder.h42 operand(ir_rvalue *val) in operand()
53 ir_rvalue *val; variable
62 deref(ir_dereference *val) in deref()
74 ir_dereference *val; variable
90 constant(float f) in constant() function
96 constant(int i) in constant() function
102 constant(unsigned u) in constant() function
108 constant(bool b) in constant() function
H A Dast_function.cpp61 ir_constant *const constant = in process_parameters() local
257 const ir_rvalue *val = actual; in verify_parameter_modes() local
1132 ir_constant *const constant = result->constant_expression_value(ctx); in convert_component() local
1181 ir_rvalue *const constant = result->constant_expression_value(mem_ctx); in implicitly_convert_component() local
1207 ir_constant *constant = src->as_constant(); in dereference_component() local
2429 ir_rvalue *const constant = result->constant_expression_value(ctx); in hir() local
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/include/mlir-hlo/utils/
H A Dhlo_utils.h42 static ElementsAttr getSplat(Builder* b, RankedTensorType ty, T constant) { in getSplat()
64 static ElementsAttr getSplat(Builder* b, Value val, T constant) { in getSplat()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
H A Dsame_shape_propagation.cc59 int64_t constant() const { in constant() function
72 int64_t constant; member
96 Value val = value.value(); in operator <<() local
290 ValueOrConst val = p.value(); in tryEvaluateShapeToRoot() local
/aosp_15_r20/external/pytorch/torch/csrc/jit/backends/xnnpack/
H A Dxnnpack_graph_builder.cpp137 for (auto val : _inputs) { in serializedXNNGraph() local
142 for (auto val : _outputs) { in serializedXNNGraph() local
153 for (auto val : _outputs) { in getGraphOutputShapes() local
207 for (auto val : _intermediate_tensors) { in defineAllTensorValues() local
236 std::optional<IValue> constant = val->node()->t(attr::value); in defineAllTensorValues() local
316 bool XNNGraph::isGraphInput(torch::jit::Value* val) { in isGraphInput()
320 bool XNNGraph::isGraphOutput(torch::jit::Value* val) { in isGraphOutput()
/aosp_15_r20/external/tensorflow/tensorflow/core/grappler/optimizers/
H A Dmemory_optimizer_test.cc238 Output constant = ops::Const(s.WithOpName("constant"), 0.0f, {10, 10}); in TEST_F() local
247 AttrValue& val = in TEST_F() local
313 Output constant = ops::Const(s.WithOpName("constant"), 0.0f, {128, 128, 8}); in TEST_F() local
364 Output constant = ops::Const(s.WithOpName("constant"), 0.0f, {128, 128, 8}); in TEST_F() local
455 Output constant = ops::Const(s.WithOpName("constant").WithDevice("/cpu:0"), in TEST_F() local
485 Output constant = ops::Const(s.WithOpName("constant").WithDevice("/cpu:0"), in TEST_F() local
517 Output constant = ops::Const(s.WithOpName("constant").WithDevice("/cpu:0"), in TEST_F() local
542 Output constant = ops::Const(s.WithOpName("constant").WithDevice("/cpu:0"), in TEST_F() local
/aosp_15_r20/external/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dstrength_reduction_pass.cpp44 bool IsPowerOf2(uint32_t val) { in IsPowerOf2()
143 uint32_t StrengthReductionPass::GetConstantId(uint32_t val) { in GetConstantId()
155 Operand constant(spv_operand_type_t::SPV_OPERAND_TYPE_LITERAL_INTEGER, in GetConstantId() local
H A Dconstants.cpp167 const analysis::Constant* constant = FindDeclaredConstant(id); in GetOperandConstants() local
462 uint32_t ConstantManager::GetFloatConstId(float val) { in GetFloatConstId()
467 const Constant* ConstantManager::GetFloatConst(float val) { in GetFloatConst()
474 uint32_t ConstantManager::GetDoubleConstId(double val) { in GetDoubleConstId()
479 const Constant* ConstantManager::GetDoubleConst(double val) { in GetDoubleConst()
486 uint32_t ConstantManager::GetSIntConstId(int32_t val) { in GetSIntConstId()
492 const Constant* ConstantManager::GetIntConst(uint64_t val, int32_t bitWidth, in GetIntConst()
517 uint32_t ConstantManager::GetUIntConstId(uint32_t val) { in GetUIntConstId()
/aosp_15_r20/external/deqp-deps/SPIRV-Tools/source/opt/
Dstrength_reduction_pass.cpp44 bool IsPowerOf2(uint32_t val) { in IsPowerOf2()
143 uint32_t StrengthReductionPass::GetConstantId(uint32_t val) { in GetConstantId()
155 Operand constant(spv_operand_type_t::SPV_OPERAND_TYPE_LITERAL_INTEGER, in GetConstantId() local
Dconstants.cpp167 const analysis::Constant* constant = FindDeclaredConstant(id); in GetOperandConstants() local
462 uint32_t ConstantManager::GetFloatConstId(float val) { in GetFloatConstId()
467 const Constant* ConstantManager::GetFloatConst(float val) { in GetFloatConst()
474 uint32_t ConstantManager::GetDoubleConstId(double val) { in GetDoubleConstId()
479 const Constant* ConstantManager::GetDoubleConst(double val) { in GetDoubleConst()
486 uint32_t ConstantManager::GetSIntConstId(int32_t val) { in GetSIntConstId()
492 const Constant* ConstantManager::GetIntConst(uint64_t val, int32_t bitWidth, in GetIntConst()
517 uint32_t ConstantManager::GetUIntConstId(uint32_t val) { in GetUIntConstId()
/aosp_15_r20/external/angle/third_party/spirv-tools/src/source/opt/
H A Dstrength_reduction_pass.cpp44 bool IsPowerOf2(uint32_t val) { in IsPowerOf2()
143 uint32_t StrengthReductionPass::GetConstantId(uint32_t val) { in GetConstantId()
155 Operand constant(spv_operand_type_t::SPV_OPERAND_TYPE_LITERAL_INTEGER, in GetConstantId() local
H A Dconstants.cpp167 const analysis::Constant* constant = FindDeclaredConstant(id); in GetOperandConstants() local
462 uint32_t ConstantManager::GetFloatConstId(float val) { in GetFloatConstId()
467 const Constant* ConstantManager::GetFloatConst(float val) { in GetFloatConst()
474 uint32_t ConstantManager::GetDoubleConstId(double val) { in GetDoubleConstId()
479 const Constant* ConstantManager::GetDoubleConst(double val) { in GetDoubleConst()
486 uint32_t ConstantManager::GetSIntConstId(int32_t val) { in GetSIntConstId()
492 const Constant* ConstantManager::GetIntConst(uint64_t val, int32_t bitWidth, in GetIntConst()
517 uint32_t ConstantManager::GetUIntConstId(uint32_t val) { in GetUIntConstId()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/include/mlir-hlo/Dialect/mhlo/IR/
H A Dchlo_ops.h73 static Value getConstantLike(OpBuilder& b, Location loc, T constant, in getConstantLike()
74 Value val) { in getConstantLike()
/aosp_15_r20/external/mesa3d/src/panfrost/lib/
H A Dpan_blend.c124 float constant = pan_blend_get_constant(mask, constants); in pan_blend_is_homogenous_constant() local
308 is_factor_01(enum pipe_blendfactor factor, unsigned val, unsigned srca) in is_factor_01()
613 nir_def *constant = nir_build_imm(b, 4, 32, constants); in pan_inline_blend_constants() local
/aosp_15_r20/external/mesa3d/src/freedreno/decode/
H A Dpgmdump.c207 struct constant { struct
208 uint32_t unknown1;
209 uint32_t unknown2;
210 uint32_t unknown3;
211 uint32_t const_idx;
212 float val[]; member
361 dump_constant(struct constant *constant) in dump_constant()
/aosp_15_r20/external/deqp/scripts/khr_util/
H A Dformat.py43 def nextMod (val, mod): argument
102 def normalizeConstant (constant): argument
/aosp_15_r20/external/mesa3d/src/compiler/nir/
H A Dnir_opt_large_constants.c200 nir_deref_instr *deref, nir_const_value *val, in handle_constant_store()
310 struct small_constant *constant = &info->small_constant; in build_small_constant_load() local
442 nir_const_value *val = nir_src_as_const_value(intrin->src[1]); in nir_opt_large_constants() local
550 nir_def *val = build_small_constant_load(&b, deref, info, size_align); in nir_opt_large_constants() local
555 nir_def *val = build_constant_load(&b, deref, size_align); in nir_opt_large_constants() local
/aosp_15_r20/external/angle/third_party/spirv-tools/src/test/val/
H A Dval_constants_test.cpp29 namespace val { namespace
407 std::string constant = GetParam(); in TEST_P() local
/aosp_15_r20/prebuilts/go/linux-x86/src/go/constant/
Dvalue_test.go5 package constant package
443 func val(lit string) Value { func
/aosp_15_r20/external/swiftshader/third_party/SPIRV-Tools/test/val/
H A Dval_constants_test.cpp29 namespace val { namespace
407 std::string constant = GetParam(); in TEST_P() local
/aosp_15_r20/external/deqp-deps/SPIRV-Tools/test/val/
Dval_constants_test.cpp29 namespace val { namespace
407 std::string constant = GetParam(); in TEST_P() local
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/
Dsccp.go45 constant // constant const
51 val *Value // constant value member
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/mhlo/IR/
H A Dchlo_ops.cc37 Value getConstantLikeMaxFiniteValue(OpBuilder& b, Location loc, Value val) { in getConstantLikeMaxFiniteValue()
43 Value getConstantLikeInfValue(OpBuilder& b, Location loc, Value val, in getConstantLikeInfValue()
51 Value val) { in getConstantLikeSmallestFiniteValue()
57 Value getConstantLike(OpBuilder& b, Location loc, const APFloat& constant, in getConstantLike()
58 Value val) { in getConstantLike()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/service/gpu/
H A Dparallel_loop_emitter.cc322 auto constant = [&](int64_t val) { in EmitLoop() local
/aosp_15_r20/external/python/cpython2/Python/
Dpeephole.c23 #define SETARG(arr, i, val) arr[i+2] = val>>8; arr[i+1] = val & 255 argument
39 PyObject *newconst, *constant; in tuple_of_constants() local

12345678910>>...33