Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizationArtifactCombiner.h36 SmallVectorImpl<MachineInstr *> &DeadInsts) { in tryCombineAnyExt() argument
47 markInstAndDefDead(MI, *DefMI, DeadInsts); in tryCombineAnyExt()
50 return tryFoldImplicitDef(MI, DeadInsts); in tryCombineAnyExt()
54 SmallVectorImpl<MachineInstr *> &DeadInsts) { in tryCombineZExt() argument
75 markInstAndDefDead(MI, *DefMI, DeadInsts); in tryCombineZExt()
78 return tryFoldImplicitDef(MI, DeadInsts); in tryCombineZExt()
82 SmallVectorImpl<MachineInstr *> &DeadInsts) { in tryCombineSExt() argument
106 markInstAndDefDead(MI, *DefMI, DeadInsts); in tryCombineSExt()
109 return tryFoldImplicitDef(MI, DeadInsts); in tryCombineSExt()
114 SmallVectorImpl<MachineInstr *> &DeadInsts) { in tryFoldImplicitDef() argument
[all …]
/external/llvm/lib/CodeGen/
DInterleavedAccessPass.cpp89 SmallVector<Instruction *, 32> &DeadInsts);
93 SmallVector<Instruction *, 32> &DeadInsts);
197 LoadInst *LI, SmallVector<Instruction *, 32> &DeadInsts) { in lowerInterleavedLoad() argument
261 DeadInsts.push_back(SVI); in lowerInterleavedLoad()
263 DeadInsts.push_back(LI); in lowerInterleavedLoad()
335 StoreInst *SI, SmallVector<Instruction *, 32> &DeadInsts) { in lowerInterleavedStore() argument
355 DeadInsts.push_back(SI); in lowerInterleavedStore()
356 DeadInsts.push_back(SVI); in lowerInterleavedStore()
371 SmallVector<Instruction *, 32> DeadInsts; in runOnFunction() local
376 Changed |= lowerInterleavedLoad(LI, DeadInsts); in runOnFunction()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DInterleavedAccessPass.cpp109 SmallVector<Instruction *, 32> &DeadInsts);
113 SmallVector<Instruction *, 32> &DeadInsts);
277 LoadInst *LI, SmallVector<Instruction *, 32> &DeadInsts) { in lowerInterleavedLoad() argument
342 DeadInsts.push_back(SVI); in lowerInterleavedLoad()
344 DeadInsts.push_back(LI); in lowerInterleavedLoad()
413 StoreInst *SI, SmallVector<Instruction *, 32> &DeadInsts) { in lowerInterleavedStore() argument
434 DeadInsts.push_back(SI); in lowerInterleavedStore()
435 DeadInsts.push_back(SVI); in lowerInterleavedStore()
452 SmallVector<Instruction *, 32> DeadInsts; in runOnFunction() local
457 Changed |= lowerInterleavedLoad(LI, DeadInsts); in runOnFunction()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopInstSimplify.cpp69 SmallVector<Instruction *, 8> DeadInsts; in simplifyLoopInst() local
88 DeadInsts.push_back(&I); in simplifyLoopInst()
134 DeadInsts.push_back(&I); in simplifyLoopInst()
142 if (!DeadInsts.empty()) { in simplifyLoopInst()
144 RecursivelyDeleteTriviallyDeadInstructions(DeadInsts, &TLI); in simplifyLoopInst()
157 DeadInsts.clear(); in simplifyLoopInst()
DIndVarSimplify.cpp136 SmallVector<WeakTrackingVH, 16> DeadInsts; member in __anon97d482e70111::IndVarSimplify
661 DeadInsts.push_back(ExitVal); in rewriteLoopExitValues()
681 DeadInsts.push_back(ExitVal); in rewriteLoopExitValues()
693 DeadInsts.push_back(Inst); in rewriteLoopExitValues()
949 SmallVectorImpl<WeakTrackingVH> &DeadInsts; member in __anon97d482e70511::WidenIV
997 HasGuards(HasGuards), DeadInsts(DI) { in WidenIV()
1399 DeadInsts.emplace_back(UsePhi); in widenIVUse()
1444 DeadInsts.emplace_back(DU.NarrowUse); in widenIVUse()
1499 DeadInsts.emplace_back(WideUse); in widenIVUse()
1625 DeadInsts.emplace_back(DU.NarrowDef); in createWideIV()
[all …]
DLoopStrengthReduce.cpp954 DeleteTriviallyDeadInstructions(SmallVectorImpl<WeakTrackingVH> &DeadInsts) { in DeleteTriviallyDeadInstructions() argument
957 while (!DeadInsts.empty()) { in DeleteTriviallyDeadInstructions()
958 Value *V = DeadInsts.pop_back_val(); in DeleteTriviallyDeadInstructions()
968 DeadInsts.emplace_back(U); in DeleteTriviallyDeadInstructions()
1934 SmallVectorImpl<WeakTrackingVH> &DeadInsts);
2012 SmallVectorImpl<WeakTrackingVH> &DeadInsts) const;
2015 SmallVectorImpl<WeakTrackingVH> &DeadInsts) const;
2018 SmallVectorImpl<WeakTrackingVH> &DeadInsts) const;
3107 SmallVectorImpl<WeakTrackingVH> &DeadInsts) { in GenerateIVChain() argument
3181 DeadInsts.emplace_back(Inc.IVOperand); in GenerateIVChain()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp58 SmallVectorImpl<WeakTrackingVH> &DeadInsts; member in __anoneccf6d620111::SimplifyIndvar
66 : L(Loop), LI(LI), SE(SE), DT(DT), Rewriter(Rewriter), DeadInsts(Dead), in SimplifyIndvar()
161 DeadInsts.emplace_back(IVOperand); in foldIVUser()
256 DeadInsts.emplace_back(ICmp); in eliminateIVComparison()
260 DeadInsts.emplace_back(ICmp); in eliminateIVComparison()
302 DeadInsts.push_back(SDiv); in eliminateSDiv()
318 DeadInsts.emplace_back(Rem); in replaceSRemWithURem()
327 DeadInsts.emplace_back(Rem); in replaceRemWithNumerator()
341 DeadInsts.emplace_back(Rem); in replaceRemWithNumeratorOrZero()
601 DeadInsts.emplace_back(ICI); in eliminateTrunc()
[all …]
DLoopUnroll.cpp263 SmallVector<WeakTrackingVH, 16> DeadInsts; in simplifyLoopAfterUnroll() local
264 simplifyLoopIVs(L, SE, DT, LI, DeadInsts); in simplifyLoopAfterUnroll()
268 while (!DeadInsts.empty()) in simplifyLoopAfterUnroll()
270 dyn_cast_or_null<Instruction>(&*DeadInsts.pop_back_val())) in simplifyLoopAfterUnroll()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSimplifyIndVar.cpp52 SmallVectorImpl<WeakVH> &DeadInsts; member in __anon358a05b60111::SimplifyIndvar
64 DeadInsts(Dead), in SimplifyIndvar()
147 DeadInsts.push_back(IVOperand); in foldIVUser()
184 DeadInsts.push_back(ICmp); in eliminateIVComparison()
240 DeadInsts.push_back(Rem); in eliminateIVRemainder()
271 DeadInsts.push_back(UseInst); in eliminateIVUser()
DLoopUnroll.cpp389 SmallVector<WeakVH, 16> DeadInsts; in UnrollLoop() local
390 simplifyLoopIVs(L, SE, LPM, DeadInsts); in UnrollLoop()
394 while (!DeadInsts.empty()) in UnrollLoop()
396 dyn_cast_or_null<Instruction>(&*DeadInsts.pop_back_val())) in UnrollLoop()
DLocal.cpp272 SmallVector<Instruction*, 16> DeadInsts; in RecursivelyDeleteTriviallyDeadInstructions() local
273 DeadInsts.push_back(I); in RecursivelyDeleteTriviallyDeadInstructions()
276 I = DeadInsts.pop_back_val(); in RecursivelyDeleteTriviallyDeadInstructions()
291 DeadInsts.push_back(OpI); in RecursivelyDeleteTriviallyDeadInstructions()
295 } while (!DeadInsts.empty()); in RecursivelyDeleteTriviallyDeadInstructions()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DIndVarSimplify.cpp82 SmallVector<WeakVH, 16> DeadInsts; member in __anonf7e225bb0111::IndVarSimplify
112 DeadInsts.clear(); in releaseMemory()
561 DeadInsts.push_back(ExitVal); in RewriteLoopExitValues()
689 DeadInsts.push_back(NewVal); in RewriteIVExpressions()
711 DeadInsts.push_back(Op); in RewriteIVExpressions()
811 SmallVectorImpl<WeakVH> &DeadInsts; member in __anonf7e225bb0311::WidenIV
830 DeadInsts(DI) { in WidenIV()
1019 DeadInsts.push_back(DU.NarrowUse); in WidenIVUse()
1069 DeadInsts.push_back(WideUse); in WidenIVUse()
1167 DeadInsts.push_back(DU.NarrowDef); in CreateWideIV()
[all …]
DScalarReplAggregates.cpp81 SmallVector<Value*, 32> DeadInsts; member
1484 while (!DeadInsts.empty()) { in DeleteDeadInstructions()
1485 Instruction *I = cast<Instruction>(DeadInsts.pop_back_val()); in DeleteDeadInstructions()
1494 DeadInsts.push_back(U); in DeleteDeadInstructions()
1810 DeadInsts.push_back(LI); in RewriteForScalarRepl()
1837 DeadInsts.push_back(SI); in RewriteForScalarRepl()
1884 DeadInsts.push_back(BC); in RewriteBitCast()
1953 DeadInsts.push_back(GEPI); in RewriteGEP()
2009 DeadInsts.push_back(II); in RewriteLifetimeIntrinsic()
2050 for (SmallVector<Value*, 32>::const_iterator I = DeadInsts.begin(), in RewriteMemIntrinUserOfAlloca()
[all …]
DLoopStrengthReduce.cpp643 DeleteTriviallyDeadInstructions(SmallVectorImpl<WeakVH> &DeadInsts) { in DeleteTriviallyDeadInstructions() argument
646 while (!DeadInsts.empty()) { in DeleteTriviallyDeadInstructions()
647 Instruction *I = dyn_cast_or_null<Instruction>(&*DeadInsts.pop_back_val()); in DeleteTriviallyDeadInstructions()
656 DeadInsts.push_back(U); in DeleteTriviallyDeadInstructions()
1439 SmallVectorImpl<WeakVH> &DeadInsts) const;
1443 SmallVectorImpl<WeakVH> &DeadInsts,
1448 SmallVectorImpl<WeakVH> &DeadInsts,
3497 SmallVectorImpl<WeakVH> &DeadInsts) const { in Expand()
3630 DeadInsts.push_back(CI->getOperand(1)); in Expand()
3667 SmallVectorImpl<WeakVH> &DeadInsts, in RewriteForPHI() argument
[all …]
DReassociate.cpp79 SmallVector<WeakVH, 8> DeadInsts; member in __anon91232a7d0211::Reassociate
125 DeadInsts.push_back(Op); in RemoveDeadBinaryOp()
612 DeadInsts.push_back(BO); in RemoveFactorFromExpression()
1114 while (!DeadInsts.empty()) in runOnFunction()
1115 if (Value *V = DeadInsts.pop_back_val()) in runOnFunction()
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp51 SmallVectorImpl<WeakVH> &DeadInsts; member in __anon486c5d0a0111::SimplifyIndvar
58 : L(Loop), LI(LI), SE(SE), DT(DT), DeadInsts(Dead), Changed(false) { in SimplifyIndvar()
144 DeadInsts.emplace_back(IVOperand); in foldIVUser()
176 DeadInsts.emplace_back(ICmp); in eliminateIVComparison()
180 DeadInsts.emplace_back(ICmp); in eliminateIVComparison()
315 DeadInsts.emplace_back(Rem); in eliminateIVRemainder()
485 DeadInsts.emplace_back(UseInst); in eliminateIdentitySCEV()
DLoopUnroll.cpp611 SmallVector<WeakVH, 16> DeadInsts; in UnrollLoop() local
612 simplifyLoopIVs(L, SE, DT, LI, DeadInsts); in UnrollLoop()
616 while (!DeadInsts.empty()) in UnrollLoop()
618 dyn_cast_or_null<Instruction>(&*DeadInsts.pop_back_val())) in UnrollLoop()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp96 SmallVector<WeakVH, 16> DeadInsts; member in __anon670f678f0111::IndVarSimplify
614 DeadInsts.push_back(ExitVal); in rewriteLoopExitValues()
634 DeadInsts.push_back(ExitVal); in rewriteLoopExitValues()
646 DeadInsts.push_back(Inst); in rewriteLoopExitValues()
887 SmallVectorImpl<WeakVH> &DeadInsts; member in __anon670f678f0511::WidenIV
906 DeadInsts(DI) { in WidenIV()
1276 DeadInsts.emplace_back(UsePhi); in widenIVUse()
1309 DeadInsts.emplace_back(DU.NarrowUse); in widenIVUse()
1361 DeadInsts.emplace_back(WideUse); in widenIVUse()
1462 DeadInsts.emplace_back(DU.NarrowDef); in createWideIV()
[all …]
DLoopStrengthReduce.cpp800 DeleteTriviallyDeadInstructions(SmallVectorImpl<WeakVH> &DeadInsts) { in DeleteTriviallyDeadInstructions() argument
803 while (!DeadInsts.empty()) { in DeleteTriviallyDeadInstructions()
804 Value *V = DeadInsts.pop_back_val(); in DeleteTriviallyDeadInstructions()
814 DeadInsts.emplace_back(U); in DeleteTriviallyDeadInstructions()
1676 SmallVectorImpl<WeakVH> &DeadInsts);
1759 SmallVectorImpl<WeakVH> &DeadInsts) const;
1763 SmallVectorImpl<WeakVH> &DeadInsts) const;
1767 SmallVectorImpl<WeakVH> &DeadInsts) const;
2830 SmallVectorImpl<WeakVH> &DeadInsts) { in GenerateIVChain() argument
2904 DeadInsts.emplace_back(Inc.IVOperand); in GenerateIVChain()
[all …]
DSROA.cpp2335 Pass.DeadInsts.insert(I); in deleteIfTriviallyDead()
2445 Pass.DeadInsts.insert(&LI); in visitLoadInst()
2469 Pass.DeadInsts.insert(&SI); in rewriteVectorizedStoreInst()
2489 Pass.DeadInsts.insert(&SI); in rewriteIntegerStore()
2554 Pass.DeadInsts.insert(&SI); in visitStoreInst()
2613 Pass.DeadInsts.insert(&II); in visitMemSetInst()
2765 Pass.DeadInsts.insert(&II); in visitMemTransferInst()
2879 Pass.DeadInsts.insert(&II); in visitIntrinsicInst()
3642 DeadInsts.insert(SI); in presplitLoadsAndStores()
3650 DeadInsts.insert(LI); in presplitLoadsAndStores()
[all …]
/external/swiftshader/third_party/LLVM/lib/VMCore/
DAutoUpgrade.cpp554 SmallPtrSet<Instruction*, 32> DeadInsts; in UpgradeExceptionHandling() local
610 DeadInsts.insert(Exn); in UpgradeExceptionHandling()
611 DeadInsts.insert(Sel); in UpgradeExceptionHandling()
637 I = DeadInsts.begin(), E = DeadInsts.end(); I != E; ++I) { in UpgradeExceptionHandling()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/ObjCARC/
DObjCARCOpts.cpp515 SmallVectorImpl<Instruction *> &DeadInsts, Module *M);
522 SmallVectorImpl<Instruction *> &DeadInsts,
1513 SmallVectorImpl<Instruction *> &DeadInsts, in MoveCalls() argument
1555 DeadInsts.push_back(OrigRetain); in MoveCalls()
1560 DeadInsts.push_back(OrigRelease); in MoveCalls()
1570 SmallVectorImpl<Instruction *> &DeadInsts, RRInfo &RetainsToMove, in PairUpRetainsAndReleases() argument
1771 SmallVector<Instruction *, 8> DeadInsts; in PerformCodePlacement() local
1805 BBStates, Retains, Releases, M, Retain, DeadInsts, in PerformCodePlacement()
1813 Retains, Releases, DeadInsts, M); in PerformCodePlacement()
1819 while (!DeadInsts.empty()) in PerformCodePlacement()
[all …]
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCOpts.cpp516 SmallVectorImpl<Instruction *> &DeadInsts, Module *M);
524 SmallVectorImpl<Instruction *> &DeadInsts,
1479 SmallVectorImpl<Instruction *> &DeadInsts, in MoveCalls() argument
1517 DeadInsts.push_back(OrigRetain); in MoveCalls()
1522 DeadInsts.push_back(OrigRelease); in MoveCalls()
1534 SmallVectorImpl<Instruction *> &DeadInsts, RRInfo &RetainsToMove, in PairUpRetainsAndReleases() argument
1741 SmallVector<Instruction *, 8> DeadInsts; in PerformCodePlacement() local
1774 BBStates, Retains, Releases, M, NewRetains, NewReleases, DeadInsts, in PerformCodePlacement()
1782 Retains, Releases, DeadInsts, M); in PerformCodePlacement()
1794 while (!DeadInsts.empty()) in PerformCodePlacement()
[all …]
/external/llvm/include/llvm/Transforms/Scalar/
DSROA.h71 SetVector<Instruction *, SmallVector<Instruction *, 8>> DeadInsts; variable
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/
DSROA.h83 SetVector<Instruction *, SmallVector<Instruction *, 8>> DeadInsts; variable

12