MCPcopy Create free account
hub / github.com/beefytech/Beef / GetSplatCount

Method GetSplatCount

IDEHelper/Compiler/BfResolvedTypeUtils.cpp:1848–1857  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1846}
1847
1848int BfTypeInstance::GetSplatCount(bool force)
1849{
1850 if (IsValuelessType())
1851 return 0;
1852 if ((!mIsSplattable) && (!force))
1853 return 1;
1854 int splatCount = 0;
1855 BfTypeUtils::SplatIterate([&](BfType* checkType) { splatCount++; }, this);
1856 return splatCount;
1857}
1858
1859bool BfTypeInstance::IsCRepr()
1860{

Callers 9

TryConstCalcAppendMethod · 0.45
SetupIRMethodMethod · 0.45
ProcessMethodMethod · 0.45
DoMethodDeclarationMethod · 0.45
DoPopulateTypeMethod · 0.45
PushArgMethod · 0.45
DoImplicitArgCaptureMethod · 0.45
GetIRFunctionInfoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected