Home
last modified time | relevance | path

Searched refs:Block (Results 1 – 25 of 464) sorted by relevance

12345678910>>...19

/openbsd-src/gnu/llvm/lldb/source/Symbol/
H A DBlock.cpp24 Block::Block(lldb::user_id_t uid) in Block() function in Block
29 Block::~Block() = default;
31 void Block::GetDescription(Stream *s, Function *function, in GetDescription()
59 void Block::Dump(Stream *s, addr_t base_addr, int32_t depth, in Dump()
62 Block *parent = GetParent(); in Dump()
72 const Block *parent_block = GetParent(); in Dump()
112 Block *Block::FindBlockByID(user_id_t block_id) { in FindBlockByID()
116 Block *matching_block = nullptr; in FindBlockByID()
126 Block *Block::FindInnermostBlockByOffset(const lldb::addr_t offset) { in FindInnermostBlockByOffset()
130 if (Block *block = block_sp->FindInnermostBlockByOffset(offset)) in FindInnermostBlockByOffset()
[all …]
/openbsd-src/gnu/llvm/lldb/include/lldb/Symbol/
H A DBlock.h41 class Block : public UserID, public SymbolContextScope {
61 Block(lldb::user_id_t uid);
64 ~Block() override;
89 Block *CalculateSymbolContextBlock() override;
119 bool Contains(const Block *block) const;
156 Block *GetParent() const;
165 Block *GetContainingInlinedBlock();
172 Block *GetInlinedParent();
187 Block *
195 Block *GetSibling() const;
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DCodeLayout.cpp190 class Block { class
192 Block(const Block &) = delete;
193 Block(Block &&) = default;
194 Block &operator=(const Block &) = delete;
195 Block &operator=(Block &&) = default;
210 Block *ForcedSucc{nullptr};
212 Block *ForcedPred{nullptr};
219 explicit Block(size_t Index, uint64_t Size, uint64_t EC) in Block() function in __anone35372fe0111::Block
233 Block *Source;
235 Block *Target;
[all …]
H A DSampleProfileInference.cpp625 auto &Block = Func.Blocks[I]; in joinIsolatedComponents() local
626 if (Block.Flow > 0 && !Visited[I]) { in joinIsolatedComponents()
833 auto &Block = Func.Blocks[Queue.front()]; in findUnknownSubgraph() local
836 for (auto *Jump : Block.SuccJumps) { in findUnknownSubgraph()
873 for (auto *Block : UnknownBlocks) { in canRebalanceSubgraph() local
874 if (Block->SuccJumps.empty()) { in canRebalanceSubgraph()
881 for (auto *Jump : Block->SuccJumps) { in canRebalanceSubgraph()
887 if (NumIgnoredJumps == Block->SuccJumps.size()) in canRebalanceSubgraph()
926 auto fillInDegree = [&](const FlowBlock *Block) { in isAcyclicSubgraph() argument
927 for (auto *Jump : Block->SuccJumps) { in isAcyclicSubgraph()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A DGenericCycleImpl.h52 for (BlockT *Block : blocks()) { in getExitBlocks()
53 llvm::append_range(TmpStorage, successors(Block)); in getExitBlocks()
147 auto GenericCycleInfo<ContextT>::getTopLevelParentCycle(BlockT *Block)
149 auto Cycle = BlockMapTopLevel.find(Block);
153 auto MapIt = BlockMap.find(Block);
160 BlockMapTopLevel.try_emplace(Block, C);
220 auto ProcessPredecessors = [&](BlockT *Block) { in run()
221 LLVM_DEBUG(errs() << " block " << Info.Context.print(Block) << ": "); in run()
224 for (BlockT *Pred : predecessors(Block)) { in run()
233 assert(!NewCycle->isEntry(Block)); in run()
[all …]
H A DGenericCycleInfo.h87 void appendEntry(BlockT *Block) { Entries.push_back(Block); } in appendEntry() argument
88 void appendBlock(BlockT *Block) { Blocks.push_back(Block); } in appendBlock() argument
108 bool isEntry(const BlockT *Block) const { in isEntry() argument
109 return is_contained(Entries, Block); in isEntry()
113 bool contains(const BlockT *Block) const { in contains() argument
114 return is_contained(Blocks, Block); in contains()
215 for (auto *Block : Blocks) { in print()
216 if (isEntry(Block)) in print()
219 Out << ' ' << Ctx.print(Block); in print()
266 CycleT *getCycle(const BlockT *Block) const;
[all …]
/openbsd-src/gnu/usr.bin/perl/pod/
H A Dperluniprops.pod169 In particular, matches in the Block property have single forms
172 C<\p{Block=Deseret}> can currently be written as C<\p{In_Deseret}>,
282 \p{Adlm}; NOT \p{Block=Adlam}) (90)
284 (NOT \p{Block=Adlam}) (90)
285 X \p{Aegean_Numbers} \p{Block=Aegean_Numbers} (64)
436 Caucasian_Albanian}) (NOT \p{Block=
441 \p{Ahom} \p{Script_Extensions=Ahom} (NOT \p{Block=
443 X \p{Alchemical} \p{Alchemical_Symbols} (= \p{Block=
445 X \p{Alchemical_Symbols} \p{Block=Alchemical_Symbols} (Short:
469 \p{Block=Alphabetic_Presentation_Forms})
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DVPlanCFG.h37 BlockPtrTy Block; variable
52 template <typename T1> static T1 deref(T1 Block, unsigned SuccIdx) { in deref() argument
53 if (auto *R = dyn_cast<VPRegionBlock>(Block)) { in deref()
59 return getBlockWithSuccs(Block)->getSuccessors()[SuccIdx]; in deref()
66 VPAllSuccessorsIterator(BlockPtrTy Block, size_t Idx = 0)
67 : Block(Block), SuccessorIdx(Idx) {} in Block() function
69 : Block(Other.Block), SuccessorIdx(Other.SuccessorIdx) {} in VPAllSuccessorsIterator()
72 Block = R.Block;
77 static VPAllSuccessorsIterator end(BlockPtrTy Block) { in end() argument
78 if (auto *R = dyn_cast<VPRegionBlock>(Block)) { in end()
[all …]
H A DVPlan.cpp149 const VPBlockBase *Block = this; in getEntryBasicBlock() local
150 while (const VPRegionBlock *Region = dyn_cast<VPRegionBlock>(Block)) in getEntryBasicBlock()
151 Block = Region->getEntry(); in getEntryBasicBlock()
152 return cast<VPBasicBlock>(Block); in getEntryBasicBlock()
156 VPBlockBase *Block = this; in getEntryBasicBlock() local
157 while (VPRegionBlock *Region = dyn_cast<VPRegionBlock>(Block)) in getEntryBasicBlock()
158 Block = Region->getEntry(); in getEntryBasicBlock()
159 return cast<VPBasicBlock>(Block); in getEntryBasicBlock()
170 const VPBlockBase *Block = this; in getExitingBasicBlock() local
171 while (const VPRegionBlock *Region = dyn_cast<VPRegionBlock>(Block)) in getExitingBasicBlock()
[all …]
/openbsd-src/gnu/llvm/clang/docs/
H A DBlockLanguageSpec.rst16 - 2008/8/13 --- revised, Block globals
28 The Block Type
31 Like function types, the :block-term:`Block type` is a pair consisting
44 describes a reference to a Block that, when invoked, takes two
46 returns a value of type int. The Block referenced is of opaque data
50 Block Variable Declarations
53 A :block-term:`variable with Block type` is declared using function
55 valid Block variable declarations:
63 Variadic ``...`` arguments are supported. [variadic.c] A Block that
69 A Block reference may be cast to a pointer of arbitrary type and vice
[all …]
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DCFG.cpp477 CFGBlock *Block = nullptr; member in __anon76ebc3340411::CFGBuilder
709 return Block; in NYS()
749 void autoCreateBlock() { if (!Block) Block = createBlock(); } in autoCreateBlock()
1557 Block = nullptr; // the EXIT block is empty. Create all other blocks lazily. in buildCFG()
1593 Block = createBlock(); in buildCFG()
1605 addSuccessor(B, Block, true); in buildCFG()
1698 return Block; in addInitializer()
1717 appendInitializer(Block, I); in addInitializer()
1740 appendStmt(Block, Default); in addInitializer()
1743 Block = R; in addInitializer()
[all …]
H A DThreadSafetyTIL.cpp169 for (auto *Block : successors()) in topologicalSort() local
170 ID = Block->topologicalSort(Blocks, ID); in topologicalSort()
262 for (auto *Block : Blocks) in renumberInstrs() local
263 InstrID = Block->renumberInstrs(InstrID); in renumberInstrs()
305 for (auto *Block : Blocks) in computeNormalForm() local
306 Block->computeDominator(); in computeNormalForm()
318 for (auto *Block : Blocks.reverse()) { in computeNormalForm() local
319 Block->computePostDominator(); in computeNormalForm()
320 computeNodeSize(Block, &BasicBlock::DominatorNode); in computeNormalForm()
324 for (auto *Block : Blocks) { in computeNormalForm() local
[all …]
H A DReachableCode.cpp414 bool isDeadCodeRoot(const CFGBlock *Block);
416 const Stmt *findDeadCode(const CFGBlock *Block);
432 bool DeadCodeScan::isDeadCodeRoot(const clang::CFGBlock *Block) { in isDeadCodeRoot() argument
435 for (CFGBlock::const_pred_iterator I = Block->pred_begin(), in isDeadCodeRoot()
436 E = Block->pred_end(); I != E; ++I) { in isDeadCodeRoot()
463 const Stmt *DeadCodeScan::findDeadCode(const clang::CFGBlock *Block) { in findDeadCode() argument
464 for (CFGBlock::const_iterator I = Block->begin(), E = Block->end(); I!=E; ++I) in findDeadCode()
471 CFGTerminator T = Block->getTerminator(); in findDeadCode()
497 const CFGBlock *Block = WorkList.pop_back_val(); in scanBackwards() local
501 if (Reachable[Block->getBlockID()]) in scanBackwards()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Analysis/FlowSensitive/
H A DTypeErasedDataflowAnalysis.cpp66 const CFGBlock &Block) { in blockIndexInPredecessor() argument
68 Pred.succs(), [&Block](const CFGBlock::AdjacentBlock &Succ) { in blockIndexInPredecessor()
69 return Succ && Succ->getBlockID() == Block.getBlockID(); in blockIndexInPredecessor()
214 computeBlockInputState(const CFGBlock &Block, AnalysisContext &AC) { in computeBlockInputState() argument
216 Preds.insert(Block.pred_begin(), Block.pred_end()); in computeBlockInputState()
217 if (Block.getTerminator().isTemporaryDtorsBranch()) { in computeBlockInputState()
240 if (Block.succ_begin()->getReachableBlock()->hasNoReturnElement()) { in computeBlockInputState()
242 auto StmtBlock = StmtToBlock.find(Block.getTerminatorStmt()); in computeBlockInputState()
269 blockIndexInPredecessor(*Pred, Block)) in computeBlockInputState()
365 transferCFGBlock(const CFGBlock &Block, AnalysisContext &AC, in transferCFGBlock() argument
[all …]
H A DControlFlowContext.cpp30 for (const CFGBlock *Block : Cfg) { in buildStmtToBasicBlockMap() local
31 if (Block == nullptr) in buildStmtToBasicBlockMap()
34 for (const CFGElement &Element : *Block) { in buildStmtToBasicBlockMap()
39 StmtToBlock[Stmt->getStmt()] = Block; in buildStmtToBasicBlockMap()
41 if (const Stmt *TerminatorStmt = Block->getTerminatorStmt()) in buildStmtToBasicBlockMap()
42 StmtToBlock[TerminatorStmt] = Block; in buildStmtToBasicBlockMap()
/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/
H A Dchunk_test.cpp28 void *Block = malloc(HeaderSize + Size); in TEST() local
29 void *P = reinterpret_cast<void *>(reinterpret_cast<scudo::uptr>(Block) + in TEST()
37 free(Block); in TEST()
48 void *Block = malloc(HeaderSize + Size); in TEST() local
49 void *P = reinterpret_cast<void *>(reinterpret_cast<scudo::uptr>(Block) + in TEST()
60 free(Block); in TEST()
67 void *Block = malloc(HeaderSize + Size); in TEST() local
68 void *P = reinterpret_cast<void *>(reinterpret_cast<scudo::uptr>(Block) + in TEST()
75 *(reinterpret_cast<scudo::u8 *>(Block) + I) ^= 0x42U; in TEST()
77 *(reinterpret_cast<scudo::u8 *>(Block) + I) ^= 0x42U; in TEST()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowWorklist.h35 void enqueueBlock(const CFGBlock *Block) { in enqueueBlock() argument
36 if (Block && !EnqueuedBlocks[Block->getBlockID()]) { in enqueueBlock()
37 EnqueuedBlocks[Block->getBlockID()] = true; in enqueueBlock()
38 WorkList.push(Block); in enqueueBlock()
71 void enqueueSuccessors(const CFGBlock *Block) { in enqueueSuccessors()
72 for (auto B : Block->succs()) in enqueueSuccessors()
87 void enqueuePredecessors(const CFGBlock *Block) { in enqueuePredecessors()
88 for (auto B : Block->preds()) in enqueuePredecessors()
/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DInterpBlock.h26 class Block; variable
49 class Block final {
52 Block(const std::optional<unsigned> &DeclID, Descriptor *Desc,
56 Block(Descriptor *Desc, bool IsStatic = false, bool IsExtern = false)
90 char *rawData() { return reinterpret_cast<char *>(this) + sizeof(Block); } in rawData()
92 return reinterpret_cast<const char *>(this) + sizeof(Block); in rawData()
118 Block(Descriptor *Desc, bool IsExtern, bool IsStatic, bool IsDead) in Block() function
150 DeadBlock(DeadBlock *&Root, Block *Blk);
156 friend class Block;
169 Block B;
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIMachineScheduler.cpp1223 for (SIScheduleBlock *Block : CurrentBlocks) in createBlocksForVariant()
1224 Block->finalizeUnits(); in createBlocksForVariant()
1227 for (SIScheduleBlock *Block : CurrentBlocks) in createBlocksForVariant()
1228 Block->printDebug(true); in createBlocksForVariant()
1257 SIScheduleBlock *Block = CurrentBlocks[i]; in topologicalSort() local
1258 unsigned Degree = Block->getSuccs().size(); in topologicalSort()
1268 SIScheduleBlock *Block = CurrentBlocks[i]; in topologicalSort() local
1272 for (SIScheduleBlock* Pred : Block->getPreds()) { in topologicalSort()
1281 SIScheduleBlock *Block = CurrentBlocks[i]; in topologicalSort() local
1282 for (SIScheduleBlock* Pred : Block->getPreds()) { in topologicalSort()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZLongBranch.cpp150 void skipNonTerminators(BlockPosition &Position, MBBInfo &Block);
183 MBBInfo &Block) { in skipNonTerminators() argument
184 if (Log2(Block.Alignment) > Position.KnownBits) { in skipNonTerminators()
188 (Block.Alignment.value() - (uint64_t(1) << Position.KnownBits)); in skipNonTerminators()
189 Position.KnownBits = Log2(Block.Alignment); in skipNonTerminators()
193 Position.Address = alignTo(Position.Address, Block.Alignment); in skipNonTerminators()
196 Block.Address = Position.Address; in skipNonTerminators()
199 Position.Address += Block.Size; in skipNonTerminators()
297 MBBInfo &Block = MBBs[I]; in initMBBInfo() local
300 Block.Alignment = MBB->getAlignment(); in initMBBInfo()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h152 class Block : public Addressable {
157 Block(Section &Parent, orc::ExecutorAddrDiff Size, orc::ExecutorAddr Address, in Block() function
173 Block(Section &Parent, ArrayRef<char> Content, orc::ExecutorAddr Address, in Block() function
192 Block(Section &Parent, MutableArrayRef<char> Content, in Block() function
211 Block(const Block &) = delete;
212 Block &operator=(const Block &) = delete;
213 Block(Block &&) = delete;
214 Block &operator=(Block &&) = delete;
355 inline uint64_t alignToBlock(uint64_t Addr, Block &B) { in alignToBlock()
361 inline orc::ExecutorAddr alignToBlock(orc::ExecutorAddr Addr, Block &B) { in alignToBlock()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AVR/
H A DAVRExpandPseudoInsts.cpp46 typedef MachineBasicBlock Block; typedef in __anon853ae23f0111::AVRExpandPseudo
47 typedef Block::iterator BlockIt;
52 bool expandMBB(Block &MBB);
53 bool expandMI(Block &MBB, BlockIt MBBI);
54 template <unsigned OP> bool expand(Block &MBB, BlockIt MBBI);
56 MachineInstrBuilder buildMI(Block &MBB, BlockIt MBBI, unsigned Opcode) { in buildMI()
60 MachineInstrBuilder buildMI(Block &MBB, BlockIt MBBI, unsigned Opcode, in buildMI()
65 MachineRegisterInfo &getRegInfo(Block &MBB) { in getRegInfo()
69 bool expandArith(unsigned OpLo, unsigned OpHi, Block &MBB, BlockIt MBBI);
70 bool expandLogic(unsigned Op, Block &MBB, BlockIt MBBI);
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Analysis/
H A DAnalysisDeclContext.h217 enum ContextKind { StackFrame, Block }; enumerator
306 const CFGBlock *Block; variable
317 const Stmt *S, const CFGBlock *Block, unsigned BlockCount, in StackFrameContext() argument
320 Block(Block), BlockCount(BlockCount), Index(Index) {} in StackFrameContext()
327 const CFGBlock *getCallSiteBlock() const { return Block; } in getCallSiteBlock()
333 CFGElement getCallSiteCFGElement() const { return (*Block)[Index]; } in getCallSiteCFGElement()
339 const CFGBlock *Block, unsigned BlockCount, in Profile() argument
342 ID.AddPointer(Block); in Profile()
364 : LocationContext(Block, ADC, ParentLC, ID), BD(BD), Data(Data) {} in BlockInvocationContext()
378 ProfileCommon(ID, Block, ADC, ParentLC, BD); in Profile()
[all …]
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp151 llvm::Value *Block, llvm::Type *BlockTy) { in recordBlockInfo() argument
155 assert(Block->getType()->isPointerTy() && "Invalid block literal type"); in recordBlockInfo()
157 EnqueuedBlockMap[E].BlockArg = Block; in recordBlockInfo()
172 const BlockExpr *Block = getBlockExpr(E); in emitOpenCLEnqueuedBlock() local
174 assert(EnqueuedBlockMap.find(Block) != EnqueuedBlockMap.end() && in emitOpenCLEnqueuedBlock()
178 if (EnqueuedBlockMap[Block].Kernel) { in emitOpenCLEnqueuedBlock()
179 return EnqueuedBlockMap[Block]; in emitOpenCLEnqueuedBlock()
183 CGF, EnqueuedBlockMap[Block].InvokeFunc, EnqueuedBlockMap[Block].BlockTy); in emitOpenCLEnqueuedBlock()
189 EnqueuedBlockMap[Block].Kernel = F; in emitOpenCLEnqueuedBlock()
190 return EnqueuedBlockMap[Block]; in emitOpenCLEnqueuedBlock()
/openbsd-src/gnu/usr.bin/perl/cpan/Digest-SHA/t/
H A Dwoodbury.t72 "Test Using Larger Than Block-Size Key - Hash Key First"
73 "Test Using Larger Than Block-Size Key and Larger Than One Block-Size Data"
93 "Test Using Larger Than Block-Size Key - Hash Key First"
94 "Test Using Larger Than Block-Size Key and Larger Than One Block-Size Data. The Larger Block-Sizes …
114 "Test Using Larger Than Block-Size Key - Hash Key First"
115 "Test Using Larger Than Block-Size Key and Larger Than One Block-Size Data. The Larger Block-Sizes …

12345678910>>...19