// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details1#pragma once23namespace Luau4{5namespace CodeGen6{78struct IrBuilder;9struct IrOp;1011enum class BuiltinImplType12{13None,14UsesFallback, // Uses fallback for unsupported cases15Full, // Is either implemented in full, or exits to VM16};1718struct BuiltinImplResult19{20BuiltinImplType type;21int actualResultCount;22};2324BuiltinImplResult translateBuiltin(25IrBuilder& build,26int bfid,27int ra,28int arg,29IrOp args,30IrOp arg3,31int nparams,32int nresults,33IrOp fallback,34int pcpos35);3637} // namespace CodeGen38} // namespace Luau394041