Home
last modified time | relevance | path

Searched refs:ToDelete (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp56 SmallVectorImpl<Instruction *> &ToDelete) { in isOnlyCopiedFromConstantGlobal() argument
119 ToDelete.push_back(II); in isOnlyCopiedFromConstantGlobal()
163 SmallVectorImpl<Instruction *> &ToDelete) { in isOnlyCopiedFromConstantGlobal() argument
165 if (isOnlyCopiedFromConstantGlobal(AI, TheCopy, ToDelete)) in isOnlyCopiedFromConstantGlobal()
286 SmallVector<Instruction *, 4> ToDelete; in visitAllocaInst() local
287 if (MemTransferInst *Copy = isOnlyCopiedFromConstantGlobal(&AI, ToDelete)) { in visitAllocaInst()
293 for (unsigned i = 0, e = ToDelete.size(); i != e; ++i) in visitAllocaInst()
294 eraseInstFromFunction(*ToDelete[i]); in visitAllocaInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp60 SmallVectorImpl<Instruction *> &ToDelete) { in isOnlyCopiedFromConstantGlobal() argument
122 ToDelete.push_back(II); in isOnlyCopiedFromConstantGlobal()
166 SmallVectorImpl<Instruction *> &ToDelete) { in isOnlyCopiedFromConstantGlobal() argument
168 if (isOnlyCopiedFromConstantGlobal(AI, TheCopy, ToDelete)) in isOnlyCopiedFromConstantGlobal()
402 SmallVector<Instruction *, 4> ToDelete; in visitAllocaInst() local
403 if (MemTransferInst *Copy = isOnlyCopiedFromConstantGlobal(&AI, ToDelete)) { in visitAllocaInst()
410 for (unsigned i = 0, e = ToDelete.size(); i != e; ++i) in visitAllocaInst()
411 eraseInstFromFunction(*ToDelete[i]); in visitAllocaInst()
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp397 SmallVector<ExtractValueInst *, 4> ToDelete; in eliminateOverflowIntrinsic() local
407 ToDelete.push_back(EVI); in eliminateOverflowIntrinsic()
411 for (auto *EVI : ToDelete) in eliminateOverflowIntrinsic()
/external/llvm/tools/bugpoint/
DCrashDebugger.cpp553 std::vector<NamedMDNode *> ToDelete; in TestNamedMDs() local
554 ToDelete.reserve(M->named_metadata_size() - Names.size()); in TestNamedMDs()
559 ToDelete.push_back(&NamedMD); in TestNamedMDs()
561 for (auto *NamedMD : ToDelete) in TestNamedMDs()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp475 SmallVector<ExtractValueInst *, 4> ToDelete; in eliminateOverflowIntrinsic() local
485 ToDelete.push_back(EVI); in eliminateOverflowIntrinsic()
489 for (auto *EVI : ToDelete) in eliminateOverflowIntrinsic()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/
DCrashDebugger.cpp793 std::vector<NamedMDNode *> ToDelete; in TestNamedMDs() local
794 ToDelete.reserve(M->named_metadata_size() - Names.size()); in TestNamedMDs()
799 ToDelete.push_back(&NamedMD); in TestNamedMDs()
801 for (auto *NamedMD : ToDelete) in TestNamedMDs()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DScalarReplAggregates.cpp160 AllocaInst *AI, SmallVector<Instruction*, 4> &ToDelete);
1386 SmallVector<Instruction *, 4> ToDelete; in performScalarRepl() local
1387 if (MemTransferInst *Copy = isOnlyCopiedFromConstantGlobal(AI, ToDelete)) { in performScalarRepl()
1390 for (unsigned i = 0, e = ToDelete.size(); i != e; ++i) in performScalarRepl()
1391 ToDelete[i]->eraseFromParent(); in performScalarRepl()
2586 SmallVector<Instruction*, 4> &ToDelete) { in isOnlyCopiedFromConstantGlobal() argument
2588 if (::isOnlyCopiedFromConstantGlobal(AI, TheCopy, false, ToDelete)) in isOnlyCopiedFromConstantGlobal()