/external/v8/src/builtins/ |
D | builtins-math.cc | 18 class MathBuiltinsAssembler : public CodeStubAssembler { 21 : CodeStubAssembler(state) {} in MathBuiltinsAssembler() 24 void MathRoundingOperation(Node* (CodeStubAssembler::*float64op)(Node*)); 25 void MathUnaryOperation(Node* (CodeStubAssembler::*float64op)(Node*)); 29 TF_BUILTIN(MathAbs, CodeStubAssembler) { in TF_BUILTIN() argument 107 Node* (CodeStubAssembler::*float64op)(Node*)) { in MathRoundingOperation() 157 Node* (CodeStubAssembler::*float64op)(Node*)) { in MathUnaryOperation() 168 MathUnaryOperation(&CodeStubAssembler::Float64Acos); in TF_BUILTIN() 173 MathUnaryOperation(&CodeStubAssembler::Float64Acosh); in TF_BUILTIN() 178 MathUnaryOperation(&CodeStubAssembler::Float64Asin); in TF_BUILTIN() [all …]
|
D | builtins-conversion.cc | 30 void Generate_NonPrimitiveToPrimitive(CodeStubAssembler* assembler, in Generate_NonPrimitiveToPrimitive() 32 typedef CodeStubAssembler::Label Label; in Generate_NonPrimitiveToPrimitive() 104 CodeStubAssembler assembler(state); in Generate_NonPrimitiveToPrimitive_Default() 110 CodeStubAssembler assembler(state); in Generate_NonPrimitiveToPrimitive_Number() 116 CodeStubAssembler assembler(state); in Generate_NonPrimitiveToPrimitive_String() 123 CodeStubAssembler assembler(state); in Generate_StringToNumber() 134 CodeStubAssembler assembler(state); in Generate_ToName() 146 CodeStubAssembler assembler(state); in Generate_NonNumberToNumber() 158 CodeStubAssembler assembler(state); in Generate_ToNumber() 167 typedef CodeStubAssembler::Label Label; in Generate_ToString() [all …]
|
D | builtins-internal.cc | 61 typedef CodeStubAssembler::Label Label; in Generate_CopyFastSmiOrObjectElements() 64 CodeStubAssembler assembler(state); in Generate_CopyFastSmiOrObjectElements() 71 CodeStubAssembler::ParameterMode mode = assembler.OptimalParameterMode(); in Generate_CopyFastSmiOrObjectElements() 96 CodeStubAssembler::kPretenured); in Generate_CopyFastSmiOrObjectElements() 106 typedef CodeStubAssembler::Label Label; in Generate_GrowFastDoubleElements() 109 CodeStubAssembler assembler(state); in Generate_GrowFastDoubleElements() 115 Label runtime(&assembler, CodeStubAssembler::Label::kDeferred); in Generate_GrowFastDoubleElements() 127 typedef CodeStubAssembler::Label Label; in Generate_GrowFastSmiOrObjectElements() 130 CodeStubAssembler assembler(state); in Generate_GrowFastSmiOrObjectElements() 136 Label runtime(&assembler, CodeStubAssembler::Label::kDeferred); in Generate_GrowFastSmiOrObjectElements() [all …]
|
D | builtins-sharedarraybuffer.cc | 30 void ValidateSharedTypedArray(CodeStubAssembler* a, compiler::Node* tagged, in ValidateSharedTypedArray() 35 CodeStubAssembler::Label is_smi(a), not_smi(a), is_typed_array(a), in ValidateSharedTypedArray() 96 compiler::Node* ConvertTaggedAtomicIndexToWord32(CodeStubAssembler* a, in ConvertTaggedAtomicIndexToWord32() 100 CodeStubAssembler::Variable var_result(a, MachineRepresentation::kWord32); in ConvertTaggedAtomicIndexToWord32() 104 CodeStubAssembler::Label done(a, &var_result); in ConvertTaggedAtomicIndexToWord32() 106 CodeStubAssembler::Label if_numberissmi(a), if_numberisnotsmi(a); in ConvertTaggedAtomicIndexToWord32() 121 CodeStubAssembler::Label if_indexesareequal(a), if_indexesarenotequal(a); in ConvertTaggedAtomicIndexToWord32() 140 void ValidateAtomicIndex(CodeStubAssembler* a, compiler::Node* index_word, in ValidateAtomicIndex() 145 CodeStubAssembler::Label if_inbounds(a), if_notinbounds(a); in ValidateAtomicIndex() 161 CodeStubAssembler a(state); in Generate_AtomicsLoad() [all …]
|
D | builtins-handler.cc | 16 TF_BUILTIN(KeyedLoadIC_IndexedString, CodeStubAssembler) { in TF_BUILTIN() argument 40 TF_BUILTIN(KeyedLoadIC_Miss, CodeStubAssembler) { in TF_BUILTIN() argument 53 TF_BUILTIN(KeyedLoadIC_Slow, CodeStubAssembler) { in TF_BUILTIN() argument 73 TF_BUILTIN(KeyedStoreIC_Miss, CodeStubAssembler) { in TF_BUILTIN() argument 87 TF_BUILTIN(KeyedStoreIC_Slow, CodeStubAssembler) { in TF_BUILTIN() argument 103 TF_BUILTIN(LoadGlobalIC_Miss, CodeStubAssembler) { in TF_BUILTIN() argument 114 TF_BUILTIN(LoadGlobalIC_Slow, CodeStubAssembler) { in TF_BUILTIN() argument 129 TF_BUILTIN(LoadIC_FunctionPrototype, CodeStubAssembler) { in TF_BUILTIN() argument 158 TF_BUILTIN(LoadIC_Miss, CodeStubAssembler) { in TF_BUILTIN() argument 170 TF_BUILTIN(LoadIC_Normal, CodeStubAssembler) { in TF_BUILTIN() argument [all …]
|
D | builtins-global.cc | 108 typedef CodeStubAssembler::Label Label; in Generate_GlobalIsFinite() 110 typedef CodeStubAssembler::Variable Variable; in Generate_GlobalIsFinite() 111 CodeStubAssembler assembler(state); in Generate_GlobalIsFinite() 162 typedef CodeStubAssembler::Label Label; in Generate_GlobalIsNaN() 164 typedef CodeStubAssembler::Variable Variable; in Generate_GlobalIsNaN() 165 CodeStubAssembler assembler(state); in Generate_GlobalIsNaN()
|
D | builtins-date.cc | 900 void Generate_DatePrototype_GetField(CodeStubAssembler* assembler, in Generate_DatePrototype_GetField() 902 typedef CodeStubAssembler::Label Label; in Generate_DatePrototype_GetField() 961 CodeStubAssembler assembler(state); in Generate_DatePrototypeGetDate() 968 CodeStubAssembler assembler(state); in Generate_DatePrototypeGetDay() 975 CodeStubAssembler assembler(state); in Generate_DatePrototypeGetFullYear() 982 CodeStubAssembler assembler(state); in Generate_DatePrototypeGetHours() 989 CodeStubAssembler assembler(state); in Generate_DatePrototypeGetMilliseconds() 996 CodeStubAssembler assembler(state); in Generate_DatePrototypeGetMinutes() 1003 CodeStubAssembler assembler(state); in Generate_DatePrototypeGetMonth() 1010 CodeStubAssembler assembler(state); in Generate_DatePrototypeGetSeconds() [all …]
|
D | builtins-constructor.cc | 130 feedback_vector, slot, 0, CodeStubAssembler::SMI_PARAMETERS); in EmitFastNewClosure() 330 CodeStubAssembler::ParameterMode mode = CodeStubAssembler::INTPTR_PARAMETERS; in EmitFastNewFunctionContext() 418 typedef CodeStubAssembler::Label Label; in EmitFastCloneRegExp() 419 typedef CodeStubAssembler::Variable Variable; in EmitFastCloneRegExp() 429 CodeStubAssembler::SMI_PARAMETERS); in EmitFastCloneRegExp() 467 typedef CodeStubAssembler::ParameterMode ParameterMode; in NonEmptyShallowClone() 501 typedef CodeStubAssembler::Label Label; in EmitFastCloneShallowArray() 502 typedef CodeStubAssembler::Variable Variable; in EmitFastCloneShallowArray() 512 feedback_vector, literal_index, 0, CodeStubAssembler::SMI_PARAMETERS); in EmitFastCloneShallowArray() 516 CodeStubAssembler::SMI_PARAMETERS); in EmitFastCloneShallowArray() [all …]
|
D | builtins-number.cc | 16 class NumberBuiltinsAssembler : public CodeStubAssembler { 19 : CodeStubAssembler(state) {} in NumberBuiltinsAssembler() 57 TF_BUILTIN(NumberIsFinite, CodeStubAssembler) { in TF_BUILTIN() argument 81 TF_BUILTIN(NumberIsInteger, CodeStubAssembler) { in TF_BUILTIN() argument 110 TF_BUILTIN(NumberIsNaN, CodeStubAssembler) { in TF_BUILTIN() argument 133 TF_BUILTIN(NumberIsSafeInteger, CodeStubAssembler) { in TF_BUILTIN() argument 168 TF_BUILTIN(NumberParseFloat, CodeStubAssembler) { in TF_BUILTIN() argument 263 TF_BUILTIN(NumberParseInt, CodeStubAssembler) { in TF_BUILTIN() argument 549 TF_BUILTIN(NumberPrototypeValueOf, CodeStubAssembler) { in TF_BUILTIN() argument 558 TF_BUILTIN(Add, CodeStubAssembler) { in TF_BUILTIN() argument [all …]
|
D | builtins-wasm.cc | 15 TF_BUILTIN(WasmStackGuard, CodeStubAssembler) { in TF_BUILTIN() argument 21 TF_BUILTIN(ThrowWasm##name, CodeStubAssembler) { \
|
D | builtins-object.h | 11 class ObjectBuiltinsAssembler : public CodeStubAssembler { 14 : CodeStubAssembler(state) {} in ObjectBuiltinsAssembler()
|
D | builtins-symbol.cc | 74 CodeStubAssembler assembler(state); in Generate_SymbolPrototypeToPrimitive() 89 CodeStubAssembler assembler(state); in Generate_SymbolPrototypeToString() 105 CodeStubAssembler assembler(state); in Generate_SymbolPrototypeValueOf()
|
D | builtins-array.cc | 193 typedef CodeStubAssembler::Label Label; in Generate_FastArrayPush() 194 typedef CodeStubAssembler::Variable Variable; in Generate_FastArrayPush() 195 CodeStubAssembler assembler(state); in Generate_FastArrayPush() 216 receiver, context, CodeStubAssembler::FastJSArrayAccessMode::ANY_ACCESS, in Generate_FastArrayPush() 434 class ForEachCodeStubAssembler : public CodeStubAssembler { 437 : CodeStubAssembler(state) {} in ForEachCodeStubAssembler() 591 CodeStubAssembler::FastJSArrayAccessMode::INBOUNDS_READ, in TF_BUILTIN() 1650 typedef CodeStubAssembler::Label Label; in Generate_ArrayIsArray() 1651 CodeStubAssembler assembler(state); in Generate_ArrayIsArray() 1682 TF_BUILTIN(ArrayIncludes, CodeStubAssembler) { in TF_BUILTIN() argument [all …]
|
D | builtins-arguments.h | 14 class ArgumentsBuiltinsAssembler : public CodeStubAssembler { 17 : CodeStubAssembler(state) {} in ArgumentsBuiltinsAssembler()
|
D | builtins-promise.h | 15 typedef CodeStubAssembler::ParameterMode ParameterMode; 18 class PromiseBuiltinsAssembler : public CodeStubAssembler { 52 : CodeStubAssembler(state) {} in PromiseBuiltinsAssembler()
|
D | builtins-string.cc | 21 typedef CodeStubAssembler::ResultMode ResultMode; 22 typedef CodeStubAssembler::RelationalComparisonMode RelationalComparisonMode; 24 class StringBuiltinsAssembler : public CodeStubAssembler { 27 : CodeStubAssembler(state) {} in StringBuiltinsAssembler() 469 TF_BUILTIN(StringCharAt, CodeStubAssembler) { in TF_BUILTIN() argument 481 TF_BUILTIN(StringCharCodeAt, CodeStubAssembler) { in TF_BUILTIN() argument 498 TF_BUILTIN(StringFromCharCode, CodeStubAssembler) { in TF_BUILTIN() argument 537 CodeStubAssembler::VariableList vars({&max_index}, zone()); in TF_BUILTIN() 550 CodeStubAssembler::INTPTR_PARAMETERS, in TF_BUILTIN() 571 CodeStubAssembler::INTPTR_PARAMETERS); in TF_BUILTIN() [all …]
|
D | builtins-boolean.cc | 43 CodeStubAssembler assembler(state); in Generate_BooleanPrototypeToString() 58 CodeStubAssembler assembler(state); in Generate_BooleanPrototypeValueOf()
|
D | builtins-constructor.h | 14 class ConstructorBuiltinsAssembler : public CodeStubAssembler { 17 : CodeStubAssembler(state) {} in ConstructorBuiltinsAssembler()
|
D | builtins-function.cc | 278 typedef CodeStubAssembler::Label Label; in Generate_FastFunctionPrototypeBind() 279 typedef CodeStubAssembler::Variable Variable; in Generate_FastFunctionPrototypeBind() 281 CodeStubAssembler assembler(state); in Generate_FastFunctionPrototypeBind() 353 CodeStubAssembler::VariableList vars({&bound_function_map}, assembler.zone()); in Generate_FastFunctionPrototypeBind() 393 CodeStubAssembler::VariableList foreach_vars({&index}, assembler.zone()); in Generate_FastFunctionPrototypeBind() 483 CodeStubAssembler assembler(state); in Generate_FunctionPrototypeHasInstance()
|
D | builtins-generator.cc | 17 class GeneratorBuiltinsAssembler : public CodeStubAssembler { 20 : CodeStubAssembler(state) {} in GeneratorBuiltinsAssembler()
|
/external/v8/src/ |
D | code-stub-assembler.cc | 14 CodeStubAssembler::CodeStubAssembler(compiler::CodeAssemblerState* state) in CodeStubAssembler() function in v8::internal::CodeStubAssembler 21 void CodeStubAssembler::HandleBreakOnNode() { in HandleBreakOnNode() 46 void CodeStubAssembler::Assert(const NodeGenerator& codition_body, in Assert() 83 Node* CodeStubAssembler::Select(Node* condition, const NodeGenerator& true_body, in Select() 105 Node* CodeStubAssembler::SelectConstant(Node* condition, Node* true_value, in SelectConstant() 112 Node* CodeStubAssembler::SelectInt32Constant(Node* condition, int true_value, in SelectInt32Constant() 119 Node* CodeStubAssembler::SelectIntPtrConstant(Node* condition, int true_value, in SelectIntPtrConstant() 126 Node* CodeStubAssembler::SelectBooleanConstant(Node* condition) { in SelectBooleanConstant() 131 Node* CodeStubAssembler::SelectTaggedConstant(Node* condition, Node* true_value, in SelectTaggedConstant() 137 Node* CodeStubAssembler::SelectSmiConstant(Node* condition, Smi* true_value, in SelectSmiConstant() [all …]
|
D | code-stubs.cc | 338 CodeStubAssembler assembler(state); in GenerateAssembly() 359 CodeStubAssembler::AllocationFlag flags = in GenerateAssembly() 360 (pretenure_flag() == TENURED) ? CodeStubAssembler::kPretenured in GenerateAssembly() 361 : CodeStubAssembler::kNone; in GenerateAssembly() 445 typedef CodeStubAssembler::Label Label; in GenerateAssembly() 447 CodeStubAssembler assembler(state); in GenerateAssembly() 487 CodeStubAssembler assembler(state); in GenerateAssembly() 495 CodeStubAssembler assembler(state); in GenerateAssembly() 505 CodeStubAssembler assembler(state); \ 521 compiler::Node* AddWithFeedbackStub::Generate(CodeStubAssembler* assembler, in BINARY_OP_STUB() [all …]
|
D | code-stub-assembler.h | 56 class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler { 60 CodeStubAssembler(compiler::CodeAssemblerState* state); 1126 void CheckEnumCache(Node* receiver, CodeStubAssembler::Label* use_cache, 1127 CodeStubAssembler::Label* use_runtime); 1160 const CodeStubAssembler::VariableList& vars, Node* fixed_array, 1171 CodeStubAssembler::VariableList list(0, zone()); 1347 CodeStubArguments(CodeStubAssembler* assembler, Node* argc) in CodeStubArguments() 1349 CodeStubAssembler::INTPTR_PARAMETERS) {} in CodeStubArguments() 1350 CodeStubArguments(CodeStubAssembler* assembler, Node* argc, Node* fp, 1351 CodeStubAssembler::ParameterMode param_mode); [all …]
|
/external/v8/src/interpreter/ |
D | interpreter-assembler.h | 21 class V8_EXPORT_PRIVATE InterpreterAssembler : public CodeStubAssembler { 341 CodeStubAssembler::Variable bytecode_offset_; 342 CodeStubAssembler::Variable interpreted_frame_pointer_; 343 CodeStubAssembler::Variable bytecode_array_; 344 CodeStubAssembler::Variable dispatch_table_; 345 CodeStubAssembler::Variable accumulator_;
|
/external/v8/src/ic/ |
D | accessor-assembler.h | 19 class AccessorAssembler : public CodeStubAssembler { 24 : CodeStubAssembler(state) {} in AccessorAssembler() 223 explicit ExitPoint(CodeStubAssembler* assembler) in ExitPoint() 225 ExitPoint(CodeStubAssembler* assembler, CodeAssemblerLabel* out, in ExitPoint() 278 CodeStubAssembler* const asm_;
|