Lines Matching refs:Cond
84 handleLoopCondition(Value *Cond, PHINode *Broken, llvm::Loop *L,
212 Value *Cond = IRB.CreateExtractValue(IfCall, {0}); in openIf() local
214 Term->setCondition(Cond); in openIf()
227 Value *Cond = IRB.CreateExtractValue(ElseCall, {0}); in insertElse() local
229 Term->setCondition(Cond); in insertElse()
236 Value *Cond, PHINode *Broken, llvm::Loop *L, BranchInst *Term) { in handleLoopCondition() argument
238 auto CreateBreak = [this, Cond, Broken](Instruction *I) -> CallInst * { in handleLoopCondition()
239 return IRBuilder<>(I).CreateCall(IfBreak, {Cond, Broken}); in handleLoopCondition()
242 if (Instruction *Inst = dyn_cast<Instruction>(Cond)) { in handleLoopCondition()
255 if (isa<Constant>(Cond)) { in handleLoopCondition()
256 Instruction *Insert = Cond == BoolTrue ? in handleLoopCondition()
262 if (isa<Argument>(Cond)) { in handleLoopCondition()
284 Value *Cond = Term->getCondition(); in handleLoop() local
286 Value *Arg = handleLoopCondition(Cond, Broken, L, Term); in handleLoop()