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

Method CloneFunction

lib/Transforms/Utils/CloneFunction.cpp:183–215  ·  view source on GitHub ↗

Return a copy of the specified function and add it to that function's module. Also, any references specified in the VMap are changed to refer to their mapped value instead of the original one. If any of the arguments to the function are in the VMap, the arguments are deleted from the resultant function. The VMap is updated to include mappings from all of the instructions and basicblocks in the

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 13

getFunction · 0.50
argsMethod · 0.45
countMethod · 0.45
push_backMethod · 0.45
getTypeMethod · 0.45
getReturnTypeMethod · 0.45
getFunctionTypeMethod · 0.45
isVarArgMethod · 0.45
getLinkageMethod · 0.45
getNameMethod · 0.45
getParentMethod · 0.45
arg_beginMethod · 0.45

Tested by

no test coverage detected