Home
last modified time | relevance | path

Searched refs:declare_global (Results 1 – 25 of 103) sorted by relevance

12345

/dports/devel/py-mypy/mypy-0.910/mypyc/codegen/
H A Demitmodule.py630 self.declare_global('PyObject *[%d]' % literals.num_literals(), 'CPyStatics')
633 self.declare_global('const char * const []', 'CPyLit_Str', initializer=init_str)
639 self.declare_global('const char * const []', 'CPyLit_Int', initializer=init_int)
642 self.declare_global('const double []', 'CPyLit_Float', initializer=init_floats)
645 self.declare_global('const double []', 'CPyLit_Complex', initializer=init_complex)
648 self.declare_global('const int []', 'CPyLit_Tuple', initializer=init_tuple)
964 def declare_global(self, type_spaced: str, name: str, member in GroupGenerator
985 self.declare_global('PyObject *', static_name)
996 self.declare_global('CPyModule *', internal_static_name, initializer='NULL')
998 self.declare_global('CPyModule *', static_name)
[all …]
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_codegen_llvm/src/
H A Ddeclare.rs58 pub fn declare_global(&self, name: &str, ty: &'ll Type) -> &'ll Value { in declare_global() method
109 Some(self.declare_global(name, ty)) in define_global()
H A Dconsts.rs181 let g1 = cx.declare_global(sym, llty2); in check_and_apply_linkage()
205 cx.declare_global(sym, llty) in check_and_apply_linkage()
272 let g = self.declare_global(sym, llty); in get_static()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_codegen_gcc/src/
H A Ddeclare.rs25 self.declare_global(name, ty, is_tls, link_section) in get_or_insert_global()
50 …pub fn declare_global(&self, name: &str, ty: Type<'gcc>, is_tls: bool, link_section: Option<Symbol… in declare_global() method
H A Dconsts.rs217 let global = self.declare_global(&sym, llty, is_tls, fn_attrs.link_section); in get_static()
388 cx.declare_global(&sym, llty, is_tls, attrs.link_section) in check_and_apply_linkage()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/test/Bindings/OCaml/
H A Dcore.ml490 let g = declare_global i32_type "GVar01" m in
493 type_of (declare_global float_type "GVar01" m));
494 insist (g == declare_global i32_type "GVar01" m);
515 let g2 = declare_global i32_type "GVar03" m ++
574 let g1 = declare_global i32_type "One" m in
575 let g2 = declare_global i32_type "Two" m in
1084 let g0 = declare_global (pointer_type i8_type) "g0" m in
1085 let g1 = declare_global (pointer_type i8_type) "g1" m in
1206 let ztic = declare_global (pointer_type i8_type) "_ZTIc" m in
1207 let ztid = declare_global (pointer_type i8_type) "_ZTId" m in
[all …]
H A Dtarget.ml59 assert_equal (DL.preferred_align_of_global (declare_global sty "g" m) dl) 8;
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/test/Bindings/OCaml/
H A Dcore.ml490 let g = declare_global i32_type "GVar01" m in
493 type_of (declare_global float_type "GVar01" m));
494 insist (g == declare_global i32_type "GVar01" m);
515 let g2 = declare_global i32_type "GVar03" m ++
574 let g1 = declare_global i32_type "One" m in
575 let g2 = declare_global i32_type "Two" m in
1084 let g0 = declare_global (pointer_type i8_type) "g0" m in
1085 let g1 = declare_global (pointer_type i8_type) "g1" m in
1206 let ztic = declare_global (pointer_type i8_type) "_ZTIc" m in
1207 let ztid = declare_global (pointer_type i8_type) "_ZTId" m in
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/test/Bindings/OCaml/
H A Dcore.ml490 let g = declare_global i32_type "GVar01" m in
493 type_of (declare_global float_type "GVar01" m));
494 insist (g == declare_global i32_type "GVar01" m);
515 let g2 = declare_global i32_type "GVar03" m ++
574 let g1 = declare_global i32_type "One" m in
575 let g2 = declare_global i32_type "Two" m in
1084 let g0 = declare_global (pointer_type i8_type) "g0" m in
1085 let g1 = declare_global (pointer_type i8_type) "g1" m in
1206 let ztic = declare_global (pointer_type i8_type) "_ZTIc" m in
1207 let ztid = declare_global (pointer_type i8_type) "_ZTId" m in
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/test/Bindings/OCaml/
H A Dcore.ml490 let g = declare_global i32_type "GVar01" m in
493 type_of (declare_global float_type "GVar01" m));
494 insist (g == declare_global i32_type "GVar01" m);
515 let g2 = declare_global i32_type "GVar03" m ++
574 let g1 = declare_global i32_type "One" m in
575 let g2 = declare_global i32_type "Two" m in
1084 let g0 = declare_global (pointer_type i8_type) "g0" m in
1085 let g1 = declare_global (pointer_type i8_type) "g1" m in
1206 let ztic = declare_global (pointer_type i8_type) "_ZTIc" m in
1207 let ztid = declare_global (pointer_type i8_type) "_ZTId" m in
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/test/Bindings/OCaml/
H A Dcore.ml490 let g = declare_global i32_type "GVar01" m in
493 type_of (declare_global float_type "GVar01" m));
494 insist (g == declare_global i32_type "GVar01" m);
515 let g2 = declare_global i32_type "GVar03" m ++
574 let g1 = declare_global i32_type "One" m in
575 let g2 = declare_global i32_type "Two" m in
1084 let g0 = declare_global (pointer_type i8_type) "g0" m in
1085 let g1 = declare_global (pointer_type i8_type) "g1" m in
1206 let ztic = declare_global (pointer_type i8_type) "_ZTIc" m in
1207 let ztid = declare_global (pointer_type i8_type) "_ZTId" m in
[all …]
/dports/graphics/llvm-mesa/llvm-13.0.1.src/test/Bindings/OCaml/
H A Dcore.ml490 let g = declare_global i32_type "GVar01" m in
493 type_of (declare_global float_type "GVar01" m));
494 insist (g == declare_global i32_type "GVar01" m);
515 let g2 = declare_global i32_type "GVar03" m ++
574 let g1 = declare_global i32_type "One" m in
575 let g2 = declare_global i32_type "Two" m in
1084 let g0 = declare_global (pointer_type i8_type) "g0" m in
1085 let g1 = declare_global (pointer_type i8_type) "g1" m in
1206 let ztic = declare_global (pointer_type i8_type) "_ZTIc" m in
1207 let ztid = declare_global (pointer_type i8_type) "_ZTId" m in
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/test/Bindings/OCaml/
H A Dcore.ml514 let g = declare_global i32_type "GVar01" m in
517 type_of (declare_global float_type "GVar01" m));
518 insist (g == declare_global i32_type "GVar01" m);
539 let g2 = declare_global i32_type "GVar03" m ++
594 let g1 = declare_global i32_type "One" m in
595 let g2 = declare_global i32_type "Two" m in
1104 let g0 = declare_global (pointer_type i8_type) "g0" m in
1105 let g1 = declare_global (pointer_type i8_type) "g1" m in
1226 let ztic = declare_global (pointer_type i8_type) "_ZTIc" m in
1227 let ztid = declare_global (pointer_type i8_type) "_ZTId" m in
[all …]
H A Dtarget.ml59 assert_equal (DL.preferred_align_of_global (declare_global sty "g" m) dl) 8;
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/test/Bindings/OCaml/
H A Dcore.ml514 let g = declare_global i32_type "GVar01" m in
517 type_of (declare_global float_type "GVar01" m));
518 insist (g == declare_global i32_type "GVar01" m);
539 let g2 = declare_global i32_type "GVar03" m ++
594 let g1 = declare_global i32_type "One" m in
595 let g2 = declare_global i32_type "Two" m in
1104 let g0 = declare_global (pointer_type i8_type) "g0" m in
1105 let g1 = declare_global (pointer_type i8_type) "g1" m in
1226 let ztic = declare_global (pointer_type i8_type) "_ZTIc" m in
1227 let ztid = declare_global (pointer_type i8_type) "_ZTId" m in
[all …]
H A Dtarget.ml59 assert_equal (DL.preferred_align_of_global (declare_global sty "g" m) dl) 8;
/dports/devel/llvm10/llvm-10.0.1.src/test/Bindings/OCaml/
H A Dcore.ml514 let g = declare_global i32_type "GVar01" m in
517 type_of (declare_global float_type "GVar01" m));
518 insist (g == declare_global i32_type "GVar01" m);
539 let g2 = declare_global i32_type "GVar03" m ++
594 let g1 = declare_global i32_type "One" m in
595 let g2 = declare_global i32_type "Two" m in
1104 let g0 = declare_global (pointer_type i8_type) "g0" m in
1105 let g1 = declare_global (pointer_type i8_type) "g1" m in
1226 let ztic = declare_global (pointer_type i8_type) "_ZTIc" m in
1227 let ztid = declare_global (pointer_type i8_type) "_ZTId" m in
[all …]
H A Dtarget.ml59 assert_equal (DL.preferred_align_of_global (declare_global sty "g" m) dl) 8;
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/test/Bindings/OCaml/
H A Dcore.ml522 let g = declare_global i32_type "GVar01" m in
525 type_of (declare_global float_type "GVar01" m));
526 insist (g == declare_global i32_type "GVar01" m);
547 let g2 = declare_global i32_type "GVar03" m ++
602 let g1 = declare_global i32_type "One" m in
603 let g2 = declare_global i32_type "Two" m in
1112 let g0 = declare_global (pointer_type i8_type) "g0" m in
1113 let g1 = declare_global (pointer_type i8_type) "g1" m in
1234 let ztic = declare_global (pointer_type i8_type) "_ZTIc" m in
1235 let ztid = declare_global (pointer_type i8_type) "_ZTId" m in
[all …]
/dports/devel/llvm11/llvm-11.0.1.src/test/Bindings/OCaml/
H A Dcore.ml514 let g = declare_global i32_type "GVar01" m in
517 type_of (declare_global float_type "GVar01" m));
518 insist (g == declare_global i32_type "GVar01" m);
539 let g2 = declare_global i32_type "GVar03" m ++
594 let g1 = declare_global i32_type "One" m in
595 let g2 = declare_global i32_type "Two" m in
1104 let g0 = declare_global (pointer_type i8_type) "g0" m in
1105 let g1 = declare_global (pointer_type i8_type) "g1" m in
1226 let ztic = declare_global (pointer_type i8_type) "_ZTIc" m in
1227 let ztid = declare_global (pointer_type i8_type) "_ZTId" m in
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/test/Bindings/OCaml/
H A Dcore.ml514 let g = declare_global i32_type "GVar01" m in
517 type_of (declare_global float_type "GVar01" m));
518 insist (g == declare_global i32_type "GVar01" m);
539 let g2 = declare_global i32_type "GVar03" m ++
594 let g1 = declare_global i32_type "One" m in
595 let g2 = declare_global i32_type "Two" m in
1104 let g0 = declare_global (pointer_type i8_type) "g0" m in
1105 let g1 = declare_global (pointer_type i8_type) "g1" m in
1226 let ztic = declare_global (pointer_type i8_type) "_ZTIc" m in
1227 let ztid = declare_global (pointer_type i8_type) "_ZTId" m in
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/test/Bindings/OCaml/
H A Dcore.ml522 let g = declare_global i32_type "GVar01" m in
525 type_of (declare_global float_type "GVar01" m));
526 insist (g == declare_global i32_type "GVar01" m);
547 let g2 = declare_global i32_type "GVar03" m ++
602 let g1 = declare_global i32_type "One" m in
603 let g2 = declare_global i32_type "Two" m in
1112 let g0 = declare_global (pointer_type i8_type) "g0" m in
1113 let g1 = declare_global (pointer_type i8_type) "g1" m in
1234 let ztic = declare_global (pointer_type i8_type) "_ZTIc" m in
1235 let ztid = declare_global (pointer_type i8_type) "_ZTId" m in
[all …]
/dports/devel/llvm90/llvm-9.0.1.src/test/Bindings/OCaml/
H A Dcore.ml514 let g = declare_global i32_type "GVar01" m in
517 type_of (declare_global float_type "GVar01" m));
518 insist (g == declare_global i32_type "GVar01" m);
539 let g2 = declare_global i32_type "GVar03" m ++
594 let g1 = declare_global i32_type "One" m in
595 let g2 = declare_global i32_type "Two" m in
1104 let g0 = declare_global (pointer_type i8_type) "g0" m in
1105 let g1 = declare_global (pointer_type i8_type) "g1" m in
1226 let ztic = declare_global (pointer_type i8_type) "_ZTIc" m in
1227 let ztid = declare_global (pointer_type i8_type) "_ZTId" m in
[all …]
/dports/devel/llvm80/llvm-8.0.1.src/test/Bindings/OCaml/
H A Dcore.ml514 let g = declare_global i32_type "GVar01" m in
517 type_of (declare_global float_type "GVar01" m));
518 insist (g == declare_global i32_type "GVar01" m);
539 let g2 = declare_global i32_type "GVar03" m ++
594 let g1 = declare_global i32_type "One" m in
595 let g2 = declare_global i32_type "Two" m in
1104 let g0 = declare_global (pointer_type i8_type) "g0" m in
1105 let g1 = declare_global (pointer_type i8_type) "g1" m in
1226 let ztic = declare_global (pointer_type i8_type) "_ZTIc" m in
1227 let ztid = declare_global (pointer_type i8_type) "_ZTId" m in
[all …]
/dports/devel/llvm70/llvm-7.0.1.src/test/Bindings/OCaml/
H A Dcore.ml514 let g = declare_global i32_type "GVar01" m in
517 type_of (declare_global float_type "GVar01" m));
518 insist (g == declare_global i32_type "GVar01" m);
539 let g2 = declare_global i32_type "GVar03" m ++
594 let g1 = declare_global i32_type "One" m in
595 let g2 = declare_global i32_type "Two" m in
1104 let g0 = declare_global (pointer_type i8_type) "g0" m in
1105 let g1 = declare_global (pointer_type i8_type) "g1" m in
1226 let ztic = declare_global (pointer_type i8_type) "_ZTIc" m in
1227 let ztid = declare_global (pointer_type i8_type) "_ZTId" m in
[all …]

12345