Home
last modified time | relevance | path

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

12

/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/mesa3d/src/compiler/glsl/
Dast_type.cpp866 ir_constant *const const_int = in process_qualifier_constant() local
869 if (const_int == NULL || !const_int->type->is_integer()) { in process_qualifier_constant()
876 if (const_int->value.i[0] < min_value) { in process_qualifier_constant()
880 const_int->value.i[0], min_value); in process_qualifier_constant()
884 if (!first_pass && *value != const_int->value.u[0]) { in process_qualifier_constant()
888 qual_indentifier, *value, const_int->value.i[0]); in process_qualifier_constant()
892 *value = const_int->value.u[0]; in process_qualifier_constant()
923 ir_constant *const const_int = in process_qualifier_constant() local
925 if (const_int == NULL || !const_int->type->is_integer()) { in process_qualifier_constant()
931 if (const_int->value.i[0] < 0) { in process_qualifier_constant()
[all …]
/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/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/swiftshader/third_party/llvm-7.0/llvm/test/Bindings/OCaml/
Dcore.ml84 let c = const_int i32_type 42 in
110 (* CHECK: const_int{{.*}}i32{{.*}}-1
113 let c = const_int i32_type (-1) in
114 ignore (define_global "const_int" c m);
122 let c = const_int i64_type (-1) in
155 let c = const_int i64_type (1 lsl 61) in
207 let one = const_int i16_type 1 in
208 let two = const_int i16_type 2 in
209 let three = const_int i32_type 3 in
210 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/swiftshader/third_party/LLVM/test/Bindings/Ocaml/
Dvmcore.ml87 (* RUN: grep {const_int.*i32.*-1} < %t.ll
90 let c = const_int i32_type (-1) in
91 ignore (define_global "const_int" c m);
98 let c = const_int i64_type (-1) in
148 let one = const_int i16_type 1 in
149 let two = const_int i16_type 2 in
150 let three = const_int i32_type 3 in
151 let four = const_int i32_type 4 in
236 let five = const_int i64_type 5 in
298 [| const_int i32_type 1 |])
[all …]
Dipo_opts.ml41 ignore (build_ret (const_int i8_type 4) (builder_at_end context (entry_block fn)));
Dexecutionengine.ml30 ignore (build_ret (const_int i32_type retval) b);
/external/bcc/src/cc/frontends/b/
Dcodegen_llvm.h92 llvm::Constant * const_int(uint64_t val, unsigned bits = 64, bool is_signed = false);
Dcodegen_llvm.cc287 vector<Value *> indices({const_int(0), const_int(n->sub_decl_->slot_, 32)}); in visit_ident_expr_node()
1307 Constant * CodegenLLVM::const_int(uint64_t val, unsigned bits, bool is_signed) { in const_int() function in ebpf::cc::CodegenLLVM
/external/tensorflow/tensorflow/python/kernel_tests/
Dcheck_ops_test.py1570 const_int = constant_op.constant(3, dtype=dtypes.int32)
1572 [sparse_float, const_int])
1574 [sparse_float, const_int], dtypes.int32)
1576 [sparse_float, const_int], dtypes.float32)
1578 [const_int])
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/
Dllvm.mli711 (** [const_int ty i] returns the integer constant of type [ty] and value [i].
713 val const_int : lltype -> int -> llvalue val
790 (const_int i32_type 0) (const_int i32_type 1)) i32_type], but considerably
796 (const_int i32_type 1)) i64_type], but considerably more readable.
Dllvm.ml396 external const_int : lltype -> int -> llvalue = "llvm_const_int"
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_insn.c1931 struct src_register const_int = get_loop_const( emit ); in emit_bgnloop() local
1937 emit_src( emit, const_int ) ); in emit_bgnloop()
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/ocaml/llvm/
Dllvm.mli898 (** [const_int ty i] returns the integer constant of type [ty] and value [i].
900 val const_int : lltype -> int -> llvalue val
986 (const_int i32_type 0) (const_int i32_type 1)) i32_type], but considerably
992 (const_int i32_type 1)) i64_type], but considerably more readable.
Dllvm.ml562 external const_int : lltype -> int -> llvalue = "llvm_const_int"
/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

12