chromium/out/Default/gen/v8/torque-generated/src/builtins/math-tq-csa.cc

#include "src/ast/ast.h"
#include "src/builtins/builtins-array-gen.h"
#include "src/builtins/builtins-bigint-gen.h"
#include "src/builtins/builtins-call-gen.h"
#include "src/builtins/builtins-collections-gen.h"
#include "src/builtins/builtins-constructor-gen.h"
#include "src/builtins/builtins-data-view-gen.h"
#include "src/builtins/builtins-iterator-gen.h"
#include "src/builtins/builtins-object-gen.h"
#include "src/builtins/builtins-promise-gen.h"
#include "src/builtins/builtins-promise.h"
#include "src/builtins/builtins-proxy-gen.h"
#include "src/builtins/builtins-regexp-gen.h"
#include "src/builtins/builtins-string-gen.h"
#include "src/builtins/builtins-typed-array-gen.h"
#include "src/builtins/builtins-utils-gen.h"
#include "src/builtins/builtins-wasm-gen.h"
#include "src/builtins/builtins.h"
#include "src/codegen/code-factory.h"
#include "src/debug/debug-wasm-objects.h"
#include "src/heap/factory-inl.h"
#include "src/ic/binary-op-assembler.h"
#include "src/ic/handler-configuration-inl.h"
#include "src/objects/arguments.h"
#include "src/objects/bigint.h"
#include "src/objects/call-site-info.h"
#include "src/objects/elements-kind.h"
#include "src/objects/free-space.h"
#include "src/objects/intl-objects.h"
#include "src/objects/js-atomics-synchronization.h"
#include "src/objects/js-break-iterator.h"
#include "src/objects/js-collator.h"
#include "src/objects/js-date-time-format.h"
#include "src/objects/js-display-names.h"
#include "src/objects/js-disposable-stack.h"
#include "src/objects/js-duration-format.h"
#include "src/objects/js-function.h"
#include "src/objects/js-generator.h"
#include "src/objects/js-iterator-helpers.h"
#include "src/objects/js-list-format.h"
#include "src/objects/js-locale.h"
#include "src/objects/js-number-format.h"
#include "src/objects/js-objects.h"
#include "src/objects/js-plural-rules.h"
#include "src/objects/js-promise.h"
#include "src/objects/js-raw-json.h"
#include "src/objects/js-regexp-string-iterator.h"
#include "src/objects/js-relative-time-format.h"
#include "src/objects/js-segment-iterator-inl.h"
#include "src/objects/js-segmenter.h"
#include "src/objects/js-segments.h"
#include "src/objects/js-shadow-realm.h"
#include "src/objects/js-shared-array.h"
#include "src/objects/js-struct.h"
#include "src/objects/js-temporal-objects.h"
#include "src/objects/js-weak-refs.h"
#include "src/objects/objects.h"
#include "src/objects/ordered-hash-table.h"
#include "src/objects/property-array.h"
#include "src/objects/property-descriptor-object.h"
#include "src/objects/source-text-module.h"
#include "src/objects/swiss-hash-table-helpers.h"
#include "src/objects/swiss-name-dictionary.h"
#include "src/objects/synthetic-module.h"
#include "src/objects/template-objects.h"
#include "src/objects/torque-defined-classes.h"
#include "src/objects/turbofan-types.h"
#include "src/objects/turboshaft-types.h"
#include "src/torque/runtime-support.h"
#include "src/wasm/value-type.h"
#include "src/wasm/wasm-linkage.h"
#include "src/codegen/code-stub-assembler-inl.h"
// Required Builtins:
#include "torque-generated/src/builtins/math-tq-csa.h"
#include "torque-generated/src/builtins/base-tq-csa.h"
#include "torque-generated/src/builtins/cast-tq-csa.h"
#include "torque-generated/src/builtins/conversion-tq-csa.h"
#include "torque-generated/src/builtins/convert-tq-csa.h"
#include "torque-generated/src/builtins/frame-arguments-tq-csa.h"
#include "torque-generated/src/builtins/math-tq-csa.h"
#include "torque-generated/src/builtins/torque-internal-tq-csa.h"
#include "torque-generated/src/objects/contexts-tq-csa.h"
#include "torque-generated/src/objects/fixed-array-tq-csa.h"
#include "torque-generated/src/objects/heap-number-tq-csa.h"

