Codegen for all triangle variants
This commit is contained in:
parent
c852b6c5e9
commit
eb4021b997
10 changed files with 308 additions and 72 deletions
|
|
@ -195,3 +195,8 @@ SSAInt operator|(const SSAInt &a, const SSAInt &b)
|
|||
{
|
||||
return SSAInt::from_llvm(SSAScope::builder().CreateOr(a.v, b.v, SSAScope::hint()));
|
||||
}
|
||||
|
||||
SSAInt operator~(const SSAInt &a)
|
||||
{
|
||||
return SSAInt::from_llvm(SSAScope::builder().CreateNot(a.v, SSAScope::hint()));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue