Home
last modified time | relevance | path

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

12345678910>>...19

/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DBlock.cpp24 Block::Block(lldb::user_id_t uid) in Block() function in Block
29 Block::~Block() = default;
112 Block *Block::FindBlockByID(user_id_t block_id) { in FindBlockByID()
160 Block *Block::CalculateSymbolContextBlock() { return this; } in CalculateSymbolContextBlock()
184 bool Block::Contains(const Block *block) const { in Contains()
202 Block *Block::GetParent() const { in GetParent()
208 Block *Block::GetContainingInlinedBlock() { in GetContainingInlinedBlock()
214 Block *Block::GetInlinedParent() { in GetInlinedParent()
225 Block *Block::GetContainingInlinedBlockWithCallSite( in GetContainingInlinedBlockWithCallSite()
505 Block *Block::GetSibling() const { in GetSibling()
[all …]
/freebsd/contrib/telnet/libtelnet/
H A Denc_des.c62 Block krbdes_key;
64 Block temp_feed;
70 Block str_output;
71 Block str_feed;
72 Block str_iv;
73 Block str_ikey;
205 DES_ecb_encrypt((Block *)fbp->temp_feed, (Block *)fbp->temp_feed, in fb64_start()
543 Block b; in cfb64_encrypt()
576 Block b; in cfb64_decrypt()
616 Block b; in ofb64_encrypt()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DBlock.h61 Block(lldb::user_id_t uid);
64 ~Block() override;
156 Block *GetParent() const;
165 Block *GetContainingInlinedBlock();
172 Block *GetInlinedParent();
187 Block *
195 Block *GetSibling() const;
202 Block *GetFirstChild() const { in GetFirstChild()
378 Block *GetSiblingForChild(const Block *child_block) const;
381 Block(const Block &) = delete;
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DGenericCycleImpl.h52 for (BlockT *Block : blocks()) { in getExitBlocks()
153 auto MapIt = BlockMap.find(Block);
192 Cycle->appendBlock(Block); in addBlockToCycle()
193 BlockMap.try_emplace(Block, Cycle); in addBlockToCycle()
198 Cycle->appendBlock(Block); in addBlockToCycle()
252 NewCycle->appendEntry(Block); in run()
260 if (Block == HeaderCandidate) in run()
287 ProcessPredecessors(Block); in run()
404 return BlockMap.lookup(Block);
442 CycleT *Cycle = getCycle(Block); in getCycleDepth()
[all …]
H A DGenericCycleInfo.h85 void appendEntry(BlockT *Block) { Entries.push_back(Block); } in appendEntry() argument
86 void appendBlock(BlockT *Block) { Blocks.insert(Block); } in appendBlock() argument
106 bool isEntry(const BlockT *Block) const { in isEntry() argument
107 return is_contained(Entries, Block); in isEntry()
111 bool contains(const BlockT *Block) const { return Blocks.contains(Block); } in contains() argument
211 for (auto *Block : Blocks) { in print()
212 if (isEntry(Block)) in print()
215 Out << ' ' << Ctx.print(Block); in print()
269 CycleT *getCycle(const BlockT *Block) const;
271 unsigned getCycleDepth(const BlockT *Block) const;
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowWorklist.h33 void enqueueBlock(const CFGBlock *Block) { in enqueueBlock() argument
34 if (Block && !EnqueuedBlocks[Block->getBlockID()]) { in enqueueBlock()
35 EnqueuedBlocks[Block->getBlockID()] = true; in enqueueBlock()
36 WorkList.push(Block); in enqueueBlock()
69 void enqueueSuccessors(const CFGBlock *Block) { in enqueueSuccessors()
70 for (auto B : Block->succs()) in enqueueSuccessors()
82 void enqueueSuccessors(const CFGBlock *Block) { in enqueueSuccessors()
83 for (auto B : Block->succs()) in enqueueSuccessors()
97 void enqueuePredecessors(const CFGBlock *Block) { in enqueuePredecessors()
98 for (auto B : Block->preds()) in enqueuePredecessors()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp2758 if (Block) { in VisitCallExpr()
3068 B = Block; in VisitDeclSubExpr()
3099 if (Block) { in VisitIfStmt()
3337 if (Block) { in VisitSEHTryStmt()
3483 if (Block) { in VisitGCCAsmStmt()
3522 if (Block) { in VisitForStmt()
3731 if (Block) { in VisitObjCForCollectionStmt()
3756 if (Block) { in VisitObjCForCollectionStmt()
3878 if (Block) { in VisitWhileStmt()
4071 if (Block) { in VisitObjCAtTryStmt()
[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()
324 for (auto *Block : Blocks) { in computeNormalForm() local
325 computeNodeID(Block, &BasicBlock::DominatorNode); in computeNormalForm()
[all …]
H A DReachableCode.cpp415 bool isDeadCodeRoot(const CFGBlock *Block);
437 E = Block->pred_end(); I != E; ++I) { in isDeadCodeRoot()
465 for (CFGBlock::const_iterator I = Block->begin(), E = Block->end(); I!=E; ++I) in findDeadCode()
472 CFGTerminator T = Block->getTerminator(); in findDeadCode()
502 if (Reachable[Block->getBlockID()]) in scanBackwards()
506 const Stmt *S = findDeadCode(Block); in scanBackwards()
524 if (isDeadCodeRoot(Block)) { in scanBackwards()
525 reportDeadCode(Block, S, CB); in scanBackwards()
541 const CFGBlock *Block = I.first; in scanBackwards() local
542 if (Reachable[Block->getBlockID()]) in scanBackwards()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanCFG.h38 BlockPtrTy Block; variable
54 if (auto *R = dyn_cast<VPRegionBlock>(Block)) { in deref()
67 VPAllSuccessorsIterator(BlockPtrTy Block, size_t Idx = 0)
68 : Block(Block), SuccessorIdx(Idx) {} in Block() function
70 : Block(Other.Block), SuccessorIdx(Other.SuccessorIdx) {} in VPAllSuccessorsIterator()
73 Block = R.Block;
78 static VPAllSuccessorsIterator end(BlockPtrTy Block) { in end() argument
79 if (auto *R = dyn_cast<VPRegionBlock>(Block)) { in end()
83 BlockPtrTy ParentWithSuccs = getBlockWithSuccs(Block); in end()
86 return {Block, NumSuccessors}; in end()
[all …]
H A DVPlan.cpp154 Block = Region->getEntry(); in getEntryBasicBlock()
159 VPBlockBase *Block = this; in getEntryBasicBlock() local
161 Block = Region->getEntry(); in getEntryBasicBlock()
176 Block = Region->getExiting(); in getExitingBasicBlock()
181 VPBlockBase *Block = this; in getExitingBasicBlock() local
205 delete Block; in deleteCFG()
646 Block->execute(State); in execute()
667 Block->execute(State); in execute()
786 Block->execute(State); in execute()
1026 dumpBlock(Block); in dump()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/
H A DDebugInfoSupport.cpp34 DenseMap<Block *, Symbol *> Preserved; in preserveDWARFSection()
41 for (auto Block : Sec.blocks()) { in preserveDWARFSection() local
42 auto &PSym = Preserved[Block]; in preserveDWARFSection()
44 PSym = &G.addAnonymousSymbol(*Block, 0, 0, false, true); in preserveDWARFSection()
52 SmallVector<Block *, 8> SecBlocks(Sec.blocks().begin(), Sec.blocks().end()); in getSectionData()
53 std::sort(SecBlocks.begin(), SecBlocks.end(), [](Block *LHS, Block *RHS) { in getSectionData()
60 for (auto *Block : SecBlocks) { in getSectionData() local
61 if (Block->isZeroFill()) in getSectionData()
62 SecData.resize(SecData.size() + Block->getSize(), 0); in getSectionData()
64 SecData.append(Block->getContent().begin(), Block->getContent().end()); in getSectionData()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTypeErasedDataflowAnalysis.cpp277 std::vector<const CFGBlock *> Preds(Block.pred_begin(), Block.pred_end()); in computeBlockInputState()
460 auto State = computeBlockInputState(Block, AC); in transferCFGBlock()
463 for (const auto &Element : Block) { in transferCFGBlock()
561 BlockStates[Block->getBlockID()]; in runTypeErasedDataflowAnalysis()
563 transferCFGBlock(*Block, AC); in runTypeErasedDataflowAnalysis()
574 if (isBackedgeNode(*Block)) { in runTypeErasedDataflowAnalysis()
599 if (Block->hasNoReturnElement()) in runTypeErasedDataflowAnalysis()
602 Worklist.enqueueSuccessors(Block); in runTypeErasedDataflowAnalysis()
608 for (const CFGBlock *Block : CFCtx.getCFG()) { in runTypeErasedDataflowAnalysis() local
610 if (!BlockStates[Block->getBlockID()]) in runTypeErasedDataflowAnalysis()
[all …]
H A DControlFlowContext.cpp31 for (const CFGBlock *Block : Cfg) { in buildStmtToBasicBlockMap() local
32 if (Block == nullptr) in buildStmtToBasicBlockMap()
35 for (const CFGElement &Element : *Block) { in buildStmtToBasicBlockMap()
40 StmtToBlock[Stmt->getStmt()] = Block; in buildStmtToBasicBlockMap()
42 if (const Stmt *TerminatorStmt = Block->getTerminatorStmt()) in buildStmtToBasicBlockMap()
43 StmtToBlock[TerminatorStmt] = Block; in buildStmtToBasicBlockMap()
54 const CFGBlock *Block = BlocksToVisit.back(); in findReachableBlocks() local
57 if (BlockReachable[Block->getBlockID()]) in findReachableBlocks()
60 BlockReachable[Block->getBlockID()] = true; in findReachableBlocks()
62 for (const CFGBlock *Succ : Block->succs()) in findReachableBlocks()
H A DHTMLLogger.cpp153 const CFGBlock *Block; member
240 static std::string blockID(unsigned Block) { in blockID() argument
241 return llvm::formatv("B{0}", Block); in blockID()
244 return llvm::formatv("B{0}.{1}", Block, Element); in eltID()
247 return llvm::formatv("B{0}:{1}", Block, Iter); in iterID()
261 unsigned Block = Iters.back().Block->getBlockID(); in recordState() local
265 JOS->attribute("block", blockID(Block)); in recordState()
411 for (const auto *Block : CFG->getCFG()) { in writeCode() local
413 for (const auto& Elt : *Block) { in writeCode()
491 for (const auto *Block : CFG) { in buildCFGDot() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSampleProfileInference.cpp936 fillInDegree(Block); in isAcyclicSubgraph()
953 if (Block->HasUnknownWeight && Block != SrcBlock) in isAcyclicSubgraph()
1084 if (Block.isEntry()) { in initializeNetwork()
1130 if (Block.IsUnlikely) in assignBlockCosts()
1143 if (Block.Weight == 0) in assignBlockCosts()
1146 if (Block.isEntry()) { in assignBlockCosts()
1242 assert((!Block.isEntry() || !Block.isExit()) && in verifyInput()
1247 assert((!Block.HasUnknownWeight || Block.Weight == 0 || Block.isEntry()) && in verifyInput()
1271 if (Block.isEntry()) { in verifyOutput()
1327 if (Block.Weight > 0) in applyFlowInference()
[all …]
/freebsd/sbin/dump/
H A Dcache.c35 typedef struct Block { struct
36 struct Block *b_HNext; /* must be first field */ argument
39 } Block; argument
45 static Block **BlockHash;
55 Block *base; in cinit()
65 base = calloc(sizeof(Block), NBlocks); in cinit()
66 BlockHash = calloc(sizeof(Block *), HSize); in cinit()
81 Block *blk; in cread()
82 Block **pblk; in cread()
83 Block **ppblk; in cread()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIMachineScheduler.cpp1224 Block->finalizeUnits(); in createBlocksForVariant()
1303 Block->fastSchedule(); in scheduleInsideBlocks()
1381 Block->Depth = 0; in fillStats()
1396 Block->Height = 0; in fillStats()
1517 blockScheduled(Block); in SIScheduleBlockScheduler()
1576 SIScheduleBlock *Block; in pickBlock() local
1598 Cand.Block = nullptr; in pickBlock()
1602 TryCand.Block = *I; in pickBlock()
1641 Block = Cand.Block; in pickBlock()
1643 return Block; in pickBlock()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpBlock.h26 class Block; variable
49 class Block final {
52 Block(const std::optional<unsigned> &DeclID, const Descriptor *Desc,
56 Block(const Descriptor *Desc, bool IsStatic = false, bool IsExtern = false)
92 return reinterpret_cast<std::byte *>(this) + sizeof(Block); in rawData()
95 return reinterpret_cast<const std::byte *>(this) + sizeof(Block); in rawData()
126 Block(const Descriptor *Desc, bool IsExtern, bool IsStatic, bool IsDead) in Block() function
165 DeadBlock(DeadBlock *&Root, Block *Blk);
172 friend class Block;
185 Block B;
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZLongBranch.cpp189 Position.KnownBits = Log2(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()
309 skipNonTerminators(Position, Block); in initMBBInfo()
317 ++Block.NumTerminators; in initMBBInfo()
359 for (auto &Block : MBBs) { in setWorstCaseAddresses() local
360 skipNonTerminators(Position, Block); in setWorstCaseAddresses()
460 for (auto &Block : MBBs) { in relaxBranches() local
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h216 Block(const Block &) = delete;
217 Block &operator=(const Block &) = delete;
218 Block(Block &&) = delete;
219 Block &operator=(Block &&) = delete;
553 Block &getBlock() { in getBlock()
844 Block *First = nullptr;
845 Block *Last = nullptr;
869 Block *B = reinterpret_cast<Block *>(Allocator.Allocate<Block>()); in createBlock()
876 B.~Block(); in destroyBlock()
1191 Block &splitBlock(Block &B, size_t SplitIndex,
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp129 llvm::Value *Block, llvm::Type *BlockTy) { in recordBlockInfo() argument
132 assert(Block->getType()->isPointerTy() && "Invalid block literal type"); in recordBlockInfo()
134 EnqueuedBlockMap[E].BlockArg = Block; in recordBlockInfo()
149 const BlockExpr *Block = getBlockExpr(E); in emitOpenCLEnqueuedBlock() local
151 assert(EnqueuedBlockMap.contains(Block) && "Block expression not emitted"); in emitOpenCLEnqueuedBlock()
154 if (EnqueuedBlockMap[Block].KernelHandle) { in emitOpenCLEnqueuedBlock()
155 return EnqueuedBlockMap[Block]; in emitOpenCLEnqueuedBlock()
159 CGF, EnqueuedBlockMap[Block].InvokeFunc, EnqueuedBlockMap[Block].BlockTy); in emitOpenCLEnqueuedBlock()
162 EnqueuedBlockMap[Block].KernelHandle = F; in emitOpenCLEnqueuedBlock()
163 return EnqueuedBlockMap[Block]; in emitOpenCLEnqueuedBlock()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRExpandPseudoInsts.cpp46 typedef MachineBasicBlock Block; typedef in __anon991877d00111::AVRExpandPseudo
47 typedef Block::iterator BlockIt;
52 bool expandMBB(Block &MBB);
53 bool expandMI(Block &MBB, BlockIt MBBI);
65 MachineRegisterInfo &getRegInfo(Block &MBB) { in getRegInfo()
83 bool expandLSLB7Rd(Block &MBB, BlockIt MBBI);
84 bool expandLSRB7Rd(Block &MBB, BlockIt MBBI);
85 bool expandASRB6Rd(Block &MBB, BlockIt MBBI);
86 bool expandASRB7Rd(Block &MBB, BlockIt MBBI);
105 bool expandROLBRd(Block &MBB, BlockIt MBBI);
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DAnalysisDeclContext.h217 enum ContextKind { StackFrame, Block }; enumerator
306 const CFGBlock *Block; variable
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()
383 return LC->getKind() == Block; in classof()
[all …]
/freebsd/sbin/pfctl/tests/
H A Dpfctl_test_list.inc39 PFCTL_TEST(0002, "Block/pass")
40 PFCTL_TEST(0003, "Block/pass with flags")
41 PFCTL_TEST(0004, "Block")
42 PFCTL_TEST(0005, "Block with variables")
44 PFCTL_TEST(0007, "Block/pass with return")
45 PFCTL_TEST(0008, "Block with address list")
47 PFCTL_TEST(0010, "Block/pass with return")
48 PFCTL_TEST(0011, "Block/pass ICMP")
63 PFCTL_TEST(0031, "Block policy")
69 PFCTL_TEST(0040, "Block/pass")
[all …]

12345678910>>...19