Home
last modified time | relevance | path

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

/external/clang/test/Parser/
Datomic.c7 typedef const int const_int; typedef
14 typedef _Atomic const_int const_atomic_int;
15 typedef _Atomic(const_int) const_atomic_int; // expected-error {{_Atomic cannot be applied to quali…
/external/clang/test/Sema/
Dconditional-expr.c63 const int *const_int; in foo() local
65 …*(test0 ? const_int : nonconst_int) = 42; // expected-error {{read-only variable is not assignable… in foo()
66 …*(test0 ? nonconst_int : const_int) = 42; // expected-error {{read-only variable is not assignable… in foo()
/external/mesa3d/src/compiler/glsl/
Dast_type.cpp987 ir_constant *const const_int = in process_qualifier_constant() local
990 if (const_int == NULL || !glsl_type_is_integer_32(const_int->type)) { in process_qualifier_constant()
997 if (const_int->value.i[0] < min_value) { in process_qualifier_constant()
1001 const_int->value.i[0], min_value); in process_qualifier_constant()
1005 if (!first_pass && *value != const_int->value.u[0]) { in process_qualifier_constant()
1009 qual_indentifier, *value, const_int->value.i[0]); in process_qualifier_constant()
1013 *value = const_int->value.u[0]; in process_qualifier_constant()
1044 ir_constant *const const_int = in process_qualifier_constant() local
1046 if (const_int == NULL || !glsl_type_is_integer_32(const_int->type)) { in process_qualifier_constant()
1052 if (const_int->value.i[0] < 0) { in process_qualifier_constant()
[all …]
/external/llvm/test/Bindings/OCaml/
Dcore.ml74 let c = const_int i32_type 42 in
100 (* CHECK: const_int{{.*}}i32{{.*}}-1
103 let c = const_int i32_type (-1) in
104 ignore (define_global "const_int" c m);
112 let c = const_int i64_type (-1) in
145 let c = const_int i64_type (1 lsl 61) in
197 let one = const_int i16_type 1 in
198 let two = const_int i16_type 2 in
199 let three = const_int i32_type 3 in
200 let four = const_int i32_type 4 in
[all …]
Dirreader.ml41 insist ((global_initializer foo) = (const_int (i32_type context) 42))
Dipo.ml44 ignore (build_ret (const_int i8_type 4) (builder_at_end context (entry_block fn)));
Dexecutionengine.ml56 ignore (define_global "globvar" (const_int i32_type 23) m);
/external/pytorch/test/cpp/jit/
Dtest_shape_analysis.cpp440 c10::IValue const_int = 1; in TEST() local
444 auto res = calculateSymbolicShapesOnOp(squeeze_op, {ss1, const_int}); in TEST()
448 res = calculateSymbolicShapesOnOp(mul_scalar, {ss1, const_int}); in TEST()
462 res = calculateSymbolicShapesOnOp(mul_scalar, {ss1, const_int}); in TEST()
478 c10::IValue const_int = 1; in TEST() local
485 calculateSymbolicShapesOnOp(max_dim_op, {ss1, const_int, false_ival}); in TEST()
493 res = calculateSymbolicShapesOnOp(max_dim_op, {ss2, const_int, false_ival}); in TEST()
/external/tensorflow/tensorflow/python/kernel_tests/
Dcheck_ops_test.py2198 const_int = constant_op.constant(3, dtype=dtypes.int32)
2200 [sparse_float, const_int])
2202 [sparse_float, const_int], dtypes.int32)
2204 [sparse_float, const_int], dtypes.float32)
2206 [const_int])
/external/pytorch/torch/csrc/jit/passes/
Dsymbolic_shape_analysis.cpp447 if (auto const_int = shape_arg.asConstantInt()) { in substituteSymbolicProperties() local
448 replaceWithIValue(use.user->output(), const_int); in substituteSymbolicProperties()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_insn.c1912 struct src_register const_int = get_loop_const( emit ); in emit_bgnloop() local
1918 emit_src( emit, const_int ) ); in emit_bgnloop()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli874 (** [const_int ty i] returns the integer constant of type [ty] and value [i].
876 val const_int : lltype -> int -> llvalue val
962 (const_int i32_type 0) (const_int i32_type 1)) i32_type], but considerably
968 (const_int i32_type 1)) i64_type], but considerably more readable.
Dllvm.ml494 external const_int : lltype -> int -> llvalue = "llvm_const_int"
/external/deqp/external/vulkancts/data/vulkan/glsl/es310/
Dfunctions.test1489 case const_int
/external/deqp/data/gles2/shaders/
Dfunctions.test1149 case const_int
/external/deqp/data/gles3/shaders/
Dfunctions.test1516 case const_int