Home
last modified time | relevance | path

Searched refs:unop (Results 1 – 25 of 42) sorted by relevance

12

/aosp_15_r20/external/mesa3d/src/compiler/nir/
H A Dnir_opcodes.py168 def unop(name, ty, const_expr, description = "", algebraic_properties = ""): function
200 unop("mov", tuint, "src0")
202 unop("ineg", tint, "src0 == u_intN_min(bit_size) ? src0 : -src0")
203 unop("fneg", tfloat, "-src0")
204 unop("inot", tint, "~src0", description = "Invert every bit of the integer")
206 unop("fsign", tfloat, ("bit_size == 64 ? " +
226 unop("isign", tint, "(src0 == 0) ? 0 : ((src0 > 0) ? 1 : -1)")
227 unop("iabs", tint, "(src0 < 0) ? -src0 : src0")
228 unop("fabs", tfloat, "fabs(src0)")
229 unop("fsat", tfloat, ("fmin(fmax(src0, 0.0), 1.0)"))
[all …]
/aosp_15_r20/external/apache-commons-bcel/src/examples/Mini/
H A DASTExpr.java53 private int unop=-1; // Special case: Unary operand applied field in ASTExpr
104 if(unop != -1) { in toString()
105 op = tokenImage[unop]; in toString()
137 if((kind == -1) && (unop == -1)) { in traverse()
159 if(unop != -1) { in eval()
160 if(unop == MINUS) { in eval()
207 if(unop != -1) { in code()
210 if(unop == MINUS) { in code()
257 if(unop != -1) { // Apply unary operand in byte_code()
258 if(unop == MINUS) { in byte_code()
[all …]
/aosp_15_r20/external/llvm/test/Transforms/InstCombine/
H A Dcast_ptr.ll104 %unop = type { i32 }
109 define %unop* @test5(%op* %O) {
110 …%tmp = load %unop* (%op*)*, %unop* (%op*)** bitcast ([1 x %op* (%op*)*]* @Array to %unop* (%op*)**…
111 %tmp.2 = call %unop* %tmp( %op* %O ) ; <%unop*> [#uses=1]
112 ret %unop* %tmp.2
/aosp_15_r20/art/runtime/interpreter/mterp/arm64ng/
H A Darithmetic.S228 %def unop(instr=""):
337 % unop(instr="sxtb w0, w0")
340 % unop(instr="uxth w0, w0")
353 % unop(instr="sxth w0, w0")
382 % unop(instr="sub w0, wzr, w0")
388 % unop(instr="mvn w0, w0")
H A Dfloating_point.S264 % unop(instr="eor w0, w0, #0x80000000")
/aosp_15_r20/art/runtime/interpreter/mterp/x86_64ng/
H A Darithmetic.S346 %def unop(preinstr="", instr="", wide="0"):
443 % unop(instr="movsbl %al, %eax")
446 % unop(instr="movzwl %ax,%eax")
459 % unop(instr="movswl %ax, %eax")
498 % unop(instr=" negl %eax")
501 % unop(instr=" negq %rax", wide="1")
504 % unop(instr=" notl %eax")
507 % unop(instr=" notq %rax", wide="1")
H A Dfloating_point.S169 % unop(preinstr=" movq $0x8000000000000000, %rsi", instr=" xorq %rsi, %rax", wide="1")
172 % unop(instr=" xorl $0x80000000, %eax")
/aosp_15_r20/prebuilts/go/linux-x86/test/fixedbugs/
Dissue9604b.go101 type unop struct { struct
106 var unops = []unop{
107 unop{"+", func(x *big.Int) *big.Int { return new(big.Int).Set(x) }},
108 unop{"-", func(x *big.Int) *big.Int { return new(big.Int).Neg(x) }},
109 unop{"^", func(x *big.Int) *big.Int { return new(big.Int).Not(x) }},
/aosp_15_r20/external/rust/android-crates-io/crates/glam/benches/support/
Dmacros.rs27 ($name: ident, $desc: expr, op => $unop: ident, from => $from: expr) => {
34 let mut outputs = vec![$from(&mut rng).$unop(); SIZE];
40 *outputs.get_unchecked_mut(i) = inputs.get_unchecked(i).$unop();
/aosp_15_r20/art/runtime/interpreter/mterp/x86ng/
H A Darithmetic.S343 %def unop(instr=""):
485 % unop(instr="movsbl %al, %eax")
488 % unop(instr="movzwl %ax,%eax")
505 % unop(instr="movswl %ax, %eax")
635 % unop(instr="negl %eax")
653 % unop(instr="notl %eax")
/aosp_15_r20/external/starlark-go/starlark/
H A Dinterp.go181 var unop syntax.Token
183 unop = syntax.TILDE
185 unop = syntax.Token(op-compile.UPLUS) + syntax.PLUS
188 y, err2 := Unary(unop, x)
/aosp_15_r20/art/runtime/interpreter/mterp/armng/
H A Darithmetic.S210 %def unop(preinstr="", instr=""):
491 % unop(instr="sxtb r0, r0")
494 % unop(instr="uxth r0, r0")
500 % unop(instr="sxth r0, r0")
590 % unop(instr="rsb r0, r0, #0")
596 % unop(instr="mvn r0, r0")
/aosp_15_r20/external/angle/third_party/glslang/src/glslang/MachineIndependent/preprocessor/
H A DPp.cpp408 } unop[] = { variable
481 int op = NUM_ELEMENTS(unop) - 1; in eval()
483 if (unop[op].token == token) in eval()
489 res = unop[op].op(res); in eval()
/aosp_15_r20/external/deqp-deps/glslang/glslang/MachineIndependent/preprocessor/
DPp.cpp406 } unop[] = { variable
479 int op = NUM_ELEMENTS(unop) - 1; in eval()
481 if (unop[op].token == token) in eval()
487 res = unop[op].op(res); in eval()
/aosp_15_r20/external/starlark-go/resolve/
H A Dresolve.go723 if unop, ok := arg.(*syntax.UnaryExpr); ok && unop.Op == syntax.STARSTAR {
730 } else if ok && unop.Op == syntax.STAR {
/aosp_15_r20/external/python/cpython2/Demo/parser/
Dunparse.py422 unop = {"Invert":"~", "Not": "not", "UAdd":"+", "USub":"-"} variable in Unparser
425 self.write(self.unop[t.op.__class__.__name__])
/aosp_15_r20/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
H A Dcodegen.ml28 build_call callee [|operand|] "unop" builder
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/
Dast.py1353 unop = {"Invert": "~", "Not": "not", "UAdd": "+", "USub": "-"} variable in _Unparser
1362 operator = self.unop[node.op.__class__.__name__]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/
Dast.py1353 unop = {"Invert": "~", "Not": "not", "UAdd": "+", "USub": "-"} variable in _Unparser
1362 operator = self.unop[node.op.__class__.__name__]
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/
H A Dast.py1353 unop = {"Invert": "~", "Not": "not", "UAdd": "+", "USub": "-"} variable in _Unparser
1362 operator = self.unop[node.op.__class__.__name__]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/
Dast.py1353 unop = {"Invert": "~", "Not": "not", "UAdd": "+", "USub": "-"} variable in _Unparser
1362 operator = self.unop[node.op.__class__.__name__]
/aosp_15_r20/external/python/cpython3/Lib/
Dast.py1353 unop = {"Invert": "~", "Not": "not", "UAdd": "+", "USub": "-"} variable in _Unparser
1362 operator = self.unop[node.op.__class__.__name__]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/
Dast.py1353 unop = {"Invert": "~", "Not": "not", "UAdd": "+", "USub": "-"} variable in _Unparser
1362 operator = self.unop[node.op.__class__.__name__]
/aosp_15_r20/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
H A Dcodegen.ml37 build_call callee [|operand|] "unop" builder
/aosp_15_r20/external/llvm/docs/tutorial/
H A DOCamlLangImpl6.rst398 build_call callee [|operand|] "unop" builder
1087 build_call callee [|operand|] "unop" builder

12