LLVM  10.0.0svn
Namespaces | Functions
CallPromotionUtils.h File Reference
#include "llvm/IR/CallSite.h"
Include dependency graph for CallPromotionUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 llvm
 This class represents lattice values for constants.
 

Functions

bool llvm::isLegalToPromote (CallSite CS, Function *Callee, const char **FailureReason=nullptr)
 Return true if the given indirect call site can be made to call Callee. More...
 
Instructionllvm::promoteCall (CallSite CS, Function *Callee, CastInst **RetBitCast=nullptr)
 Promote the given indirect call site to unconditionally call Callee. More...
 
Instructionllvm::promoteCallWithIfThenElse (CallSite CS, Function *Callee, MDNode *BranchWeights=nullptr)
 Promote the given indirect call site to conditionally call Callee. More...