Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_opcodes.py163 def unop(name, ty, const_expr): function
193 unop("mov", tuint, "src0")
195 unop("ineg", tint, "-src0")
196 unop("fneg", tfloat, "-src0")
197 unop("inot", tint, "~src0") # invert every bit of the integer
198 unop("fsign", tfloat, ("bit_size == 64 ? " +
201 unop("isign", tint, "(src0 == 0) ? 0 : ((src0 > 0) ? 1 : -1)")
202 unop("iabs", tint, "(src0 < 0) ? -src0 : src0")
203 unop("fabs", tfloat, "fabs(src0)")
204 unop("fsat", tfloat, ("fmin(fmax(src0, 0.0), 1.0)"))
[all …]
/external/apache-commons-bcel/src/examples/Mini/
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 …]
/external/llvm/test/Transforms/InstCombine/
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
/external/rust/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();
/external/starlark-go/starlark/
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)
/external/deqp-deps/glslang/glslang/MachineIndependent/preprocessor/
DPp.cpp408 } 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()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/preprocessor/
DPp.cpp408 } 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()
/external/starlark-go/resolve/
Dresolve.go723 if unop, ok := arg.(*syntax.UnaryExpr); ok && unop.Op == syntax.STARSTAR {
730 } else if ok && unop.Op == syntax.STAR {
/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__])
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Dcodegen.ml28 build_call callee [|operand|] "unop" builder
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
Dcodegen.ml37 build_call callee [|operand|] "unop" builder
/external/python/cpython3/Lib/
Dast.py1318 unop = {"Invert": "~", "Not": "not", "UAdd": "+", "USub": "-"} variable in _Unparser
1327 operator = self.unop[node.op.__class__.__name__]
/external/llvm/docs/tutorial/
DOCamlLangImpl6.rst398 build_call callee [|operand|] "unop" builder
1087 build_call callee [|operand|] "unop" builder
DLangImpl06.rst440 return Builder.CreateCall(F, OperandV, "unop");
DOCamlLangImpl7.rst1256 build_call callee [|operand|] "unop" builder
/external/mesa3d/src/compiler/glsl/
Dbuiltin_functions.cpp970 ir_function_signature *unop(builtin_available_predicate avail,
4959 builtin_builder::unop(builtin_available_predicate avail, in unop() function in builtin_builder
4974 return unop(&AVAIL, OPCODE, type, type); \
4981 return unop(avail, OPCODE, type, type); \
6900 return unop(gpu_shader5_or_es31_or_integer_functions, ir_unop_bit_count, in UNOP()
6907 return unop(gpu_shader5_or_es31_or_integer_functions, ir_unop_find_lsb, in _findLSB()
6914 return unop(gpu_shader5_or_es31_or_integer_functions, ir_unop_find_msb, in _findMSB()
6922 return unop(avail, ir_unop_clz, in _countLeadingZeros()
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.cc679 XlaOp XlaBuilder::UnaryOp(HloOpcode unop, XlaOp operand) { in UnaryOp() argument
683 Shape shape, ShapeInference::InferUnaryOpShape(unop, *operand_shape)); in UnaryOp()
684 return AddOpWithShape(unop, shape, {operand}); in UnaryOp()
Dxla_builder.h956 virtual XlaOp UnaryOp(HloOpcode unop, XlaOp operand);
/external/mesa3d/docs/relnotes/
D20.2.0.rst1273 - nir/algebraic: add some more unop + bcsel optimizations
/external/llvm/lib/Target/X86/
DX86InstrSSE.td3501 // the binops above. If the binop and unop patterns could all be unified