Home
last modified time | relevance | path

Searched refs:IncomingVal (Results 1 – 21 of 21) 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-10.0/llvm/lib/Analysis/
DMemorySSA.cpp973 MemoryAccess *IncomingVal; member
977 : DTN(D), ChildIt(It), IncomingVal(M) {} in RenamePassData()
982 std::swap(IncomingVal, RHS.IncomingVal); in swap()
1087 void MemorySSA::renameSuccessorPhis(BasicBlock *BB, MemoryAccess *IncomingVal, in renameSuccessorPhis() argument
1101 Phi->setIncomingValue(I, IncomingVal); in renameSuccessorPhis()
1107 Phi->addIncoming(IncomingVal, BB); in renameSuccessorPhis()
1114 MemoryAccess *MemorySSA::renameBlock(BasicBlock *BB, MemoryAccess *IncomingVal, in renameBlock() argument
1123 MUD->setDefiningAccess(IncomingVal); in renameBlock()
1125 IncomingVal = &L; in renameBlock()
1127 IncomingVal = &L; in renameBlock()
[all …]
DScalarEvolution.cpp7912 Constant *IncomingVal = nullptr; in getOtherIncomingValue() local
7922 if (IncomingVal != CurrentVal) { in getOtherIncomingValue()
7923 if (IncomingVal) in getOtherIncomingValue()
7925 IncomingVal = CurrentVal; in getOtherIncomingValue()
7929 return IncomingVal; in getOtherIncomingValue()
/external/llvm-project/llvm/lib/Analysis/
DMemorySSA.cpp999 MemoryAccess *IncomingVal; member
1003 : DTN(D), ChildIt(It), IncomingVal(M) {} in RenamePassData()
1008 std::swap(IncomingVal, RHS.IncomingVal); in swap()
1113 void MemorySSA::renameSuccessorPhis(BasicBlock *BB, MemoryAccess *IncomingVal, in renameSuccessorPhis() argument
1127 Phi->setIncomingValue(I, IncomingVal); in renameSuccessorPhis()
1133 Phi->addIncoming(IncomingVal, BB); in renameSuccessorPhis()
1140 MemoryAccess *MemorySSA::renameBlock(BasicBlock *BB, MemoryAccess *IncomingVal, in renameBlock() argument
1149 MUD->setDefiningAccess(IncomingVal); in renameBlock()
1151 IncomingVal = &L; in renameBlock()
1153 IncomingVal = &L; in renameBlock()
[all …]
DScalarEvolution.cpp8140 Constant *IncomingVal = nullptr; in getOtherIncomingValue() local
8150 if (IncomingVal != CurrentVal) { in getOtherIncomingValue()
8151 if (IncomingVal) in getOtherIncomingValue()
8153 IncomingVal = CurrentVal; in getOtherIncomingValue()
8157 return IncomingVal; in getOtherIncomingValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp246 auto *IncomingVal = AvailablePtrVals[i]; in FoldIntegerTypedPHI() local
248 if (IncomingVal->getType() == IntToPtr->getType()) { in FoldIntegerTypedPHI()
249 NewPtrPHI->addIncoming(IncomingVal, IncomingBB); in FoldIntegerTypedPHI()
254 LoadInst *LoadI = dyn_cast<LoadInst>(IncomingVal); in FoldIntegerTypedPHI()
255 assert((isa<PHINode>(IncomingVal) || in FoldIntegerTypedPHI()
256 IncomingVal->getType()->isPointerTy() || in FoldIntegerTypedPHI()
268 Instruction *&CI = Casts[IncomingVal]; in FoldIntegerTypedPHI()
270 CI = CastInst::CreateBitOrPointerCast(IncomingVal, IntToPtr->getType(), in FoldIntegerTypedPHI()
271 IncomingVal->getName() + ".ptr"); in FoldIntegerTypedPHI()
272 if (auto *IncomingI = dyn_cast<Instruction>(IncomingVal)) { in FoldIntegerTypedPHI()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp255 auto *IncomingVal = AvailablePtrVals[i]; in foldIntegerTypedPHI() local
257 if (IncomingVal->getType() == IntToPtr->getType()) { in foldIntegerTypedPHI()
258 NewPtrPHI->addIncoming(IncomingVal, IncomingBB); in foldIntegerTypedPHI()
263 LoadInst *LoadI = dyn_cast<LoadInst>(IncomingVal); in foldIntegerTypedPHI()
264 assert((isa<PHINode>(IncomingVal) || in foldIntegerTypedPHI()
265 IncomingVal->getType()->isPointerTy() || in foldIntegerTypedPHI()
277 Instruction *&CI = Casts[IncomingVal]; in foldIntegerTypedPHI()
279 CI = CastInst::CreateBitOrPointerCast(IncomingVal, IntToPtr->getType(), in foldIntegerTypedPHI()
280 IncomingVal->getName() + ".ptr"); in foldIntegerTypedPHI()
281 if (auto *IncomingI = dyn_cast<Instruction>(IncomingVal)) { in foldIntegerTypedPHI()
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h417 ValT IncomingVal = I.getIncomingValue(); in CheckIfPHIMatches() local
425 if (IncomingVal == PredInfo->AvailableVal) in CheckIfPHIMatches()
431 PhiT *IncomingPHIVal = Traits::ValueIsPHI(IncomingVal, Updater); in CheckIfPHIMatches()
/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-10.0/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h417 ValT IncomingVal = I.getIncomingValue(); in CheckIfPHIMatches() local
425 if (IncomingVal == PredInfo->AvailableVal) in CheckIfPHIMatches()
431 PhiT *IncomingPHIVal = Traits::ValueIsPHI(IncomingVal, Updater); in CheckIfPHIMatches()
/external/llvm-project/polly/lib/Transform/
DZoneAlgo.cpp522 Value *IncomingVal = Incoming.get(); in isRecursivePHI() local
523 auto *IncomingPHI = dyn_cast<PHINode>(IncomingVal); in isRecursivePHI()
1042 Value *IncomingVal = Incoming[0].second; in computeNormalizedPHIs() local
1046 IncomingVal, IncomingStmt, IncomingStmt->getSurroundingLoop()); in computeNormalizedPHIs()
/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-10.0/llvm/include/llvm/Analysis/
DMemorySSA.h821 void renamePass(BasicBlock *BB, MemoryAccess *IncomingVal,
823 renamePass(DT->getNode(BB), IncomingVal, Visited, true, true);
864 void renamePass(DomTreeNode *, MemoryAccess *IncomingVal,
/external/llvm-project/llvm/include/llvm/Analysis/
DMemorySSA.h821 void renamePass(BasicBlock *BB, MemoryAccess *IncomingVal,
823 renamePass(DT->getNode(BB), IncomingVal, Visited, true, true);
861 void renamePass(DomTreeNode *, MemoryAccess *IncomingVal,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp722 Value *IncomingVal = PHI->getIncomingValue(i); in updateOperand() local
723 Inst->setOperand(Idx, IncomingVal); in updateOperand()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp727 Value *IncomingVal = PHI->getIncomingValue(i); in updateOperand() local
728 Inst->setOperand(Idx, IncomingVal); in updateOperand()
/external/llvm-project/polly/lib/Analysis/
DScopBuilder.cpp2091 Instruction *IncomingVal = in joinOrderedPHIs() local
2093 if (!IncomingVal) in joinOrderedPHIs()
2096 UnionFind.unionSets(PHI, IncomingVal); in joinOrderedPHIs()
/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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2121 Value *IncomingVal = PN->getIncomingValue(I)->stripPointerCasts(); in dupRetToEnableTailCallOpts() local
2122 CallInst *CI = dyn_cast<CallInst>(IncomingVal); in dupRetToEnableTailCallOpts()
/external/llvm-project/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2261 Value *IncomingVal = PN->getIncomingValue(I)->stripPointerCasts(); in dupRetToEnableTailCallOpts() local
2262 CallInst *CI = dyn_cast<CallInst>(IncomingVal); in dupRetToEnableTailCallOpts()