|
LLVM 22.0.0git
|
#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) |
| #define DEBUG_TYPE "libcalls-shrinkwrap" |
Definition at line 47 of file LibCallsShrinkWrap.cpp.
|
static |
Definition at line 499 of file LibCallsShrinkWrap.cpp.
References assert(), Changed, F, llvm::GenericDomTreeUpdater< DerivedT, DomTreeT, PostDomTreeT >::getDomTree(), and llvm::DominatorTreeBase< NodeT, IsPostDom >::verify().
| STATISTIC | ( | NumWrappedOneCond | , |
| "Number of One-Condition Wrappers Inserted" | ) |
| STATISTIC | ( | NumWrappedTwoCond | , |
| "Number of Two-Condition Wrappers Inserted" | ) |