Home
last modified time | relevance | path

Searched refs:IncomingVal (Results 1 – 11 of 11) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DMemorySSA.cpp163 MemoryAccess *IncomingVal; member
167 : DTN(D), ChildIt(It), IncomingVal(M) {} in RenamePassData()
171 std::swap(IncomingVal, RHS.IncomingVal); in swap()
181 MemoryAccess *IncomingVal) { in renameBlock() argument
189 cast<MemoryUse>(&L)->setDefiningAccess(IncomingVal); in renameBlock()
196 cast<MemoryDef>(&L)->setDefiningAccess(IncomingVal); in renameBlock()
197 IncomingVal = &L; in renameBlock()
200 IncomingVal = &L; in renameBlock()
214 Phi->addIncoming(IncomingVal, BB); in renameBlock()
217 return IncomingVal; in renameBlock()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemorySSA.cpp893 MemoryAccess *IncomingVal; member
897 : DTN(D), ChildIt(It), IncomingVal(M) {} in RenamePassData()
902 std::swap(IncomingVal, RHS.IncomingVal); in swap()
937 void MemorySSA::renameSuccessorPhis(BasicBlock *BB, MemoryAccess *IncomingVal, in renameSuccessorPhis() argument
950 Phi->setIncomingValue(PhiIndex, IncomingVal); in renameSuccessorPhis()
952 Phi->addIncoming(IncomingVal, BB); in renameSuccessorPhis()
959 MemoryAccess *MemorySSA::renameBlock(BasicBlock *BB, MemoryAccess *IncomingVal, in renameBlock() argument
968 MUD->setDefiningAccess(IncomingVal); in renameBlock()
970 IncomingVal = &L; in renameBlock()
972 IncomingVal = &L; in renameBlock()
[all …]
DScalarEvolution.cpp7785 Constant *IncomingVal = nullptr; in getOtherIncomingValue() local
7795 if (IncomingVal != CurrentVal) { in getOtherIncomingValue()
7796 if (IncomingVal) in getOtherIncomingValue()
7798 IncomingVal = CurrentVal; in getOtherIncomingValue()
7802 return IncomingVal; in getOtherIncomingValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp237 auto *IncomingVal = AvailablePtrVals[i]; in FoldIntegerTypedPHI() local
239 if (IncomingVal->getType() == IntToPtr->getType()) { in FoldIntegerTypedPHI()
240 NewPtrPHI->addIncoming(IncomingVal, IncomingBB); in FoldIntegerTypedPHI()
245 LoadInst *LoadI = dyn_cast<LoadInst>(IncomingVal); in FoldIntegerTypedPHI()
246 assert((isa<PHINode>(IncomingVal) || in FoldIntegerTypedPHI()
247 IncomingVal->getType()->isPointerTy() || in FoldIntegerTypedPHI()
259 Instruction *&CI = Casts[IncomingVal]; in FoldIntegerTypedPHI()
261 CI = CastInst::CreateBitOrPointerCast(IncomingVal, IntToPtr->getType(), in FoldIntegerTypedPHI()
262 IncomingVal->getName() + ".ptr"); in FoldIntegerTypedPHI()
263 if (auto *IncomingI = dyn_cast<Instruction>(IncomingVal)) { in FoldIntegerTypedPHI()
/external/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h411 ValT IncomingVal = I.getIncomingValue(); in CheckIfPHIMatches() local
419 if (IncomingVal == PredInfo->AvailableVal) in CheckIfPHIMatches()
425 PhiT *IncomingPHIVal = Traits::ValueIsPHI(IncomingVal, Updater); in CheckIfPHIMatches()
DMemorySSA.h612 void renamePass(DomTreeNode *, MemoryAccess *IncomingVal,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h418 ValT IncomingVal = I.getIncomingValue(); in CheckIfPHIMatches() local
426 if (IncomingVal == PredInfo->AvailableVal) in CheckIfPHIMatches()
432 PhiT *IncomingPHIVal = Traits::ValueIsPHI(IncomingVal, Updater); in CheckIfPHIMatches()
/external/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp462 Value *IncomingVal = PHI->getIncomingValue(i); in updateOperand() local
463 Inst->setOperand(Idx, IncomingVal); in updateOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DMemorySSA.h788 void renamePass(BasicBlock *BB, MemoryAccess *IncomingVal,
790 renamePass(DT->getNode(BB), IncomingVal, Visited, true, true);
824 void renamePass(DomTreeNode *, MemoryAccess *IncomingVal,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp621 Value *IncomingVal = PHI->getIncomingValue(i); in updateOperand() local
622 Inst->setOperand(Idx, IncomingVal); in updateOperand()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp6426 Constant *IncomingVal = nullptr; in getOtherIncomingValue() local
6436 if (IncomingVal != CurrentVal) { in getOtherIncomingValue()
6437 if (IncomingVal) in getOtherIncomingValue()
6439 IncomingVal = CurrentVal; in getOtherIncomingValue()
6443 return IncomingVal; in getOtherIncomingValue()