Lines Matching defs:getCondition
81 static Value *getCondition(Instruction *I) {
92 return cast<BranchInst>(I)->getCondition();
262 widenCondCommon(getCondition(ToWiden), NewCondition, ToWiden, Result,
314 assert(isa<ConstantInt>(getCondition(I)) && "Should be!");
334 if (isa<ConstantInt>(getCondition(Instr)))
372 LLVM_DEBUG(dbgs() << "Score between " << *getCondition(Instr)
373 << " and " << *getCondition(Candidate) << " is "
393 widenGuard(BestSoFar, getCondition(Instr), InvertCondition);
421 if (!isAvailableAt(getCondition(DominatedInstr), DominatingGuard))
432 if (isWideningCondProfitable(getCondition(DominatedInstr),
433 getCondition(DominatingGuard), InvertCond))