mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Comptime debugging
This commit is contained in:
parent
bbb97d1490
commit
ff2e40e3bf
40 changed files with 6213 additions and 443 deletions
|
@ -126,6 +126,7 @@ enum BfConstType
|
|||
BfConstType_GlobalVar = BfTypeCode_Length,
|
||||
BfConstType_BitCast,
|
||||
BfConstType_BitCastNull,
|
||||
BfConstType_GEP32_1,
|
||||
BfConstType_GEP32_2,
|
||||
BfConstType_ExtractValue,
|
||||
BfConstType_PtrToInt,
|
||||
|
@ -878,6 +879,13 @@ struct BfConstantIntToPtr
|
|||
BfIRType mToType;
|
||||
};
|
||||
|
||||
struct BfConstantGEP32_1
|
||||
{
|
||||
BfConstType mConstType;
|
||||
int mTarget;
|
||||
int mIdx0;
|
||||
};
|
||||
|
||||
struct BfConstantGEP32_2
|
||||
{
|
||||
BfConstType mConstType;
|
||||
|
@ -1223,6 +1231,7 @@ public:
|
|||
BfIRValue CreateBitCast(BfIRValue val, BfIRType type);
|
||||
BfIRValue CreatePtrToInt(BfIRValue val, BfTypeCode typeCode);
|
||||
BfIRValue CreateIntToPtr(BfIRValue val, BfIRType type);
|
||||
BfIRValue CreateIntToPtr(uint64 val, BfIRType type);
|
||||
BfIRValue CreateInBoundsGEP(BfIRValue val, int idx0);
|
||||
BfIRValue CreateInBoundsGEP(BfIRValue val, int idx0, int idx1);
|
||||
BfIRValue CreateInBoundsGEP(BfIRValue val, BfIRValue idx0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue