Home
last modified time | relevance | path

Searched refs:InV (Results 1 – 5 of 5) 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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp859 static Value *foldOperationIntoPhiValue(BinaryOperator *I, Value *InV, in foldOperationIntoPhiValue() argument
864 if (auto *InC = dyn_cast<Constant>(InV)) { in foldOperationIntoPhiValue()
870 Value *Op0 = InV, *Op1 = C; in foldOperationIntoPhiValue()
958 Value *InV = nullptr; in foldOpIntoPhi() local
967 InV = InC->isNullValue() ? FalseVInPred : TrueVInPred; in foldOpIntoPhi()
978 InV = Builder.CreateSelect(PN->getIncomingValue(i), TrueVInPred, in foldOpIntoPhi()
981 NewPN->addIncoming(InV, ThisBB); in foldOpIntoPhi()
986 Value *InV = nullptr; in foldOpIntoPhi() local
988 InV = ConstantExpr::getCompare(CI->getPredicate(), InC, C); in foldOpIntoPhi()
990 InV = Builder.CreateICmp(CI->getPredicate(), PN->getIncomingValue(i), in foldOpIntoPhi()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DSafepointIRVerifier.cpp341 for (Value *InV: PN->incoming_values()) in getBaseType()
342 Worklist.push_back(InV); in getBaseType()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonLoopIdiomRecognition.cpp1017 Value *InV = P->getIncomingValue(i); in promoteTo() local
1018 IntegerType *Ty = cast<IntegerType>(InV->getType()); in promoteTo()
1024 InV = IRBuilder<>(InB->getTerminator()).CreateZExt(InV, DestTy); in promoteTo()
1025 P->setIncomingValue(i, InV); in promoteTo()