Home
last modified time | relevance | path

Searched refs:AllBlocks (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/bolt/lib/Passes/
H A DExtTSPReorderAlgorithm.cpp470 AllBlocks.reserve(BF.getLayout().block_size()); in initialize()
476 AllBlocks.emplace_back(BB, Size); in initialize()
481 for (Block &Block : AllBlocks) { in initialize()
502 for (Block &Block : AllBlocks) { in initialize()
513 for (Block &Block : AllBlocks) { in initialize()
522 for (Block &Block : AllBlocks) { in initialize()
547 for (Block &Block : AllBlocks) { in mergeFallthroughs()
552 Block.FallthroughSucc = &AllBlocks[SuccIndex]; in mergeFallthroughs()
574 for (Block &Block : AllBlocks) { in mergeFallthroughs()
590 for (Block &Block : AllBlocks) { in mergeFallthroughs()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCodeLayout.cpp470 AllBlocks.reserve(NumNodes); in initialize()
495 auto &Block = AllBlocks[Pred]; in initialize()
496 auto &SuccBlock = AllBlocks[Succ]; in initialize()
506 for (auto &Block : AllBlocks) { in initialize()
516 for (auto &Block : AllBlocks) { in initialize()
540 for (auto &Block : AllBlocks) { in mergeForcedPairs()
545 Block.ForcedSucc = &AllBlocks[SuccIndex]; in mergeForcedPairs()
546 AllBlocks[SuccIndex].ForcedPred = &Block; in mergeForcedPairs()
556 for (auto &Block : AllBlocks) { in mergeForcedPairs()
572 for (auto &Block : AllBlocks) { in mergeForcedPairs()
[all …]
H A DLoopUnrollAndJam.cpp763 SmallVector<BasicBlockSet, 8> AllBlocks; in checkDependencies() local
766 AllBlocks.push_back(ForeBlocksMap.lookup(L)); in checkDependencies()
767 AllBlocks.push_back(SubLoopBlocks); in checkDependencies()
770 AllBlocks.push_back(AftBlocksMap.lookup(L)); in checkDependencies()
775 for (BasicBlockSet &Blocks : AllBlocks) { in checkDependencies()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DSanitizerCoverage.cpp717 size_t N = AllBlocks.size(); in CreatePCArray()
722 if (&F.getEntryBlock() == AllBlocks[i]) { in CreatePCArray()
728 BlockAddress::get(AllBlocks[i]), IntptrPtrTy)); in CreatePCArray()
743 Function &F, ArrayRef<BasicBlock *> AllBlocks) { in CreateFunctionLocalArrays() argument
746 AllBlocks.size(), F, Int32Ty, SanCovGuardsSectionName); in CreateFunctionLocalArrays()
750 AllBlocks.size(), F, Int8Ty, SanCovCountersSectionName); in CreateFunctionLocalArrays()
756 FunctionPCsArray = CreatePCArray(F, AllBlocks); in CreateFunctionLocalArrays()
762 if (AllBlocks.empty()) return false; in InjectCoverage()
763 CreateFunctionLocalArrays(F, AllBlocks); in InjectCoverage()
764 for (size_t i = 0, N = AllBlocks.size(); i < N; i++) in InjectCoverage()
[all …]
H A DAddressSanitizer.cpp2663 SmallVector<BasicBlock *, 16> AllBlocks; in instrumentFunction() local
2668 AllBlocks.push_back(&BB); in instrumentFunction()
/llvm-project-15.0.7/llvm/unittests/CodeGen/
H A DInstrRefLDVTest.cpp2173 AllBlocks.insert(MBB0); in TEST_F()
2174 AllBlocks.insert(MBB1); in TEST_F()
2175 AllBlocks.insert(MBB2); in TEST_F()
2176 AllBlocks.insert(MBB3); in TEST_F()
2329 AllBlocks.insert(MBB0); in TEST_F()
2330 AllBlocks.insert(MBB1); in TEST_F()
2331 AllBlocks.insert(MBB2); in TEST_F()
2434 AllBlocks.insert(MBB0); in TEST_F()
2435 AllBlocks.insert(MBB1); in TEST_F()
2436 AllBlocks.insert(MBB2); in TEST_F()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-cov/
H A Dgcov.cpp89 cl::opt<bool> AllBlocks("a", cl::Grouping, cl::init(false), in gcovMain() local
91 cl::alias AllBlocksA("all-blocks", cl::aliasopt(AllBlocks)); in gcovMain()
171 GCOV::Options Options(AllBlocks, BranchProb, BranchCount, FuncSummary, in gcovMain()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixIrreducibleControlFlow.cpp540 BlockSet AllBlocks; in runOnMachineFunction() local
542 AllBlocks.insert(&MBB); in runOnMachineFunction()
545 if (LLVM_UNLIKELY(processRegion(&*MF.begin(), AllBlocks, MF))) { in runOnMachineFunction()
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DGCOV.h47 : AllBlocks(A), BranchInfo(B), BranchCount(C), FuncCoverage(F), in Options()
52 bool AllBlocks; member
/llvm-project-15.0.7/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp2086 MachineFunction &MF, SmallPtrSetImpl<MachineBasicBlock *> &AllBlocks, in placeMLocPHIs() argument
2154 BlockPHIPlacement(AllBlocks, DefBlocks, PHIBlocks); in placeMLocPHIs()
2229 SmallPtrSet<MachineBasicBlock *, 32> AllBlocks; in buildMLocValueMap() local
2233 AllBlocks.insert(OrderToBB[I]); in buildMLocValueMap()
2245 placeMLocPHIs(MF, AllBlocks, MInLocs, MLocTransfer); in buildMLocValueMap()
2343 const SmallPtrSetImpl<MachineBasicBlock *> &AllBlocks, in BlockPHIPlacement() argument
2351 IDF.setLiveInBlocks(AllBlocks); in BlockPHIPlacement()
H A DInstrRefBasedImpl.h1012 SmallPtrSetImpl<MachineBasicBlock *> &AllBlocks,
1031 void BlockPHIPlacement(const SmallPtrSetImpl<MachineBasicBlock *> &AllBlocks,
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DGCOV.cpp780 if (options.AllBlocks) { in annotateSource()