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

Function LLVMMapLinkageType

IDEHelper/Compiler/BfIRCodeGen.cpp:243–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243static llvm::GlobalValue::LinkageTypes LLVMMapLinkageType(BfIRLinkageType linkageType)
244{
245 llvm::GlobalValue::LinkageTypes llvmLinkageType;
246 if (linkageType == BfIRLinkageType_Internal)
247 llvmLinkageType = llvm::GlobalValue::InternalLinkage;
248 else
249 llvmLinkageType = llvm::GlobalValue::ExternalLinkage;
250 return llvmLinkageType;
251}
252
253static llvm::Attribute::AttrKind LLVMMapAttribute(BfIRAttribute attr)
254{

Callers 2

ReadMethod · 0.70
HandleNextCmdMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected