parent
f4b34b76d4
commit
9361d35525
|
@ -83,13 +83,13 @@ STATISTIC(NumSpeculations, "Number of speculative executed instructions");
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
// The first field contains the value that the switch produces when a certain
|
// The first field contains the value that the switch produces when a certain
|
||||||
// case group is selected, and the second field is a vector containing the cases
|
// case group is selected, and the second field is a vector containing the
|
||||||
// composing the case group.
|
// cases composing the case group.
|
||||||
typedef SmallVector<std::pair<Constant *, SmallVector<ConstantInt *, 4>>, 2>
|
typedef SmallVector<std::pair<Constant *, SmallVector<ConstantInt *, 4>>, 2>
|
||||||
SwitchCaseResultVectorTy;
|
SwitchCaseResultVectorTy;
|
||||||
// The first field contains the phi node that generates a result of the switch
|
// The first field contains the phi node that generates a result of the switch
|
||||||
// and the second field contains the value generated for a certain case in the switch
|
// and the second field contains the value generated for a certain case in the
|
||||||
// for that PHI.
|
// switch for that PHI.
|
||||||
typedef SmallVector<std::pair<PHINode *, Constant *>, 4> SwitchCaseResultsTy;
|
typedef SmallVector<std::pair<PHINode *, Constant *>, 4> SwitchCaseResultsTy;
|
||||||
|
|
||||||
/// ValueEqualityComparisonCase - Represents a case of a switch.
|
/// ValueEqualityComparisonCase - Represents a case of a switch.
|
||||||
|
|
Loading…
Reference in New Issue