namespace v8 {
namespace internal {

// https://source.chromium.org/chromium/chromium/src/+/main:v8/src/builtins/math.tq?l=7&c=1
void ReduceToSmiOrFloat64_0(compiler::CodeAssemblerState* state_, TNode<Context> p_context, TNode<Object> p_x, compiler::CodeAssemblerLabel* label_SmiResult, compiler::TypedCodeAssemblerVariable<Smi>* label_SmiResult_parameter_0, compiler::CodeAssemblerLabel* label_Float64Result, compiler::TypedCodeAssemblerVariable<Float64T>* label_Float64Result_parameter_0) {}

TF_BUILTIN(MathAbs, CodeStubAssembler) {}

TF_BUILTIN(MathCeil, CodeStubAssembler) {}

TF_BUILTIN(MathFloor, CodeStubAssembler) {}

TF_BUILTIN(MathRound, CodeStubAssembler) {}

TF_BUILTIN(MathTrunc, CodeStubAssembler) {}

// https://source.chromium.org/chromium/chromium/src/+/main:v8/src/builtins/math.tq?l=119&c=1
TNode<Number> MathPowImpl_0(compiler::CodeAssemblerState* state_, TNode<Context> p_context, TNode<Object> p_base, TNode<Object> p_exponent) {}

TF_BUILTIN(MathPow, CodeStubAssembler) {}

TF_BUILTIN(MathMax, CodeStubAssembler) {}

TF_BUILTIN(MathMin, CodeStubAssembler) {}

TF_BUILTIN(MathAcos, CodeStubAssembler) {}

TF_BUILTIN(MathAcosh, CodeStubAssembler) {}

TF_BUILTIN(MathAsin, CodeStubAssembler) {}

TF_BUILTIN(MathAsinh, CodeStubAssembler) {}

TF_BUILTIN(MathAtan, CodeStubAssembler) {}

TF_BUILTIN(MathAtan2, CodeStubAssembler) {}

TF_BUILTIN(MathAtanh, CodeStubAssembler) {}

TF_BUILTIN(MathCbrt, CodeStubAssembler) {}

TF_BUILTIN(MathClz32, CodeStubAssembler) {}

TF_BUILTIN(MathCos, CodeStubAssembler) {}

TF_BUILTIN(MathCosh, CodeStubAssembler) {}

TF_BUILTIN(MathExp, CodeStubAssembler) {}

TF_BUILTIN(MathExpm1, CodeStubAssembler) {}

TF_BUILTIN(MathFround, CodeStubAssembler) {}

TF_BUILTIN(MathF16round, CodeStubAssembler) {}

TF_BUILTIN(MathImul, CodeStubAssembler) {}

TF_BUILTIN(MathLog, CodeStubAssembler) {}

TF_BUILTIN(MathLog1p, CodeStubAssembler) {}

TF_BUILTIN(MathLog10, CodeStubAssembler) {}

TF_BUILTIN(MathLog2, CodeStubAssembler) {}

TF_BUILTIN(MathSin, CodeStubAssembler) {}

TF_BUILTIN(MathSign, CodeStubAssembler) {}

TF_BUILTIN(MathSinh, CodeStubAssembler) {}

TF_BUILTIN(MathSqrt, CodeStubAssembler) {}

TF_BUILTIN(MathTan, CodeStubAssembler) {}

TF_BUILTIN(MathTanh, CodeStubAssembler) {}

// https://source.chromium.org/chromium/chromium/src/+/main:v8/src/builtins/math.tq?l=398&c=1
TNode<Number> FastMathHypot_0(compiler::CodeAssemblerState* state_, TNode<Context> p_context, TorqueStructArguments p_arguments, compiler::CodeAssemblerLabel* label_Slow) {}

TF_BUILTIN(MathHypot, CodeStubAssembler) {}

TF_BUILTIN(MathRandom, CodeStubAssembler) {}

// https://source.chromium.org/chromium/chromium/src/+/main:v8/src/builtins/math.tq?l=516&c=24
TorqueStructReference_Smi_0 NativeContextSlot_NativeContext_Smi_0(compiler::CodeAssemblerState* state_, TNode<NativeContext> p_context, TNode<IntPtrT> p_index) {}

// https://source.chromium.org/chromium/chromium/src/+/main:v8/src/builtins/math.tq?l=525&c=8
TorqueStructReference_FixedDoubleArray_0 NativeContextSlot_NativeContext_FixedDoubleArray_0(compiler::CodeAssemblerState* state_, TNode<NativeContext> p_context, TNode<IntPtrT> p_index) {}

} // namespace internal
} // namespace v8