|
LLVM 22.0.0git
|
#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/Statistic.h"#include "llvm/Analysis/ConstantFolding.h"#include "llvm/Analysis/DomTreeUpdater.h"#include "llvm/Analysis/InstructionSimplify.h"#include "llvm/Analysis/LoopInfo.h"#include "llvm/IR/AttributeMask.h"#include "llvm/IR/CFG.h"#include "llvm/IR/Constants.h"#include "llvm/IR/DebugInfo.h"#include "llvm/IR/DerivedTypes.h"#include "llvm/IR/Function.h"#include "llvm/IR/InstIterator.h"#include "llvm/IR/Instructions.h"#include "llvm/IR/IntrinsicInst.h"#include "llvm/IR/LLVMContext.h"#include "llvm/IR/MDBuilder.h"#include "llvm/IR/Metadata.h"#include "llvm/IR/Module.h"#include "llvm/Transforms/Utils/BasicBlockUtils.h"#include "llvm/Transforms/Utils/Cloning.h"#include "llvm/Transforms/Utils/Local.h"#include "llvm/Transforms/Utils/ValueMapper.h"#include <map>#include <optional>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) |
| #define DEBUG_TYPE "clone-function" |
Definition at line 42 of file CloneFunction.cpp.
|
static |
Definition at line 65 of file CloneFunction.cpp.
References F, I, instructions, and llvm::DebugInfoFinder::processInstruction().
Referenced by llvm::CloneFunctionInto().
|
static |
Definition at line 78 of file CloneFunction.cpp.
References llvm::DifferentModule, llvm::dyn_cast(), llvm::dyn_cast_or_null(), F, and llvm::isa().
Referenced by llvm::CloneFunctionInto().
| STATISTIC | ( | RemappedAtomMax | , |
| "Highest global NextAtomGroup (after mapping)" | ) |