Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/beefytech/Beef
/ IsCommutable
Method
IsCommutable
IDEHelper/Backend/BeMCContext.h:596–599 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
594
}
595
596
bool IsCommutable()
597
{
598
return (mKind == BeMCInstKind_Add) || (mKind == BeMCInstKind_Mul) || (mKind == BeMCInstKind_IMul);
599
}
600
601
bool IsShift()
602
{
Callers
2
DoInstCombinePass
Method · 0.80
DoLegalization
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected