Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonVectorLoopCarriedReuse.cpp524 Instruction *OpInst = dyn_cast<Instruction>(Op); in findValueToReuse() local
529 if (!OpInst && !BEOpInst) { in findValueToReuse()
536 if ((OpInst && !BEOpInst) || (!OpInst && BEOpInst)) in findValueToReuse()
539 DepChain *D = getDepChainBtwn(OpInst, BEOpInst, Iters); in findValueToReuse()
543 DepChains[OpInst] = D; in findValueToReuse()
558 Instruction *OpInst = dyn_cast<Instruction>(Op); in findValueToReuse() local
559 if (!OpInst) { in findValueToReuse()
569 DepChain *D = getDepChainBtwn(OpInst, BEOpInst, Iters); in findValueToReuse()
572 DepChains[OpInst] = D; in findValueToReuse()
/external/llvm-project/llvm/lib/Target/Hexagon/
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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCodeMoverUtils.cpp128 if (auto *OpInst = dyn_cast<Instruction>(Op)) in isSafeToMoveBefore() local
129 if (&InsertPoint == OpInst || !DT.dominates(OpInst, &InsertPoint)) in isSafeToMoveBefore()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDivergenceAnalysis.cpp232 auto *OpInst = dyn_cast<Instruction>(&Op); in taintLoopLiveOuts() local
233 if (!OpInst) in taintLoopLiveOuts()
235 if (DivLoop->contains(OpInst->getParent())) { in taintLoopLiveOuts()
DScalarEvolution.cpp7817 Instruction *OpInst = dyn_cast<Instruction>(Op); in getConstantEvolvingPHIOperands() local
7818 if (!OpInst || !canConstantEvolve(OpInst, L)) return nullptr; in getConstantEvolvingPHIOperands()
7820 PHINode *P = dyn_cast<PHINode>(OpInst); in getConstantEvolvingPHIOperands()
7825 P = PHIMap.lookup(OpInst); in getConstantEvolvingPHIOperands()
7829 P = getConstantEvolvingPHIOperands(OpInst, L, PHIMap, Depth + 1); in getConstantEvolvingPHIOperands()
7830 PHIMap[OpInst] = P; in getConstantEvolvingPHIOperands()
/external/llvm-project/llvm/lib/Transforms/Utils/
DCodeMoverUtils.cpp342 if (auto *OpInst = dyn_cast<Instruction>(Op)) in isSafeToMoveBefore() local
343 if (&InsertPoint == OpInst || !DT.dominates(OpInst, &InsertPoint)) in isSafeToMoveBefore()
/external/llvm-project/llvm/lib/Analysis/
DDivergenceAnalysis.cpp180 const auto *OpInst = getIfCarriedInstruction(Op, OuterDivLoop); in analyzeTemporalDivergence() local
181 if (!OpInst) in analyzeTemporalDivergence()
DScalarEvolution.cpp8045 Instruction *OpInst = dyn_cast<Instruction>(Op); in getConstantEvolvingPHIOperands() local
8046 if (!OpInst || !canConstantEvolve(OpInst, L)) return nullptr; in getConstantEvolvingPHIOperands()
8048 PHINode *P = dyn_cast<PHINode>(OpInst); in getConstantEvolvingPHIOperands()
8053 P = PHIMap.lookup(OpInst); in getConstantEvolvingPHIOperands()
8057 P = getConstantEvolvingPHIOperands(OpInst, L, PHIMap, Depth + 1); in getConstantEvolvingPHIOperands()
8058 PHIMap[OpInst] = P; in getConstantEvolvingPHIOperands()
/external/llvm-project/polly/lib/CodeGen/
DBlockGenerators.cpp722 auto *OpInst = dyn_cast<Instruction>(Op); in generateBeginStmtTrace() local
723 if (!OpInst) in generateBeginStmtTrace()
725 if (!S->contains(OpInst)) in generateBeginStmtTrace()
730 if (Encountered.count(OpInst)) in generateBeginStmtTrace()
736 Builder, getInstName(OpInst))); in generateBeginStmtTrace()
739 Values.push_back(getNewValue(Stmt, OpInst, BBMap, LTS, in generateBeginStmtTrace()
741 Encountered.insert(OpInst); in generateBeginStmtTrace()
DIslNodeBuilder.cpp251 if (Instruction *OpInst = dyn_cast<Instruction>(BasePtr)) in addReferencesFromStmt() local
252 if (Stmt->getParent()->contains(OpInst)) in addReferencesFromStmt()
/external/llvm-project/polly/lib/Analysis/
DScopDetection.cpp1200 auto *OpInst = dyn_cast<Instruction>(&Op); in isValidInstruction() local
1202 if (!OpInst) in isValidInstruction()
1205 if (isErrorBlock(*OpInst->getParent(), Context.CurRegion, LI, DT)) { in isValidInstruction()
1206 auto *PHI = dyn_cast<PHINode>(OpInst); in isValidInstruction()
DScopBuilder.cpp1105 auto *OpInst = dyn_cast<Instruction>(Op); in buildPHIAccesses() local
1106 if (!OpInst || !NonAffineSubRegion->contains(OpInst)) in buildPHIAccesses()
2009 Instruction *OpInst = dyn_cast<Instruction>(Op.get()); in joinOperandTree() local
2010 if (!OpInst) in joinOperandTree()
2014 auto OpVal = UnionFind.findValue(OpInst); in joinOperandTree()
2018 UnionFind.unionSets(Inst, OpInst); in joinOperandTree()
/external/llvm-project/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp2108 if (auto *OpInst = dyn_cast<Instruction>(II->getOperand(1))) { in collectFrameAllocas() local
2109 if (auto *AI = dyn_cast<AllocaInst>(OpInst->stripPointerCasts())) { in collectFrameAllocas()
2113 LifetimeMap[AI]->insert(isa<AllocaInst>(OpInst) ? II : OpInst); in collectFrameAllocas()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp1858 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in RecursivelyEraseDeadInsts() local
1859 if (OpInst->use_empty()) in RecursivelyEraseDeadInsts()
1860 Insts.insert(OpInst); in RecursivelyEraseDeadInsts()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp78 if (Instruction* OpInst = dyn_cast<Instruction>(U)) in SimplifyDemandedBits() local
79 salvageDebugInfo(*OpInst); in SimplifyDemandedBits()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp1905 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in RecursivelyEraseDeadInsts() local
1906 if (OpInst->use_empty()) in RecursivelyEraseDeadInsts()
1907 Insts.insert(OpInst); in RecursivelyEraseDeadInsts()
DJumpThreading.cpp1242 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in isOpDefinedInBlock() local
1243 if (OpInst->getParent() == BB) in isOpDefinedInBlock()
/external/llvm-project/llvm/lib/Transforms/Scalar/
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()
DJumpThreading.cpp1283 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in isOpDefinedInBlock() local
1284 if (OpInst->getParent() == BB) in isOpDefinedInBlock()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp6331 Instruction *OpInst = dyn_cast<Instruction>(Op); in getConstantEvolvingPHIOperands() local
6332 if (!OpInst || !canConstantEvolve(OpInst, L)) return nullptr; in getConstantEvolvingPHIOperands()
6334 PHINode *P = dyn_cast<PHINode>(OpInst); in getConstantEvolvingPHIOperands()
6339 P = PHIMap.lookup(OpInst); in getConstantEvolvingPHIOperands()
6343 P = getConstantEvolvingPHIOperands(OpInst, L, PHIMap); in getConstantEvolvingPHIOperands()
6344 PHIMap[OpInst] = P; in getConstantEvolvingPHIOperands()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp640 if (Instruction *OpInst = dyn_cast<Instruction>(*OI)) in getDebugLocFromInstOrOperands() local
641 if (OpInst->getDebugLoc() != Empty) in getDebugLocFromInstOrOperands()
642 return OpInst; in getDebugLocFromInstOrOperands()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp4547 auto *OpInst = cast<Instruction>(E->Scalars[i]); in vectorizeTree() local
4548 assert(E->isOpcodeOrAlt(OpInst) && "Unexpected main/alternate opcode"); in vectorizeTree()
4549 if (OpInst->getOpcode() == E->getAltOpcode()) { in vectorizeTree()
DLoopVectorize.cpp812 if (Instruction *OpInst = dyn_cast<Instruction>(*OI)) in getDebugLocFromInstOrOperands() local
813 if (OpInst->getDebugLoc() != Empty) in getDebugLocFromInstOrOperands()
814 return OpInst; in getDebugLocFromInstOrOperands()
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp4813 auto *OpInst = cast<Instruction>(E->Scalars[i]); in vectorizeTree() local
4814 assert(E->isOpcodeOrAlt(OpInst) && "Unexpected main/alternate opcode"); in vectorizeTree()
4815 if (OpInst->getOpcode() == E->getAltOpcode()) { in vectorizeTree()
DLoopVectorize.cpp1055 if (Instruction *OpInst = dyn_cast<Instruction>(*OI)) in getDebugLocFromInstOrOperands() local
1056 if (OpInst->getDebugLoc() != Empty) in getDebugLocFromInstOrOperands()
1057 return OpInst; in getDebugLocFromInstOrOperands()