Lines Matching refs:Kind

31   } Kind;  member
70 : Kind(K), StartLoc(Start), EndLoc(End) {} in X86Operand()
88 assert(Kind == Token && "Invalid access!"); in getToken()
92 assert(Kind == Token && "Invalid access!"); in setTokenValue()
98 assert(Kind == Register && "Invalid access!"); in getReg()
103 assert(Kind == Immediate && "Invalid access!"); in getImm()
108 assert(Kind == Memory && "Invalid access!"); in getMemDisp()
112 assert(Kind == Memory && "Invalid access!"); in getMemSegReg()
116 assert(Kind == Memory && "Invalid access!"); in getMemBaseReg()
120 assert(Kind == Memory && "Invalid access!"); in getMemIndexReg()
124 assert(Kind == Memory && "Invalid access!"); in getMemScale()
128 assert(Kind == Memory && "Invalid access!"); in getMemModeSize()
132 bool isToken() const override {return Kind == Token; } in isToken()
134 bool isImm() const override { return Kind == Immediate; } in isImm()
208 bool isMem() const override { return Kind == Memory; } in isMem()
210 return Kind == Memory && Mem.Size == 0; in isMemUnsized()
213 return Kind == Memory && (!Mem.Size || Mem.Size == 8); in isMem8()
216 return Kind == Memory && (!Mem.Size || Mem.Size == 16); in isMem16()
219 return Kind == Memory && (!Mem.Size || Mem.Size == 32); in isMem32()
222 return Kind == Memory && (!Mem.Size || Mem.Size == 64); in isMem64()
225 return Kind == Memory && (!Mem.Size || Mem.Size == 80); in isMem80()
228 return Kind == Memory && (!Mem.Size || Mem.Size == 128); in isMem128()
231 return Kind == Memory && (!Mem.Size || Mem.Size == 256); in isMem256()
234 return Kind == Memory && (!Mem.Size || Mem.Size == 512); in isMem512()
238 return Kind == Memory && (!Mem.Size || Mem.Size == 32) && in isMemVX32()
242 return Kind == Memory && (!Mem.Size || Mem.Size == 32) && in isMemVX32X()
246 return Kind == Memory && (!Mem.Size || Mem.Size == 32) && in isMemVY32()
250 return Kind == Memory && (!Mem.Size || Mem.Size == 32) && in isMemVY32X()
254 return Kind == Memory && (!Mem.Size || Mem.Size == 64) && in isMemVX64()
258 return Kind == Memory && (!Mem.Size || Mem.Size == 64) && in isMemVX64X()
262 return Kind == Memory && (!Mem.Size || Mem.Size == 64) && in isMemVY64()
266 return Kind == Memory && (!Mem.Size || Mem.Size == 64) && in isMemVY64X()
270 return Kind == Memory && (!Mem.Size || Mem.Size == 32) && in isMemVZ32()
274 return Kind == Memory && (!Mem.Size || Mem.Size == 64) && in isMemVZ64()
279 return Kind == Memory && !getMemSegReg() && !getMemBaseReg() && in isAbsMem()
330 return Kind == Memory && !getMemBaseReg() && !getMemIndexReg() && in isMemOffs()
368 bool isReg() const override { return Kind == Register; } in isReg()
371 return Kind == Register && in isGR32orGR64()