Home
last modified time | relevance | path

Searched refs:block_begin (Results 1 – 25 of 45) sorted by relevance

12

/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_debugging.cpp207 void *block_begin = a->GetBlockBegin((void *)addr); in __tsan_locate_address() local
208 if (block_begin) b = ctx->metamap.GetBlock((uptr)block_begin); in __tsan_locate_address()
247 void *block_begin = a->GetBlockBegin((void *)addr); in __tsan_get_alloc_stack() local
248 if (block_begin) b = ctx->metamap.GetBlock((uptr)block_begin); in __tsan_get_alloc_stack()
H A Dtsan_external.cpp105 void *block_begin = a->GetBlockBegin((void *)addr); in __tsan_external_assign_tag() local
106 if (block_begin) b = ctx->metamap.GetBlock((uptr)block_begin); in __tsan_external_assign_tag()
H A Dtsan_rtl_report.cpp336 uptr block_begin = 0; in AddLocation() local
339 block_begin = (uptr)a->GetBlockBegin((void *)addr); in AddLocation()
340 if (block_begin) in AddLocation()
341 b = ctx->metamap.GetBlock(block_begin); in AddLocation()
344 b = JavaHeapBlock(addr, &block_begin); in AddLocation()
349 loc->heap_chunk_start = block_begin; in AddLocation()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_debugging.cpp207 void *block_begin = a->GetBlockBegin((void *)addr); in __tsan_locate_address() local
208 if (block_begin) b = ctx->metamap.GetBlock((uptr)block_begin); in __tsan_locate_address()
247 void *block_begin = a->GetBlockBegin((void *)addr); in __tsan_get_alloc_stack() local
248 if (block_begin) b = ctx->metamap.GetBlock((uptr)block_begin); in __tsan_get_alloc_stack()
H A Dtsan_external.cpp105 void *block_begin = a->GetBlockBegin((void *)addr); in __tsan_external_assign_tag() local
106 if (block_begin) b = ctx->metamap.GetBlock((uptr)block_begin); in __tsan_external_assign_tag()
H A Dtsan_rtl_report.cpp297 uptr block_begin = 0; in AddLocation() local
300 block_begin = (uptr)a->GetBlockBegin((void *)addr); in AddLocation()
301 if (block_begin) in AddLocation()
302 b = ctx->metamap.GetBlock(block_begin); in AddLocation()
305 b = JavaHeapBlock(addr, &block_begin); in AddLocation()
309 loc->heap_chunk_start = block_begin; in AddLocation()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DMemorySSA.h514 block_iterator block_begin() {
518 const_block_iterator block_begin() const {
522 block_iterator block_end() { return block_begin() + getNumOperands(); }
525 return block_begin() + getNumOperands();
529 return make_range(block_begin(), block_end());
533 return make_range(block_begin(), block_end());
554 BasicBlock *getIncomingBlock(unsigned I) const { return block_begin()[I]; }
571 block_begin()[I] = BB;
588 if (block_begin()[I] == BB)
608 setIncomingBlock(I, block_begin()[E - 1]);
[all …]
H A DRegionInfo.h609 block_iterator block_begin() { return block_iterator(getEntry(), getExit()); }
613 const_block_iterator block_begin() const {
623 return block_range(block_begin(), block_end());
630 return const_block_range(block_begin(), block_end());
H A DLoopInfo.h192 block_iterator block_begin() const { return getBlocks().begin(); } in block_begin() function
196 return make_range(block_begin(), block_end()); in blocks()
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DFunctionLayout.h205 block_const_iterator block_begin() const { return Blocks.begin(); } in block_begin() function
208 return {block_begin(), block_end()}; in blocks()
/llvm-project-15.0.7/bolt/lib/Core/
H A DFunctionLayout.cpp14 return Layout.block_begin() + Layout.Fragments[Num.get()]; in begin()
17 return Layout.block_begin() + Layout.Fragments[Num.get() + 1]; in end()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyExceptionInfo.h80 block_iterator block_begin() const { return getBlocks().begin(); } in block_begin() function
83 return make_range(block_begin(), block_end()); in blocks()
/llvm-project-15.0.7/bolt/lib/Passes/
H A DSplitFunctions.cpp207 BinaryFunction::BasicBlockOrderType PreSplitLayout(Layout.block_begin(), in splitFunction()
222 BinaryFunction::BasicBlockOrderType NewLayout(Layout.block_begin(), in splitFunction()
370 BinaryFunction::BasicBlockOrderType NewLayout(BF.getLayout().block_begin(), in createEHTrampolines()
H A DReorderAlgorithm.cpp172 if (SrcBB == DstBB || DstBB == *BF.getLayout().block_begin()) { in clusterBasicBlocks()
279 if (SuccBB != SrcBB && SuccBB != *BF.getLayout().block_begin() && in calculateWeight()
344 if (SrcBB == DstBB || DstBB == *BF.getLayout().block_begin()) { in adjustQueue()
632 (*BF.getLayout().block_begin())->getExecutionCount() / 1000; in reorderBasicBlocks()
684 BinaryBasicBlock *FirstBB = *BF.getLayout().block_begin(); in reorderBasicBlocks()
H A DLoopInversionPass.cpp75 BinaryFunction::BasicBlockOrderType NewOrder(BF.getLayout().block_begin(), in runOnFunction()
H A DThreeWayBranch.cpp35 Function.getLayout().block_begin(), Function.getLayout().block_end()); in runOnFunction()
H A DIdenticalCodeFolding.cpp169 : BinaryFunction::BasicBlockOrderType(A.getLayout().block_begin(), in isIdenticalWith()
174 : BinaryFunction::BasicBlockOrderType(B.getLayout().block_begin(), in isIdenticalWith()
H A DInliner.cpp398 std::vector<BinaryBasicBlock *> Blocks(Function.getLayout().block_begin(), in inlineCallsInFunction()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DGenericCycleInfo.h174 const_block_iterator block_begin() const { in block_begin() function
182 return llvm::make_range(block_begin(), block_end()); in blocks()
H A DGenericCycleImpl.h180 NewParent->Blocks.insert(NewParent->Blocks.end(), Child->block_begin(), in moveTopLevelCycleToNewParent()
/llvm-project-15.0.7/bolt/lib/Rewrite/
H A DBoltDiff.cpp347 auto Iter1 = Func1->getLayout().block_begin(); in matchBasicBlocks()
348 auto Iter2 = Func2->getLayout().block_begin(); in matchBasicBlocks()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLoopUnrollAndJam.cpp106 JamLoopBlocks.insert(JamLoop.block_begin(), JamLoop.block_end()); in partitionOuterLoopBlocks()
126 SubLoopBlocks.insert(SubLoop->block_begin(), SubLoop->block_end()); in partitionOuterLoopBlocks()
/llvm-project-15.0.7/llvm/lib/IR/
H A DInstruction.cpp525 return std::equal(thisPHI->block_begin(), thisPHI->block_end(), in isIdenticalToWhenDefined()
526 otherPHI->block_begin()); in isIdenticalToWhenDefined()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstructions.h2726 block_iterator block_begin() {
2730 const_block_iterator block_begin() const {
2735 return block_begin() + getNumOperands();
2739 return block_begin() + getNumOperands();
2743 return make_range(block_begin(), block_end());
2747 return make_range(block_begin(), block_end());
2781 return block_begin()[i];
2801 block_begin()[i] = BB;
2844 if (block_begin()[i] == BB)
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp1653 LoopEntry = *(CurLoop->block_begin()); in detectPopcountIdiom()
1783 LoopEntry = *(CurLoop->block_begin()); in detectShiftUntilZeroIdiom()
1955 BasicBlock *LoopBody = *(CurLoop->block_begin()); in recognizePopcount()
2106 BasicBlock *Body = *(CurLoop->block_begin()); in transformLoopToCountable()
2210 BasicBlock *Body = *(CurLoop->block_begin()); in transformLoopToPopcount()

12