-
-
Notifications
You must be signed in to change notification settings - Fork 282
Expand file tree
/
Copy pathargtypes.h
More file actions
25 lines (21 loc) · 729 Bytes
/
argtypes.h
File metadata and controls
25 lines (21 loc) · 729 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* Compiler implementation of the D programming language
* Copyright (C) 1999-2026 by The D Language Foundation, All Rights Reserved
* written by Walter Bright
* https://www.digitalmars.com
* Distributed under the Boost Software License, Version 1.0.
* https://www.boost.org/LICENSE_1_0.txt
* https://github.com/dlang/dmd/blob/master/compiler/src/dmd/argtypes.h
*/
#pragma once
class Type;
class TypeTuple;
namespace dmd
{
// in argtypes_x86.d
TypeTuple *toArgTypes_x86(Type *t);
// in argtypes_sysv_x64.d
TypeTuple *toArgTypes_sysv_x64(Type *t);
// in argtypes_aarch64.d
TypeTuple *toArgTypes_aarch64(Type *t);
bool isHFVA(Type *t, int maxNumElements = 4, Type **rewriteType = nullptr);
}