Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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] in findValueToReuse()
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp357 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 DPHITransAddr.cpp126 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in RemoveInstInputs() local
127 RemoveInstInputs(OpInst, InstInputs); in RemoveInstInputs()
H A DScalarEvolution.cpp9514 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 DJumpThreading.cpp1213 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 DLoopFuse.cpp1082 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 DReassociate.cpp1973 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 DInstCombineSimplifyDemanded.cpp127 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 DVPlanTransforms.cpp1198 auto *OpInst = dyn_cast<Instruction>(Op->getLiveInIRValue()); in truncateToMinimalBitwidths() local
1199 bool IsContained = MinBWs.contains(OpInst); in truncateToMinimalBitwidths()
H A DLoopVectorize.cpp868 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 DSLPVectorizer.cpp7640 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 DVerifier.cpp5138 } else if (Instruction *OpInst = dyn_cast<Instruction>(I.getOperand(i))) { in visitInstruction() local
5139 Check(OpInst->getFunction() == BB->getParent(), in visitInstruction()