Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1528
BfIRValue BfModule::GetConstValue(int64 val)
1529
{
1530
return mBfIRBuilder->CreateConst(BfTypeCode_IntPtr, (uint64)val);
1531
}
1532
1533
BfIRValue BfModule::GetConstValue(int64 val, BfType* type)
1534
{
Callers
15
EmitAppendAlign
Method · 0.80
DoObjectCreate
Method · 0.80
Resolve
Method · 0.80
EmitTestMethod
Method · 0.80
InferGenericArgument
Method · 0.80
LoadField
Method · 0.80
PushArg
Method · 0.80
CreateCall
Method · 0.80
Visit
Method · 0.80
DoTypeIntAttr
Method · 0.80
CreateObject
Method · 0.80
Handle
Method · 0.80
Calls
6
BfIRValue
Class · 0.85
CreateConst
Method · 0.45
IsTypedPrimitive
Method · 0.45
GetUnderlyingType
Method · 0.45
IsPrimitiveType
Method · 0.45
IsFloat
Method · 0.45
Tested by
no test coverage detected