Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/llvm/lib/IR/
H A DBasicBlock.cpp65 NewParent->getBasicBlockList().insert(InsertBefore->getIterator(), this); in insertInto()
67 NewParent->getBasicBlockList().push_back(this); in insertInto()
129 getParent()->getBasicBlockList().remove(getIterator()); in removeFromParent()
133 return getParent()->getBasicBlockList().erase(getIterator()); in eraseFromParent()
137 MovePos->getParent()->getBasicBlockList().splice( in moveBefore()
138 MovePos->getIterator(), getParent()->getBasicBlockList(), getIterator()); in moveBefore()
142 MovePos->getParent()->getBasicBlockList().splice( in moveAfter()
143 ++MovePos->getIterator(), getParent()->getBasicBlockList(), in moveAfter()
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DFunctionPropertiesAnalysisTest.cpp329 F1->getBasicBlockList().size()); in TEST_F()
383 F1->getBasicBlockList().size() - 1); in TEST_F()
438 F1->getBasicBlockList().size() - 1); in TEST_F()
491 F1->getBasicBlockList().size() - 1); in TEST_F()
548 F1->getBasicBlockList().size() - 1); in TEST_F()
/llvm-project-15.0.7/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.h703 const BasicBlockListType &getBasicBlockList() const { return BasicBlocks; } in getBasicBlockList() function
704 BasicBlockListType &getBasicBlockList() { return BasicBlocks; } in getBasicBlockList() function
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DInlineSizeEstimatorAnalysis.cpp194 std::distance(F.getBasicBlockList().begin(), F.getBasicBlockList().end()); in getFunctionFeatures()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DInlineSimple.cpp53 const auto &BBs = CB.getCaller()->getBasicBlockList(); in getInlineCost()
H A DDeadArgumentElimination.cpp225 NF->getBasicBlockList().splice(NF->begin(), F.getBasicBlockList()); in deleteDeadVarargs()
999 NF->getBasicBlockList().splice(NF->begin(), F->getBasicBlockList()); in removeDeadStuffFromFunction()
H A DArgumentPromotion.cpp303 NF->getBasicBlockList().splice(NF->begin(), F->getBasicBlockList()); in doPromotion()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp335 NewFunc->getBasicBlockList().splice(NewFunc->begin(), F.getBasicBlockList()); in runOnFunction()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp653 NewFunc->getBasicBlockList().push_back(NewBB); in CloneAndPruneIntoFromInst()
983 F->getBasicBlockList().splice(Before->getIterator(), F->getBasicBlockList(), in cloneLoopWithPreheader()
985 F->getBasicBlockList().splice(Before->getIterator(), F->getBasicBlockList(), in cloneLoopWithPreheader()
H A DLowerSwitch.cpp163 F->getBasicBlockList().insert(++OrigBlock->getIterator(), NewLeaf); in NewLeafBlock()
303 F->getBasicBlockList().insert(++OrigBlock->getIterator(), NewNode); in SwitchConvert()
H A DLoopPeel.cpp879 F->getBasicBlockList().splice(InsertTop->getIterator(), in peelLoop()
880 F->getBasicBlockList(), in peelLoop()
H A DLoopSimplify.cpp395 F->getBasicBlockList().splice(InsertPos, F->getBasicBlockList(), BEBlock); in insertUniqueBackedgeBlock()
H A DLoopUnrollRuntime.cpp814 F->getBasicBlockList().splice(InsertBot->getIterator(), in UnrollRuntimeLoopRemainder()
815 F->getBasicBlockList(), in UnrollRuntimeLoopRemainder()
H A DBreakCriticalEdges.cpp182 F.getBasicBlockList().insert(++FBBI, NewBB); in SplitKnownCriticalEdge()
/llvm-project-15.0.7/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp268 for (BasicBlock &BB : F.getBasicBlockList()) { in runOnFunction()
/llvm-project-15.0.7/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
H A DRenderScriptx86ABIFixups.cpp125 for (auto &block : func.getBasicBlockList()) in findRSCallSites()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp653 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
665 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp766 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen()
777 TheFunction->getBasicBlockList().push_back(MergeBB); in Codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp765 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
777 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp748 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen()
759 TheFunction->getBasicBlockList().push_back(MergeBB); in Codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
H A Dtoy.cpp866 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
878 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter8/
H A Dtoy.cpp871 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
883 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
H A Dtoy.cpp849 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
861 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()

123