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

Method GetUnderlyingVReg

IDEHelper/Backend/BeMCContext.cpp:3852–3863  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3850}
3851
3852int BeMCContext::GetUnderlyingVReg(int vregIdx)
3853{
3854 while (true)
3855 {
3856 auto vregInfo = mVRegInfo[vregIdx];
3857 if (!vregInfo->mRelTo.IsVRegAny())
3858 return vregIdx;
3859 if (vregInfo->mRelOffset)
3860 return vregIdx;
3861 vregIdx = vregInfo->mRelTo.mVRegIdx;
3862 }
3863}
3864
3865bool BeMCContext::HasForceRegs(const BeMCOperand &operand)
3866{

Callers 2

AddEdgeMethod · 0.80
GenerateRegCostsMethod · 0.80

Calls 1

IsVRegAnyMethod · 0.80

Tested by

no test coverage detected