MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / enforceScalarOrVectorType

Method enforceScalarOrVectorType

ir/type.cpp:181–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181expr Type::enforceScalarOrVectorType(
182 const function<expr(const Type&)> &enforceElem) const {
183 return enforceElem(*this) || enforceVectorType(enforceElem);
184}
185
186expr Type::enforceIntOrVectorType(unsigned bits) const {
187 return enforceScalarOrVectorType(

Callers 1

getTypeConstraintsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected