Home
last modified time | relevance | path

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

/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/
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/llvm/bindings/ocaml/llvm/
Dllvm.mli712 (** [const_int ty i] returns the integer constant of type [ty] and value [i].
714 val const_int : lltype -> int -> llvalue val
791 (const_int i32_type 0) (const_int i32_type 1)) i32_type], but considerably
797 (const_int i32_type 1)) i64_type], but considerably more readable.
Dllvm.ml397 external const_int : lltype -> int -> llvalue = "llvm_const_int"