Lines Matching refs:Cond
84 handleLoopCondition(Value *Cond, PHINode *Broken, llvm::Loop *L,
211 Value *Cond = IRB.CreateExtractValue(IfCall, {0}); in openIf() local
213 Term->setCondition(Cond); in openIf()
226 Value *Cond = IRB.CreateExtractValue(ElseCall, {0}); in insertElse() local
228 Term->setCondition(Cond); in insertElse()
235 Value *Cond, PHINode *Broken, llvm::Loop *L, BranchInst *Term) { in handleLoopCondition() argument
237 auto CreateBreak = [this, Cond, Broken](Instruction *I) -> CallInst * { in handleLoopCondition()
238 return IRBuilder<>(I).CreateCall(IfBreak, {Cond, Broken}); in handleLoopCondition()
241 if (Instruction *Inst = dyn_cast<Instruction>(Cond)) { in handleLoopCondition()
254 if (isa<Constant>(Cond)) { in handleLoopCondition()
255 Instruction *Insert = Cond == BoolTrue ? in handleLoopCondition()
261 if (isa<Argument>(Cond)) { in handleLoopCondition()
283 Value *Cond = Term->getCondition(); in handleLoop() local
285 Value *Arg = handleLoopCondition(Cond, Broken, L, Term); in handleLoop()