MCPcopy Create free account
hub / github.com/Samsung/UTopia / getGlobalVariable

Method getGlobalVariable

tests/testutil/IRAccessHelper.cpp:69–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69llvm::GlobalVariable *IRAccessHelper::getGlobalVariable(std::string Name) {
70 auto *GV = M.getGlobalVariable(Name, true);
71 if (!GV)
72 return nullptr;
73
74 return const_cast<llvm::GlobalVariable *>(GV);
75}
76
77} // namespace ftg

Callers 3

getASTDefNodeMethod · 0.80
generateRDNodeMethod · 0.80
generateRDNodeMethod · 0.80

Calls

no outgoing calls

Tested by 3

getASTDefNodeMethod · 0.64
generateRDNodeMethod · 0.64
generateRDNodeMethod · 0.64