Searched refs:OpInst (Results 1 – 8 of 8) sorted by relevance
524 Instruction *OpInst = dyn_cast<Instruction>(Op); in findValueToReuse() local529 if (!OpInst && !BEOpInst) { in findValueToReuse()536 if ((OpInst && !BEOpInst) || (!OpInst && BEOpInst)) in findValueToReuse()539 DepChain *D = getDepChainBtwn(OpInst, BEOpInst, Iters); in findValueToReuse()543 DepChains[OpInst] = D; in findValueToReuse()558 Instruction *OpInst = dyn_cast<Instruction>(Op); in findValueToReuse() local559 if (!OpInst) { in findValueToReuse()569 DepChain *D = getDepChainBtwn(OpInst, BEOpInst, Iters); in findValueToReuse()572 DepChains[OpInst] = D; in findValueToReuse()
128 if (auto *OpInst = dyn_cast<Instruction>(Op)) in isSafeToMoveBefore() local129 if (&InsertPoint == OpInst || !DT.dominates(OpInst, &InsertPoint)) in isSafeToMoveBefore()
232 auto *OpInst = dyn_cast<Instruction>(&Op); in taintLoopLiveOuts() local233 if (!OpInst) in taintLoopLiveOuts()235 if (DivLoop->contains(OpInst->getParent())) { in taintLoopLiveOuts()
7817 Instruction *OpInst = dyn_cast<Instruction>(Op); in getConstantEvolvingPHIOperands() local7818 if (!OpInst || !canConstantEvolve(OpInst, L)) return nullptr; in getConstantEvolvingPHIOperands()7820 PHINode *P = dyn_cast<PHINode>(OpInst); in getConstantEvolvingPHIOperands()7825 P = PHIMap.lookup(OpInst); in getConstantEvolvingPHIOperands()7829 P = getConstantEvolvingPHIOperands(OpInst, L, PHIMap, Depth + 1); in getConstantEvolvingPHIOperands()7830 PHIMap[OpInst] = P; in getConstantEvolvingPHIOperands()
1905 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in RecursivelyEraseDeadInsts() local1906 if (OpInst->use_empty()) in RecursivelyEraseDeadInsts()1907 Insts.insert(OpInst); in RecursivelyEraseDeadInsts()
1242 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in isOpDefinedInBlock() local1243 if (OpInst->getParent() == BB) in isOpDefinedInBlock()
4547 auto *OpInst = cast<Instruction>(E->Scalars[i]); in vectorizeTree() local4548 assert(E->isOpcodeOrAlt(OpInst) && "Unexpected main/alternate opcode"); in vectorizeTree()4549 if (OpInst->getOpcode() == E->getAltOpcode()) { in vectorizeTree()
812 if (Instruction *OpInst = dyn_cast<Instruction>(*OI)) in getDebugLocFromInstOrOperands() local813 if (OpInst->getDebugLoc() != Empty) in getDebugLocFromInstOrOperands()814 return OpInst; in getDebugLocFromInstOrOperands()