Home
last modified time | relevance | path

Searched refs:IncomingValues (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp937 IncomingValueMap &IncomingValues) { in selectIncomingValueForBlock() argument
939 assert((!IncomingValues.count(BB) || in selectIncomingValueForBlock()
940 IncomingValues.find(BB)->second == OldVal) && in selectIncomingValueForBlock()
943 IncomingValues.insert(std::make_pair(BB, OldVal)); in selectIncomingValueForBlock()
947 IncomingValueMap::const_iterator It = IncomingValues.find(BB); in selectIncomingValueForBlock()
948 if (It != IncomingValues.end()) return It->second; in selectIncomingValueForBlock()
962 IncomingValueMap &IncomingValues) { in gatherIncomingValuesToPhi() argument
968 IncomingValues.insert(std::make_pair(BB, V)); in gatherIncomingValuesToPhi()
978 const IncomingValueMap &IncomingValues) { in replaceUndefValuesInPhi() argument
986 IncomingValueMap::const_iterator It = IncomingValues.find(BB); in replaceUndefValuesInPhi()
[all …]
H A DBasicBlockUtils.cpp228 SmallVector<AssertingVH<Value>, 4> IncomingValues; in MergeBlockIntoPredecessor() local
233 IncomingValues.push_back(PN.getIncomingValue(0)); in MergeBlockIntoPredecessor()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp549 DenseMap<BasicBlock *, Value *> IncomingValues; in mutate() local
551 Value *Src = IncomingValues[Pred]; in mutate()
560 IncomingValues[Pred] = Src; in mutate()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp1017 auto IncomingValues = PN.incoming_values(); in visitPHINode() local
1018 return std::accumulate(IncomingValues.begin() + 1, IncomingValues.end(), in visitPHINode()
1019 computeImpl(*IncomingValues.begin()), in visitPHINode()
H A DInstructionSimplify.cpp5276 static Value *simplifyPHINode(PHINode *PN, ArrayRef<Value *> IncomingValues, in simplifyPHINode() argument
5287 for (Value *Incoming : IncomingValues) { in simplifyPHINode()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp343 auto IncomingValues = cast<PHINode>(Op).incoming_values(); in getPointerOperands() local
344 return {IncomingValues.begin(), IncomingValues.end()}; in getPointerOperands()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp3870 SmallVector<std::pair<LDVSSABlock *, BlockValueNum>, 4> IncomingValues; member in __anon52c3d0e81211::LDVSSAPhi
4025 : PHI(P), Idx(PHI->IncomingValues.size()) {} in PHI_iterator()
4034 BlockValueNum getIncomingValue() { return PHI->IncomingValues[Idx].second; } in getIncomingValue()
4036 LDVSSABlock *getIncomingBlock() { return PHI->IncomingValues[Idx].first; } in getIncomingBlock()
4081 PHI->IncomingValues.push_back(std::make_pair(Pred, Val)); in AddPHIOperand()
4094 if (PHI && PHI->IncomingValues.size() == 0) in ValueIsNewPHI()
4222 for (auto &PHIIt : PHI->IncomingValues) { in resolveDbgPHIsImpl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2625 SmallVector<std::pair<Value *, BasicBlock *>, 8> IncomingValues; in getFreelyInvertedImpl() local
2637 IncomingValues.emplace_back(NewIncomingVal, IncomingBlock); in getFreelyInvertedImpl()
2646 for (auto [Val, Pred] : IncomingValues) in getFreelyInvertedImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h4007 void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues,
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DCore.cpp3178 void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues, in LLVMAddIncoming() argument
3182 PhiVal->addIncoming(unwrap(IncomingValues[I]), unwrap(IncomingBlocks[I])); in LLVMAddIncoming()