38 #define DEBUG_TYPE "mips-isel"
47 void MipsSEDAGToDAGISel::getAnalysisUsage(
AnalysisUsage &AU)
const {
52 void MipsSEDAGToDAGISel::addDSPCtrlRegOperands(
bool IsDef,
MachineInstr &
MI,
60 MIB.addReg(Mips::DSPPos, Flag);
63 MIB.addReg(Mips::DSPSCount, Flag);
66 MIB.addReg(Mips::DSPCarry, Flag);
69 MIB.addReg(Mips::DSPOutFlag, Flag);
72 MIB.addReg(Mips::DSPCCond, Flag);
75 MIB.addReg(Mips::DSPEFI, Flag);
78 unsigned MipsSEDAGToDAGISel::getMSACtrlReg(
const SDValue RegIdx)
const {
79 switch (cast<ConstantSDNode>(RegIdx)->getZExtValue()) {
82 case 0:
return Mips::MSAIR;
83 case 1:
return Mips::MSACSR;
84 case 2:
return Mips::MSAAccess;
85 case 3:
return Mips::MSASave;
86 case 4:
return Mips::MSAModify;
87 case 5:
return Mips::MSARequest;
88 case 6:
return Mips::MSAMap;
89 case 7:
return Mips::MSAUnmap;
95 unsigned DstReg = 0, ZeroReg = 0;
103 ZeroReg = Mips::ZERO;
104 }
else if ((MI.
getOpcode() == Mips::DADDiu) &&
109 ZeroReg = Mips::ZERO_64;
119 unsigned OpNo = U.getOperandNo();
152 RC = (ABI.
IsN64()) ? &Mips::GPR64RegClass : &Mips::GPR32RegClass;
167 BuildMI(MBB, I, DL, TII.
get(Mips::DADDu), V1).addReg(V0)
224 .addReg(Mips::V0).
addReg(Mips::T9);
227 void MipsSEDAGToDAGISel::processFunctionAfterISel(
MachineFunction &MF) {
228 initGlobalBaseReg(MF);
232 for (
auto &MBB: MF) {
233 for (
auto &MI: MBB) {
236 addDSPCtrlRegOperands(
false, MI, MF);
239 addDSPCtrlRegOperands(
true, MI, MF);
242 replaceUsesWithZeroReg(MRI, MI);
248 void MipsSEDAGToDAGISel::selectAddE(
SDNode *Node,
const SDLoc &DL)
const {
257 SDValue Ops[3] = {LHS, RHS, InFlag};
302 SDValue(DSPCtrlFinal, 0), CstOne);
322 bool MipsSEDAGToDAGISel::selectAddrFrameIndexOffset(
324 unsigned ShiftAmount = 0)
const {
332 dyn_cast<FrameIndexSDNode>(Addr.
getOperand(0)))
352 bool MipsSEDAGToDAGISel::selectAddrRegImm(
SDValue Addr,
SDValue &Base,
355 if (selectAddrFrameIndex(Addr, Base, Offset))
372 if (selectAddrFrameIndexOffset(Addr, Base, Offset, 16))
388 if (isa<ConstantPoolSDNode>(Opnd0) || isa<GlobalAddressSDNode>(Opnd0) ||
389 isa<JumpTableSDNode>(Opnd0)) {
402 bool MipsSEDAGToDAGISel::selectAddrDefault(
SDValue Addr,
SDValue &Base,
409 bool MipsSEDAGToDAGISel::selectIntAddr(
SDValue Addr,
SDValue &Base,
411 return selectAddrRegImm(Addr, Base, Offset) ||
412 selectAddrDefault(Addr, Base, Offset);
415 bool MipsSEDAGToDAGISel::selectAddrRegImm9(
SDValue Addr,
SDValue &Base,
417 if (selectAddrFrameIndex(Addr, Base, Offset))
420 if (selectAddrFrameIndexOffset(Addr, Base, Offset, 9))
427 bool MipsSEDAGToDAGISel::selectAddrRegImm11(
SDValue Addr,
SDValue &Base,
429 if (selectAddrFrameIndex(Addr, Base, Offset))
432 if (selectAddrFrameIndexOffset(Addr, Base, Offset, 11))
439 bool MipsSEDAGToDAGISel::selectAddrRegImm12(
SDValue Addr,
SDValue &Base,
441 if (selectAddrFrameIndex(Addr, Base, Offset))
444 if (selectAddrFrameIndexOffset(Addr, Base, Offset, 12))
450 bool MipsSEDAGToDAGISel::selectAddrRegImm16(
SDValue Addr,
SDValue &Base,
452 if (selectAddrFrameIndex(Addr, Base, Offset))
455 if (selectAddrFrameIndexOffset(Addr, Base, Offset, 16))
461 bool MipsSEDAGToDAGISel::selectIntAddr11MM(
SDValue Addr,
SDValue &Base,
463 return selectAddrRegImm11(Addr, Base, Offset) ||
464 selectAddrDefault(Addr, Base, Offset);
467 bool MipsSEDAGToDAGISel::selectIntAddr12MM(
SDValue Addr,
SDValue &Base,
469 return selectAddrRegImm12(Addr, Base, Offset) ||
470 selectAddrDefault(Addr, Base, Offset);
473 bool MipsSEDAGToDAGISel::selectIntAddr16MM(
SDValue Addr,
SDValue &Base,
475 return selectAddrRegImm16(Addr, Base, Offset) ||
476 selectAddrDefault(Addr, Base, Offset);
479 bool MipsSEDAGToDAGISel::selectIntAddrLSL2MM(
SDValue Addr,
SDValue &Base,
481 if (selectAddrFrameIndexOffset(Addr, Base, Offset, 7)) {
482 if (isa<FrameIndexSDNode>(Base))
487 return (CnstOff == (CnstOff & 0x3c));
495 if (selectAddrRegImm(Addr, Base, Offset))
498 return selectAddrDefault(Addr, Base, Offset);
501 bool MipsSEDAGToDAGISel::selectIntAddrSImm10(
SDValue Addr,
SDValue &Base,
504 if (selectAddrFrameIndex(Addr, Base, Offset))
507 if (selectAddrFrameIndexOffset(Addr, Base, Offset, 10))
510 return selectAddrDefault(Addr, Base, Offset);
513 bool MipsSEDAGToDAGISel::selectIntAddrSImm10Lsl1(
SDValue Addr,
SDValue &Base,
515 if (selectAddrFrameIndex(Addr, Base, Offset))
518 if (selectAddrFrameIndexOffset(Addr, Base, Offset, 10, 1))
521 return selectAddrDefault(Addr, Base, Offset);
524 bool MipsSEDAGToDAGISel::selectIntAddrSImm10Lsl2(
SDValue Addr,
SDValue &Base,
526 if (selectAddrFrameIndex(Addr, Base, Offset))
529 if (selectAddrFrameIndexOffset(Addr, Base, Offset, 10, 2))
532 return selectAddrDefault(Addr, Base, Offset);
535 bool MipsSEDAGToDAGISel::selectIntAddrSImm10Lsl3(
SDValue Addr,
SDValue &Base,
537 if (selectAddrFrameIndex(Addr, Base, Offset))
540 if (selectAddrFrameIndexOffset(Addr, Base, Offset, 10, 3))
543 return selectAddrDefault(Addr, Base, Offset);
551 bool MipsSEDAGToDAGISel::selectVSplat(
SDNode *
N,
APInt &Imm,
552 unsigned MinSizeInBits)
const {
561 APInt SplatValue, SplatUndef;
562 unsigned SplatBitSize;
565 if (!Node->
isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs,
590 bool MipsSEDAGToDAGISel::
592 unsigned ImmBitSize)
const {
603 (!Signed && ImmValue.
isIntN(ImmBitSize))) {
613 bool MipsSEDAGToDAGISel::
615 return selectVSplatCommon(N, Imm,
false, 1);
618 bool MipsSEDAGToDAGISel::
620 return selectVSplatCommon(N, Imm,
false, 2);
623 bool MipsSEDAGToDAGISel::
625 return selectVSplatCommon(N, Imm,
false, 3);
629 bool MipsSEDAGToDAGISel::
631 return selectVSplatCommon(N, Imm,
false, 4);
635 bool MipsSEDAGToDAGISel::
637 return selectVSplatCommon(N, Imm,
false, 5);
641 bool MipsSEDAGToDAGISel::
643 return selectVSplatCommon(N, Imm,
false, 6);
647 bool MipsSEDAGToDAGISel::
649 return selectVSplatCommon(N, Imm,
false, 8);
653 bool MipsSEDAGToDAGISel::
655 return selectVSplatCommon(N, Imm,
true, 5);
668 bool MipsSEDAGToDAGISel::selectVSplatUimmPow2(
SDValue N,
SDValue &Imm)
const {
699 bool MipsSEDAGToDAGISel::selectVSplatMaskL(
SDValue N,
SDValue &Imm)
const {
711 if (ImmValue == ~(~ImmValue & ~(~ImmValue + 1))) {
733 bool MipsSEDAGToDAGISel::selectVSplatMaskR(
SDValue N,
SDValue &Imm)
const {
744 if (ImmValue == (ImmValue & ~(ImmValue + 1))) {
754 bool MipsSEDAGToDAGISel::selectVSplatUimmInvPow2(
SDValue N,
764 int32_t Log2 = (~ImmValue).exactLogBase2();
775 bool MipsSEDAGToDAGISel::trySelect(
SDNode *Node) {
787 selectAddE(Node, DL);
826 AnalyzeImm.
Analyze(Imm, Size,
false);
837 if (Inst->Opc == Mips::LUi64)
846 for (++Inst; Inst != Seq.
end(); ++Inst) {
858 switch (cast<ConstantSDNode>(Node->
getOperand(1))->getZExtValue()) {
862 case Intrinsic::mips_cfcmsa: {
875 switch (cast<ConstantSDNode>(Node->
getOperand(0))->getZExtValue()) {
879 case Intrinsic::mips_move_v:
891 switch (cast<ConstantSDNode>(Node->
getOperand(1))->getZExtValue()) {
895 case Intrinsic::mips_ctcmsa: {
900 getMSACtrlReg(RegIdx), Value);
910 unsigned RdhwrOpc, DestReg;
913 RdhwrOpc = Mips::RDHWR;
916 RdhwrOpc = Mips::RDHWR64;
917 DestReg = Mips::V1_64;
948 APInt SplatValue, SplatUndef;
949 unsigned SplatBitSize;
963 switch (SplatBitSize) {
990 if (SplatValue.isSignedIntN(10)) {
995 }
else if (SplatValue.isSignedIntN(16) &&
996 ((ABI.
IsO32() && SplatBitSize < 64) ||
1003 bool Is32BitSplat = ABI.
IsO32() || SplatBitSize < 64;
1004 const unsigned ADDiuOp = Is32BitSplat ? Mips::ADDiu : Mips::DADDiu;
1007 Is32BitSplat ? Mips::ZERO : Mips::ZERO_64, SplatMVT);
1009 const unsigned FILLOp =
1012 : (SplatBitSize == 32 ? Mips::FILL_W
1013 : (SplatBitSize == 64 ? Mips::FILL_D : 0));
1015 assert(FILLOp != 0 &&
"Unknown FILL Op for splat synthesis!");
1016 assert((!ABI.
IsO32() || (FILLOp != Mips::FILL_D)) &&
1017 "Attempting to use fill.d on MIPS32!");
1019 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue();
1025 }
else if (SplatValue.isSignedIntN(32) && SplatBitSize == 32) {
1028 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue();
1029 const unsigned Hi = SplatValue.lshr(16).getLoBits(16).getZExtValue();
1040 Hi ?
SDValue(Res, 0) : ZeroVal, LoVal);
1042 assert((Hi || Lo) &&
"Zero case reached 32 bit case splat synthesis!");
1045 }
else if (SplatValue.isSignedIntN(32) && SplatBitSize == 64 &&
1050 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue();
1051 const unsigned Hi = SplatValue.lshr(16).getLoBits(16).getZExtValue();
1062 Hi ?
SDValue(Res, 0) : ZeroVal, LoVal);
1073 }
else if (SplatValue.isSignedIntN(64)) {
1099 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue();
1100 const unsigned Hi = SplatValue.lshr(16).getLoBits(16).getZExtValue();
1101 const unsigned Higher = SplatValue.lshr(32).getLoBits(16).getZExtValue();
1102 const unsigned Highest = SplatValue.lshr(48).getLoBits(16).getZExtValue();
1131 Hi ?
SDValue(Res, 0) : ZeroVal, LoVal);
1139 Highest ?
SDValue(HiRes, 0) : ZeroVal,
1145 (Hi || Lo) ?
SDValue(Res, 0) : ZeroVal);
1149 (Highest || Higher) ?
SDValue(HiRes, 0) : ZeroVal,
1157 Mips::COPY_TO_REGCLASS, DL, ViaVecTy,
SDValue(Res, 0),
1166 const bool HiResNonZero = Highest ||
Higher;
1167 const bool ResNonZero = Hi ||
Lo;
1192 CurDAG->getTargetConstant(64, DL,
MVT::i32),
1193 CurDAG->getTargetConstant(32, DL,
MVT::i32),
1197 }
else if (HiResNonZero) {
1199 Mips::DSLL32, DL,
MVT::i64, SDValue(HiRes, 0),
1203 "Zero splat value handled by non-zero 64bit splat synthesis!");
1212 if (ResVecTy != ViaVecTy) {
1221 ResVecTy, SDValue(Res, 0),
1235 bool MipsSEDAGToDAGISel::
1236 SelectInlineAsmMemoryOperand(
const SDValue &
Op,
unsigned ConstraintID,
1237 std::vector<SDValue> &OutOps) {
1240 switch(ConstraintID) {
1245 OutOps.push_back(Op);
1249 if (selectAddrRegImm16(Op, Base, Offset)) {
1250 OutOps.push_back(Base);
1251 OutOps.push_back(Offset);
1254 OutOps.push_back(Op);
1263 if (selectAddrRegImm9(Op, Base, Offset)) {
1264 OutOps.push_back(Base);
1265 OutOps.push_back(Offset);
1268 OutOps.push_back(Op);
1276 if (selectAddrRegImm12(Op, Base, Offset)) {
1277 OutOps.push_back(Base);
1278 OutOps.push_back(Offset);
1283 if (selectAddrRegImm9(Op, Base, Offset)) {
1284 OutOps.push_back(Base);
1285 OutOps.push_back(Offset);
1288 }
else if (selectAddrRegImm16(Op, Base, Offset)) {
1290 OutOps.push_back(Base);
1291 OutOps.push_back(Offset);
1295 OutOps.push_back(Op);
BITCAST - This operator converts between integer, vector and FP values, as if the value was stored to...
unsigned getValueSizeInBits(unsigned ResNo) const
Returns MVT::getSizeInBits(getValueType(ResNo)).
MachineInstr * getParent()
getParent - Return the instruction that this operand belongs to.
bool isExactlyValue(double V) const
We don't rely on operator== working on double values, as it returns true for things that are clearly ...
typename SuperClass::const_iterator const_iterator
FunctionPass * createMipsSEISelDag(MipsTargetMachine &TM, CodeGenOpt::Level OptLevel)
unsigned createVirtualRegister(const TargetRegisterClass *RegClass)
createVirtualRegister - Create and return a new virtual register in the function with the specified r...
void addLiveIn(unsigned Reg, unsigned vreg=0)
addLiveIn - Add the specified register as a live-in.
Carry-setting nodes for multiple precision addition and subtraction.
bool isPseudo(QueryType Type=IgnoreBundle) const
Return true if this is a pseudo instruction that doesn't correspond to a real machine instruction...
const MipsInstrInfo * getInstrInfo() const override
unsigned getOpcode() const
Return the SelectionDAG opcode value for this node.
unsigned getID() const
Return the register class ID number.
TargetGlobalAddress - Like GlobalAddress, but the DAG does no folding or anything else with this node...
const SDValue & getOperand(unsigned Num) const
const Function * getFunction() const
getFunction - Return the LLVM function that this machine code represents
return AArch64::GPR64RegClass contains(Reg)
RESULT,OUTCHAIN = INTRINSIC_W_CHAIN(INCHAIN, INTRINSICID, arg1, ...) This node represents a target in...
GlobalBaseReg - On Darwin, this node represents the result of the mflr at function entry...
AnalysisUsage & addRequired()
static use_iterator use_end()
const TargetSubtargetInfo & getSubtarget() const
getSubtarget - Return the subtarget for which this machine code is being compiled.
This file declares the MachineConstantPool class which is an abstract constant pool to keep track of ...
bool isImm() const
isImm - Tests if this is a MO_Immediate operand.
EVT getValueType(unsigned ResNo) const
Return the type of a specified result.
MachineSDNode * getMachineNode(unsigned Opcode, const SDLoc &dl, EVT VT)
These are used for target selectors to create a new node with specified return type(s), MachineInstr opcode, and operands.
const TargetLowering * TLI
const TargetLowering * getTargetLowering() const
const TargetRegisterClass * getRegClass(unsigned Reg) const
Return the register class of the specified virtual register.
Reg
All possible values of the reg field in the ModR/M byte.
bool isIntN(unsigned N) const
Check if this APInt has an N-bits unsigned integer value.
This class defines information used to lower LLVM code to legal SelectionDAG operators that the targe...
MO_ABS_HI/LO - Represents the hi or low part of an absolute symbol address.
EVT getVectorElementType() const
Given a vector type, return the type of each element.
bool isConstantSplat(APInt &SplatValue, APInt &SplatUndef, unsigned &SplatBitSize, bool &HasAnyUndefs, unsigned MinSplatBits=0, bool isBigEndian=false) const
Check if this is a constant splat, and if so, find the smallest element size that splats the vector...
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - Subclasses that override getAnalysisUsage must call this.
const MachineBasicBlock & front() const
SDValue getTargetFrameIndex(int FI, EVT VT)
Simple integer binary arithmetic operators.
SDValue getTargetConstant(uint64_t Val, const SDLoc &DL, EVT VT, bool isOpaque=false)
RESULT = INTRINSIC_WO_CHAIN(INTRINSICID, arg1, arg2, ...) This node represents a target intrinsic fun...
const DataLayout & getDataLayout() const
unsigned getOpcode() const
Returns the opcode of this MachineInstr.
Flag
These should be considered private to the implementation of the MCInstrDesc class.
BUILD_VECTOR(ELT0, ELT1, ELT2, ELT3,...) - Return a vector with the specified, possibly variable...
TargetInstrInfo - Interface to description of machine instruction set.
MachineRegisterInfo * RegInfo
SDNode * getNode() const
get the SDNode which holds the desired result
MachineInstrBuilder BuildMI(MachineFunction &MF, const DebugLoc &DL, const MCInstrDesc &MCID)
Builder interface. Specify how to create the initial instruction itself.
OUTCHAIN = INTRINSIC_VOID(INCHAIN, INTRINSICID, arg1, arg2, ...) This node represents a target intrin...
CodeGenOpt::Level OptLevel
void addLiveIn(MCPhysReg PhysReg, LaneBitmask LaneMask=LaneBitmask::getAll())
Adds the specified register as a live in.
unsigned const MachineRegisterInfo * MRI
const MipsSubtarget * Subtarget
Keep a pointer to the MipsSubtarget around so that we can make the right decision when generating cod...
const SDValue & getOperand(unsigned i) const
LLVM_ATTRIBUTE_ALWAYS_INLINE iterator begin()
const MachineOperand & getOperand(unsigned i) const
Carry-using nodes for multiple precision addition and subtraction.
Represent the analysis usage information of a pass.
bool isPositionIndependent() const
unsigned getBitWidth() const
Return the number of bits in the APInt.
Ty * getInfo()
getInfo - Keep track of various per-function pieces of information for backends that would like to do...
unsigned getOpcode() const
FunctionPass class - This class is used to implement most global optimizations.
unsigned countPopulation() const
Count the number of bits set.
bool inMicroMipsMode() const
bool inMips16Mode() const
bool isIntN(unsigned N, int64_t x)
Checks if an signed integer fits into the given (dynamic) bit width.
const MCInstrDesc & get(unsigned Opcode) const
Return the machine instruction descriptor that corresponds to the specified instruction opcode...
constexpr bool isInt< 32 >(int64_t x)
bool isBaseWithConstantOffset(SDValue Op) const
Return true if the specified operand is an ISD::ADD with a ConstantSDNode on the right-hand side...
unsigned getGlobalBaseReg()
double Log2(double Value)
Return the log base 2 of the specified value.
SDNode * SelectNodeTo(SDNode *N, unsigned TargetOpc, EVT VT)
These are used for target selectors to mutate the specified node to have the specified return type...
MachineOperand class - Representation of each machine instruction operand.
Wrapper class for IR location info (IR ordering and DebugLoc) to be passed into SDNode creation funct...
int32_t exactLogBase2() const
Represents one node in the SelectionDAG.
SDValue getCopyToReg(SDValue Chain, const SDLoc &dl, unsigned Reg, SDValue N)
Class for arbitrary precision integers.
bool isSignedIntN(unsigned N) const
Check if this APInt has an N-bits signed integer value.
A "pseudo-class" with methods for operating on BUILD_VECTORs.
int64_t getSExtValue() const
virtual const TargetRegisterClass * getRegClassFor(MVT VT) const
Return the register class that should be used for the specified value type.
constexpr char Size[]
Key for Kernel::Arg::Metadata::mSize.
const MachineInstrBuilder & addGlobalAddress(const GlobalValue *GV, int64_t Offset=0, unsigned char TargetFlags=0) const
llvm_unreachable("Unknown RegBank!")
MachineRegisterInfo - Keep track of information for virtual and physical registers, including vreg register classes, use/def chains for registers, etc.
Representation of each machine instruction.
LLVM_ATTRIBUTE_ALWAYS_INLINE iterator end()
SDValue getCopyFromReg(SDValue Chain, const SDLoc &dl, unsigned Reg, EVT VT)
MachineRegisterInfo & getRegInfo()
getRegInfo - Return information about the registers currently in use.
use_iterator use_begin(unsigned RegNo) const
const MachineInstrBuilder & addExternalSymbol(const char *FnName, unsigned char TargetFlags=0) const
unsigned getSizeInBits() const
Return the size of the specified value type in bits.
void setReg(unsigned Reg)
Change the register this operand corresponds to.
const TargetMachine & getTarget() const
getTarget - Return the target machine this machine code is compiled with
MipsFunctionInfo - This class is derived from MachineFunction private Mips target-specific informatio...
LLVM_NODISCARD std::enable_if<!is_simple_type< Y >::value, typename cast_retty< X, const Y >::ret_type >::type dyn_cast(const Y &Val)
MipsSEDAGToDAGISel(MipsTargetMachine &TM, CodeGenOpt::Level OL)
bool globalBaseRegSet() const
EVT getValueType() const
Return the ValueType of the referenced return value.
bool is128BitVector() const
Return true if this is a 128-bit vector type.
unsigned getReg() const
getReg - Returns the register number.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
MVT getPointerTy(const DataLayout &DL, uint32_t AS=0) const
Return the pointer type for the given address space, defaults to the pointer type from the data layou...
LLVM Value Representation.
SDValue getRegister(unsigned Reg, EVT VT)
std::underlying_type< E >::type Mask()
Get a bitmask with 1s in all places up to the high-order bit of E's largest value.
uint64_t OffsetToAlignment(uint64_t Value, uint64_t Align)
Returns the offset to the next integer (mod 2**64) that is greater than or equal to Value and is a mu...
bool isRegTiedToDefOperand(unsigned UseOpIdx, unsigned *DefOpIdx=nullptr) const
Return true if the use operand of the specified index is tied to a def operand.
void ReplaceNode(SDNode *F, SDNode *T)
Replace all uses of F with T, then remove F from the DAG.
Legacy analysis pass which computes a DominatorTree.
SDValue getEntryNode() const
Return the token chain corresponding to the entry of the function.
Unlike LLVM values, Selection DAG nodes may return multiple values as the result of a computation...
const MachineInstrBuilder & addReg(unsigned RegNo, unsigned flags=0, unsigned SubReg=0) const
Add a new virtual register operand.
const TargetInstrInfo * TII
reg_begin/reg_end - Provide iteration support to walk over all definitions and uses of a register wit...
bool runOnMachineFunction(MachineFunction &MF) override
runOnMachineFunction - This method must be overloaded to perform the desired machine code transformat...
MVT getSimpleVT() const
Return the SimpleValueType held in the specified simple EVT.
uint64_t getZExtValue() const