MCPcopy Create free account
hub / github.com/GoSSIP-SJTU/Armariris / GetOrCreateLLVMGlobal

Method GetOrCreateLLVMGlobal

tools/clang/lib/CodeGen/CodeGenModule.cpp:2061–2176  ·  view source on GitHub ↗

GetOrCreateLLVMGlobal - If the specified mangled name is not in the module, create and return an llvm GlobalVariable with the specified type. If there is something in the module with the specified name, return it potentially bitcasted to the right type. If D is non-null, it specifies a decl that correspond to this. This is used to set the attributes on the global when it is first created. If I

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

getTargetFunction · 0.85
isExternallyVisibleFunction · 0.85
setDLLStorageClassMethod · 0.80
isDeclarationMethod · 0.80
hasInitMethod · 0.80
takeNameMethod · 0.80
setConstantMethod · 0.80
getQuantityMethod · 0.80
getDeclAlignMethod · 0.80
getTLSKindMethod · 0.80

Tested by

no test coverage detected