/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombinePHI.cpp | 33 void InstCombiner::PHIArgMergedDebugLoc(Instruction *Inst, PHINode &PN) { in PHIArgMergedDebugLoc() argument 34 auto *FirstInst = cast<Instruction>(PN.getIncomingValue(0)); in PHIArgMergedDebugLoc() 40 for (unsigned i = 1; i != PN.getNumIncomingValues(); ++i) { in PHIArgMergedDebugLoc() 41 auto *I = cast<Instruction>(PN.getIncomingValue(i)); in PHIArgMergedDebugLoc() 46 // Replace Integer typed PHI PN if the PHI's value is used as a pointer value. 47 // If there is an existing pointer typed PHI that produces the same value as PN, 48 // replace PN and the IntToPtr operation with it. Otherwise, synthesize a new 96 Instruction *InstCombiner::FoldIntegerTypedPHI(PHINode &PN) { in FoldIntegerTypedPHI() argument 97 if (!PN.getType()->isIntegerTy()) in FoldIntegerTypedPHI() 99 if (!PN in FoldIntegerTypedPHI() 295 FoldPHIArgBinOpIntoPHI(PHINode &PN) FoldPHIArgBinOpIntoPHI() argument 388 FoldPHIArgGEPIntoPHI(PHINode &PN) FoldPHIArgGEPIntoPHI() argument 543 FoldPHIArgLoadIntoPHI(PHINode &PN) FoldPHIArgLoadIntoPHI() argument 736 FoldPHIArgOpIntoPHI(PHINode &PN) FoldPHIArgOpIntoPHI() argument 844 DeadPHICycle(PHINode *PN, SmallPtrSetImpl<PHINode*> &PotentiallyDeadPHIs) DeadPHICycle() argument 866 PHIsEqualValue(PHINode *PN, Value *NonPhiInVal, SmallPtrSetImpl<PHINode*> &ValueEqualPHIs) PHIsEqualValue() argument 891 GetAnyNonZeroConstInt(PHINode &PN) GetAnyNonZeroConstInt() argument 920 PHINode *PN; // The PHI that was lowered. global() member 979 PHINode *PN = PHIsToSlice[PHIId]; SliceUpIllegalIntegerPHI() local 1051 PHINode *PN = PHIsToSlice[PHIId]; SliceUpIllegalIntegerPHI() local 1139 visitPHINode(PHINode &PN) visitPHINode() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiFeatureInfo.cpp | 669 #ifdef PN 670 #error PN defined 672 #define PN(_X_) &(_X_), (const char*)(#_X_) macro 748 { PN(checkAlways), PN(limits.maxImageDimension1D), LIM_MIN_UINT32(4096) }, in validateLimits12() 749 { PN(checkAlways), PN(limits.maxImageDimension2D), LIM_MIN_UINT32(4096) }, in validateLimits12() 750 { PN(checkAlways), PN(limits.maxImageDimension3D), LIM_MIN_UINT32(256) }, in validateLimits12() 751 { PN(checkAlway in validateLimits12() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiFeatureInfo.cpp | 669 #ifdef PN 670 #error PN defined 672 #define PN(_X_) &(_X_), (const char*)(#_X_) macro 739 { PN(checkAlways), PN(limits.maxImageDimension1D), LIM_MIN_UINT32(4096) }, in validateLimits12() 740 { PN(checkAlways), PN(limits.maxImageDimension2D), LIM_MIN_UINT32(4096) }, in validateLimits12() 741 { PN(checkAlways), PN(limits.maxImageDimension3D), LIM_MIN_UINT32(256) }, in validateLimits12() 742 { PN(checkAlway in validateLimits12() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
H A D | SpeculateAroundPHIs.cpp | 49 isSafeToSpeculatePHIUsers(PHINode &PN, DominatorTree &DT, in isSafeToSpeculatePHIUsers() argument 52 auto *PhiBB = PN.getParent(); in isSafeToSpeculatePHIUsers() 57 for (Use &U : PN.uses()) { in isSafeToSpeculatePHIUsers() 203 PHINode &PN, SmallDenseMap<PHINode *, int, 16> &CostSavingsMap, in isSafeAndProfitableToSpeculateAroundPHI() 218 for (int i : llvm::seq<int>(0, PN.getNumIncomingValues())) { in isSafeAndProfitableToSpeculateAroundPHI() 219 auto *IncomingC = dyn_cast<ConstantInt>(PN.getIncomingValue(i)); in isSafeAndProfitableToSpeculateAroundPHI() 224 if (!IncomingConstantBlocks.insert(PN.getIncomingBlock(i)).second) in isSafeAndProfitableToSpeculateAroundPHI() 239 LLVM_DEBUG(dbgs() << " Free: " << PN << "\n"); in isSafeAndProfitableToSpeculateAroundPHI() 246 if (!isSafeToSpeculatePHIUsers(PN, DT, PotentialSpecSet, UnsafeSet)) { in isSafeAndProfitableToSpeculateAroundPHI() 247 LLVM_DEBUG(dbgs() << " Unsafe PHI: " << PN << "\ in isSafeAndProfitableToSpeculateAroundPHI() 202 isSafeAndProfitableToSpeculateAroundPHI( PHINode &PN, SmallDenseMap<PHINode *, int, 16> &CostSavingsMap, SmallPtrSetImpl<Instruction *> &PotentialSpecSet, SmallPtrSetImpl<Instruction *> &UnsafeSet, DominatorTree &DT, TargetTransformInfo &TTI) isSafeAndProfitableToSpeculateAroundPHI() argument [all...] |
H A D | CallSiteSplitting.cpp | 343 for (PHINode &PN : TailBB->phis()) { in splitCallSite() 346 if (&*CI == &PN) { in splitCallSite() 347 NewCS.setArgument(ArgNo, PN.getIncomingValueForBlock(SplitBlock)); in splitCallSite() 428 if (PHINode *PN = dyn_cast<PHINode>(&BI)) { in isPredicatedOnPHI() 430 if (&*I == PN) { in isPredicatedOnPHI() 431 assert(PN->getNumIncomingValues() == 2 && in isPredicatedOnPHI() 433 if (PN->getIncomingBlock(0) == PN->getIncomingBlock(1)) in isPredicatedOnPHI() 435 if (PN->getIncomingValue(0) == PN in isPredicatedOnPHI() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | LoopSimplify.cpp | 187 PHINode *PN = cast<PHINode>(I); in findPHIToPartitionLoops() local 189 if (Value *V = SimplifyInstruction(PN, {DL, nullptr, DT, AC})) { in findPHIToPartitionLoops() 191 PN->replaceAllUsesWith(V); in findPHIToPartitionLoops() 192 PN->eraseFromParent(); in findPHIToPartitionLoops() 197 for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) in findPHIToPartitionLoops() 198 if (PN->getIncomingValue(i) == PN && in findPHIToPartitionLoops() 199 L->contains(PN->getIncomingBlock(i))) in findPHIToPartitionLoops() 201 return PN; in findPHIToPartitionLoops() 237 PHINode *PN in separateNestedLoop() local 393 PHINode *PN = cast<PHINode>(I); insertUniqueBackedgeBlock() local 593 PHINode *PN; simplifyOneLoop() local [all...] |
H A D | BasicBlockUtils.cpp | 143 while (PHINode *PN = dyn_cast<PHINode>(BB->begin())) { in FoldSingleEntryPHINodes() 144 if (PN->getIncomingValue(0) != PN) in FoldSingleEntryPHINodes() 145 PN->replaceAllUsesWith(PN->getIncomingValue(0)); in FoldSingleEntryPHINodes() 147 PN->replaceAllUsesWith(UndefValue::get(PN->getType())); in FoldSingleEntryPHINodes() 150 MemDep->removeInstruction(PN); // Memdep updates AA itself. in FoldSingleEntryPHINodes() 152 PN->eraseFromParent(); in FoldSingleEntryPHINodes() 160 for (PHINode &PN in DeleteDeadPHIs() 649 PHINode *PN = cast<PHINode>(I++); UpdatePHINodes() local 868 PHINode *PN = PHINode::Create(LPad->getType(), 2, "lpad.phi", LPad); SplitLandingPadPredecessors() local [all...] |
H A D | LCSSA.cpp | 110 if (auto *PN = dyn_cast<PHINode>(User)) in formLCSSAForInstructions() 111 UserBB = PN->getIncomingBlock(U); in formLCSSAForInstructions() 155 PHINode *PN = PHINode::Create(I->getType(), PredCache.size(ExitBB), in formLCSSAForInstructions() local 158 PN->setDebugLoc(I->getDebugLoc()); in formLCSSAForInstructions() 161 PN->addIncoming(I, Pred); in formLCSSAForInstructions() 168 &PN->getOperandUse(PN->getOperandNumForIncomingValue( in formLCSSAForInstructions() 169 PN->getNumIncomingValues() - 1))); in formLCSSAForInstructions() 172 AddedPHIs.push_back(PN); in formLCSSAForInstructions() 175 SSAUpdate.AddAvailableValue(ExitBB, PN); in formLCSSAForInstructions() [all...] |
H A D | UnifyFunctionExitNodes.cpp | 95 PHINode *PN = nullptr; in runOnFunction() local 100 PN = PHINode::Create(F.getReturnType(), ReturningBlocks.size(), in runOnFunction() 102 NewRetBlock->getInstList().push_back(PN); in runOnFunction() 103 ReturnInst::Create(F.getContext(), PN, NewRetBlock); in runOnFunction() 112 if (PN) in runOnFunction() 113 PN->addIncoming(BB->getTerminator()->getOperand(0), BB); in runOnFunction()
|
H A D | CloneFunction.cpp | 503 for (const PHINode &PN : BI.phis()) { in CloneAndPruneIntoFromInst() 506 if (isa<PHINode>(VMap[&PN])) in CloneAndPruneIntoFromInst() 507 PHIToResolve.push_back(&PN); in CloneAndPruneIntoFromInst() 532 PHINode *PN = cast<PHINode>(VMap[OPN]); in CloneAndPruneIntoFromInst() local 534 Value *V = VMap.lookup(PN->getIncomingBlock(pred)); in CloneAndPruneIntoFromInst() 536 Value *InVal = MapValue(PN->getIncomingValue(pred), in CloneAndPruneIntoFromInst() 540 PN->setIncomingValue(pred, InVal); in CloneAndPruneIntoFromInst() 541 PN->setIncomingBlock(pred, MappedBlock); in CloneAndPruneIntoFromInst() 543 PN->removeIncomingValue(pred, false); in CloneAndPruneIntoFromInst() 555 PHINode *PN in CloneAndPruneIntoFromInst() local [all...] |
H A D | LoopVersioning.cpp | 129 PHINode *PN; in addPHINodes() local 136 for (auto I = PHIBlock->begin(); (PN = dyn_cast<PHINode>(I)); ++I) { in addPHINodes() 137 if (PN->getIncomingValue(0) == Inst) in addPHINodes() 141 if (!PN) { in addPHINodes() 142 PN = PHINode::Create(Inst->getType(), 2, Inst->getName() + ".lver", in addPHINodes() 149 U->replaceUsesOfWith(Inst, PN); in addPHINodes() 150 PN->addIncoming(Inst, VersionedLoop->getExitingBlock()); in addPHINodes() 155 for (auto I = PHIBlock->begin(); (PN = dyn_cast<PHINode>(I)); ++I) { in addPHINodes() 156 assert(PN->getNumOperands() == 1 && in addPHINodes() 160 Value *ClonedValue = PN in addPHINodes() [all...] |
H A D | SSAUpdaterBulk.cpp | 160 PHINode *PN = B.CreatePHI(R.Ty, 0, R.Name); 161 R.Defines[FrontierBB] = PN; 162 InsertedPHIsForVar.push_back(PN); 164 InsertedPHIs->push_back(PN); 168 for (auto *PN : InsertedPHIsForVar) { 169 BasicBlock *PBB = PN->getParent(); 171 PN->addIncoming(computeValueAt(Pred, R, DT), Pred);
|
H A D | LoopUnrollRuntime.cpp | 94 for (PHINode &PN : Succ->phis()) { in ConnectProlog() 102 PHINode *NewPN = PHINode::Create(PN.getType(), 2, PN.getName() + ".unr", in ConnectProlog() 106 if (L->contains(&PN)) { in ConnectProlog() 108 NewPN->addIncoming(PN.getIncomingValueForBlock(NewPreHeader), in ConnectProlog() 112 NewPN->addIncoming(UndefValue::get(PN.getType()), PreHeader); in ConnectProlog() 115 Value *V = PN.getIncomingValueForBlock(Latch); in ConnectProlog() 128 if (L->contains(&PN)) in ConnectProlog() 129 PN.setIncomingValueForBlock(NewPreHeader, NewPN); in ConnectProlog() 131 PN in ConnectProlog() [all...] |
H A D | SimplifyCFG.cpp | 246 PHINode *PN = cast<PHINode>(BBI); in SafeToMergeTerminators() local 247 if (PN->getIncomingValueForBlock(SI1BB) != in SafeToMergeTerminators() 248 PN->getIncomingValueForBlock(SI2BB)) { in SafeToMergeTerminators() 289 PHINode *PN = cast<PHINode>(BBI); in isProfitableToFoldUnconditional() local 290 if (PN->getIncomingValueForBlock(SI1BB) != Cond || in isProfitableToFoldUnconditional() 291 !isa<ConstantInt>(PN->getIncomingValueForBlock(SI2BB))) in isProfitableToFoldUnconditional() 293 PhiNodes.push_back(PN); in isProfitableToFoldUnconditional() 305 for (PHINode &PN : Succ->phis()) in AddPredecessorToBlock() 306 PN.addIncoming(PN in AddPredecessorToBlock() 1601 auto *PN = PHINode::Create(Op->getType(), Insts.size(), sinkLastInstruction() local 1633 auto *PN = cast<PHINode>(*I0->user_begin()); sinkLastInstruction() local 2184 PHINode *PN = dyn_cast<PHINode>(BI->getCondition()); FoldCondBranchOnPHI() local 2300 FoldTwoEntryPHINode(PHINode *PN, const TargetTransformInfo &TTI, const DataLayout &DL) FoldTwoEntryPHINode() argument 2338 PHINode *PN = cast<PHINode>(II++); FoldTwoEntryPHINode() local 3853 PHINode *PN = cast<PHINode>(BBI); SimplifyBranchOnICmpChain() local 4085 PHINode *PN = cast<PHINode>(I++); removeEmptyCleanup() local [all...] |
H A D | BreakCriticalEdges.cpp | 115 for (PHINode &PN : DestBB->phis()) { in createPHIsForSplitLoopExit() 116 unsigned Idx = PN.getBasicBlockIndex(SplitBB); in createPHIsForSplitLoopExit() 117 Value *V = PN.getIncomingValue(Idx); in createPHIsForSplitLoopExit() 127 PN.getType(), Preds.size(), "split", in createPHIsForSplitLoopExit() 133 PN.setIncomingValue(Idx, NewPN); in createPHIsForSplitLoopExit() 184 PHINode *PN = cast<PHINode>(I); in SplitCriticalEdge() local 191 if (PN->getIncomingBlock(BBIdx) != TIBB) in SplitCriticalEdge() 192 BBIdx = PN->getBasicBlockIndex(TIBB); in SplitCriticalEdge() 193 PN->setIncomingBlock(BBIdx, NewBB); in SplitCriticalEdge() 328 PHINode *PN in findIBRPredecessor() local [all...] |
H A D | Local.cpp | 523 bool llvm::RecursivelyDeleteDeadPHINode(PHINode *PN, in RecursivelyDeleteDeadPHINode() argument 526 for (Instruction *I = PN; areAllUsesEqual(I) && !I->mayHaveSideEffects(); in RecursivelyDeleteDeadPHINode() 654 while (PHINode *PN = dyn_cast<PHINode>(PhiIt)) { in RemovePredecessorAndSimplify() 658 if (!recursivelySimplifyInstruction(PN)) in RemovePredecessorAndSimplify() 674 while (PHINode *PN = dyn_cast<PHINode>(DestBB->begin())) { in MergeBasicBlockIntoOnlyPred() 675 Value *NewVal = PN->getIncomingValue(0); in MergeBasicBlockIntoOnlyPred() 677 if (NewVal == PN) NewVal = UndefValue::get(PN->getType()); in MergeBasicBlockIntoOnlyPred() 678 PN->replaceAllUsesWith(NewVal); in MergeBasicBlockIntoOnlyPred() 679 PN in MergeBasicBlockIntoOnlyPred() 774 PHINode *PN = cast<PHINode>(I); CanPropagatePredecessorsForPHIs() local 856 gatherIncomingValuesToPhi(PHINode *PN, IncomingValueMap &IncomingValues) gatherIncomingValuesToPhi() argument 872 replaceUndefValuesInPhi(PHINode *PN, const IncomingValueMap &IncomingValues) replaceUndefValuesInPhi() argument 894 redirectValuesFromPredecessorsToPhi(BasicBlock *BB, const PredBlockVector &BBPreds, PHINode *PN) redirectValuesFromPredecessorsToPhi() argument 1023 PHINode *PN = cast<PHINode>(I); TryToSimplifyUncondBranchFromEmptyBlock() local [all...] |
H A D | DemoteRegToStack.cpp | 59 if (PHINode *PN = dyn_cast<PHINode>(U)) { in DemoteRegToStack() 70 for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) in DemoteRegToStack() 71 if (PN->getIncomingValue(i) == &I) { in DemoteRegToStack() 72 Value *&V = Loads[PN->getIncomingBlock(i)]; in DemoteRegToStack() 77 PN->getIncomingBlock(i)->getTerminator()); in DemoteRegToStack() 79 PN->setIncomingValue(i, V); in DemoteRegToStack()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | PhiValues.cpp | 126 const PhiValues::ValueSet &PhiValues::getValuesForPhi(const PHINode *PN) { in getValuesForPhi() argument 127 unsigned int DepthNumber = DepthMap.lookup(PN); in getValuesForPhi() 130 processPhi(PN, Stack); in getValuesForPhi() 131 DepthNumber = DepthMap.lookup(PN); in getValuesForPhi() 147 if (const PHINode *PN = dyn_cast<PHINode>(V)) in invalidateValue() 148 DepthMap.erase(PN); in invalidateValue() 168 for (const PHINode &PN : BB.phis()) { in print() 170 PN.printAsOperand(OS, false); in print() 172 unsigned int N = DepthMap.lookup(&PN); in print() 201 for (const PHINode &PN in run() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARC.h | 84 /// Return the list of PHI nodes that are equivalent to PN. 86 void getEquivalentPHIs(PHINodeTy &PN, VectorTy &PHIList) { in getEquivalentPHIs() argument 87 auto *BB = PN.getParent(); in getEquivalentPHIs() 89 if (&P == &PN) // Do not add PN to the list. in getEquivalentPHIs() 91 unsigned I = 0, E = PN.getNumIncomingValues(); in getEquivalentPHIs() 93 auto *BB = PN.getIncomingBlock(I); in getEquivalentPHIs() 94 auto *PNOpnd = PN.getIncomingValue(I)->stripPointerCasts(); in getEquivalentPHIs()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
H A D | BasicBlock.cpp | 342 while (PHINode *PN = dyn_cast<PHINode>(&front())) { in removePredecessor() 344 PN->removeIncomingValue(Pred, !KeepOneInputPHIs); in removePredecessor() 348 if (PN->getIncomingValue(0) != PN) in removePredecessor() 349 PN->replaceAllUsesWith(PN->getIncomingValue(0)); in removePredecessor() 352 PN->replaceAllUsesWith(UndefValue::get(PN->getType())); in removePredecessor() 362 PHINode *PN; in removePredecessor() local 363 for (iterator II = begin(); (PN in removePredecessor() 445 PHINode *PN = dyn_cast<PHINode>(II); replacePhiUsesWith() local [all...] |
H A D | SafepointIRVerifier.cpp | 84 bool hasLiveIncomingEdge(const PHINode *PN, const BasicBlock *InBB) const { in hasLiveIncomingEdge() argument 86 const BasicBlock* BB = PN->getParent(); in hasLiveIncomingEdge() 351 if (const auto *PN = dyn_cast<PHINode>(V)) { in getBaseType() 352 for (Value *InV: PN->incoming_values()) in getBaseType() 460 bool hasLiveIncomingEdge(const PHINode *PN, const BasicBlock *InBB) const { in hasLiveIncomingEdge() argument 461 return CD.hasLiveIncomingEdge(PN, InBB); in hasLiveIncomingEdge() 659 if (const PHINode *PN = dyn_cast<PHINode>(&I)) { in removeValidUnrelocatedDefs() 660 if (containsGCPtrType(PN->getType())) { in removeValidUnrelocatedDefs() 664 for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) { in removeValidUnrelocatedDefs() 665 const BasicBlock *InBB = PN in removeValidUnrelocatedDefs() [all...] |
H A D | Dominators.cpp | 234 PHINode *PN = dyn_cast<PHINode>(UserInst); in dominates() local 235 if (PN && PN->getParent() == BBE.getEnd() && in dominates() 236 PN->getIncomingBlock(U) == BBE.getStart()) in dominates() 242 if (PN) in dominates() 243 UseBB = PN->getIncomingBlock(U); in dominates() 257 if (PHINode *PN = dyn_cast<PHINode>(UserInst)) in dominates() 258 UseBB = PN->getIncomingBlock(U); in dominates() 308 if (PHINode *PN = dyn_cast<PHINode>(I)) in isReachableFromEntry() 309 return isReachableFromEntry(PN in isReachableFromEntry() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
H A D | BasicBlock.h | 297 PHINodeT *PN; member in llvm::final::phi_iterator_impl 299 phi_iterator_impl(PHINodeT *PN) : PN(PN) {} in phi_iterator_impl() argument 309 : PN(Arg.PN) {} in phi_iterator_impl() 311 bool operator==(const phi_iterator_impl &Arg) const { return PN == Arg.PN; } in operator ==() 313 PHINodeT &operator*() const { return *PN; } in operator *() 317 assert(PN in operator ++() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonVectorLoopCarriedReuse.cpp | 460 PHINode *PN = cast<PHINode>(D->front()); in findValueToReuse() local 463 BasicBlock *BB = PN->getParent(); in findValueToReuse() 464 LLVM_DEBUG(dbgs() << "Checking if any uses of " << *PN in findValueToReuse() 468 for (auto UI = PN->use_begin(), E = PN->use_end(); UI != E; ++UI) { in findValueToReuse() 490 // For each interesting use I of PN, find an Instruction BEUser that in findValueToReuse() 596 PHINode *PN = dyn_cast<PHINode>(Op); in findValueInBlock() local 597 assert(PN); in findValueInBlock() 598 Value *ValueInBlock = PN->getIncomingValueForBlock(BB); in findValueInBlock() 685 PHINode *PN in findDepChainFromPHI() local 732 auto *PN = cast<PHINode>(I); findLoopCarriedDeps() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | WinEHPrepare.cpp | 80 AllocaInst *insertPHILoads(PHINode *PN, Function &F); 704 auto *PN = dyn_cast<PHINode>(I); in demotePHIsOnFunclets() local 706 if (!PN) in demotePHIsOnFunclets() 709 AllocaInst *SpillSlot = insertPHILoads(PN, F); in demotePHIsOnFunclets() 711 insertPHIStores(PN, SpillSlot); in demotePHIsOnFunclets() 713 PHINodes.push_back(PN); in demotePHIsOnFunclets() 717 for (auto *PN : PHINodes) { in demotePHIsOnFunclets() 719 PN->replaceAllUsesWith(UndefValue::get(PN->getType())); in demotePHIsOnFunclets() 720 PN in demotePHIsOnFunclets() 1073 insertPHILoads(PHINode *PN, Function &F) insertPHILoads() argument 1125 PHINode *PN = dyn_cast<PHINode>(InVal); insertPHIStores() local [all...] |