Lines Matching defs:U
18 bool llvm::isGuard(const User *U) {
19 return match(U, m_Intrinsic<Intrinsic::experimental_guard>());
26 bool llvm::isWidenableBranch(const User *U) {
29 return parseWidenableBranch(U, Condition, WidenableCondition, GuardedBB,
33 bool llvm::isGuardAsWidenableBranch(const User *U) {
34 if (!isWidenableBranch(U))
36 BasicBlock *DeoptBB = cast<BranchInst>(U)->getSuccessor(1);
53 bool llvm::parseWidenableBranch(const User *U, Value *&Condition,
58 if (parseWidenableBranch(const_cast<User*>(U), C, WC, IfTrueBB, IfFalseBB)) {
69 bool llvm::parseWidenableBranch(User *U, Use *&C,Use *&WC,
72 auto *BI = dyn_cast<BranchInst>(U);
138 void llvm::parseWidenableGuard(const User *U,
140 assert((isGuard(U) || isWidenableBranch(U)) && "Should be");
141 Value *Condition = isGuard(U) ? cast<IntrinsicInst>(U)->getArgOperand(0)
142 : cast<BranchInst>(U)->getCondition();
151 Value *llvm::extractWidenableCondition(const User *U) {
152 auto *BI = dyn_cast<BranchInst>(U);