MCPcopy Create free account
hub / github.com/GANGE666/xVMP / getFunction

Method getFunction

src/unittests/IR/MetadataTest.cpp:120–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118 32, 32, 0, DINode::FlagZero, nullptr, 0, nullptr, nullptr, "");
119 }
120 Function *getFunction(StringRef Name) {
121 return cast<Function>(M.getOrInsertFunction(
122 Name, FunctionType::get(Type::getVoidTy(Context), None, false)));
123 }
124};
125typedef MetadataTest MDStringTest;
126

Callers 15

TESTFunction · 0.45
TESTFunction · 0.45
runWithDomTreeFunction · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
operator()Method · 0.45
TESTFunction · 0.45

Calls 2

getFunction · 0.50
getOrInsertFunctionMethod · 0.45

Tested by

no test coverage detected