MCPcopy Create free account
hub / github.com/csyonghe/Spire / IsIntVector

Method IsIntVector

Source/SpireCore/IL.cpp:200–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198 }
199
200 bool ILType::IsIntVector()
201 {
202 auto basicType = dynamic_cast<ILBasicType*>(this);
203 if (basicType)
204 return basicType->Type == ILBaseType::Int2 || basicType->Type == ILBaseType::Int3 || basicType->Type == ILBaseType::Int4;
205 else
206 return false;
207 }
208
209 bool ILType::IsUIntVector()
210 {

Callers 3

ConvertBasicTypeMethod · 0.80
PrintUnaryInstrMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected