Home
last modified time | relevance | path

Searched refs:PHIOp (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMIPeephole.cpp361 for (unsigned PHIOp = 1, NumOps = VisitedPHI->getNumOperands(); in collectUnprimedAccPHIs() local
362 PHIOp != NumOps; PHIOp += 2) { in collectUnprimedAccPHIs()
363 Register RegOp = VisitedPHI->getOperand(PHIOp).getReg(); in collectUnprimedAccPHIs()
405 for (unsigned PHIOp = 1, NumOps = PHI->getNumOperands(); PHIOp != NumOps; in convertUnprimedAccPHIs() local
406 PHIOp += 2) { in convertUnprimedAccPHIs()
407 Register RegOp = PHI->getOperand(PHIOp).getReg(); in convertUnprimedAccPHIs()
417 PHIOps.push_back({PHIInput->getOperand(1), PHI->getOperand(PHIOp + 1)}); in convertUnprimedAccPHIs()
423 PHI->getOperand(PHIOp + 1)}); in convertUnprimedAccPHIs()
433 PHI->getOperand(PHIOp + 1)}); in convertUnprimedAccPHIs()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp1030 if (auto *PHIOp = dyn_cast<PHINode>(I)) in createPHIExpression() local
1031 if (isCopyOfPHI(P.first, PHIOp)) in createPHIExpression()
2852 for (auto PHIOp : PHIOps) in makePossiblePHIOfOps() local
2853 ValuePHI->addIncoming(PHIOp.first, PHIOp.second); in makePossiblePHIOfOps()
2857 for (auto PHIOp : PHIOps) { in makePossiblePHIOfOps() local
2858 ValuePHI->setIncomingValue(i, PHIOp.first); in makePossiblePHIOfOps()
2859 ValuePHI->setIncomingBlock(i, PHIOp.second); in makePossiblePHIOfOps()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp2298 const Value *PHIOp = PN.getIncomingValueForBlock(LLVMBB); in handlePHINodesInSuccessorBlocks() local
2303 if (const auto *Inst = dyn_cast<Instruction>(PHIOp)) in handlePHINodesInSuccessorBlocks()
2306 Register Reg = getRegForValue(PHIOp); in handlePHINodesInSuccessorBlocks()
H A DSelectionDAGBuilder.cpp11853 const Value *PHIOp = PN.getIncomingValueForBlock(LLVMBB); in HandlePHINodesInSuccessorBlocks() local
11855 if (const auto *C = dyn_cast<Constant>(PHIOp)) { in HandlePHINodesInSuccessorBlocks()
11870 FuncInfo.ValueMap.find(PHIOp); in HandlePHINodesInSuccessorBlocks()
11874 assert(isa<AllocaInst>(PHIOp) && in HandlePHINodesInSuccessorBlocks()
11875 FuncInfo.StaticAllocaMap.count(cast<AllocaInst>(PHIOp)) && in HandlePHINodesInSuccessorBlocks()
11877 Reg = FuncInfo.CreateRegs(PHIOp); in HandlePHINodesInSuccessorBlocks()
11878 CopyValueToVirtualRegister(PHIOp, Reg); in HandlePHINodesInSuccessorBlocks()