| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | UnifyFunctionExitNodes.cpp | 63 BB->getInstList().pop_back(); // Remove the unreachable inst. in unifyUnreachableBlocks() 93 NewRetBlock->getInstList().push_back(PN); in unifyReturnBlocks() 105 BB->getInstList().pop_back(); // Remove the return insn in unifyReturnBlocks()
|
| H A D | FlattenCFG.cpp | 289 FirstCondBlock->getInstList().pop_back(); in FlattenParallelAndOr() 290 FirstCondBlock->getInstList() in FlattenParallelAndOr() 291 .splice(FirstCondBlock->end(), CB->getInstList()); in FlattenParallelAndOr() 482 FirstEntryBlock->getInstList().pop_back(); in MergeIfRegion() 483 FirstEntryBlock->getInstList() in MergeIfRegion() 484 .splice(FirstEntryBlock->end(), SecondEntryBlock->getInstList()); in MergeIfRegion()
|
| H A D | AddDiscriminators.cpp | 196 for (auto &I : B.getInstList()) { in addDiscriminators() 240 for (auto &I : B.getInstList()) { in addDiscriminators()
|
| H A D | BasicBlockUtils.cpp | 84 BB->getInstList().pop_back(); in detachDeadBlocks() 87 assert(BB->getInstList().size() == 1 && in detachDeadBlocks() 269 PredBB->getInstList().splice(PTI->getIterator(), BB->getInstList(), in MergeBlockIntoPredecessor() 281 BB->getInstList().pop_back(); in MergeBlockIntoPredecessor() 287 PredBB->getInstList().pop_back(); in MergeBlockIntoPredecessor() 290 PredBB->getInstList().splice(PredBB->end(), BB->getInstList()); in MergeBlockIntoPredecessor() 514 ReplaceInstWithInst(From->getParent()->getInstList(), BI, To); in ReplaceInstWithInst() 1323 Pred->getInstList().push_back(NewRet); in FoldReturnIntoUncondBranch() 1335 Pred->getInstList().insert(NewRet->getIterator(), NewBC); in FoldReturnIntoUncondBranch() 1345 Pred->getInstList().insert(NewBC->getIterator(), NewEV); in FoldReturnIntoUncondBranch() [all …]
|
| H A D | LowerInvoke.cpp | 69 BB.getInstList().erase(II); in runImpl()
|
| H A D | CloneFunction.cpp | 60 NewBB->getInstList().push_back(NewInst); in CloneBasicBlock() 517 NewBB->getInstList().push_back(NewInst); in CloneBlock() 576 NewBB->getInstList().push_back(NewInst); in CloneBlock() 859 I->getInstList().splice(I->end(), Dest->getInstList()); in CloneAndPruneIntoFromInst()
|
| H A D | InlineFunction.cpp | 2139 Caller->getEntryBlock().getInstList().splice( in InlineFunction() 2140 InsertPoint, FirstNewBlock->getInstList(), AI->getIterator(), I); in InlineFunction() 2483 OrigBB->getInstList().splice(CB.getIterator(), FirstNewBlock->getInstList(), in InlineFunction() 2621 AfterCallBB->getInstList().splice(AfterCallBB->begin(), in InlineFunction() 2622 ReturnBB->getInstList()); in InlineFunction() 2652 OrigBB->getInstList().splice(Br->getIterator(), CalleeEntry->getInstList()); in InlineFunction() 2655 OrigBB->getInstList().erase(Br); in InlineFunction()
|
| H A D | BypassSlowDivision.cpp | 420 MainBB->getInstList().back().eraseFromParent(); in insertFastDivAndRem() 437 MainBB->getInstList().back().eraseFromParent(); in insertFastDivAndRem()
|
| H A D | Local.cpp | 801 DestBB->getInstList().splice(DestBB->begin(), PredBB->getInstList()); in MergeBasicBlockIntoOnlyPred() 810 assert(PredBB->getInstList().size() == 1 && in MergeBasicBlockIntoOnlyPred() 1146 Succ->getInstList().splice(Succ->getFirstNonPHI()->getIterator(), in TryToSimplifyUncondBranchFromEmptyBlock() 1147 BB->getInstList()); in TryToSimplifyUncondBranchFromEmptyBlock() 1171 BB->getInstList().pop_back(); in TryToSimplifyUncondBranchFromEmptyBlock() 2149 BB->getInstList().erase(BBI++); in changeToUnreachable() 2219 BB->getInstList().pop_back(); in changeToInvokeAndSplitBasicBlock() 2247 Split->getInstList().pop_front(); in changeToInvokeAndSplitBasicBlock() 2867 DomBlock->getInstList().splice(InsertPt->getIterator(), BB->getInstList(), in hoistAllInstructionsInto()
|
| H A D | LowerSwitch.cpp | 304 NewNode->getInstList().push_back(Comp); in SwitchConvert() 523 OrigBlock->getInstList().erase(SI); in ProcessSwitchInst()
|
| /llvm-project-15.0.7/llvm/examples/ModuleMaker/ |
| H A D | ModuleMaker.cpp | 58 BB->getInstList().push_back(Add); in main() 61 BB->getInstList().push_back(ReturnInst::Create(Context, Add)); in main()
|
| /llvm-project-15.0.7/llvm/docs/HistoricalNotes/ |
| H A D | 2002-05-12-InstListChange.txt | 11 instruction list (returned by getInstList()) that is a ValueHolder of 35 instruction list (which can be found by grep'ing for getInstList()) will 38 getInstList()) so that all of the code doesn't have to change.
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Instruction.cpp | 31 BB->getInstList().insert(InsertBefore->getIterator(), this); in Instruction() 41 InsertAtEnd->getInstList().push_back(this); in Instruction() 74 getParent()->getInstList().remove(getIterator()); in removeFromParent() 78 return getParent()->getInstList().erase(getIterator()); in eraseFromParent() 84 InsertPos->getParent()->getInstList().insert(InsertPos->getIterator(), this); in insertBefore() 90 InsertPos->getParent()->getInstList().insertAfter(InsertPos->getIterator(), in insertAfter() 107 BB.getInstList().splice(I, getParent()->getInstList(), getIterator()); in moveBefore()
|
| H A D | BasicBlock.cpp | 394 New->getInstList().splice(New->end(), this->getInstList(), I, end()); in splitBasicBlock() 423 New->getInstList().splice(New->end(), this->getInstList(), begin(), I); in splitBasicBlockBefore()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFixFunctionBitcasts.cpp | 144 BB->getInstList().push_back(PtrCast); in createWrapper() 184 BB->getInstList().push_back(Cast); in createWrapper()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | DomTreeUpdater.cpp | 109 assert(BB->getInstList().size() == 1 && in forceFlushDeletedBB() 224 DelBB->getInstList().pop_back(); in validateDeleteBB()
|
| H A D | LoopNestAnalysis.cpp | 298 return (BB->getInstList().size() == 1); in skipEmptyBlockUntil() 382 if (Succ->getInstList().size() == 1) { in checkLoopsStructure()
|
| /llvm-project-15.0.7/llvm/examples/BrainF/ |
| H A D | BrainF.cpp | 99 BB->getInstList().push_back(cast<Instruction>(ptr_arr)); in header() 131 endbb->getInstList().push_back(CallInst::CreateFree(ptr_arr, endbb)); in header()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | BasicBlock.h | 364 const InstListType &getInstList() const { return InstList; } in getInstList() function 365 InstListType &getInstList() { return InstList; } in getInstList() function
|
| /llvm-project-15.0.7/llvm/tools/bugpoint-passes/ |
| H A D | TestPasses.cpp | 71 CI->getParent()->getInstList().erase(CI); in runOnFunction()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | SimplifyCFGPass.cpp | 111 CanonicalBB->getInstList().push_back(std::get<1>(I)); in performBlockTailMerging() 116 CanonicalBB->getInstList().push_back(CanonicalTerm); in performBlockTailMerging()
|
| /llvm-project-15.0.7/llvm/lib/Target/BPF/ |
| H A D | BPFCheckAndAdjustIR.cpp | 156 BB.getInstList().insert(Call->getIterator(), ICmp); in removeCompareBuiltin()
|
| H A D | BPFAbstractMemberAccess.cpp | 110 BB->getInstList().insert(Before->getIterator(), NewInst); in insertPassThrough() 1138 BB->getInstList().insert(Call->getIterator(), BCInst); in transformGEPChain() 1143 BB->getInstList().insert(Call->getIterator(), GEP); in transformGEPChain() 1147 BB->getInstList().insert(Call->getIterator(), BCInst2); in transformGEPChain()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/CFGuard/ |
| H A D | CFGuard.cpp | 269 for (Instruction &I : BB.getInstList()) { in runOnFunction()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | PruneEH.cpp | 208 BB->getInstList().pop_back(); in SimplifyFunction()
|