Home
last modified time | relevance | path

Searched refs:InC (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstructionCombining.cpp672 if (Constant *InC = dyn_cast<Constant>(PN->getIncomingValue(i))) in FoldOpIntoPhi() local
673 InV = InC->isNullValue() ? FalseVInPred : TrueVInPred; in FoldOpIntoPhi()
683 if (Constant *InC = dyn_cast<Constant>(PN->getIncomingValue(i))) in FoldOpIntoPhi() local
684 InV = ConstantExpr::getCompare(CI->getPredicate(), InC, C); in FoldOpIntoPhi()
697 if (Constant *InC = dyn_cast<Constant>(PN->getIncomingValue(i))) in FoldOpIntoPhi() local
698 InV = ConstantExpr::get(I.getOpcode(), InC, C); in FoldOpIntoPhi()
709 if (Constant *InC = dyn_cast<Constant>(PN->getIncomingValue(i))) in FoldOpIntoPhi() local
710 InV = ConstantExpr::getCast(CI->getOpcode(), InC, RetTy); in FoldOpIntoPhi()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp868 Constant *InC = dyn_cast<Constant>(PN->getIncomingValue(i)); in FoldOpIntoPhi() local
869 if (InC && !isa<ConstantExpr>(InC)) in FoldOpIntoPhi()
870 InV = InC->isNullValue() ? FalseVInPred : TrueVInPred; in FoldOpIntoPhi()
880 if (Constant *InC = dyn_cast<Constant>(PN->getIncomingValue(i))) in FoldOpIntoPhi() local
881 InV = ConstantExpr::getCompare(CI->getPredicate(), InC, C); in FoldOpIntoPhi()
894 if (Constant *InC = dyn_cast<Constant>(PN->getIncomingValue(i))) in FoldOpIntoPhi() local
895 InV = ConstantExpr::get(I.getOpcode(), InC, C); in FoldOpIntoPhi()
906 if (Constant *InC = dyn_cast<Constant>(PN->getIncomingValue(i))) in FoldOpIntoPhi() local
907 InV = ConstantExpr::getCast(CI->getOpcode(), InC, RetTy); in FoldOpIntoPhi()