Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_opcodes.py116 def unop(name, ty, const_expr): function
146 unop("fmov", tfloat, "src0")
147 unop("imov", tint, "src0")
149 unop("ineg", tint, "-src0")
150 unop("fneg", tfloat, "-src0")
151 unop("inot", tint, "~src0") # invert every bit of the integer
152 unop("fnot", tfloat, ("bit_size == 64 ? ((src0 == 0.0) ? 1.0 : 0.0f) : " +
154 unop("fsign", tfloat, ("bit_size == 64 ? " +
157 unop("isign", tint, "(src0 == 0) ? 0 : ((src0 > 0) ? 1 : -1)")
158 unop("iabs", tint, "(src0 < 0) ? -src0 : src0")
[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/swiftshader/third_party/LLVM/test/Transforms/InstCombine/
Dcast_ptr.ll54 %unop = type { i32 }
59 define %unop* @test5(%op* %O) {
60 …%tmp = load %unop* (%op*)** bitcast ([1 x %op* (%op*)*]* @Array to %unop* (%op*)**); <%unop* (%op*…
61 %tmp.2 = call %unop* %tmp( %op* %O ) ; <%unop*> [#uses=1]
62 ret %unop* %tmp.2
/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/swiftshader/third_party/llvm-7.0/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/deqp-deps/glslang/glslang/MachineIndependent/preprocessor/
DPp.cpp390 } unop[] = { variable
460 int op = NUM_ELEMENTS(unop) - 1; in eval()
462 if (unop[op].token == token) in eval()
468 res = unop[op].op(res); in eval()
/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/python/cpython3/Tools/parser/
Dunparse.py502 unop = {"Invert":"~", "Not": "not", "UAdd":"+", "USub":"-"} variable in Unparser
505 self.write(self.unop[t.op.__class__.__name__])
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter6/
Dcodegen.ml28 build_call callee [|operand|] "unop" builder
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Dcodegen.ml28 build_call callee [|operand|] "unop" builder
/external/swiftshader/third_party/llvm-7.0/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Dcodegen.ml28 build_call callee [|operand|] "unop" builder
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter7/
Dcodegen.ml37 build_call callee [|operand|] "unop" builder
/external/swiftshader/third_party/llvm-7.0/llvm/examples/OCaml-Kaleidoscope/Chapter7/
Dcodegen.ml37 build_call callee [|operand|] "unop" builder
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
Dcodegen.ml37 build_call callee [|operand|] "unop" builder
/external/mesa3d/src/compiler/glsl/
Dbuiltin_functions.cpp739 ir_function_signature *unop(builtin_available_predicate avail,
3608 builtin_builder::unop(builtin_available_predicate avail, in unop() function in builtin_builder
3623 return unop(&AVAIL, OPCODE, type, type); \
3630 return unop(avail, OPCODE, type, type); \
5435 return unop(v110, ir_unop_noise, glsl_type::float_type, type); in _noise1()
5581 return unop(gpu_shader5_or_es31_or_integer_functions, ir_unop_bit_count, in UNOP()
5588 return unop(gpu_shader5_or_es31_or_integer_functions, ir_unop_find_lsb, in _findLSB()
5595 return unop(gpu_shader5_or_es31_or_integer_functions, ir_unop_find_msb, in _findMSB()
/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/swiftshader/third_party/llvm-7.0/llvm/docs/tutorial/
DOCamlLangImpl6.rst398 build_call callee [|operand|] "unop" builder
1087 build_call callee [|operand|] "unop" builder
DLangImpl06.rst441 return Builder.CreateCall(F, OperandV, "unop");
DOCamlLangImpl7.rst1256 build_call callee [|operand|] "unop" builder
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.cc471 XlaOp XlaBuilder::UnaryOp(HloOpcode unop, const XlaOp& operand) { in UnaryOp() argument
476 ShapeInference::InferUnaryOpShape(unop, operand_shape)); in UnaryOp()
478 return AddInstruction(std::move(instr), unop, {operand}); in UnaryOp()
Dxla_builder.h596 XlaOp UnaryOp(HloOpcode unop, const XlaOp& operand);
/external/llvm/lib/Target/X86/
DX86InstrSSE.td3501 // the binops above. If the binop and unop patterns could all be unified