Lines Matching refs:getCondition
2123 assert(isa<CmpInst>(BI->getCondition()) && "Expected cmp instruction"); in emitCompareAndBranch()
2124 const CmpInst *CI = cast<CmpInst>(BI->getCondition()); in emitCompareAndBranch()
2261 if (const CmpInst *CI = dyn_cast<CmpInst>(BI->getCondition())) { in selectBranch()
2330 } else if (TruncInst *TI = dyn_cast<TruncInst>(BI->getCondition())) { in selectBranch()
2368 } else if (const auto *CI = dyn_cast<ConstantInt>(BI->getCondition())) { in selectBranch()
2381 } else if (foldXALUIntrinsic(CC, I, BI->getCondition())) { in selectBranch()
2384 unsigned CondReg = getRegForValue(BI->getCondition()); in selectBranch()
2404 unsigned CondReg = getRegForValue(BI->getCondition()); in selectBranch()
2407 bool CondRegIsKill = hasTrivialKill(BI->getCondition()); in selectBranch()
2547 Src1Val = SI->getCondition(); in optimizeSelect()
2553 Src2Val = SI->getCondition(); in optimizeSelect()
2558 Src1Val = SI->getCondition(); in optimizeSelect()
2564 Src1Val = SI->getCondition(); in optimizeSelect()
2626 const Value *Cond = SI->getCondition(); in selectSelect()