Home
last modified time | relevance | path

Searched refs:OpInst (Results 1 – 10 of 10) sorted by relevance

/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonVectorLoopCarriedReuse.cpp442 Instruction *OpInst = dyn_cast<Instruction>(Op); in findValueToReuse() local
447 if (!OpInst && !BEOpInst) { in findValueToReuse()
454 if ((OpInst && !BEOpInst) || (!OpInst && BEOpInst)) in findValueToReuse()
457 DepChain *D = getDepChainBtwn(OpInst, BEOpInst, Iters); in findValueToReuse()
461 DepChains[OpInst] = D; in findValueToReuse()
476 Instruction *OpInst = dyn_cast<Instruction>(Op); in findValueToReuse() local
477 if (!OpInst) { in findValueToReuse()
487 DepChain *D = getDepChainBtwn(OpInst, BEOpInst, Iters); in findValueToReuse()
490 DepChains[OpInst] = D; in findValueToReuse()
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp344 if (auto *OpInst = dyn_cast<Instruction>(Op)) { in isSafeToMoveBefore() local
345 if (&InsertPoint == OpInst) in isSafeToMoveBefore()
349 if (CheckForEntireBlock && I.getParent() == OpInst->getParent() && in isSafeToMoveBefore()
350 DT.dominates(OpInst, &I)) in isSafeToMoveBefore()
352 if (!DT.dominates(OpInst, &InsertPoint)) in isSafeToMoveBefore()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DDivergenceAnalysis.cpp179 const auto *OpInst = getIfCarriedInstruction(Op, OuterDivLoop); in analyzeTemporalDivergence() local
180 if (!OpInst) in analyzeTemporalDivergence()
H A DScalarEvolution.cpp9473 Instruction *OpInst = dyn_cast<Instruction>(Op); in getConstantEvolvingPHIOperands() local
9474 if (!OpInst || !canConstantEvolve(OpInst, L)) return nullptr; in getConstantEvolvingPHIOperands()
9476 PHINode *P = dyn_cast<PHINode>(OpInst); in getConstantEvolvingPHIOperands()
9481 P = PHIMap.lookup(OpInst); in getConstantEvolvingPHIOperands()
9485 P = getConstantEvolvingPHIOperands(OpInst, L, PHIMap, Depth + 1); in getConstantEvolvingPHIOperands()
9486 PHIMap[OpInst] = P; in getConstantEvolvingPHIOperands()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopFuse.cpp1085 if (auto *OpInst = dyn_cast<Instruction>(Op)) { in canHoistInst() local
1086 bool OpHoisted = is_contained(SafeToHoist, OpInst); in canHoistInst()
1089 if (!(OpHoisted || DT.dominates(OpInst, FC0PreheaderTarget))) { in canHoistInst()
H A DReassociate.cpp2019 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in RecursivelyEraseDeadInsts() local
2020 if (OpInst->use_empty()) in RecursivelyEraseDeadInsts()
2021 Insts.insert(OpInst); in RecursivelyEraseDeadInsts()
H A DJumpThreading.cpp1312 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in isOpDefinedInBlock() local
1313 if (OpInst->getParent() == BB) in isOpDefinedInBlock()
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp78 if (Instruction* OpInst = dyn_cast<Instruction>(U)) in SimplifyDemandedBits() local
79 salvageDebugInfo(*OpInst); in SimplifyDemandedBits()
/openbsd/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp904 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in getDebugLocFromInstOrOperands() local
905 if (OpInst->getDebugLoc() != Empty) in getDebugLocFromInstOrOperands()
906 return OpInst; in getDebugLocFromInstOrOperands()
H A DSLPVectorizer.cpp6194 auto *OpInst = cast<Instruction>(VL[Idx]); in buildShuffleEntryMask() local
6195 if (IsAltOp(OpInst)) { in buildShuffleEntryMask()
6198 AltScalars->push_back(OpInst); in buildShuffleEntryMask()
6202 OpScalars->push_back(OpInst); in buildShuffleEntryMask()