Home
last modified time | relevance | path

Searched refs:CTypeInfo (Results 1 – 10 of 10) sorted by relevance

/third_party/node/deps/v8/include/
Dv8-fast-api-calls.h238 class CTypeInfo {
284 explicit constexpr CTypeInfo(
290 explicit constexpr CTypeInfo(Identifier identifier) in CTypeInfo() function
291 : CTypeInfo(static_cast<Type>(identifier >> 16), in CTypeInfo()
387 CFunctionInfo(const CTypeInfo& return_info, unsigned int arg_count,
388 const CTypeInfo* arg_info);
390 const CTypeInfo& ReturnInfo() const { return return_info_; } in ReturnInfo()
402 const CTypeInfo& ArgumentInfo(unsigned int index) const;
407 CTypeInfo::kCallbackOptionsType; in HasOptions()
411 const CTypeInfo return_info_;
[all …]
/third_party/node/deps/v8/src/compiler/
Dfast-api-calls.cc14 ElementsKind GetTypedArrayElementsKind(CTypeInfo::Type type) { in GetTypedArrayElementsKind()
16 case CTypeInfo::Type::kInt32: in GetTypedArrayElementsKind()
18 case CTypeInfo::Type::kUint32: in GetTypedArrayElementsKind()
20 case CTypeInfo::Type::kInt64: in GetTypedArrayElementsKind()
22 case CTypeInfo::Type::kUint64: in GetTypedArrayElementsKind()
24 case CTypeInfo::Type::kFloat32: in GetTypedArrayElementsKind()
26 case CTypeInfo::Type::kFloat64: in GetTypedArrayElementsKind()
28 case CTypeInfo::Type::kVoid: in GetTypedArrayElementsKind()
29 case CTypeInfo::Type::kBool: in GetTypedArrayElementsKind()
30 case CTypeInfo::Type::kV8Value: in GetTypedArrayElementsKind()
[all …]
Dfast-api-calls.h18 return OverloadsResolutionResult(-1, CTypeInfo::Type::kVoid); in Invalid()
22 CTypeInfo::Type element_type_) in OverloadsResolutionResult()
26 element_type_ != CTypeInfo::Type::kVoid); in OverloadsResolutionResult()
36 CTypeInfo::Type element_type;
39 ElementsKind GetTypedArrayElementsKind(CTypeInfo::Type type);
Deffect-control-linearizer.cc199 Node* AdaptFastCallArgument(Node* node, CTypeInfo arg_type,
4948 Node* node, CTypeInfo arg_type, GraphAssemblerLabel<0>* if_error) { in AdaptFastCallArgument()
4952 case CTypeInfo::SequenceType::kScalar: { in AdaptFastCallArgument()
4954 case CTypeInfo::Type::kV8Value: { in AdaptFastCallArgument()
4962 case CTypeInfo::Type::kFloat32: { in AdaptFastCallArgument()
4970 case CTypeInfo::SequenceType::kIsSequence: { in AdaptFastCallArgument()
4971 CHECK_EQ(arg_type.GetType(), CTypeInfo::Type::kVoid); in AdaptFastCallArgument()
4992 case CTypeInfo::SequenceType::kIsTypedArray: { in AdaptFastCallArgument()
5019 CTypeInfo arg_type = c_signature->ArgumentInfo( in AdaptOverloadedFastCallArgument()
5031 case CTypeInfo::SequenceType::kIsSequence: { in AdaptOverloadedFastCallArgument()
[all …]
Dsimplified-lowering.cc1880 UseInfo UseInfoForFastApiCallArgument(CTypeInfo type, in UseInfoForFastApiCallArgument()
1883 case CTypeInfo::SequenceType::kScalar: { in UseInfoForFastApiCallArgument()
1885 case CTypeInfo::Type::kVoid: in UseInfoForFastApiCallArgument()
1887 case CTypeInfo::Type::kBool: in UseInfoForFastApiCallArgument()
1889 case CTypeInfo::Type::kInt32: in UseInfoForFastApiCallArgument()
1890 case CTypeInfo::Type::kUint32: in UseInfoForFastApiCallArgument()
1895 case CTypeInfo::Type::kInt64: in UseInfoForFastApiCallArgument()
1896 case CTypeInfo::Type::kUint64: in UseInfoForFastApiCallArgument()
1897 case CTypeInfo::Type::kAny: in UseInfoForFastApiCallArgument()
1899 case CTypeInfo::Type::kFloat32: in UseInfoForFastApiCallArgument()
[all …]
Dwasm-compiler.cc7416 case CTypeInfo::Type::kV8Value: in BuildJSFastApiCallWrapper()
7695 const CTypeInfo& info) { in NormalizeFastApiRepresentation()
7748 CTypeInfo return_info = info->ReturnInfo(); in IsSupportedWasmFastApiFunction()
7751 return_info.GetType() != CTypeInfo::Type::kVoid) { in IsSupportedWasmFastApiFunction()
7757 if (return_info.GetType() == CTypeInfo::Type::kVoid) { in IsSupportedWasmFastApiFunction()
7776 CTypeInfo arg = info->ArgumentInfo(i + 1); in IsSupportedWasmFastApiFunction()
/third_party/node/deps/v8/src/execution/
Dencoded-c-signature.cc23 CTypeInfo::SequenceType::kScalar && in EncodedCSignature()
24 CTypeInfo::IsFloatingPointType(signature->ArgumentInfo(i).GetType())) { in EncodedCSignature()
34 CTypeInfo::SequenceType::kScalar && in EncodedCSignature()
35 CTypeInfo::IsFloatingPointType(signature->ReturnInfo().GetType())) { in EncodedCSignature()
/third_party/node/deps/v8/src/codegen/
Dmachine-type.h278 static MachineType TypeForCType(const CTypeInfo& type) { in TypeForCType()
280 case CTypeInfo::Type::kVoid: in TypeForCType()
282 case CTypeInfo::Type::kBool: in TypeForCType()
284 case CTypeInfo::Type::kInt32: in TypeForCType()
286 case CTypeInfo::Type::kUint32: in TypeForCType()
288 case CTypeInfo::Type::kInt64: in TypeForCType()
290 case CTypeInfo::Type::kAny: in TypeForCType()
295 case CTypeInfo::Type::kUint64: in TypeForCType()
297 case CTypeInfo::Type::kFloat32: in TypeForCType()
299 case CTypeInfo::Type::kFloat64: in TypeForCType()
[all …]
/third_party/node/deps/v8/src/api/
Dapi-inl.h266 template <CTypeInfo::Identifier type_info_id, typename T>
271 CTypeInfo(type_info_id).GetType()>::ctype>::value, in CopyAndConvertArrayToCppBuffer()
302 template <const CTypeInfo* type_info, typename T>
310 template <CTypeInfo::Identifier type_info_id, typename T>
Dapi.cc10367 CFunctionInfo::CFunctionInfo(const CTypeInfo& return_info, in CFunctionInfo()
10368 unsigned int arg_count, const CTypeInfo* arg_info) in CFunctionInfo()
10372 DCHECK(arg_info_[i].GetType() != CTypeInfo::kCallbackOptionsType); in CFunctionInfo()
10377 const CTypeInfo& CFunctionInfo::ArgumentInfo(unsigned int index) const { in ArgumentInfo()
10684 CTypeInfo(CTypeInfo::Type::kInt32, CTypeInfo::SequenceType::kIsSequence) in TryToCopyAndConvertArrayToCppBuffer()
10695 CTypeInfo(CTypeInfo::Type::kUint32, CTypeInfo::SequenceType::kIsSequence) in TryToCopyAndConvertArrayToCppBuffer()
10706 CTypeInfo(CTypeInfo::Type::kFloat32, CTypeInfo::SequenceType::kIsSequence) in TryToCopyAndConvertArrayToCppBuffer()
10717 CTypeInfo(CTypeInfo::Type::kFloat64, CTypeInfo::SequenceType::kIsSequence) in TryToCopyAndConvertArrayToCppBuffer()