LLVM  8.0.1
Macros | Functions | Variables
PartiallyInlineLibCalls.cpp File Reference
#include "llvm/Transforms/Scalar/PartiallyInlineLibCalls.h"
#include "llvm/Analysis/TargetLibraryInfo.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/Support/DebugCounter.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
Include dependency graph for PartiallyInlineLibCalls.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "partially-inline-libcalls"
 

Functions

 DEBUG_COUNTER (PILCounter, "partially-inline-libcalls-transform", "Controls transformations in partially-inline-libcalls")
 
static bool optimizeSQRT (CallInst *Call, Function *CalledFunc, BasicBlock &CurrBB, Function::iterator &BB, const TargetTransformInfo *TTI)
 
static bool runPartiallyInlineLibCalls (Function &F, TargetLibraryInfo *TLI, const TargetTransformInfo *TTI)
 
 INITIALIZE_PASS_BEGIN (PartiallyInlineLibCallsLegacyPass, "partially-inline-libcalls", "Partially inline calls to library functions", false, false) INITIALIZE_PASS_END(PartiallyInlineLibCallsLegacyPass
 

Variables

partially inline libcalls
 
partially inline Partially calls to library functions
 
partially inline Partially calls to library false
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "partially-inline-libcalls"

Definition at line 26 of file PartiallyInlineLibCalls.cpp.

Function Documentation

◆ DEBUG_COUNTER()

DEBUG_COUNTER ( PILCounter  ,
"partially-inline-libcalls-transform"  ,
"Controls transformations in partially-inline-libcalls  
)

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( PartiallyInlineLibCallsLegacyPass  ,
"partially-inline-libcalls ,
"Partially inline calls to library functions ,
false  ,
false   
)

◆ optimizeSQRT()

static bool optimizeSQRT ( CallInst Call,
Function CalledFunc,
BasicBlock CurrBB,
Function::iterator BB,
const TargetTransformInfo TTI 
)
static

◆ runPartiallyInlineLibCalls()

static bool runPartiallyInlineLibCalls ( Function F,
TargetLibraryInfo TLI,
const TargetTransformInfo TTI 
)
static

Variable Documentation

◆ false

partially inline Partially calls to library false
inline

Definition at line 181 of file PartiallyInlineLibCalls.cpp.

◆ functions

partially inline Partially calls to library functions
inline

Definition at line 181 of file PartiallyInlineLibCalls.cpp.

◆ libcalls

partially inline libcalls

Definition at line 181 of file PartiallyInlineLibCalls.cpp.