Searched refs:IncomingValues (Results 1 – 10 of 10) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | Local.cpp | 937 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 D | BasicBlockUtils.cpp | 228 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 D | IRMutator.cpp | 549 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 D | MemoryBuiltins.cpp | 1017 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 D | InstructionSimplify.cpp | 5276 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 D | InferAddressSpaces.cpp | 343 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 D | InstrRefBasedImpl.cpp | 3870 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 D | InstructionCombining.cpp | 2625 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 D | Core.h | 4007 void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues,
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Core.cpp | 3178 void LLVMAddIncoming(LLVMValueRef PhiNode, LLVMValueRef *IncomingValues, in LLVMAddIncoming() argument 3182 PhiVal->addIncoming(unwrap(IncomingValues[I]), unwrap(IncomingBlocks[I])); in LLVMAddIncoming()
|