Home
last modified time | relevance | path

Searched refs:unop (Results 1 – 24 of 24) 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/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/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.cpp408 } unop[] = { variable
478 int op = NUM_ELEMENTS(unop) - 1; in eval()
480 if (unop[op].token == token) in eval()
486 res = unop[op].op(res); in eval()
/external/angle/third_party/glslang/src/glslang/MachineIndependent/preprocessor/
DPp.cpp408 } unop[] = { variable
478 int op = NUM_ELEMENTS(unop) - 1; in eval()
480 if (unop[op].token == token) in eval()
486 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.py497 unop = {"Invert":"~", "Not": "not", "UAdd":"+", "USub":"-"} variable in Unparser
500 self.write(self.unop[t.op.__class__.__name__])
/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/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/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/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/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.cc536 XlaOp XlaBuilder::UnaryOp(HloOpcode unop, XlaOp operand) { in UnaryOp() argument
541 Shape shape, ShapeInference::InferUnaryOpShape(unop, *operand_shape)); in UnaryOp()
543 return AddInstruction(std::move(instr), unop, {operand}); in UnaryOp()
Dxla_builder.h636 XlaOp UnaryOp(HloOpcode unop, XlaOp operand);
/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/v8/src/execution/arm/
Dsimulator-arm.cc3884 void Unop(Simulator* simulator, int Vd, int Vm, std::function<T(T)> unop) { in Unop() argument
3889 src[i] = unop(src[i]); in Unop()
/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