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

Method GetConstValue

IDEHelper/Compiler/BfModule.cpp:1528–1531  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1526}
1527
1528BfIRValue BfModule::GetConstValue(int64 val)
1529{
1530 return mBfIRBuilder->CreateConst(BfTypeCode_IntPtr, (uint64)val);
1531}
1532
1533BfIRValue BfModule::GetConstValue(int64 val, BfType* type)
1534{

Callers 15

EmitAppendAlignMethod · 0.80
DoObjectCreateMethod · 0.80
ResolveMethod · 0.80
EmitTestMethodMethod · 0.80
InferGenericArgumentMethod · 0.80
LoadFieldMethod · 0.80
PushArgMethod · 0.80
CreateCallMethod · 0.80
VisitMethod · 0.80
DoTypeIntAttrMethod · 0.80
CreateObjectMethod · 0.80
HandleMethod · 0.80

Calls 6

BfIRValueClass · 0.85
CreateConstMethod · 0.45
IsTypedPrimitiveMethod · 0.45
GetUnderlyingTypeMethod · 0.45
IsPrimitiveTypeMethod · 0.45
IsFloatMethod · 0.45

Tested by

no test coverage detected