Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstructionCombining.cpp671 Value *InV = 0; in FoldOpIntoPhi() local
673 InV = InC->isNullValue() ? FalseVInPred : TrueVInPred; in FoldOpIntoPhi()
675 InV = Builder->CreateSelect(PN->getIncomingValue(i), in FoldOpIntoPhi()
677 NewPN->addIncoming(InV, ThisBB); in FoldOpIntoPhi()
682 Value *InV = 0; in FoldOpIntoPhi() local
684 InV = ConstantExpr::getCompare(CI->getPredicate(), InC, C); in FoldOpIntoPhi()
686 InV = Builder->CreateICmp(CI->getPredicate(), PN->getIncomingValue(i), in FoldOpIntoPhi()
689 InV = Builder->CreateFCmp(CI->getPredicate(), PN->getIncomingValue(i), in FoldOpIntoPhi()
691 NewPN->addIncoming(InV, PN->getIncomingBlock(i)); in FoldOpIntoPhi()
696 Value *InV = 0; in FoldOpIntoPhi() local
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp865 Value *InV = nullptr; in FoldOpIntoPhi() local
870 InV = InC->isNullValue() ? FalseVInPred : TrueVInPred; in FoldOpIntoPhi()
872 InV = Builder->CreateSelect(PN->getIncomingValue(i), in FoldOpIntoPhi()
874 NewPN->addIncoming(InV, ThisBB); in FoldOpIntoPhi()
879 Value *InV = nullptr; in FoldOpIntoPhi() local
881 InV = ConstantExpr::getCompare(CI->getPredicate(), InC, C); in FoldOpIntoPhi()
883 InV = Builder->CreateICmp(CI->getPredicate(), PN->getIncomingValue(i), in FoldOpIntoPhi()
886 InV = Builder->CreateFCmp(CI->getPredicate(), PN->getIncomingValue(i), in FoldOpIntoPhi()
888 NewPN->addIncoming(InV, PN->getIncomingBlock(i)); in FoldOpIntoPhi()
893 Value *InV = nullptr; in FoldOpIntoPhi() local
[all …]