LLVM 22.0.0git
CloneFunction.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "clone-function"

Functions

 STATISTIC (RemappedAtomMax, "Highest global NextAtomGroup (after mapping)")
static void collectDebugInfoFromInstructions (const Function &F, DebugInfoFinder &DIFinder)
static MetadataPredicate createIdentityMDPredicate (const Function &F, CloneFunctionChangeType Changes)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "clone-function"

Definition at line 42 of file CloneFunction.cpp.

Function Documentation

◆ collectDebugInfoFromInstructions()

void collectDebugInfoFromInstructions ( const Function & F,
DebugInfoFinder & DIFinder )
static

Definition at line 65 of file CloneFunction.cpp.

References F, I, instructions, and llvm::DebugInfoFinder::processInstruction().

Referenced by llvm::CloneFunctionInto().

◆ createIdentityMDPredicate()

MetadataPredicate createIdentityMDPredicate ( const Function & F,
CloneFunctionChangeType Changes )
static

◆ STATISTIC()

STATISTIC ( RemappedAtomMax ,
"Highest global NextAtomGroup (after mapping)"  )