Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp342 if (auto *OpInst = dyn_cast<Instruction>(Op)) { in isSafeToMoveBefore() local
343 if (&InsertPoint == OpInst) in isSafeToMoveBefore()
347 if (CheckForEntireBlock && I.getParent() == OpInst->getParent() && in isSafeToMoveBefore()
348 DT.dominates(OpInst, &I)) in isSafeToMoveBefore()
350 if (!DT.dominates(OpInst, &InsertPoint)) in isSafeToMoveBefore()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DDivergenceAnalysis.cpp179 const auto *OpInst = getIfCarriedInstruction(Op, OuterDivLoop); in analyzeTemporalDivergence() local
180 if (!OpInst) in analyzeTemporalDivergence()
H A DScalarEvolution.cpp9206 Instruction *OpInst = dyn_cast<Instruction>(Op); in getConstantEvolvingPHIOperands() local
9207 if (!OpInst || !canConstantEvolve(OpInst, L)) return nullptr; in getConstantEvolvingPHIOperands()
9209 PHINode *P = dyn_cast<PHINode>(OpInst); in getConstantEvolvingPHIOperands()
9214 P = PHIMap.lookup(OpInst); in getConstantEvolvingPHIOperands()
9218 P = getConstantEvolvingPHIOperands(OpInst, L, PHIMap, Depth + 1); in getConstantEvolvingPHIOperands()
9219 PHIMap[OpInst] = P; in getConstantEvolvingPHIOperands()
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DBlockGenerators.cpp720 auto *OpInst = dyn_cast<Instruction>(Op); in generateBeginStmtTrace() local
721 if (!OpInst) in generateBeginStmtTrace()
723 if (!S->contains(OpInst)) in generateBeginStmtTrace()
728 if (Encountered.count(OpInst)) in generateBeginStmtTrace()
734 Builder, getInstName(OpInst))); in generateBeginStmtTrace()
737 Values.push_back(getNewValue(Stmt, OpInst, BBMap, LTS, in generateBeginStmtTrace()
739 Encountered.insert(OpInst); in generateBeginStmtTrace()
H A DIslNodeBuilder.cpp263 if (Instruction *OpInst = dyn_cast<Instruction>(BasePtr)) in addReferencesFromStmt() local
264 if (Stmt->getParent()->contains(OpInst)) in addReferencesFromStmt()
/llvm-project-15.0.7/polly/lib/Analysis/
H A DScopDetection.cpp1217 auto *OpInst = dyn_cast<Instruction>(&Op); in isValidInstruction() local
1219 if (!OpInst) in isValidInstruction()
1222 if (isErrorBlock(*OpInst->getParent(), Context.CurRegion)) { in isValidInstruction()
1223 auto *PHI = dyn_cast<PHINode>(OpInst); in isValidInstruction()
H A DScopBuilder.cpp1107 auto *OpInst = dyn_cast<Instruction>(Op); in buildPHIAccesses() local
1108 if (!OpInst || !NonAffineSubRegion->contains(OpInst)) in buildPHIAccesses()
1847 Instruction *OpInst = dyn_cast<Instruction>(Op.get()); in joinOperandTree() local
1848 if (!OpInst) in joinOperandTree()
1852 auto OpVal = UnionFind.findValue(OpInst); in joinOperandTree()
1856 UnionFind.unionSets(Inst, OpInst); in joinOperandTree()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp2031 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in RecursivelyEraseDeadInsts() local
2032 if (OpInst->use_empty()) in RecursivelyEraseDeadInsts()
2033 Insts.insert(OpInst); in RecursivelyEraseDeadInsts()
H A DJumpThreading.cpp1289 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in isOpDefinedInBlock() local
1290 if (OpInst->getParent() == BB) in isOpDefinedInBlock()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp78 if (Instruction* OpInst = dyn_cast<Instruction>(U)) in SimplifyDemandedBits() local
79 salvageDebugInfo(*OpInst); in SimplifyDemandedBits()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp5768 auto *OpInst = cast<Instruction>(VL[Idx]); in buildShuffleEntryMask() local
5769 if (IsAltOp(OpInst)) { in buildShuffleEntryMask()
5772 AltScalars->push_back(OpInst); in buildShuffleEntryMask()
5776 OpScalars->push_back(OpInst); in buildShuffleEntryMask()
H A DLoopVectorize.cpp892 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in getDebugLocFromInstOrOperands() local
893 if (OpInst->getDebugLoc() != Empty) in getDebugLocFromInstOrOperands()
894 return OpInst; in getDebugLocFromInstOrOperands()