Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AliveToolkit/alive2
/ enforceScalarType
Method
enforceScalarType
ir/type.cpp:149–151 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
147
}
148
149
expr Type::enforceScalarType() const {
150
return enforceIntType() || enforcePtrType() || enforceFloatType();
151
}
152
153
expr Type::enforceVectorType() const {
154
return enforceVectorType([](auto &ty) { return true; });
Callers
1
getTypeConstraints
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected