Lines Matching refs:Block
343 /// Transitions the terminator of the given exit-block of a cleanup to
346 llvm::BasicBlock *Block) {
349 llvm::TerminatorInst *Term = Block->getTerminator();
350 assert(Term && "can't transition block without terminator");
357 llvm::SwitchInst::Create(Load, Br->getSuccessor(0), 4, Block);
365 void CodeGenFunction::ResolveBranchFixups(llvm::BasicBlock *Block) {
366 assert(Block && "resolving a null target block");
378 if (Fixup.Destination != Block) continue;
383 // If it doesn't have an optimistic branch block, LatestBranch is
389 // Don't process the same optimistic branch block twice.
396 Switch->addCase(Builder.getInt32(Fixup.DestinationIndex), Block);
458 /// Attempts to reduce a cleanup's entry block to a fallthrough. This
462 /// Returns the new block, whatever it is.
473 // block, we'll need to continue inserting at the end of the
488 // Kill the entry block.
517 // Emit the continuation block if there was an active flag.
525 // Exit is the exit block of a cleanup, so it always terminates in
540 /// We don't need a normal entry block for the given cleanup.
583 /// Pops a cleanup block. If the block includes a normal cleanup, the
602 // generated a lazy EH cleanup block.
648 // cleanup, just forward it to the next block, leaving the
649 // insertion point in the prebranched block.
654 // Otherwise, we need to make a new block. If the normal cleanup
656 // entry block, but this is simpler, and it avoids conflicts with
708 // the cleanup block and then try to clean up after ourselves.
710 // Force the entry block to exist.
730 // II. Emit the entry block. This implicitly branches to it if
963 /// Terminate the current block by emitting a branch which might leave
1010 // Adjust BI to point to the first cleanup block.
1046 // If we needed a normal block for any reason, that counts.
1065 // If we needed an EH block for any reason, that counts.
1089 /// The given cleanup block is changing activation state. Configure a
1139 // If we're in a conditional block, ignore the dominating IP and