| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorLoopCarriedReuse.cpp | 430 Instruction *OpInst = dyn_cast<Instruction>(Op); in findValueToReuse() local 435 if (!OpInst && !BEOpInst) { in findValueToReuse() 442 if ((OpInst && !BEOpInst) || (!OpInst && BEOpInst)) in findValueToReuse() 445 DepChain *D = getDepChainBtwn(OpInst, BEOpInst, Iters); in findValueToReuse() 449 DepChains[OpInst] = D; in findValueToReuse() 464 Instruction *OpInst = dyn_cast<Instruction>(Op); in findValueToReuse() local 465 if (!OpInst) { in findValueToReuse() 475 DepChain *D = getDepChainBtwn(OpInst, BEOpInst, Iters); in findValueToReuse() 478 DepChains[OpInst] = D; in findValueToReuse()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CodeMoverUtils.cpp | 357 if (auto *OpInst = dyn_cast<Instruction>(Op)) { in isSafeToMoveBefore() local 358 if (&InsertPoint == OpInst) in isSafeToMoveBefore() 362 if (CheckForEntireBlock && I.getParent() == OpInst->getParent() && in isSafeToMoveBefore() 363 DT.dominates(OpInst, &I)) in isSafeToMoveBefore() 365 if (!DT.dominates(OpInst, &InsertPoint)) in isSafeToMoveBefore()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstCombineIntrinsic.cpp | 564 Instruction *OpInst = dyn_cast<Instruction>(II.getOperand(0)); in hoistLaneIntrinsicThroughOperand() local 569 if (!OpInst || !OpInst->hasOneUser() || OpInst->getParent() != II.getParent()) in hoistLaneIntrinsicThroughOperand() 584 if (!IC.getDominatorTree().dominates(LaneIDInst, OpInst)) in hoistLaneIntrinsicThroughOperand() 594 SmallVector<Value *, 2> Ops{OpInst->getOperand(OpIdx)}; in hoistLaneIntrinsicThroughOperand() 602 Instruction &NewOp = *OpInst->clone(); in hoistLaneIntrinsicThroughOperand() 608 if (IID == Intrinsic::amdgcn_permlane64 && !isa<BitCastInst>(OpInst)) in hoistLaneIntrinsicThroughOperand() 611 if (isa<UnaryOperator>(OpInst)) in hoistLaneIntrinsicThroughOperand() 614 if (isa<CastInst>(OpInst)) { in hoistLaneIntrinsicThroughOperand() 615 Value *Src = OpInst->getOperand(0); in hoistLaneIntrinsicThroughOperand() 626 if (isa<BinaryOperator>(OpInst)) { in hoistLaneIntrinsicThroughOperand() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | PHITransAddr.cpp | 126 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in RemoveInstInputs() local 127 RemoveInstInputs(OpInst, InstInputs); in RemoveInstInputs()
|
| H A D | ScalarEvolution.cpp | 9569 Instruction *OpInst = dyn_cast<Instruction>(Op); in getConstantEvolvingPHIOperands() local 9570 if (!OpInst || !canConstantEvolve(OpInst, L)) return nullptr; in getConstantEvolvingPHIOperands() 9572 PHINode *P = dyn_cast<PHINode>(OpInst); in getConstantEvolvingPHIOperands() 9577 P = PHIMap.lookup(OpInst); in getConstantEvolvingPHIOperands() 9581 P = getConstantEvolvingPHIOperands(OpInst, L, PHIMap, Depth + 1); in getConstantEvolvingPHIOperands() 9582 PHIMap[OpInst] = P; in getConstantEvolvingPHIOperands()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | JumpThreading.cpp | 1210 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in isOpDefinedInBlock() local 1211 if (OpInst->getParent() == BB) in isOpDefinedInBlock() 2064 Instruction *OpInst = dyn_cast<Instruction>(Op); in cloneInstructions() local 2065 if (!OpInst) in cloneInstructions() 2068 auto I = ValueMapping.find(OpInst); in cloneInstructions() 2070 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 | 1974 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in RecursivelyEraseDeadInsts() local 1975 if (OpInst->use_empty()) in RecursivelyEraseDeadInsts() 1976 Insts.insert(OpInst); in RecursivelyEraseDeadInsts()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSimplifyDemanded.cpp | 134 if (Instruction* OpInst = dyn_cast<Instruction>(U)) in SimplifyDemandedBits() local 135 salvageDebugInfo(*OpInst); in SimplifyDemandedBits() 2085 if (Instruction *OpInst = dyn_cast<Instruction>(U)) in SimplifyDemandedFPClass() local 2086 salvageDebugInfo(*OpInst); in SimplifyDemandedFPClass()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 769 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in getDebugLocFromInstOrOperands() local 770 if (OpInst->getDebugLoc() != Empty) in getDebugLocFromInstOrOperands() 771 return OpInst->getDebugLoc(); in getDebugLocFromInstOrOperands() 8096 if (auto *OpInst = dyn_cast<Instruction>(Op)) { in getScaledReductions() local 8097 if (getScaledReductions(PHI, OpInst, Range, Chains)) { in getScaledReductions()
|
| H A D | SLPVectorizer.cpp | 10870 auto *OpInst = cast<Instruction>(Scalars[Idx]); in buildAltOpShuffleMask() local 10871 if (IsAltOp(OpInst)) { in buildAltOpShuffleMask() 10874 AltScalars->push_back(OpInst); in buildAltOpShuffleMask() 10878 OpScalars->push_back(OpInst); in buildAltOpShuffleMask()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Verifier.cpp | 5371 } else if (Instruction *OpInst = dyn_cast<Instruction>(I.getOperand(i))) { in visitInstruction() local 5372 Check(OpInst->getFunction() == BB->getParent(), in visitInstruction()
|