3 writes to BranchCode
Microsoft.CodeAnalysis (3)
CodeGen\BasicBlock.cs (3)
213
this.
BranchCode
= newBranchCode;
224
this.
BranchCode
= branchCode;
663
this.
BranchCode
= ILOpCode.Nop;
32 references to BranchCode
Microsoft.CodeAnalysis (32)
CodeGen\BasicBlock.cs (22)
210
Debug.Assert(this.
BranchCode
.IsConditionalBranch() == newBranchCode.IsConditionalBranch());
230
if (this.
BranchCode
.IsConditionalBranch())
248
=> (this.BranchLabel != null) && (this.
BranchCode
!= ILOpCode.Nop);
296
this.SetBranchCode(this.
BranchCode
.GetLeaveOpcode());
314
var curBranchCode = this.
BranchCode
;
363
Debug.Assert(
BranchCode
!= ILOpCode.Nop, "Nop branches should not have labels");
394
next.
BranchCode
== ILOpCode.Nop &&
407
next.
BranchCode
== this.
BranchCode
&&
412
var diff = this.
BranchCode
.Size() + this.
BranchCode
.GetBranchOperandSize();
447
(next.
BranchCode
== ILOpCode.Br || next.
BranchCode
== ILOpCode.Br_s) &&
471
if (next.
BranchCode
== ILOpCode.Br_s)
481
var origBrOp = this.
BranchCode
;
493
var curBranchCode = this.
BranchCode
;
507
if (BranchBlock.HasNoRegularInstructions && BranchBlock.
BranchCode
== ILOpCode.Ret)
522
var curBranchCode = this.
BranchCode
;
587
switch (this.
BranchCode
)
615
switch (
BranchCode
)
633
Debug.Assert(
BranchCode
.Size() == 1);
634
branchSize = 1 +
BranchCode
.GetBranchOperandSize();
CodeGen\ILBuilder.cs (10)
157
_lastCompleteBlock.
BranchCode
== ILOpCode.Nop &&
290
var branchCode = block.
BranchCode
;
360
block.SetBranch(blockedDest, block.
BranchCode
);
471
Debug.Assert(block.EnclosingHandler.LastFilterConditionBlock.
BranchCode
== ILOpCode.Endfilter);
526
switch (targetBlock.
BranchCode
)
586
switch (targetBlock.
BranchCode
)
767
if ((block.
BranchCode
!= ILOpCode.Nop) || (block.BranchLabel == null))
911
switch (block.
BranchCode
)
940
WriteOpCode(writer, block.
BranchCode
);
948
if (block.
BranchCode
.GetBranchOperandSize() == 1)