Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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.h755 const BasicBlockListType &getBasicBlockList() const { return BasicBlocks; } in getBasicBlockList() function
756 BasicBlockListType &getBasicBlockList() { return BasicBlocks; } in getBasicBlockList() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DInlineSizeEstimatorAnalysis.cpp196 std::distance(F.getBasicBlockList().begin(), F.getBasicBlockList().end()); in getFunctionFeatures()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp545 NewFunc->getBasicBlockList().push_back(NewBB); in CloneAndPruneIntoFromInst()
874 F->getBasicBlockList().splice(Before->getIterator(), F->getBasicBlockList(), in cloneLoopWithPreheader()
876 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()
/netbsd-src/external/apache2/llvm/dist/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()
1012 NF->getBasicBlockList().splice(NF->begin(), F->getBasicBlockList()); in RemoveDeadStuffFromFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp365 NewFunc->getBasicBlockList().splice(NewFunc->begin(), F.getBasicBlockList()); in runOnFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp262 for (BasicBlock &BB : F.getBasicBlockList()) { in runOnFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp653 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
665 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp765 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
777 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGStmt.cpp536 CurFn->getBasicBlockList().insertAfter(CurBB->getIterator(), BB); in EmitBlock()
538 CurFn->getBasicBlockList().push_back(BB); in EmitBlock()
563 CurFn->getBasicBlockList().insertAfter(insn->getParent()->getIterator(), in EmitBlockAfterUses()
571 CurFn->getBasicBlockList().push_back(block); in EmitBlockAfterUses()
1362 CurFn->getBasicBlockList().push_back(CaseRangeBlock); in EmitCaseStmtRange()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter8/
H A Dtoy.cpp871 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
883 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
H A Dtoy.cpp866 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
878 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp872 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
884 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
H A Dtoy.cpp866 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
878 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
H A Dtoy.cpp866 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
878 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
/netbsd-src/external/apache2/llvm/dist/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