/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonVectorLoopCarriedReuse.cpp | 524 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/ |
D | HexagonVectorLoopCarriedReuse.cpp | 445 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/ |
D | CodeMoverUtils.cpp | 128 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/ |
D | DivergenceAnalysis.cpp | 232 auto *OpInst = dyn_cast<Instruction>(&Op); in taintLoopLiveOuts() local 233 if (!OpInst) in taintLoopLiveOuts() 235 if (DivLoop->contains(OpInst->getParent())) { in taintLoopLiveOuts()
|
D | ScalarEvolution.cpp | 7817 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/ |
D | CodeMoverUtils.cpp | 342 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/ |
D | DivergenceAnalysis.cpp | 180 const auto *OpInst = getIfCarriedInstruction(Op, OuterDivLoop); in analyzeTemporalDivergence() local 181 if (!OpInst) in analyzeTemporalDivergence()
|
D | ScalarEvolution.cpp | 8045 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/ |
D | BlockGenerators.cpp | 722 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()
|
D | IslNodeBuilder.cpp | 251 if (Instruction *OpInst = dyn_cast<Instruction>(BasePtr)) in addReferencesFromStmt() local 252 if (Stmt->getParent()->contains(OpInst)) in addReferencesFromStmt()
|
/external/llvm-project/polly/lib/Analysis/ |
D | ScopDetection.cpp | 1200 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()
|
D | ScopBuilder.cpp | 1105 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/ |
D | CoroFrame.cpp | 2108 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/ |
D | Reassociate.cpp | 1858 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/ |
D | InstCombineSimplifyDemanded.cpp | 78 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/ |
D | Reassociate.cpp | 1905 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in RecursivelyEraseDeadInsts() local 1906 if (OpInst->use_empty()) in RecursivelyEraseDeadInsts() 1907 Insts.insert(OpInst); in RecursivelyEraseDeadInsts()
|
D | JumpThreading.cpp | 1242 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in isOpDefinedInBlock() local 1243 if (OpInst->getParent() == BB) in isOpDefinedInBlock()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 2003 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in RecursivelyEraseDeadInsts() local 2004 if (OpInst->use_empty()) in RecursivelyEraseDeadInsts() 2005 Insts.insert(OpInst); in RecursivelyEraseDeadInsts()
|
D | JumpThreading.cpp | 1283 if (Instruction *OpInst = dyn_cast<Instruction>(Op)) in isOpDefinedInBlock() local 1284 if (OpInst->getParent() == BB) in isOpDefinedInBlock()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 6331 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/ |
D | LoopVectorize.cpp | 640 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/ |
D | SLPVectorizer.cpp | 4547 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()
|
D | LoopVectorize.cpp | 812 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/ |
D | SLPVectorizer.cpp | 4813 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()
|
D | LoopVectorize.cpp | 1055 if (Instruction *OpInst = dyn_cast<Instruction>(*OI)) in getDebugLocFromInstOrOperands() local 1056 if (OpInst->getDebugLoc() != Empty) in getDebugLocFromInstOrOperands() 1057 return OpInst; in getDebugLocFromInstOrOperands()
|