| /llvm-project/polly/lib/External/isl/ |
| H A D | isl_blk.c | 18 struct isl_blk block; in isl_blk_empty() local 19 block.size = 0; in isl_blk_empty() 20 block.data = NULL; in isl_blk_empty() 21 return block; in isl_blk_empty() 24 static int isl_blk_is_empty(struct isl_blk block) in isl_blk_is_empty() argument 26 return block.size == 0 && block.data == NULL; in isl_blk_is_empty() 31 struct isl_blk block; in isl_blk_error() local 32 block.size = -1; in isl_blk_error() 33 block.data = NULL; in isl_blk_error() 34 return block; in isl_blk_error() [all …]
|
| /llvm-project/llvm/test/CodeGen/MIR/X86/ |
| H A D | block-address-operands.mir | 2 # This test ensures that the MIR parser parses the block address operands 11 store volatile ptr blockaddress(@test, %block), ptr @addr 13 indirectbr ptr %val, [label %block] 15 block: 21 store volatile ptr blockaddress(@test2, %"quoted block"), ptr @addr 23 indirectbr ptr %val, [label %"quoted block"] 25 "quoted block": 46 store volatile ptr blockaddress(@test4, %block), ptr @addr 48 indirectbr ptr %val, [label %block] 50 block [all...] |
| H A D | undefined-ir-block-in-blockaddress.mir | 9 store volatile ptr blockaddress(@test, %block), ptr @addr 11 indirectbr ptr %val, [label %block] 13 block: 22 successors: %bb.1.block 23 ; CHECK: [[@LINE+1]]:51: use of undefined IR block '%ir-block."block "' 24 $rax = LEA64r $rip, 1, _, blockaddress(@test, %ir-block."block "), _ 28 bb.1.block (i [all...] |
| /llvm-project/compiler-rt/lib/builtins/arm/ |
| H A D | umodsi3.S | 104 #define block(shift) \ macro 109 block(31) 110 block(30) 111 block(29) 112 block(28) 113 block(27) 114 block(26) 115 block(25) 116 block(24) 117 block(23) [all …]
|
| H A D | udivmodsi4.S | 112 #define block(shift) \ macro 118 block(31) 119 block(30) 120 block(29) 121 block(28) 122 block(27) 123 block(26) 124 block(25) 125 block(24) 126 block(23) [all …]
|
| H A D | udivsi3.S | 199 #define block(shift) \ macro 214 #define block(shift) \ macro 221 block(31) 222 block(30) 223 block(29) 224 block(28) 225 block(27) 226 block(26) 227 block(25) 228 block(24) [all …]
|
| /llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/ |
| H A D | select-blockaddress.mir | 13 store ptr blockaddress(@test_blockaddress, %block), ptr @addr 14 indirectbr ptr blockaddress(@test_blockaddress, %block), [label %block] 16 block: ; preds = %0 32 ; CHECK: bb.0 (%ir-block.0): 33 …@test_blockaddress, %ir-block.block), target-flags(aarch64-pageoff, aarch64-nc) blockaddress(@test… 39 ; CHECK-NEXT: bb.1.block (ir-block-address-taken %ir-block.block): 42 ; LARGE: bb.0 (%ir-block.0): 43 … = MOVZXi target-flags(aarch64-g0, aarch64-nc) blockaddress(@test_blockaddress, %ir-block.block), 0 44 …OVZXi]], target-flags(aarch64-g1, aarch64-nc) blockaddress(@test_blockaddress, %ir-block.block), 16 45 …OVKXi]], target-flags(aarch64-g2, aarch64-nc) blockaddress(@test_blockaddress, %ir-block.block), 32 [all …]
|
| H A D | legalize-blockaddress.mir | 10 store ptr blockaddress(@test_blockaddress, %block), ptr @addr 11 indirectbr ptr blockaddress(@test_blockaddress, %block), [label %block] 13 block: ; preds = %0 27 ; CHECK: bb.0 (%ir-block.0): 28 …XT: [[BLOCK_ADDR:%[0-9]+]]:_(p0) = G_BLOCK_ADDR blockaddress(@test_blockaddress, %ir-block.block) 34 ; CHECK-NEXT: bb.1.block (ir-block-address-taken %ir-block.block): 36 bb.1 (%ir-block.0): 37 %0:_(p0) = G_BLOCK_ADDR blockaddress(@test_blockaddress, %ir-block.block) 42 bb.2.block (ir-block-address-taken %ir-block.block):
|
| /llvm-project/lldb/docs/use/ |
| H A D | map.rst | 24 .. code-block:: shell 29 .. code-block:: shell 38 .. code-block:: shell 44 .. code-block:: shell 53 .. code-block:: shell 61 .. code-block:: shell 73 .. code-block:: shell 81 .. code-block:: shell 92 .. code-block:: shell 100 .. code-block [all...] |
| /llvm-project/llvm/test/MC/ARM/ |
| H A D | unpred-control-flow-in-it-block.s | 4 @ an IT block, but not the last instruction in the block. 8 …]:{{[0-9]+}}: error: instruction must be outside of IT block or the last instruction in an IT block 10 …]:{{[0-9]+}}: error: instruction must be outside of IT block or the last instruction in an IT block 12 …]:{{[0-9]+}}: error: instruction must be outside of IT block or the last instruction in an IT block 16 …]:{{[0-9]+}}: error: instruction must be outside of IT block or the last instruction in an IT block 18 …]:{{[0-9]+}}: error: instruction must be outside of IT block or the last instruction in an IT block 20 …]:{{[0-9]+}}: error: instruction must be outside of IT block or the last instruction in an IT block 24 …]:{{[0-9]+}}: error: instruction must be outside of IT block or the last instruction in an IT block 26 …]:{{[0-9]+}}: error: instruction must be outside of IT block or the last instruction in an IT block 28 …]:{{[0-9]+}}: error: instruction must be outside of IT block or the last instruction in an IT block [all …]
|
| /llvm-project/mlir/lib/Analysis/ |
| H A D | Liveness.cpp | 34 BlockInfoBuilder(Block *block) : block(block) { in BlockInfoBuilder() 44 ownerBlock = block->getParent()->findAncestorBlockInRegion(*ownerBlock); in BlockInfoBuilder() 46 if (ownerBlock != block) { in BlockInfoBuilder() 54 for (BlockArgument argument : block->getArguments()) { in BlockInfoBuilder() 63 for (Operation &operation : *block) in BlockInfoBuilder() 70 block->walk([&](Operation *op) { in BlockInfoBuilder() 105 for (Block *succ : block->getSuccessors()) { in updateLiveOut() 112 Block *block{nullptr}; member 133 operation->walk<WalkOrder::PreOrder>([&](Block *block) { in buildBlockMapping() argument 135 builders.try_emplace(block, block).first->second; in buildBlockMapping() [all …]
|
| /llvm-project/mlir/lib/Analysis/DataFlow/ |
| H A D | DenseAnalysis.cpp | 32 // Visit every operation and block. in initialize() 37 for (Block &block : region) { in initialize() 38 visitBlock(&block); in initialize() 39 for (Operation &op : block) in initialize() 100 // If the containing block is not executable, bail out. in processOperation() 131 void AbstractDenseForwardDataFlowAnalysis::visitBlock(Block *block) { in visitBlock() 132 // If the block is not executable, bail out. in visitBlock() 133 ProgramPoint *point = getProgramPointBefore(block); in visitBlock() 142 if (block->isEntryBlock()) { in visitBlock() 143 // Check if this block i in visitBlock() 48 else if (auto *block = llvm::dyn_cast_if_present<Block *>(point)) visit() local 126 visitBlock(Block * block) visitBlock() argument 273 else if (auto *block = llvm::dyn_cast_if_present<Block *>(point)) visit() local 352 visitBlock(Block * block) visitBlock() argument [all...] |
| /llvm-project/libc/src/__support/ |
| H A D | block.h | 1 //===-- Implementation header for a block of memory -------------*- C++ -*-===// 45 /// is also the block's size. in align_down() 48 /// This also implies that block outer sizes are aligned to max_align_t. 72 /// As a space optimization, when a block is allocated, it consumes the prev 73 /// field of the following block: 92 /// The next offset of a block matches the previous offset of its next block. 93 /// The first block in a list is denoted by having a previous offset of `0`. 105 /// Initializes a given memory region into a first block and a sentinel last 106 /// block 213 next_block(const Block * block) next_block() argument 222 prev_block(const Block * block) prev_block() argument 302 Block *block; global() member 399 Block *block = as_block(0, region); init() local 405 free(Block * & block) free() argument 434 allocate(Block * block,size_t alignment,size_t size) allocate() argument 483 split(Block * & block,size_t new_inner_size) split() argument 503 split_impl(Block * & block,size_t new_inner_size) split_impl() argument 521 merge_next(Block * & block) merge_next() argument 577 as_bytes(Block * && block) as_bytes() argument [all...] |
| /llvm-project/compiler-rt/lib/tsan/tests/unit/ |
| H A D | tsan_sync_test.cpp | 22 u64 block[1] = {}; // fake malloc block in TEST() local 23 m->AllocBlock(thr, 0, (uptr)&block[0], 1 * sizeof(u64)); in TEST() 24 MBlock *mb = m->GetBlock((uptr)&block[0]); in TEST() 28 uptr sz = m->FreeBlock(thr->proc(), (uptr)&block[0], true); in TEST() 30 mb = m->GetBlock((uptr)&block[0]); in TEST() 38 u64 block[4] = {}; // fake malloc block in TEST() local 39 m->AllocBlock(thr, 0, (uptr)&block[0], 1 * sizeof(u64)); in TEST() 40 m->AllocBlock(thr, 0, (uptr)&block[1], 3 * sizeof(u64)); in TEST() 41 MBlock *mb1 = m->GetBlock((uptr)&block[0]); in TEST() 43 MBlock *mb2 = m->GetBlock((uptr)&block[1]); in TEST() [all …]
|
| /llvm-project/clang/test/SemaObjC/ |
| H A D | warn-retain-cycle.m | 3 void *_Block_copy(const void *block); 6 - (void) setBlock: (void(^)(void)) block; 7 - (void) addBlock: (void(^)(void)) block; 11 [x setBlock: // expected-note {{block will be retained by the captured object}} 12 …^{ [x actNow]; }]; // expected-warning {{capturing 'x' strongly in this block is likely to lead to… 13 x.block = // expected-note {{block will be retained by the captured object}} 14 …^{ [x actNow]; }; // expected-warning {{capturing 'x' strongly in this block is likely to lead to … 16 [x addBlock: // expected-note {{block will be retained by the captured object}} 17 …^{ [x actNow]; }]; // expected-warning {{capturing 'x' strongly in this block is likely to lead to… 23 x.block = ^{ [weakx actNow]; }; [all …]
|
| /llvm-project/libc/test/src/__support/ |
| H A D | block_test.cpp | 1 //===-- Unittests for a block of memory -------------------------*- C++ -*-===// 13 #include "src/__support/block.h" 29 Block *block = *result; 31 EXPECT_EQ(reinterpret_cast<uintptr_t>(block) % alignof(Block), size_t{0}); 32 EXPECT_TRUE(block->is_usable_space_aligned(alignof(max_align_t))); 34 Block *last = block->next(); 39 EXPECT_EQ(last->prev_free(), block); 43 reinterpret_cast<uintptr_t>(last) - reinterpret_cast<uintptr_t>(block); 44 EXPECT_EQ(block->outer_size(), block_outer_size); in TEST_FOR_EACH_BLOCK_TYPE() 45 EXPECT_EQ(block in TEST_FOR_EACH_BLOCK_TYPE() 50 BlockType *block = *result; TEST_FOR_EACH_BLOCK_TYPE() local 185 BlockType *block = *result; TEST_FOR_EACH_BLOCK_TYPE() local 198 BlockType *block = *result; TEST_FOR_EACH_BLOCK_TYPE() local 205 BlockType *block = nullptr; TEST_FOR_EACH_BLOCK_TYPE() local 217 BlockType *block = *result; TEST_FOR_EACH_BLOCK_TYPE() local 230 BlockType *block = *result; TEST_FOR_EACH_BLOCK_TYPE() local 244 BlockType *block = *result; TEST_FOR_EACH_BLOCK_TYPE() local 274 BlockType *block = *result; TEST_FOR_EACH_BLOCK_TYPE() local 293 BlockType *block = *result; TEST_FOR_EACH_BLOCK_TYPE() local 345 BlockType *block = nullptr; TEST_FOR_EACH_BLOCK_TYPE() local 356 BlockType *block = *result; TEST_FOR_EACH_BLOCK_TYPE() local 372 BlockType *block = *result; TEST_FOR_EACH_BLOCK_TYPE() local 581 BlockType *block = *result; TEST_FOR_EACH_BLOCK_TYPE() local 595 BlockType *block = *result; TEST_FOR_EACH_BLOCK_TYPE() local 612 BlockType *block = *result; TEST_FOR_EACH_BLOCK_TYPE() local 644 BlockType *block = *result; TEST_FOR_EACH_BLOCK_TYPE() local 687 BlockType *block = *result; TEST_FOR_EACH_BLOCK_TYPE() local 727 BlockType *block = *result; TEST_FOR_EACH_BLOCK_TYPE() local [all...] |
| /llvm-project/llvm/test/Transforms/ObjCARC/ |
| H A D | escape.ll | 13 ; CHECK: %tmp7 = call ptr @llvm.objc.retainBlock(ptr %block) [[NUW:#[0-9]+]], !clang.arc.copy_on_es… 19 %block = alloca <{ ptr, i32, i32, ptr, ptr, ptr }>, align 8 33 %block.isa = getelementptr inbounds <{ ptr, i32, i32, ptr, ptr, ptr }>, ptr %block, i64 0, i32 0 34 store ptr null, ptr %block.isa, align 8 35 %block.flags = getelementptr inbounds <{ ptr, i32, i32, ptr, ptr, ptr }>, ptr %block, i64 0, i32 1 36 store i32 1107296256, ptr %block.flags, align 8 37 …%block.reserved = getelementptr inbounds <{ ptr, i32, i32, ptr, ptr, ptr }>, ptr %block, i64 0, i3… 38 store i32 0, ptr %block.reserved, align 4 39 …%block.invoke = getelementptr inbounds <{ ptr, i32, i32, ptr, ptr, ptr }>, ptr %block, i64 0, i32 3 40 store ptr @__main_block_invoke_0, ptr %block.invoke, align 8 [all …]
|
| /llvm-project/mlir/test/IR/ |
| H A D | visitors.mlir | 36 // CHECK: Visiting block ^bb0 from region 0 from operation 'builtin.module' 37 // CHECK: Visiting block ^bb0 from region 0 from operation 'func.func' 38 // CHECK: Visiting block ^bb0 from region 0 from operation 'scf.for' 39 // CHECK: Visiting block ^bb0 from region 0 from operation 'scf.if' 40 // CHECK: Visiting block ^bb0 from region 1 from operation 'scf.if' 61 // CHECK: Visiting block ^bb0 from region 0 from operation 'scf.if' 62 // CHECK: Visiting block ^bb0 from region 1 from operation 'scf.if' 63 // CHECK: Visiting block ^bb0 from region 0 from operation 'scf.for' 64 // CHECK: Visiting block ^bb0 from region 0 from operation 'func.func' 65 // CHECK: Visiting block ^bb0 from region 0 from operation 'builtin.module' [all …]
|
| /llvm-project/openmp/runtime/src/ |
| H A D | kmp_environment.cpp | 237 ___kmp_env_blk_parse_string(kmp_env_blk_t *block, // M: Env block to fill. in ___kmp_env_blk_parse_string() argument 289 block->bulk = bulk; in ___kmp_env_blk_parse_string() 290 block->vars = vars; in ___kmp_env_blk_parse_string() 291 block->count = count; in ___kmp_env_blk_parse_string() 306 kmp_env_blk_t *block, // M: Env block to fill. in ___kmp_env_blk_parse_windows() argument 367 block->bulk = bulk; in ___kmp_env_blk_parse_windows() 368 block->vars = vars; in ___kmp_env_blk_parse_windows() 369 block->count = count; in ___kmp_env_blk_parse_windows() 381 ___kmp_env_blk_parse_unix(kmp_env_blk_t *block, // M: Env block to fill. in ___kmp_env_blk_parse_unix() argument 425 block->bulk = bulk; in ___kmp_env_blk_parse_unix() [all …]
|
| /llvm-project/mlir/lib/IR/ |
| H A D | Verifier.cpp | 17 // invalid states (e.g. unlinking an operation from a block before re-inserting 65 LogicalResult verifyOnEntrance(Block &block); 68 LogicalResult verifyOnExit(Block &block); 103 /// Returns true if this block may be valid without terminator. That is if: 105 /// - Or the parent region have a single block and: 109 static bool mayBeValidWithoutTerminator(Block *block) { in mayBeValidWithoutTerminator() 110 if (!block->getParent()) in mayBeValidWithoutTerminator() 112 if (!llvm::hasSingleElement(*block->getParent())) in mayBeValidWithoutTerminator() 114 Operation *op = block->getParentOp(); in mayBeValidWithoutTerminator() 118 LogicalResult OperationVerifier::verifyOnEntrance(Block &block) { in verifyOnEntrance() 107 mayBeValidWithoutTerminator(Block * block) mayBeValidWithoutTerminator() argument 116 verifyOnEntrance(Block & block) verifyOnEntrance() argument 141 verifyOnExit(Block & block) verifyOnExit() argument 385 for (auto &block : region.getBlocks()) { verifyDominanceOfContainedRegions() local [all...] |
| /llvm-project/llvm/test/CodeGen/SPIRV/transcoding/ |
| H A D | enqueue_kernel.ll | 47 ;; Emits block literal on stack and block kernel. 58 ;; Emits block literal on stack and block kernel. 72 ;; Emits global block literal and block kernel. 87 ;; Emits global block literal and block kernel. 102 ;; Emits block literal on stack and block kernel. 142 %block = alloca <{ i32, i32, i8 addrspace(4)*, i32 addrspace(1)*, i32, i8 }>, align 4 165 …block.size = getelementptr inbounds <{ i32, i32, i8 addrspace(4)*, i32 addrspace(1)*, i32, i8 }>, … 166 store i32 21, i32* %block.size, align 4 167 …block.align = getelementptr inbounds <{ i32, i32, i8 addrspace(4)*, i32 addrspace(1)*, i32, i8 }>,… 168 store i32 4, i32* %block.align, align 4 [all …]
|
| /llvm-project/mlir/lib/Transforms/Utils/ |
| H A D | RegionUtils.cpp | 81 // Make block isolated from above. in makeRegionIsolatedFromAbove() 136 // Collect types of existing block in makeRegionIsolatedFromAbove() 149 // Create a new entry block. in makeRegionIsolatedFromAbove() 199 // If this is a single block region, just collect the nested regions. in eraseUnreachableBlocks() 209 for (Block *block : depth_first_ext(®ion->front(), reachable)) in eraseUnreachableBlocks() 210 (void)block /* Mark all reachable blocks */; in eraseUnreachableBlocks() 214 for (Block &block : llvm::make_early_inc_range(*region)) { in eraseUnreachableBlocks() 215 if (!reachable.count(&block)) { in eraseUnreachableBlocks() 216 block.dropAllDefinedValueUses(); in eraseUnreachableBlocks() 217 rewriter.eraseBlock(&block); in eraseUnreachableBlocks() 510 Block *block; global() member 520 BlockEquivalenceData(Block * block) BlockEquivalenceData() argument 624 __anon042bc6cf0a02(Block *block, Value operand) addToCluster() argument 669 ableToUpdatePredOperands(Block * block) ableToUpdatePredOperands() argument 726 __anon042bc6cf0b02(Block *block, unsigned clusterIndex) merge() argument [all...] |
| /llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/ |
| H A D | irtranslator-fence.ll | 6 ; CHECK: bb.1 (%ir-block.0): 18 ; CHECK: bb.1 (%ir-block.0): 30 ; CHECK: bb.1 (%ir-block.0): 42 ; CHECK: bb.1 (%ir-block.0): 54 ; CHECK: bb.1 (%ir-block.0): 66 ; CHECK: bb.1 (%ir-block.0): 78 ; CHECK: bb.1 (%ir-block.0): 90 ; CHECK: bb.1 (%ir-block.0): 102 ; CHECK: bb.1 (%ir-block.0): 114 ; CHECK: bb.1 (%ir-block [all...] |
| /llvm-project/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVControlFlowOps.td | 27 let summary = "Unconditional branch to target block."; 30 This instruction must be the last instruction in a block. 59 /// Returns the block arguments. 76 If Condition is true, branch to true block, otherwise branch to false 77 block. 93 This instruction must be the last instruction in a block. 148 /// Returns the target block for the true branch. 151 /// Returns the target block for the false branch. 154 /// Returns the number of arguments to the true target block. 159 /// Returns the number of arguments to the false target block. [all …]
|
| /llvm-project/mlir/lib/Dialect/Bufferization/IR/ |
| H A D | BufferDeallocationOpInterface.cpp | 100 Block *block) { in updateOwnership() argument 101 // In most cases we care about the block where the value is defined. in updateOwnership() 102 if (block == nullptr) in updateOwnership() 103 block = memref.getParentBlock(); in updateOwnership() 106 ownershipMap[{memref, block}].combine(ownership); in updateOwnership() 109 void DeallocationState::resetOwnerships(ValueRange memrefs, Block *block) { in resetOwnerships() argument 111 ownershipMap[{val, block}] = Ownership::getUninitialized(); in resetOwnerships() 114 Ownership DeallocationState::getOwnership(Value memref, Block *block) const { in getOwnership() 115 return ownershipMap.lookup({memref, block}); in getOwnership() 118 void DeallocationState::addMemrefToDeallocate(Value memref, Block *block) { in addMemrefToDeallocate() argument 122 dropMemrefToDeallocate(Value memref,Block * block) dropMemrefToDeallocate() argument 126 getLiveMemrefsIn(Block * block,SmallVectorImpl<Value> & memrefs) getLiveMemrefsIn() argument 136 getMemrefWithUniqueOwnership(OpBuilder & builder,Value memref,Block * block) getMemrefWithUniqueOwnership() argument 186 getMemrefsAndConditionsToDeallocate(OpBuilder & builder,Location loc,Block * block,SmallVectorImpl<Value> & memrefs,SmallVectorImpl<Value> & conditions) const getMemrefsAndConditionsToDeallocate() argument 287 Block *block = op->getBlock(); insertDeallocOpForReturnLike() local [all...] |