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