mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Expansion to const equality checks
This commit is contained in:
parent
a43d4e8bd9
commit
6512841cf1
3 changed files with 61 additions and 3 deletions
|
@ -830,6 +830,7 @@ public:
|
|||
BfConstant* GetConstantById(int id);
|
||||
BfConstant* GetConstant(BfIRValue id);
|
||||
bool TryGetBool(BfIRValue id, bool& boolVal);
|
||||
int IsZero(BfIRValue val);
|
||||
int CheckConstEquality(BfIRValue lhs, BfIRValue rhs); // -1 = fail, 0 = false, 1 = true
|
||||
|
||||
BfIRValue CreateConst(BfTypeCode typeCode, uint64 val);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue