Home
last modified time | relevance | path

Searched refs:MachineType (Results 1 – 25 of 106) sorted by relevance

12345

/third_party/node/deps/v8/src/codegen/
Dinterface-descriptors.h188 void InitializeTypes(const MachineType* machine_types,
202 MachineType return_type(int index) const { in return_type()
206 MachineType param_type(int index) const { in param_type()
258 MachineType* machine_types_ = nullptr;
339 MachineType GetReturnType(int index) const { in GetReturnType()
359 MachineType GetParameterType(int index) const { in GetParameterType()
613 MachineType machine_types[] = {__VA_ARGS__}; \
621 DEFINE_RESULT_AND_PARAMETER_TYPES(MachineType::AnyTagged() /* result */, \
655 DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(), /* kTarget */ \
656 MachineType::AnyTagged(), /* kNewTarget */ \
[all …]
Dmachine-type.h95 class MachineType {
97 constexpr MachineType() in MachineType() function
100 constexpr MachineType(MachineRepresentation representation, in MachineType() function
104 constexpr bool operator==(MachineType other) const {
109 constexpr bool operator!=(MachineType other) const {
160 constexpr static MachineType UintPtr() { in UintPtr()
163 constexpr static MachineType IntPtr() { in IntPtr()
166 constexpr static MachineType Int8() { in Int8()
167 return MachineType(MachineRepresentation::kWord8, MachineSemantic::kInt32); in Int8()
169 constexpr static MachineType Uint8() { in Uint8()
[all …]
Dtnode.h31 MachineType::PointerRepresentation();
35 static constexpr MachineType kMachineType = MachineType::Pointer();
40 static constexpr MachineType kMachineType = MachineType::SandboxedPointer();
51 static constexpr MachineType kMachineType = MachineType::Int32();
54 static constexpr MachineType kMachineType = MachineType::Uint32();
57 static constexpr MachineType kMachineType = MachineType::Int16();
60 static constexpr MachineType kMachineType = MachineType::Uint16();
63 static constexpr MachineType kMachineType = MachineType::Int8();
66 static constexpr MachineType kMachineType = MachineType::Uint8();
74 static constexpr MachineType kMachineType = MachineType::Int64();
[all …]
Dinterface-descriptors.cc47 const MachineType* machine_types, int machine_types_length) { in InitializeTypes()
54 NewArray<MachineType>(types_length, MachineType::AnyTagged()); in InitializeTypes()
57 machine_types_ = NewArray<MachineType>(types_length); in InitializeTypes()
/third_party/node/deps/v8/src/compiler/
Daccess-builder.cc28 MaybeHandle<Map>(), Type::Any(), MachineType::IntPtr(), in ForExternalIntPtr()
37 Type::OtherInternal(), MachineType::MapInHeader(), in ForMap()
46 MaybeHandle<Map>(), TypeCache::Get()->kFloat64, MachineType::Float64(), in ForHeapNumberValue()
55 MaybeHandle<Map>(), TypeCache::Get()->kInt32, MachineType::Uint32(), in ForBigIntBitfield()
65 MaybeHandle<Map>(), TypeCache::Get()->kInt32, MachineType::Uint32(), in ForBigIntOptionalPadding()
75 MaybeHandle<Map>(), TypeCache::Get()->kBigUint64, MachineType::Uint64(), in ForBigIntLeastSignificantDigit64()
84 Type::Any(), MachineType::AnyTagged(), in ForJSObjectPropertiesOrHash()
93 Type::Any(), MachineType::TaggedPointer(), in ForJSObjectPropertiesOrHashKnownPointer()
102 Type::Internal(), MachineType::TaggedPointer(), in ForJSObjectElements()
109 const MapRef& map, int index, MachineType machine_type) { in ForJSObjectInObjectProperty()
[all …]
Dlinkage.cc24 inline LinkageLocation regloc(Register reg, MachineType type) { in regloc()
28 inline LinkageLocation regloc(DoubleRegister reg, MachineType type) { in regloc()
75 MachineType* types = zone->NewArray<MachineType>(param_count + return_count); in GetMachineSignature()
338 locations.AddReturn(regloc(kReturnRegister0, MachineType::AnyTagged())); in GetCEntryStubCallDescriptor()
341 locations.AddReturn(regloc(kReturnRegister1, MachineType::AnyTagged())); in GetCEntryStubCallDescriptor()
344 locations.AddReturn(regloc(kReturnRegister2, MachineType::AnyTagged())); in GetCEntryStubCallDescriptor()
350 i - js_parameter_count, MachineType::AnyTagged())); in GetCEntryStubCallDescriptor()
354 regloc(kRuntimeCallFunctionRegister, MachineType::Pointer())); in GetCEntryStubCallDescriptor()
358 regloc(kRuntimeCallArgCountRegister, MachineType::Int32())); in GetCEntryStubCallDescriptor()
361 locations.AddParam(regloc(kContextRegister, MachineType::AnyTagged())); in GetCEntryStubCallDescriptor()
[all …]
Dlinkage.h70 MachineType type = MachineType::None()) {
75 MachineType type = MachineType::None()) {
80 static LinkageLocation ForCallerFrameSlot(int32_t slot, MachineType type) { in ForCallerFrameSlot()
85 static LinkageLocation ForCalleeFrameSlot(int32_t slot, MachineType type) { in ForCalleeFrameSlot()
95 MachineType::Pointer()); in ForSavedCallerReturnAddress()
102 MachineType::Pointer()); in ForSavedCallerFramePtr()
110 MachineType::AnyTagged()); in ForSavedCallerConstantPool()
117 MachineType::AnyTagged()); in ForSavedCallerFunction()
130 MachineType GetType() const { return machine_type_; } in GetType()
175 MachineType machine_type) { in LinkageLocation()
[all …]
Dwasm-compiler.cc77 MachineType assert_size(int expected_size, MachineType type) { in assert_size()
108 MachineType::Pointer(), BuildLoadIsolateRoot(), \
158 MachineType::TypeForRepresentation(type.machine_representation(), in ObjectAccessForGCStores()
258 Node* LoadFromObject(MachineType type, Node* base, Node* offset) { in LoadFromObject()
264 Node* LoadFromObject(MachineType type, Node* base, int offset) { in LoadFromObject()
268 Node* LoadImmutableFromObject(MachineType type, Node* base, Node* offset) { in LoadImmutableFromObject()
274 Node* LoadImmutableFromObject(MachineType type, Node* base, int offset) { in LoadImmutableFromObject()
324 LoadImmutableFromObject(MachineType::TaggedPointer(), object, in LoadMap()
334 ObjectAccess access(MachineType::TaggedPointer(), kMapWriteBarrier); in StoreMap()
344 MachineType::Uint16(), map, in LoadInstanceType()
[all …]
Dmachine-operator.cc228 MachineType AtomicOpType(Operator const* op) { in AtomicOpType()
229 return OpParameter<MachineType>(op); in AtomicOpType()
928 1, 1, 1, 0, MachineType::Type()) {} \
935 "UnalignedLoad", 2, 1, 1, 1, 1, 0, MachineType::Type()) {} \
943 1, 1, 1, 0, MachineType::Type()) {} \
950 0, 0, 1, 0, 0, MachineType::Type()) {} \
1074 AtomicLoadParameters(MachineType::Type(), \
1088 AtomicLoadParameters(MachineType::Type(), \
1128 struct op##type##Operator : public Operator1<MachineType> { \
1130 : Operator1<MachineType>(IrOpcode::k##op, \
[all …]
Dmemory-lowering.cc223 __ Load(MachineType::Pointer(), instance_node, in ReduceAllocateRaw()
226 __ Load(MachineType::Pointer(), instance_node, in ReduceAllocateRaw()
265 __ Store(StoreRepresentation(MachineType::PointerRepresentation(), in ReduceAllocateRaw()
281 auto done = __ MakeLabel(MachineType::PointerRepresentation()); in ReduceAllocateRaw()
289 __ Load(MachineType::Pointer(), top_address, __ IntPtrConstant(0)); in ReduceAllocateRaw()
291 __ Load(MachineType::Pointer(), limit_address, __ IntPtrConstant(0)); in ReduceAllocateRaw()
313 __ Store(StoreRepresentation(MachineType::PointerRepresentation(), in ReduceAllocateRaw()
335 __ Load(MachineType::Pointer(), top_address, __ IntPtrConstant(0)); in ReduceAllocateRaw()
337 __ Load(MachineType::Pointer(), limit_address, __ IntPtrConstant(0)); in ReduceAllocateRaw()
350 __ Store(StoreRepresentation(MachineType::PointerRepresentation(), in ReduceAllocateRaw()
[all …]
Dmachine-operator.h49 using LoadRepresentation = MachineType;
244 MachineType AtomicOpType(Operator const* op) V8_WARN_UNUSED_RESULT;
402 MachineRepresentation word = MachineType::PointerRepresentation(), in NON_EXPORTED_BASE()
985 const Operator* Word32AtomicExchange(MachineType type); in NON_EXPORTED_BASE()
987 const Operator* Word64AtomicExchange(MachineType type); in NON_EXPORTED_BASE()
989 const Operator* Word32AtomicCompareExchange(MachineType type); in NON_EXPORTED_BASE()
991 const Operator* Word64AtomicCompareExchange(MachineType type); in NON_EXPORTED_BASE()
993 const Operator* Word32AtomicAdd(MachineType type); in NON_EXPORTED_BASE()
995 const Operator* Word32AtomicSub(MachineType type); in NON_EXPORTED_BASE()
997 const Operator* Word32AtomicAnd(MachineType type); in NON_EXPORTED_BASE()
[all …]
Drepresentation-change.h193 return UseInfo(MachineType::PointerRepresentation(), Truncation::Any()); in Word()
221 return UseInfo(MachineType::PointerRepresentation(), in CheckedTaggedAsArrayIndex()
342 MachineType TypeForBasePointer(const FieldAccess& access) { in TypeForBasePointer()
343 return access.tag() != 0 ? MachineType::AnyTagged() in TypeForBasePointer()
344 : MachineType::Pointer(); in TypeForBasePointer()
347 MachineType TypeForBasePointer(const ElementAccess& access) { in TypeForBasePointer()
348 return access.tag() != 0 ? MachineType::AnyTagged() in TypeForBasePointer()
349 : MachineType::Pointer(); in TypeForBasePointer()
Dcommon-operator.h176 : std::pair<uint32_t, const ZoneVector<MachineType>*> {
178 const ZoneVector<MachineType>* machine_types) in TypedObjectStateInfo()
179 : std::pair<uint32_t, const ZoneVector<MachineType>*>(object_id, in TypedObjectStateInfo()
182 const ZoneVector<MachineType>* machine_types() const { return second; } in machine_types()
316 TypedStateValueInfo(ZoneVector<MachineType> const* machine_types, in TypedStateValueInfo()
320 ZoneVector<MachineType> const* machine_types() const { in machine_types()
326 ZoneVector<MachineType> const* machine_types_;
350 const ZoneVector<MachineType>* types);
358 ZoneVector<MachineType> const* MachineTypesOf(Operator const*)
536 const Operator* TypedStateValues(const ZoneVector<MachineType>* types, in NON_EXPORTED_BASE()
[all …]
Dc-linkage.cc158 MachineType type = msig->GetParam(i); in BuildParameterLocations()
195 MachineType type = msig->GetParam(i); in BuildParameterLocations()
236 MachineType type = msig->GetParam(i); in GetSimplifiedCDescriptor()
242 MachineType type = msig->GetReturn(i); in GetSimplifiedCDescriptor()
294 MachineType target_type = MachineType::Pointer(); in GetSimplifiedCDescriptor()
Draw-machine-assembler.h50 MachineRepresentation word = MachineType::PointerRepresentation(),
132 Node* Load(MachineType type, Node* base) { in Load()
135 Node* Load(MachineType type, Node* base, Node* index) { in Load()
140 Node* LoadImmutable(MachineType type, Node* base) { in LoadImmutable()
143 Node* LoadImmutable(MachineType type, Node* base, Node* index) { in LoadImmutable()
166 Node* LoadFromObject(MachineType type, Node* base, Node* offset) { in LoadFromObject()
168 type == MachineType::MapInHeader()); in LoadFromObject()
185 ObjectAccess access = {MachineType::TypeForRepresentation(rep), in StoreToObject()
196 MachineType::TypeForRepresentation(rep), write_barrier)), in OptimizedStoreField()
210 Node* UnalignedLoad(MachineType type, Node* base) { in UnalignedLoad()
[all …]
Dint64-lowering.cc247 LowerLoadOperator(node, rep, machine()->Load(MachineType::Int32())); in LowerNode()
254 machine()->UnalignedLoad(MachineType::Int32())); in LowerNode()
261 machine()->LoadImmutable(MachineType::Int32())); in LowerNode()
268 MachineType::Int32(), access.write_barrier_kind))); in LowerNode()
275 MachineType::Int32(), access.write_barrier_kind))); in LowerNode()
298 MachineType::Int32(), access.write_barrier_kind))); in LowerNode()
305 MachineType::Int32(), access.write_barrier_kind))); in LowerNode()
664 graph()->NewNode(machine()->Load(MachineType::Float64()), stack_slot, in LowerNode()
687 machine()->Load(MachineType::Int32()), stack_slot, in LowerNode()
693 machine()->Load(MachineType::Int32()), stack_slot, in LowerNode()
[all …]
Dcode-assembler.cc34 constexpr MachineType MachineTypeOf<Smi>::value;
35 constexpr MachineType MachineTypeOf<Object>::value;
36 constexpr MachineType MachineTypeOf<MaybeObject>::value;
76 MachineType::PointerRepresentation(), in CodeAssemblerState()
448 DCHECK_EQ(MachineType::Int32(), in Return()
455 DCHECK_EQ(MachineType::Uint32(), in Return()
463 MachineType::PointerRepresentation(), in Return()
470 DCHECK_EQ(MachineType::Float32(), in Return()
477 DCHECK_EQ(MachineType::Float64(), in Return()
485 MachineType::PointerRepresentation(), in Return()
[all …]
/third_party/node/deps/v8/src/builtins/
Dbuiltins-bigint-gen.h47 MachineType::AnyTagged(), in CppAbsoluteAddAndCanonicalize()
48 std::make_pair(MachineType::AnyTagged(), result), in CppAbsoluteAddAndCanonicalize()
49 std::make_pair(MachineType::AnyTagged(), x), in CppAbsoluteAddAndCanonicalize()
50 std::make_pair(MachineType::AnyTagged(), y)); in CppAbsoluteAddAndCanonicalize()
60 MachineType::AnyTagged(), in CppAbsoluteSubAndCanonicalize()
61 std::make_pair(MachineType::AnyTagged(), result), in CppAbsoluteSubAndCanonicalize()
62 std::make_pair(MachineType::AnyTagged(), x), in CppAbsoluteSubAndCanonicalize()
63 std::make_pair(MachineType::AnyTagged(), y)); in CppAbsoluteSubAndCanonicalize()
71 CallCFunction(mutable_big_int_absolute_compare, MachineType::Int32(), in CppAbsoluteCompare()
72 std::make_pair(MachineType::AnyTagged(), x), in CppAbsoluteCompare()
[all …]
Dbuiltins-typed-array-gen.cc292 CallCFunction(memmove, MachineType::AnyTagged(), in CallCMemmove()
293 std::make_pair(MachineType::Pointer(), dest_ptr), in CallCMemmove()
294 std::make_pair(MachineType::Pointer(), src_ptr), in CallCMemmove()
295 std::make_pair(MachineType::UintPtr(), byte_length)); in CallCMemmove()
303 CallCFunction(memmove, MachineType::AnyTagged(), in CallCRelaxedMemmove()
304 std::make_pair(MachineType::Pointer(), dest_ptr), in CallCRelaxedMemmove()
305 std::make_pair(MachineType::Pointer(), src_ptr), in CallCRelaxedMemmove()
306 std::make_pair(MachineType::UintPtr(), byte_length)); in CallCRelaxedMemmove()
314 CallCFunction(memcpy, MachineType::AnyTagged(), in CallCMemcpy()
315 std::make_pair(MachineType::Pointer(), dest_ptr), in CallCMemcpy()
[all …]
Dbuiltins-array-gen.h38 MachineType::AnyTagged(), // <return> String in CallJSArrayArrayJoinConcatToSequentialString()
39 std::make_pair(MachineType::Pointer(), isolate_ptr), in CallJSArrayArrayJoinConcatToSequentialString()
40 std::make_pair(MachineType::AnyTagged(), fixed_array), in CallJSArrayArrayJoinConcatToSequentialString()
41 std::make_pair(MachineType::IntPtr(), length), in CallJSArrayArrayJoinConcatToSequentialString()
42 std::make_pair(MachineType::AnyTagged(), sep), in CallJSArrayArrayJoinConcatToSequentialString()
43 std::make_pair(MachineType::AnyTagged(), dest))); in CallJSArrayArrayJoinConcatToSequentialString()
Dbuiltins-microtask-queue-gen.cc84 StoreNoWriteBarrier(MachineType::PointerRepresentation(), microtask_queue, in SetMicrotaskQueueSize()
96 StoreNoWriteBarrier(MachineType::PointerRepresentation(), microtask_queue, in SetMicrotaskQueueStart()
351 MachineType::PointerRepresentation(), microtask_queue, in IncrementFinishedMicrotaskCount()
409 StoreNoWriteBarrier(MachineType::PointerRepresentation(), hsi, size_offset, in EnterMicrotaskContext()
431 StoreNoWriteBarrier(MachineType::PointerRepresentation(), hsi, in EnterMicrotaskContext()
441 CallCFunction(function, MachineType::Int32(), in EnterMicrotaskContext()
442 std::make_pair(MachineType::Pointer(), hsi), in EnterMicrotaskContext()
443 std::make_pair(MachineType::Pointer(), in EnterMicrotaskContext()
467 StoreNoWriteBarrier(MachineType::PointerRepresentation(), hsi, size_offset, in RewindEnteredContext()
472 MachineType::PointerRepresentation(), hsi, in RewindEnteredContext()
[all …]
Dbuiltins-sharedarraybuffer-gen.cc21 MachineType type, TNode<RawPtrT> base, TNode<UintPtrT> offset,
457 Return(SmiFromInt32(Signed(AtomicExchange(MachineType::Int8(), backing_store, in TF_BUILTIN()
461 Return(SmiFromInt32(Signed(AtomicExchange(MachineType::Uint8(), backing_store, in TF_BUILTIN()
466 AtomicExchange(MachineType::Int16(), backing_store, in TF_BUILTIN()
471 AtomicExchange(MachineType::Uint16(), backing_store, in TF_BUILTIN()
476 AtomicExchange(MachineType::Int32(), backing_store, in TF_BUILTIN()
481 AtomicExchange(MachineType::Uint32(), backing_store, in TF_BUILTIN()
604 AtomicCompareExchange(MachineType::Int8(), backing_store, index_word, in TF_BUILTIN()
609 AtomicCompareExchange(MachineType::Uint8(), backing_store, index_word, in TF_BUILTIN()
614 MachineType::Int16(), backing_store, WordShl(index_word, 1), in TF_BUILTIN()
[all …]
/third_party/node/deps/v8/src/compiler/backend/ppc/
Dinstruction-selector-ppc.cc2015 MachineType type = AtomicOpType(node->op()); in VisitWord32AtomicExchange()
2016 if (type == MachineType::Int8()) { in VisitWord32AtomicExchange()
2018 } else if (type == MachineType::Uint8()) { in VisitWord32AtomicExchange()
2020 } else if (type == MachineType::Int16()) { in VisitWord32AtomicExchange()
2022 } else if (type == MachineType::Uint16()) { in VisitWord32AtomicExchange()
2024 } else if (type == MachineType::Int32() || type == MachineType::Uint32()) { in VisitWord32AtomicExchange()
2034 MachineType type = AtomicOpType(node->op()); in VisitWord64AtomicExchange()
2035 if (type == MachineType::Uint8()) { in VisitWord64AtomicExchange()
2037 } else if (type == MachineType::Uint16()) { in VisitWord64AtomicExchange()
2039 } else if (type == MachineType::Uint32()) { in VisitWord64AtomicExchange()
[all …]
/third_party/node/deps/v8/src/compiler/backend/x64/
Dinstruction-selector-x64.cc393 if (params.rep == MachineType::Int8()) { in VisitLoadLane()
395 } else if (params.rep == MachineType::Int16()) { in VisitLoadLane()
397 } else if (params.rep == MachineType::Int32()) { in VisitLoadLane()
399 } else if (params.rep == MachineType::Int64()) { in VisitLoadLane()
2006 if (output.location.GetType() == MachineType::Float32()) { in EmitPrepareResults()
2008 } else if (output.location.GetType() == MachineType::Float64()) { in EmitPrepareResults()
2010 } else if (output.location.GetType() == MachineType::Simd128()) { in EmitPrepareResults()
2085 MachineType MachineTypeForNarrow(Node* node, Node* hint_node) { in MachineTypeForNarrow()
2088 MachineType hint = LoadRepresentationOf(hint_node->op()); in MachineTypeForNarrow()
2094 if (hint == MachineType::Int8()) { in MachineTypeForNarrow()
[all …]
/third_party/node/deps/v8/src/compiler/backend/
Dcode-generator.cc1155 MachineType type) { in AddTranslationForOperand()
1159 } else if (type == MachineType::Int8() || type == MachineType::Int16() || in AddTranslationForOperand()
1160 type == MachineType::Int32()) { in AddTranslationForOperand()
1162 } else if (type == MachineType::Uint8() || type == MachineType::Uint16() || in AddTranslationForOperand()
1163 type == MachineType::Uint32()) { in AddTranslationForOperand()
1165 } else if (type == MachineType::Int64()) { in AddTranslationForOperand()
1187 } else if (type == MachineType::Int8() || type == MachineType::Int16() || in AddTranslationForOperand()
1188 type == MachineType::Int32()) { in AddTranslationForOperand()
1190 } else if (type == MachineType::Uint8() || type == MachineType::Uint16() || in AddTranslationForOperand()
1191 type == MachineType::Uint32()) { in AddTranslationForOperand()
[all …]

12345