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

Go to the source code of this file.

Namespaces

 llvm
 This file implements support for optimizing divisions by a constant.
 

Functions

bool llvm::isGuard (const User *U)
 Returns true iff U has semantics of a guard expressed in a form of call of llvm.experimental.guard intrinsic. More...
 
bool llvm::isWidenableBranch (const User *U)
 Returns true iff U is a widenable branch (that is, parseWidenableBranch returns true). More...
 
bool llvm::isGuardAsWidenableBranch (const User *U)
 Returns true iff U has semantics of a guard expressed in a form of a widenable conditional branch to deopt block. More...
 
bool llvm::parseWidenableBranch (const User *U, Value *&Condition, Value *&WidenableCondition, BasicBlock *&IfTrueBB, BasicBlock *&IfFalseBB)
 If U is widenable branch looking like: cond = ... More...
 
bool llvm::parseWidenableBranch (User *U, Use *&Cond, Use *&WC, BasicBlock *&IfTrueBB, BasicBlock *&IfFalseBB)
 Analgous to the above, but return the Uses so that that they can be modified. More...