64 references to EmitBranch
Microsoft.CodeAnalysis (11)
CodeGen\LocalScopeManager.cs (2)
622
builder.
EmitBranch
(ILOpCode.Br, endLabel);
739
builder.
EmitBranch
(ILOpCode.Nop, _endLabel);
CodeGen\SwitchIntegralJumpTableEmitter.cs (8)
133
_builder.
EmitBranch
(ILOpCode.Br, _fallThroughLabel);
352
_builder.
EmitBranch
(ILOpCode.Br, bucketFallThroughLabel);
427
_builder.
EmitBranch
(branchCode, targetLabel, GetReverseBranchCode(branchCode));
442
_builder.
EmitBranch
(ILOpCode.Brfalse, targetLabel);
447
_builder.
EmitBranch
(ILOpCode.Beq, targetLabel);
487
_builder.
EmitBranch
(ILOpCode.Ble_un, targetLabel, ILOpCode.Bgt_un);
554
_builder.
EmitBranch
(ILOpCode.Ble_un, inRangeLabel, ILOpCode.Bgt_un);
556
_builder.
EmitBranch
(ILOpCode.Br, bucketFallThroughLabel);
CodeGen\SwitchStringJumpTableEmitter.cs (1)
169
_builder.
EmitBranch
(ILOpCode.Br, _fallThroughLabel);
Microsoft.CodeAnalysis.CSharp (29)
CodeGen\CodeGenerator.cs (1)
464
_builder.
EmitBranch
(ILOpCode.Brtrue, label);
CodeGen\EmitAddress.cs (3)
220
_builder.
EmitBranch
(ILOpCode.Br, doneLabel);
243
_builder.
EmitBranch
(ILOpCode.Brtrue, whenValueTypeLabel);
247
_builder.
EmitBranch
(ILOpCode.Br, doneLabel);
CodeGen\EmitArrayInitializer.cs (1)
673
_builder.
EmitBranch
(ILOpCode.Brtrue, arrayNotNullLabel);
CodeGen\EmitExpression.cs (8)
374
_builder.
EmitBranch
(ILOpCode.Brtrue, whenValueTypeLabel);
377
_builder.
EmitBranch
(ILOpCode.Br, doneLabel);
458
_builder.
EmitBranch
(ILOpCode.Brtrue, whenNotNullLabel);
512
_builder.
EmitBranch
(ILOpCode.Brtrue, whenNotNullLabel);
537
_builder.
EmitBranch
(ILOpCode.Br, doneLabel);
1844
_builder.
EmitBranch
(ILOpCode.Brtrue, whenNotNullLabel);
3525
_builder.
EmitBranch
(ILOpCode.Br, doneLabel);
3594
_builder.
EmitBranch
(ILOpCode.Brtrue, ifLeftNotNullLabel);
CodeGen\EmitOperators.cs (1)
277
_builder.
EmitBranch
(ILOpCode.Br, labEnd);
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);
740
_builder.
EmitBranch
(ILOpCode.Br, s_returnLabel);
865
_builder.
EmitBranch
(ILOpCode.Br, s_returnLabel);
1076
_builder.
EmitBranch
(ILOpCode.Brtrue, typeCheckPassedLabel);
1079
_builder.
EmitBranch
(ILOpCode.Br, typeCheckFailedLabel);
1364
_builder.
EmitBranch
(ILOpCode.Brfalse, lengthBasedSwitchInfo.LengthBasedJumpTable.NullCaseLabel ?? fallThroughLabel, ILOpCode.Brtrue);
1542
_builder.
EmitBranch
(ILOpCode.Brfalse, targetLabel, ILOpCode.Brtrue);
1558
_builder.
EmitBranch
(ILOpCode.Brfalse, skipToNext, ILOpCode.Brtrue);
1570
_builder.
EmitBranch
(ILOpCode.Brfalse, targetLabel, ILOpCode.Brtrue);
1687
_builder.
EmitBranch
(ILOpCode.Brtrue, targetLabel, ILOpCode.Brfalse);
1716
_builder.
EmitBranch
(ILOpCode.Brtrue, targetLabel, ILOpCode.Brfalse);
Microsoft.CodeAnalysis.VisualBasic (24)
CodeGen\EmitConversion.vb (2)
217
_builder.
EmitBranch
(ILOpCode.Brtrue_s, unboxLabel)
240
_builder.
EmitBranch
(ILOpCode.Br_s, resultLabel)
CodeGen\EmitExpression.vb (10)
233
_builder.
EmitBranch
(ILOpCode.Brtrue, whenValueTypeLabel)
236
_builder.
EmitBranch
(ILOpCode.Br, doneLabel)
266
_builder.
EmitBranch
(ILOpCode.Br, doneLabel)
317
_builder.
EmitBranch
(ILOpCode.Brtrue, whenNotNullLabel)
350
_builder.
EmitBranch
(ILOpCode.Brtrue, whenNotNullLabel)
362
_builder.
EmitBranch
(ILOpCode.Br, doneLabel)
408
_builder.
EmitBranch
(ILOpCode.Brtrue, whenValueTypeLabel)
412
_builder.
EmitBranch
(ILOpCode.Br, doneLabel)
1286
_builder.
EmitBranch
(ILOpCode.Br, doneLabel)
1344
_builder.
EmitBranch
(ILOpCode.Brtrue, ifLeftNotNullLabel)
CodeGen\EmitOperators.vb (1)
398
_builder.
EmitBranch
(ILOpCode.Br, labEnd)
CodeGen\EmitStatement.vb (11)
283
_builder.
EmitBranch
(ILOpCode.Brtrue, typeCheckPassedLabel)
286
_builder.
EmitBranch
(ILOpCode.Br, typeCheckFailedLabel)
683
_builder.
EmitBranch
(ILOpCode.Br, lazyDest)
748
_builder.
EmitBranch
(ilcode, lazyDest, revOpCode)
779
_builder.
EmitBranch
(ilcode, lazyDest)
808
_builder.
EmitBranch
(ilcode, lazyDest)
859
_builder.
EmitBranch
(ILOpCode.Br, boundGotoStatement.Label)
1047
_builder.
EmitBranch
(ILOpCode.Br, fallThroughLabel)
1182
_builder.
EmitBranch
(ILOpCode.Brfalse, targetLabel, ILOpCode.Brtrue)
1218
_builder.
EmitBranch
(ILOpCode.Br, exitLabel)
1474
_builder.
EmitBranch
(ILOpCode.Br_s, switchLabel)