Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonVectorLoopCarriedReuse.cpp445 Instruction *OpInst = dyn_cast<Instruction>(Op); in findValueToReuse() local
450 if (!OpInst && !BEOpInst) { in findValueToReuse()
457 if ((OpInst && !BEOpInst) || (!OpInst && BEOpInst)) in findValueToReuse()
460 DepChain *D = getDepChainBtwn(OpInst, BEOpInst, Iters); in findValueToReuse()
464 DepChains[OpInst] = D; in findValueToReuse()
479 Instruction *OpInst = dyn_cast<Instruction>(Op); in findValueToReuse() local
480 if (!OpInst) { in findValueToReuse()
490 DepChain *D = getDepChainBtwn(OpInst, BEOpInst, Iters); in findValueToReuse()
493 DepChains[OpInst] = D; in findValueToReuse()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp342 if (auto *OpInst = dyn_cast<Instruction>(Op)) in isSafeToMoveBefore() local
343 if (&InsertPoint == OpInst || !DT.dominates(OpInst, &InsertPoint)) in isSafeToMoveBefore()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DDivergenceAnalysis.cpp180 const auto *OpInst = getIfCarriedInstruction(Op, OuterDivLoop); in analyzeTemporalDivergence() local
181 if (!OpInst) in analyzeTemporalDivergence()
H A DScalarEvolution.cpp8183 Instruction *OpInst = dyn_cast<Instruction>(Op); in getConstantEvolvingPHIOperands() local
8184 if (!OpInst || !canConstantEvolve(OpInst, L)) return nullptr; in getConstantEvolvingPHIOperands()
8186 PHINode *P = dyn_cast<PHINode>(OpInst); in getConstantEvolvingPHIOperands()
8191 P = PHIMap.lookup(OpInst); in getConstantEvolvingPHIOperands()
8195 P = getConstantEvolvingPHIOperands(OpInst, L, PHIMap, Depth + 1); in getConstantEvolvingPHIOperands()
8196 PHIMap[OpInst] = P; in getConstantEvolvingPHIOperands()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp78 if (Instruction* OpInst = dyn_cast<Instruction>(U)) in SimplifyDemandedBits() local
79 salvageDebugInfo(*OpInst); in SimplifyDemandedBits()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp2003 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in RecursivelyEraseDeadInsts() local
2004 if (OpInst->use_empty()) in RecursivelyEraseDeadInsts()
2005 Insts.insert(OpInst); in RecursivelyEraseDeadInsts()
H A DJumpThreading.cpp1300 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in isOpDefinedInBlock() local
1301 if (OpInst->getParent() == BB) in isOpDefinedInBlock()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp4139 auto *OpInst = cast<Instruction>(E->Scalars[I]); in getEntryCost() local
4140 assert(E->isOpcodeOrAlt(OpInst) && "Unexpected main/alternate opcode"); in getEntryCost()
4141 Mask[I] = I + (OpInst->getOpcode() == E->getAltOpcode() ? End : 0); in getEntryCost()
5380 auto *OpInst = cast<Instruction>(E->Scalars[i]); in vectorizeTree() local
5381 assert(E->isOpcodeOrAlt(OpInst) && "Unexpected main/alternate opcode"); in vectorizeTree()
5382 if (OpInst->getOpcode() == E->getAltOpcode()) { in vectorizeTree()
H A DLoopVectorize.cpp1039 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in getDebugLocFromInstOrOperands() local
1040 if (OpInst->getDebugLoc() != Empty) in getDebugLocFromInstOrOperands()
1041 return OpInst; in getDebugLocFromInstOrOperands()