Searched refs:OpInst (Results 1 – 11 of 11) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/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()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CodeMoverUtils.cpp | 344 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()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | PHITransAddr.cpp | 125 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in RemoveInstInputs() local 126 RemoveInstInputs(OpInst, InstInputs); in RemoveInstInputs()
|
| H A D | ScalarEvolution.cpp | 9453 Instruction *OpInst = dyn_cast<Instruction>(Op); in getConstantEvolvingPHIOperands() local 9454 if (!OpInst || !canConstantEvolve(OpInst, L)) return nullptr; in getConstantEvolvingPHIOperands() 9456 PHINode *P = dyn_cast<PHINode>(OpInst); in getConstantEvolvingPHIOperands() 9461 P = PHIMap.lookup(OpInst); in getConstantEvolvingPHIOperands() 9465 P = getConstantEvolvingPHIOperands(OpInst, L, PHIMap, Depth + 1); in getConstantEvolvingPHIOperands() 9466 PHIMap[OpInst] = P; in getConstantEvolvingPHIOperands()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | JumpThreading.cpp | 1226 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in isOpDefinedInBlock() local 1227 if (OpInst->getParent() == BB) in isOpDefinedInBlock() 2052 Instruction *OpInst = dyn_cast<Instruction>(Op); in cloneInstructions() local 2053 if (!OpInst) in cloneInstructions() 2056 auto I = ValueMapping.find(OpInst); in cloneInstructions() 2058 OperandsToRemap.insert({OpInst, I->second}); in cloneInstructions()
|
| H A D | LoopFuse.cpp | 1082 if (auto *OpInst = dyn_cast<Instruction>(Op)) { in canHoistInst() local 1083 bool OpHoisted = is_contained(SafeToHoist, OpInst); in canHoistInst() 1086 if (!(OpHoisted || DT.dominates(OpInst, FC0PreheaderTarget))) { in canHoistInst()
|
| H A D | Reassociate.cpp | 2056 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in RecursivelyEraseDeadInsts() local 2057 if (OpInst->use_empty()) in RecursivelyEraseDeadInsts() 2058 Insts.insert(OpInst); in RecursivelyEraseDeadInsts()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanTransforms.cpp | 994 auto *OpInst = dyn_cast<Instruction>(Op->getLiveInIRValue()); in truncateToMinimalBitwidths() local 995 bool IsContained = MinBWs.contains(OpInst); in truncateToMinimalBitwidths()
|
| H A D | LoopVectorize.cpp | 951 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in getDebugLocFromInstOrOperands() local 952 if (OpInst->getDebugLoc() != Empty) in getDebugLocFromInstOrOperands() 953 return OpInst->getDebugLoc(); in getDebugLocFromInstOrOperands()
|
| H A D | SLPVectorizer.cpp | 6496 auto *OpInst = cast<Instruction>(Scalars[Idx]); in buildAltOpShuffleMask() local 6497 if (IsAltOp(OpInst)) { in buildAltOpShuffleMask() 6500 AltScalars->push_back(OpInst); in buildAltOpShuffleMask() 6504 OpScalars->push_back(OpInst); in buildAltOpShuffleMask()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSimplifyDemanded.cpp | 96 if (Instruction* OpInst = dyn_cast<Instruction>(U)) in SimplifyDemandedBits() local 97 salvageDebugInfo(*OpInst); in SimplifyDemandedBits()
|