/freebsd/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] in findValueToReuse() [all...] |
/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/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 | 9514 Instruction *OpInst = dyn_cast<Instruction>(Op); in getConstantEvolvingPHIOperands() local 9515 if (!OpInst || !canConstantEvolve(OpInst, L)) return nullptr; in getConstantEvolvingPHIOperands() 9517 PHINode *P = dyn_cast<PHINode>(OpInst); in getConstantEvolvingPHIOperands() 9522 P = PHIMap.lookup(OpInst); in getConstantEvolvingPHIOperands() 9526 P = getConstantEvolvingPHIOperands(OpInst, L, PHIMap, Depth + 1); in getConstantEvolvingPHIOperands() 9527 PHIMap[OpInst] = P; in getConstantEvolvingPHIOperands()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | JumpThreading.cpp | 1213 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in isOpDefinedInBlock() local 1214 if (OpInst->getParent() == BB) in isOpDefinedInBlock() 2041 Instruction *OpInst = dyn_cast<Instruction>(Op); in cloneInstructions() local 2042 if (!OpInst) in cloneInstructions() 2045 auto I = ValueMapping.find(OpInst); in cloneInstructions() 2047 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 | 1973 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in RecursivelyEraseDeadInsts() local 1974 if (OpInst->use_empty()) in RecursivelyEraseDeadInsts() 1975 Insts.insert(OpInst); in RecursivelyEraseDeadInsts()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 127 if (Instruction* OpInst = dyn_cast<Instruction>(U)) in SimplifyDemandedBits() local 128 salvageDebugInfo(*OpInst); in SimplifyDemandedBits() 2068 if (Instruction *OpInst = dyn_cast<Instruction>(U)) in SimplifyDemandedFPClass() local 2069 salvageDebugInfo(*OpInst); in SimplifyDemandedFPClass()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlanTransforms.cpp | 1198 auto *OpInst = dyn_cast<Instruction>(Op->getLiveInIRValue()); in truncateToMinimalBitwidths() local 1199 bool IsContained = MinBWs.contains(OpInst); in truncateToMinimalBitwidths()
|
H A D | LoopVectorize.cpp | 868 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in getDebugLocFromInstOrOperands() local 869 if (OpInst->getDebugLoc() != Empty) in getDebugLocFromInstOrOperands() 870 return OpInst->getDebugLoc(); in getDebugLocFromInstOrOperands()
|
H A D | SLPVectorizer.cpp | 7640 auto *OpInst = cast<Instruction>(Scalars[Idx]); in buildAltOpShuffleMask() local 7641 if (IsAltOp(OpInst)) { in buildAltOpShuffleMask() 7644 AltScalars->push_back(OpInst); in buildAltOpShuffleMask() 7648 OpScalars->push_back(OpInst); in buildAltOpShuffleMask()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Verifier.cpp | 5138 } else if (Instruction *OpInst = dyn_cast<Instruction>(I.getOperand(i))) { in visitInstruction() local 5139 Check(OpInst->getFunction() == BB->getParent(), in visitInstruction()
|