Home
last modified time | relevance | path

Searched refs:getBasicBlockList (Results 1 – 25 of 37) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DBasicBlock.cpp62 NewParent->getBasicBlockList().insert(InsertBefore->getIterator(), this); in insertInto()
64 NewParent->getBasicBlockList().push_back(this); in insertInto()
126 getParent()->getBasicBlockList().remove(getIterator()); in removeFromParent()
130 return getParent()->getBasicBlockList().erase(getIterator()); in eraseFromParent()
134 MovePos->getParent()->getBasicBlockList().splice( in moveBefore()
135 MovePos->getIterator(), getParent()->getBasicBlockList(), getIterator()); in moveBefore()
139 MovePos->getParent()->getBasicBlockList().splice( in moveAfter()
140 ++MovePos->getIterator(), getParent()->getBasicBlockList(), in moveAfter()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstIterator.h61 : BBs(&m.getBasicBlockList()), BB(BBs->begin()) { // begin ctor in InstIterator()
69 : BBs(&m.getBasicBlockList()), BB(BBs->end()) { // end ctor in InstIterator()
H A DFunction.h756 const BasicBlockListType &getBasicBlockList() const { return BasicBlocks; } in getBasicBlockList() function
757 BasicBlockListType &getBasicBlockList() { return BasicBlocks; } in getBasicBlockList() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineSizeEstimatorAnalysis.cpp196 std::distance(F.getBasicBlockList().begin(), F.getBasicBlockList().end()); in getFunctionFeatures()
H A DCFLGraph.h644 for (auto &Bb : Fn.getBasicBlockList()) in buildGraphFrom()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DSpeculateAnalyses.cpp70 return llvm::all_of(F.getBasicBlockList(), [](const BasicBlock &BB) { in isStraightLine()
139 for (auto &Block : F.getBasicBlockList()) in rearrangeBB()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DInlineSimple.cpp59 const auto &BBs = CB.getCaller()->getBasicBlockList(); in getInlineCost()
H A DDeadArgumentElimination.cpp227 NF->getBasicBlockList().splice(NF->begin(), Fn.getBasicBlockList()); in DeleteDeadVarargs()
1013 NF->getBasicBlockList().splice(NF->begin(), F->getBasicBlockList()); in RemoveDeadStuffFromFunction()
H A DArgumentPromotion.cpp368 NF->getBasicBlockList().splice(NF->begin(), F->getBasicBlockList()); in doPromotion()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp548 NewFunc->getBasicBlockList().push_back(NewBB); in CloneAndPruneIntoFromInst()
877 F->getBasicBlockList().splice(Before->getIterator(), F->getBasicBlockList(), in cloneLoopWithPreheader()
879 F->getBasicBlockList().splice(Before->getIterator(), F->getBasicBlockList(), in cloneLoopWithPreheader()
H A DLowerSwitch.cpp161 F->getBasicBlockList().insert(++OrigBlock->getIterator(), NewLeaf); in NewLeafBlock()
294 F->getBasicBlockList().insert(++OrigBlock->getIterator(), NewNode); in SwitchConvert()
500 F->getBasicBlockList().insert(Default->getIterator(), NewDefault); in ProcessSwitchInst()
H A DLoopPeel.cpp820 F->getBasicBlockList().splice(InsertTop->getIterator(), in peelLoop()
821 F->getBasicBlockList(), in peelLoop()
H A DLoopSimplify.cpp401 F->getBasicBlockList().splice(InsertPos, F->getBasicBlockList(), BEBlock); in insertUniqueBackedgeBlock()
H A DLoopUnrollRuntime.cpp833 F->getBasicBlockList().splice(InsertBot->getIterator(), in UnrollRuntimeLoopRemainder()
834 F->getBasicBlockList(), in UnrollRuntimeLoopRemainder()
H A DBreakCriticalEdges.cpp188 F.getBasicBlockList().insert(++FBBI, NewBB); in SplitKnownCriticalEdge()
H A DInlineFunction.cpp2467 Caller->getBasicBlockList().pop_back(); in InlineFunction()
2540 Caller->getBasicBlockList().splice(AfterCallBB->getIterator(), in InlineFunction()
2541 Caller->getBasicBlockList(), FirstNewBlock, in InlineFunction()
2639 Caller->getBasicBlockList().erase(CalleeEntry); in InlineFunction()
H A DCodeExtractor.cpp985 newFunction->getBasicBlockList().push_back(newRootNode); in constructFunction()
1388 Function::BasicBlockListType &oldBlocks = oldFunc->getBasicBlockList(); in moveCodeToFunction()
1389 Function::BasicBlockListType &newBlocks = newFunction->getBasicBlockList(); in moveCodeToFunction()
H A DLoopUnroll.cpp526 Header->getParent()->getBasicBlockList().push_back(New); in UnrollLoop()
H A DLoopUnrollAndJam.cpp380 Header->getParent()->getBasicBlockList().push_back(New); in UnrollAndJamLoop()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp365 NewFunc->getBasicBlockList().splice(NewFunc->begin(), F.getBasicBlockList()); in runOnFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp262 for (BasicBlock &BB : F.getBasicBlockList()) { in runOnFunction()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
H A DRenderScriptx86ABIFixups.cpp131 for (auto &block : func.getBasicBlockList()) in findRSCallSites()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp539 CurFn->getBasicBlockList().insertAfter(CurBB->getIterator(), BB); in EmitBlock()
541 CurFn->getBasicBlockList().push_back(BB); in EmitBlock()
566 CurFn->getBasicBlockList().insertAfter(insn->getParent()->getIterator(), in EmitBlockAfterUses()
574 CurFn->getBasicBlockList().push_back(block); in EmitBlockAfterUses()
1400 CurFn->getBasicBlockList().push_back(CaseRangeBlock); in EmitCaseStmtRange()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopUnswitch.cpp1385 F->getBasicBlockList().splice(NewPreheader->getIterator(), in unswitchNontrivialCondition()
1386 F->getBasicBlockList(), in unswitchNontrivialCondition()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Linker/
H A DIRMover.cpp1104 Dst.getBasicBlockList().splice(Dst.end(), Src.getBasicBlockList()); in linkFunctionBody()

12