| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorLoopCarriedReuse.cpp | 442 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 D | CodeMoverUtils.cpp | 342 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 D | DivergenceAnalysis.cpp | 179 const auto *OpInst = getIfCarriedInstruction(Op, OuterDivLoop); in analyzeTemporalDivergence() local 180 if (!OpInst) in analyzeTemporalDivergence()
|
| H A D | ScalarEvolution.cpp | 9206 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 D | BlockGenerators.cpp | 720 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 D | IslNodeBuilder.cpp | 263 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 D | ScopDetection.cpp | 1217 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 D | ScopBuilder.cpp | 1107 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 D | Reassociate.cpp | 2031 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 D | JumpThreading.cpp | 1289 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 D | InstCombineSimplifyDemanded.cpp | 78 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 D | SLPVectorizer.cpp | 5768 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 D | LoopVectorize.cpp | 892 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in getDebugLocFromInstOrOperands() local 893 if (OpInst->getDebugLoc() != Empty) in getDebugLocFromInstOrOperands() 894 return OpInst; in getDebugLocFromInstOrOperands()
|