Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/Parser/
H A Datomic.c9 typedef const int const_int; typedef
17 typedef _Atomic const_int const_atomic_int; // ext-warning {{'_Atomic' is a C11 extension}}
18 typedef _Atomic(const_int) const_atomic_int; // expected-error {{_Atomic cannot be applied to quali…
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dbuiltins.cpp120 constexpr int const_int = 42; variable
122 constexpr const int *const_ptr = test_constexpr_launder(&const_int);
123 static_assert(&const_int == const_ptr, "");
136 static_assert(test_in_constexpr(const_int), "");
/llvm-project-15.0.7/clang/test/Sema/
H A 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()
/llvm-project-15.0.7/llvm/test/Bindings/OCaml/
H A Dcore.ml49 let c = const_int i32_type 42 in
78 let c = const_int i32_type (-1) in
87 let c = const_int i64_type (-1) in
172 let one = const_int i16_type 1 in
173 let two = const_int i16_type 2 in
175 let four = const_int i32_type 4 in
334 (const_int i8_type (-1))
335 (const_int i8_type 0)) m);
347 (const_vector [| const_int i32_type 0; const_int i32_type 1;
348 const_int i32_type 2; const_int i32_type 3 |])) m);
[all …]
H A Dirreader.ml41 insist ((global_initializer foo) = (Some (const_int (i32_type context) 42)))
H A Dipo.ml44 ignore (build_ret (const_int i8_type 4) (builder_at_end context (entry_block fn)));
H A Dexecutionengine.ml57 ignore (define_global "globvar" (const_int i32_type 23) m);
H A Ddebuginfo.ml55 Llvm.value_as_metadata @@ Llvm.const_int (Llvm.i32_type context) cur_ver
167 let zero = Llvm.const_int (Llvm.i32_type context) 0 in
/llvm-project-15.0.7/flang/test/Semantics/
H A Dio03.f9015 integer, parameter :: junit = 11, const_size = 13, const_int = 15 variable
68 read(11, *) const_int
/llvm-project-15.0.7/clang/test/Analysis/
H A Dglobals.cpp11 void const_int() in const_int() function
/llvm-project-15.0.7/clang/test/OpenMP/
H A Dtarget_num_teams_num_threads_attributes.cpp102 void const_int() { in const_int() function
/llvm-project-15.0.7/clang/test/CodeGenCUDA/
H A Ddevice-var-init.cu288 static const int const_int = 123; in df() local
/llvm-project-15.0.7/llvm/bindings/ocaml/llvm/
H A Dllvm.mli967 (** [const_int ty i] returns the integer constant of type [ty] and value [i].
969 val const_int : lltype -> int -> llvalue val
1056 (const_int i32_type 0) (const_int i32_type 1)) i32_type], but considerably
1062 (const_int i32_type 1)) i64_type], but considerably more readable.
H A Dllvm.ml607 external const_int : lltype -> int -> llvalue = "llvm_const_int"