• Home
  • Raw
  • Download

Lines Matching refs:fBuilder

179     skvm::F32 f32(skvm::Val id) { SkASSERT(id != skvm::NA); return {fBuilder, id}; }  in f32()
180 skvm::I32 i32(skvm::Val id) { SkASSERT(id != skvm::NA); return {fBuilder, id}; } in i32()
190 result[i] = fn({fBuilder, v[i]}); in unary()
253 skvm::Builder* fBuilder; member in SkSL::SkVMGenerator
356 , fBuilder(builder) in SkVMGenerator()
367 fConditionMask = fLoopMask = fBuilder->splat(0xffff'ffff); in writeProgram()
409 this->writeToSlot(slot + 2, fBuilder->splat(0.0f).id); in setupGlobals()
410 this->writeToSlot(slot + 3, fBuilder->splat(1.0f).id); in setupGlobals()
447 fBuilder->trace_call_enter(this->mask(), function.fLine); in writeFunction()
450 fFunctionStack.push_back({outReturn, /*returned=*/fBuilder->splat(0)}); in writeFunction()
485 fBuilder->trace_call_exit(this->mask(), function.fLine); in writeFunction()
492 fBuilder->trace_var(this->mask(), slot, f32(value)); in writeToSlot()
494 fBuilder->trace_var(this->mask(), slot, bool(value)); in writeToSlot()
496 fBuilder->trace_var(this->mask(), slot, i32(value)); in writeToSlot()
571 skvm::Val initialValue = fBuilder->splat(0.0f).id; in getSlot()
641 const skvm::F32 zero = fBuilder->splat(0.0f); in writeBinaryExpression()
866 const skvm::F32 zero = fBuilder->splat(0.0f); in writeConstructorDiagonalMatrix()
890 dst[dstIndex++] = fBuilder->splat(c == r ? 1.0f : 0.0f); in writeConstructorMatrixResize()
920 SkAssertResult(fBuilder->allImm(index[0], &indexValue)); in indexSlotOffset()
1117 result[i] = fn({fBuilder, args[0][args[0].slots() == 1 ? 0 : i]}, in writeIntrinsicCall()
1118 {fBuilder, args[1][args[1].slots() == 1 ? 0 : i]}); in writeIntrinsicCall()
1132 result[i] = fn({fBuilder, args[0][args[0].slots() == 1 ? 0 : i]}, in writeIntrinsicCall()
1133 {fBuilder, args[1][args[1].slots() == 1 ? 0 : i]}, in writeIntrinsicCall()
1134 {fBuilder, args[2][args[2].slots() == 1 ? 0 : i]}); in writeIntrinsicCall()
1332 const skvm::F32 zero = fBuilder->splat(0.0f); in writeFunctionCall()
1380 std::vector<skvm::F32> result(nslots, fBuilder->splat(0.0f)); in writeExternalFunctionCall()
1382 c.function().call(fBuilder, args.data(), result.data(), this->mask()); in writeExternalFunctionCall()
1395 return fBuilder->splat(l.as<Literal>().floatValue()); in writeLiteral()
1398 return fBuilder->splat(static_cast<int>(l.as<Literal>().intValue())); in writeLiteral()
1401 return fBuilder->splat(l.as<Literal>().boolValue() ? ~0 : 0); in writeLiteral()
1414 val = f32(val) + fBuilder->splat(incr ? 1.0f : -1.0f); in writePrefixExpression()
1417 val = i32(val) + fBuilder->splat(incr ? 1 : -1); in writePrefixExpression()
1456 val = f32(val) + fBuilder->splat(incr ? 1.0f : -1.0f); in writePostfixExpression()
1459 val = i32(val) + fBuilder->splat(incr ? 1 : -1); in writePostfixExpression()
1659 const skvm::I32 zero = fBuilder->splat(0); in writeForStatement()
1667 ? fBuilder->splat(static_cast<float>(val)).id in writeForStatement()
1668 : fBuilder->splat(static_cast<int>(val)).id); in writeForStatement()
1711 skvm::I32 falseValue = fBuilder->splat( 0); in writeSwitchStatement()
1712 skvm::I32 trueValue = fBuilder->splat(~0); in writeSwitchStatement()
1754 this->writeToSlot(slot + i, val ? val[i] : fBuilder->splat(0.0f).id); in writeVarDeclaration()
1760 fBuilder->trace_line(this->mask(), line); in emitTraceLine()