Lines Matching refs:getCondition
2112 assert(isa<CmpInst>(BI->getCondition()) && "Expected cmp instruction"); in emitCompareAndBranch()
2113 const CmpInst *CI = cast<CmpInst>(BI->getCondition()); in emitCompareAndBranch()
2250 if (const CmpInst *CI = dyn_cast<CmpInst>(BI->getCondition())) { in selectBranch()
2319 } else if (TruncInst *TI = dyn_cast<TruncInst>(BI->getCondition())) { in selectBranch()
2357 } else if (const auto *CI = dyn_cast<ConstantInt>(BI->getCondition())) { in selectBranch()
2370 } else if (foldXALUIntrinsic(CC, I, BI->getCondition())) { in selectBranch()
2373 unsigned CondReg = getRegForValue(BI->getCondition()); in selectBranch()
2393 unsigned CondReg = getRegForValue(BI->getCondition()); in selectBranch()
2396 bool CondRegIsKill = hasTrivialKill(BI->getCondition()); in selectBranch()
2536 Src1Val = SI->getCondition(); in optimizeSelect()
2542 Src2Val = SI->getCondition(); in optimizeSelect()
2547 Src1Val = SI->getCondition(); in optimizeSelect()
2553 Src1Val = SI->getCondition(); in optimizeSelect()
2615 const Value *Cond = SI->getCondition(); in selectSelect()