LLVM  14.0.0git
Namespaces | Functions
CallPromotionUtils.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


 This is an optimization pass for GlobalISel generic memory operations.


bool llvm::isLegalToPromote (const CallBase &CB, Function *Callee, const char **FailureReason=nullptr)
 Return true if the given indirect call site can be made to call Callee. More...
CallBasellvm::promoteCall (CallBase &CB, Function *Callee, CastInst **RetBitCast=nullptr)
 Promote the given indirect call site to unconditionally call Callee. More...
CallBasellvm::promoteCallWithIfThenElse (CallBase &CB, Function *Callee, MDNode *BranchWeights=nullptr)
 Promote the given indirect call site to conditionally call Callee. More...
bool llvm::tryPromoteCall (CallBase &CB)
 Try to promote (devirtualize) a virtual call on an Alloca. More...