Lines Matching defs:add

122     // color-space code, but attempting to add those transitive dependencies to skslc gets out of
762 F32 Builder::add(F32 x, F32 y) {
825 approx = sub(approx, div(1.725879990f, add(0.3520887068f, m)));
832 F32 approx = add(x, 121.274057500f);
834 approx = add(approx, div(27.728023300f, sub(4.84252568f, f)));
983 I32 Builder::add(I32 x, I32 y) {
1516 // Anything extra we add beyond that is to make the math work with premul inputs.
1976 void Assembler::add(Operand dst, int imm) { this->op(0x01,0b000, dst,imm); }
1991 void Assembler::add (Operand dst, GP64 x) { this->op(0x01, dst,x); }
1997 void Assembler::add (GP64 dst, Operand x) { this->op(0x03, x,dst); }
2393 void Assembler::add(X d, X n, int imm12) {
2403 void Assembler::add(X d, X n, X m, Shift shift, int imm6) {
2524 // We'll want to add a delta to point them to here.
2888 // New phi nodes for `n` and each pointer argument from hoistK; later we'll add loopK.
3308 if (stack_used) { a->add(A::rsp, stack_used); }
3341 if (nstack_slots) { a->add(A::rsp, nstack_slots*K*4); }
3380 auto exit = [&]{ if (nstack_slots) { a->add(A::sp, A::sp, nstack_slots*K*4); }
4106 case Op::uniform32: a->add(GP0, arg[immA], immB);
4110 case Op::array32: a->add(GP0, arg[immA], immB);
4112 a->add(GP0, GP0, immC);
4118 a->add (GP0, arg[immA], immB); // GP0 = &(gather base pointer)
4123 a->add (GP1, GP0, GP1); // Add the gather base pointer.
4131 a->add (GP0, arg[immA], immB);
4135 a->add (GP1, GP0, GP1, A::LSL, 1); // Scale index 2x into a byte offset.
4143 a->add (GP0, arg[immA], immB);
4147 a->add (GP1, GP0, GP1, A::LSL, 2); // Scale index 4x into a byte offset.
4251 auto add = [&](A::GP64 gp, int imm) { a->add(gp, imm); };
4257 auto add = [&](A::X gp, int imm) { a->add(gp, gp, imm); };
4302 add(arg[i], K*fImpl->strides[i]);
4321 add(arg[i], 1*fImpl->strides[i]);