Home
last modified time | relevance | path

Searched refs:inty (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/libclc/generic/lib/math/
Dclc_pow.cl183 * inty = 0 means not an integer.
184 * inty = 1 means odd integer.
185 * inty = 2 means even integer.
191 int inty = yodd ? 1 : 2;
192 inty = (iy & mask) != 0 ? 0 : inty;
193 inty = yexp < 1 ? 0 : inty;
194 inty = yexp > 24 ? 2 : inty;
197 expylogx = ((inty == 1) & !xpos) ? signval : expylogx;
201 ret = (!xpos & (inty == 0)) ? QNANBITPATT_SP32 : ret;
207 ret = ((ax == 0) & !ypos & (inty == 1)) ? xinf : ret;
[all …]
Dclc_pown.cl181 // inty = 0 means not an integer.
182 // inty = 1 means odd integer.
183 // inty = 2 means even integer.
185 int inty = 2 - (ny & 1);
188 expylogx = ((inty == 1) & !xpos) ? signval : expylogx;
193 ret = ((ax == 0) & !ypos & (inty == 1)) ? xinf : ret;
194 ret = ((ax == 0) & !ypos & (inty == 2)) ? PINFBITPATT_SP32 : ret;
195 ret = ((ax == 0) & ypos & (inty == 2)) ? 0 : ret;
197 ret = ((ax == 0) & ypos & (inty == 1)) ? xzero : ret;
198 ret = ((ix == NINFBITPATT_SP32) & !ypos & (inty == 1)) ? 0x80000000 : ret;
[all …]
Dclc_rootn.cl185 // inty = 0 means not an integer.
186 // inty = 1 means odd integer.
187 // inty = 2 means even integer.
189 int inty = 2 - (ny & 1);
192 expylogx = ((inty == 1) & !xpos) ? signval : expylogx;
196 ret = (!xpos & (inty == 2)) ? QNANBITPATT_SP32 : ret;
198 ret = ((ax == 0) & !ypos & (inty == 1)) ? xinf : ret;
199 ret = ((ax == 0) & !ypos & (inty == 2)) ? PINFBITPATT_SP32 : ret;
200 ret = ((ax == 0) & ypos & (inty == 2)) ? 0 : ret;
202 ret = ((ax == 0) & ypos & (inty == 1)) ? xzero : ret;
[all …]
Dclc_powr.cl179 // inty = 0 means not an integer.
180 // inty = 1 means odd integer.
181 // inty = 2 means even integer.
186 int inty = yodd ? 1 : 2;
187 inty = (iy & mask) != 0 ? 0 : inty;
188 inty = yexp < 1 ? 0 : inty;
189 inty = yexp > 24 ? 2 : inty;
192 expylogx = ((inty == 1) & !xpos) ? signval : expylogx;
340 // inty = 0 means not an integer.
341 // inty = 1 means odd integer.
[all …]
/external/python/pybind11/docs/advanced/cast/
Dcustom.rst9 The following snippets demonstrate how this works for a very simple ``inty``
15 struct inty { long long_value; };
17 void print(inty s) {
40 template <> struct type_caster<inty> {
43 * This macro establishes the name 'inty' in
45 * 'value' of type inty
47 PYBIND11_TYPE_CASTER(inty, _("inty"));
50 * Conversion part 1 (Python->C++): convert a PyObject into a inty
69 * Conversion part 2 (C++ -> Python): convert an inty instance into
75 static handle cast(inty src, return_value_policy /* policy */, handle /* parent */) {
/external/clang/test/Analysis/
Dbug_hash_test.m392 // CHECK-NEXT: <string>debug.DumpBugHash$void testBlocks()$3$^{inty=1+x;}();$debug</string>
394 // CHECK-NEXT: <string>debug.DumpBugHash$void testBlocks()$3$^{inty=1+x;}();$debug</string>
397 // CHECK-NEXT: <key>description</key><string>debug.DumpBugHash$void testBlocks()$3$^{inty=1+x;}()…
475 // CHECK-NEXT: <string>debug.DumpBugHash$void testBlocks()$3$^{inty=1+x;}();$debug</string>
477 // CHECK-NEXT: <string>debug.DumpBugHash$void testBlocks()$3$^{inty=1+x;}();$debug</string>
480 // CHECK-NEXT: <key>description</key><string>debug.DumpBugHash$void testBlocks()$3$^{inty=1+x;}()…
635 // CHECK-NEXT: <string>debug.DumpBugHash$$6$^{inty=1+x;}();$debug</string>
637 // CHECK-NEXT: <string>debug.DumpBugHash$$6$^{inty=1+x;}();$debug</string>
640 // CHECK-NEXT: <key>description</key><string>debug.DumpBugHash$$6$^{inty=1+x;}();$debug</string>
826 // CHECK-NEXT: <string>debug.DumpBugHash$$14$^{inty=1+x;}();$debug</string>
[all …]
/external/llvm-project/flang/lib/Optimizer/Dialect/
DFIROps.cpp475 mlir::TypeAttr inty) { in build() argument
476 result.addAttribute("in_type", inty); in build()
477 result.addTypes(TypeDescType::get(inty.getValue())); in build()
/external/llvm-project/flang/include/flang/Optimizer/Dialect/
DFIROps.td2609 OpBuilderDAG<(ins "mlir::TypeAttr":$inty)>