43 references to EmitBranch
Microsoft.CodeAnalysis (11)
CodeGen\LocalScopeManager.cs (2)
624
builder.
EmitBranch
(ILOpCode.Br, endLabel);
741
builder.
EmitBranch
(ILOpCode.Nop, _endLabel);
CodeGen\SwitchIntegralJumpTableEmitter.cs (8)
140
_builder.
EmitBranch
(ILOpCode.Br, _fallThroughLabel);
359
_builder.
EmitBranch
(ILOpCode.Br, bucketFallThroughLabel);
434
_builder.
EmitBranch
(branchCode, targetLabel, GetReverseBranchCode(branchCode));
449
_builder.
EmitBranch
(ILOpCode.Brfalse, targetLabel);
454
_builder.
EmitBranch
(ILOpCode.Beq, targetLabel);
494
_builder.
EmitBranch
(ILOpCode.Ble_un, targetLabel, ILOpCode.Bgt_un);
561
_builder.
EmitBranch
(ILOpCode.Ble_un, inRangeLabel, ILOpCode.Bgt_un);
563
_builder.
EmitBranch
(ILOpCode.Br, bucketFallThroughLabel);
CodeGen\SwitchStringJumpTableEmitter.cs (1)
177
_builder.
EmitBranch
(ILOpCode.Br, _fallThroughLabel);
Microsoft.CodeAnalysis.CSharp (32)
CodeGen\CodeGenerator.cs (1)
464
_builder.
EmitBranch
(ILOpCode.Brtrue, label);
CodeGen\EmitAddress.cs (3)
223
_builder.
EmitBranch
(ILOpCode.Br, doneLabel);
246
_builder.
EmitBranch
(ILOpCode.Brtrue, whenValueTypeLabel);
250
_builder.
EmitBranch
(ILOpCode.Br, doneLabel);
CodeGen\EmitArrayInitializer.cs (2)
657
_builder.
EmitBranch
(ILOpCode.Brtrue, arrayNotNullLabel);
717
_builder.
EmitBranch
(ILOpCode.Brtrue, arrayNotNullLabel);
CodeGen\EmitExpression.cs (8)
389
_builder.
EmitBranch
(ILOpCode.Brtrue, whenValueTypeLabel);
392
_builder.
EmitBranch
(ILOpCode.Br, doneLabel);
473
_builder.
EmitBranch
(ILOpCode.Brtrue, whenNotNullLabel);
527
_builder.
EmitBranch
(ILOpCode.Brtrue, whenNotNullLabel);
552
_builder.
EmitBranch
(ILOpCode.Br, doneLabel);
2070
_builder.
EmitBranch
(ILOpCode.Brtrue, whenNotNullLabel);
3826
_builder.
EmitBranch
(ILOpCode.Br, doneLabel);
3895
_builder.
EmitBranch
(ILOpCode.Brtrue, ifLeftNotNullLabel);
CodeGen\EmitOperators.cs (3)
277
_builder.
EmitBranch
(ILOpCode.Br, labEnd);
384
_builder.
EmitBranch
(sense ? ILOpCode.Brtrue_s : ILOpCode.Brfalse_s, falseLabel);
386
_builder.
EmitBranch
(ILOpCode.Br, endLabel);
CodeGen\EmitStatement.cs (15)
406
_builder.
EmitBranch
(ILOpCode.Br, dest);
518
_builder.
EmitBranch
(ilcode, dest, revOpCode);
599
_builder.
EmitBranch
(ilcode, dest);
618
_builder.
EmitBranch
(ilcode, dest);
640
_builder.
EmitBranch
(ILOpCode.Br, boundGotoStatement.Label);
765
_builder.
EmitBranch
(ILOpCode.Br, s_returnLabel);
890
_builder.
EmitBranch
(ILOpCode.Br, s_returnLabel);
1101
_builder.
EmitBranch
(ILOpCode.Brtrue, typeCheckPassedLabel);
1104
_builder.
EmitBranch
(ILOpCode.Br, typeCheckFailedLabel);
1389
_builder.
EmitBranch
(ILOpCode.Brfalse, lengthBasedSwitchInfo.LengthBasedJumpTable.NullCaseLabel ?? fallThroughLabel, ILOpCode.Brtrue);
1571
_builder.
EmitBranch
(ILOpCode.Brfalse, targetLabel, ILOpCode.Brtrue);
1587
_builder.
EmitBranch
(ILOpCode.Brfalse, skipToNext, ILOpCode.Brtrue);
1599
_builder.
EmitBranch
(ILOpCode.Brfalse, targetLabel, ILOpCode.Brtrue);
1717
_builder.
EmitBranch
(ILOpCode.Brtrue, targetLabel, ILOpCode.Brfalse);
1746
_builder.
EmitBranch
(ILOpCode.Brtrue, targetLabel, ILOpCode.Brfalse);