LLVM 19.0.0git
Macros | Functions
LibCallsShrinkWrap.cpp File Reference
#include "llvm/Transforms/Utils/LibCallsShrinkWrap.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/DomTreeUpdater.h"
#include "llvm/Analysis/GlobalsModRef.h"
#include "llvm/Analysis/TargetLibraryInfo.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/InstVisitor.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/MDBuilder.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include <cmath>

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "libcalls-shrinkwrap"
 

Functions

 STATISTIC (NumWrappedOneCond, "Number of One-Condition Wrappers Inserted")
 
 STATISTIC (NumWrappedTwoCond, "Number of Two-Condition Wrappers Inserted")
 
static bool runImpl (Function &F, const TargetLibraryInfo &TLI, DominatorTree *DT)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "libcalls-shrinkwrap"

Definition at line 47 of file LibCallsShrinkWrap.cpp.

Function Documentation

◆ runImpl()

static bool runImpl ( Function F,
const TargetLibraryInfo TLI,
DominatorTree DT 
)
static

◆ STATISTIC() [1/2]

STATISTIC ( NumWrappedOneCond  ,
"Number of One-Condition Wrappers Inserted"   
)

◆ STATISTIC() [2/2]

STATISTIC ( NumWrappedTwoCond  ,
"Number of Two-Condition Wrappers Inserted"   
)