Lines Matching refs:getCondition
720 return SelectInst::Create(SI->getCondition(), in FoldOpIntoSelect()
2034 !isa<UndefValue>(BI.getCondition())) { in visitBranchInst()
2035 BI.setCondition(UndefValue::get(BI.getCondition()->getType())); in visitBranchInst()
2043 BI.getCondition()->hasOneUse()) in visitBranchInst()
2046 FCmpInst *Cond = cast<FCmpInst>(BI.getCondition()); in visitBranchInst()
2059 BI.getCondition()->hasOneUse()) in visitBranchInst()
2063 ICmpInst *Cond = cast<ICmpInst>(BI.getCondition()); in visitBranchInst()
2075 Value *Cond = SI.getCondition(); in visitSwitchInst()
2102 Value *NewCond = Builder->CreateTrunc(SI.getCondition(), Ty, "trunc"); in visitSwitchInst()
2851 if (BI->isConditional() && isa<ConstantInt>(BI->getCondition())) { in AddReachableCodeToWorklist()
2852 bool CondVal = cast<ConstantInt>(BI->getCondition())->getZExtValue(); in AddReachableCodeToWorklist()
2858 if (ConstantInt *Cond = dyn_cast<ConstantInt>(SI->getCondition())) { in AddReachableCodeToWorklist()