Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DUnifyFunctionExitNodes.cpp63 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 DFlattenCFG.cpp289 FirstCondBlock->getInstList().pop_back(); in FlattenParallelAndOr()
290 FirstCondBlock->getInstList() in FlattenParallelAndOr()
291 .splice(FirstCondBlock->end(), CB->getInstList()); in FlattenParallelAndOr()
478 FirstEntryBlock->getInstList().pop_back(); in MergeIfRegion()
479 FirstEntryBlock->getInstList() in MergeIfRegion()
480 .splice(FirstEntryBlock->end(), SecondEntryBlock->getInstList()); in MergeIfRegion()
H A DBasicBlockUtils.cpp79 BB->getInstList().pop_back(); in DetatchDeadBlocks()
82 assert(BB->getInstList().size() == 1 && in DetatchDeadBlocks()
259 PredBB->getInstList().splice(PTI->getIterator(), BB->getInstList(), in MergeBlockIntoPredecessor()
271 BB->getInstList().pop_back(); in MergeBlockIntoPredecessor()
277 PredBB->getInstList().pop_back(); in MergeBlockIntoPredecessor()
280 PredBB->getInstList().splice(PredBB->end(), BB->getInstList()); in MergeBlockIntoPredecessor()
492 ReplaceInstWithInst(From->getParent()->getInstList(), BI, To); in ReplaceInstWithInst()
1241 NewBB1->getInstList().insert(NewBB1->getFirstInsertionPt(), Clone1); in SplitLandingPadPredecessorsImpl()
1246 NewBB2->getInstList().insert(NewBB2->getFirstInsertionPt(), Clone2); in SplitLandingPadPredecessorsImpl()
1297 Pred->getInstList().push_back(NewRet); in FoldReturnIntoUncondBranch()
[all …]
H A DAddDiscriminators.cpp190 for (auto &I : B.getInstList()) { in addDiscriminators()
234 for (auto &I : B.getInstList()) { in addDiscriminators()
H A DLowerInvoke.cpp71 BB.getInstList().erase(II); in runImpl()
H A DCloneFunction.cpp63 NewBB->getInstList().push_back(NewInst); in CloneBasicBlock()
413 NewBB->getInstList().push_back(NewInst); in CloneBlock()
470 NewBB->getInstList().push_back(NewInst); in CloneBlock()
750 I->getInstList().splice(I->end(), Dest->getInstList()); in CloneAndPruneIntoFromInst()
H A DInlineFunction.cpp2092 Caller->getEntryBlock().getInstList().splice( in InlineFunction()
2093 InsertPoint, FirstNewBlock->getInstList(), AI->getIterator(), I); in InlineFunction()
2454 OrigBB->getInstList().splice(CB.getIterator(), FirstNewBlock->getInstList(), in InlineFunction()
2592 AfterCallBB->getInstList().splice(AfterCallBB->begin(), in InlineFunction()
2593 ReturnBB->getInstList()); in InlineFunction()
2623 OrigBB->getInstList().splice(Br->getIterator(), CalleeEntry->getInstList()); in InlineFunction()
2626 OrigBB->getInstList().erase(Br); in InlineFunction()
H A DLocal.cpp776 DestBB->getInstList().splice(DestBB->begin(), PredBB->getInstList()); in MergeBasicBlockIntoOnlyPred()
785 assert(PredBB->getInstList().size() == 1 && in MergeBasicBlockIntoOnlyPred()
1117 Succ->getInstList().splice(Succ->getFirstNonPHI()->getIterator(), in TryToSimplifyUncondBranchFromEmptyBlock()
1118 BB->getInstList()); in TryToSimplifyUncondBranchFromEmptyBlock()
1148 BB->getInstList().pop_back(); in TryToSimplifyUncondBranchFromEmptyBlock()
2123 BB->getInstList().erase(BBI++); in changeToUnreachable()
2192 BB->getInstList().pop_back(); in changeToInvokeAndSplitBasicBlock()
2219 Split->getInstList().pop_front(); in changeToInvokeAndSplitBasicBlock()
2827 DomBlock->getInstList().splice(InsertPt->getIterator(), BB->getInstList(), in hoistAllInstructionsInto()
H A DBypassSlowDivision.cpp420 MainBB->getInstList().back().eraseFromParent(); in insertFastDivAndRem()
437 MainBB->getInstList().back().eraseFromParent(); in insertFastDivAndRem()
H A DLowerSwitch.cpp295 NewNode->getInstList().push_back(Comp); in SwitchConvert()
516 OrigBlock->getInstList().erase(SI); in ProcessSwitchInst()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/ModuleMaker/
H A DModuleMaker.cpp58 BB->getInstList().push_back(Add); in main()
61 BB->getInstList().push_back(ReturnInst::Create(Context, Add)); in main()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DInstruction.cpp32 BB->getInstList().insert(InsertBefore->getIterator(), this); in Instruction()
42 InsertAtEnd->getInstList().push_back(this); in Instruction()
75 getParent()->getInstList().remove(getIterator()); in removeFromParent()
79 return getParent()->getInstList().erase(getIterator()); in eraseFromParent()
85 InsertPos->getParent()->getInstList().insert(InsertPos->getIterator(), this); in insertBefore()
91 InsertPos->getParent()->getInstList().insertAfter(InsertPos->getIterator(), in insertAfter()
108 BB.getInstList().splice(I, getParent()->getInstList(), getIterator()); in moveBefore()
H A DBasicBlock.cpp397 New->getInstList().splice(New->end(), this->getInstList(), I, end()); in splitBasicBlock()
426 New->getInstList().splice(New->end(), this->getInstList(), begin(), I); in splitBasicBlockBefore()
/netbsd-src/external/apache2/llvm/dist/llvm/docs/HistoricalNotes/
H A D2002-05-12-InstListChange.txt11 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.
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-reduce/deltas/
H A DReduceInstructions.cpp57 InstCount += BB.getInstList().size() - 1; in countInstructions()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixFunctionBitcasts.cpp152 BB->getInstList().push_back(PtrCast); in createWrapper()
192 BB->getInstList().push_back(Cast); in createWrapper()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DLoopNestAnalysis.cpp218 return (BB->getInstList().size() == 1); in skipEmptyBlockUntil()
302 if (Succ->getInstList().size() == 1) { in checkLoopsStructure()
H A DDomTreeUpdater.cpp108 assert(BB->getInstList().size() == 1 && in forceFlushDeletedBB()
223 DelBB->getInstList().pop_back(); in validateDeleteBB()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/BrainF/
H A DBrainF.cpp99 BB->getInstList().push_back(cast<Instruction>(ptr_arr)); in header()
132 endbb->getInstList().push_back(CallInst::CreateFree(ptr_arr, endbb)); in header()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DBasicBlock.h363 const InstListType &getInstList() const { return InstList; } in getInstList() function
364 InstListType &getInstList() { return InstList; } in getInstList() function
/netbsd-src/external/apache2/llvm/dist/llvm/tools/bugpoint-passes/
H A DTestPasses.cpp71 CI->getParent()->getInstList().erase(CI); in runOnFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBPFAbstractMemberAccess.cpp109 BB->getInstList().insert(Before->getIterator(), NewInst); in insertPassThrough()
1040 BB->getInstList().insert(Call->getIterator(), BCInst); in transformGEPChain()
1045 BB->getInstList().insert(Call->getIterator(), GEP); in transformGEPChain()
1049 BB->getInstList().insert(Call->getIterator(), BCInst2); in transformGEPChain()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp263 for (Instruction &I : BB.getInstList()) { in runOnFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DPruneEH.cpp211 BB->getInstList().pop_back(); in SimplifyFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DSimpleLoopUnswitch.cpp489 OldPH->getInstList().splice(OldPH->end(), BI.getParent()->getInstList(), in unswitchTrivialBranch()
494 ParentBB->getInstList().push_back(BI.clone()); in unswitchTrivialBranch()
2122 SplitBB->getInstList().splice(SplitBB->end(), ParentBB->getInstList(), TI); in unswitchNontrivialInvariants()
2126 ParentBB->getInstList().push_back(NewTI); in unswitchNontrivialInvariants()

123