Home | History | Annotate | Download | only in IR

Lines Matching refs:Flag

193   // The encoding of the flag word is currently:
275 static bool isRegDefKind(unsigned Flag){ return getKind(Flag) == Kind_RegDef;}
276 static bool isImmKind(unsigned Flag) { return getKind(Flag) == Kind_Imm; }
277 static bool isMemKind(unsigned Flag) { return getKind(Flag) == Kind_Mem; }
278 static bool isRegDefEarlyClobberKind(unsigned Flag) {
279 return getKind(Flag) == Kind_RegDefEarlyClobber;
281 static bool isClobberKind(unsigned Flag) {
282 return getKind(Flag) == Kind_Clobber;
285 /// getFlagWordForMatchingOp - Augment an existing flag word returned by
295 /// getFlagWordForRegClass - Augment an existing flag word returned by
310 /// Augment an existing flag word returned by getFlagWord with the constraint
329 static unsigned getMemoryConstraintID(unsigned Flag) {
330 assert(isMemKind(Flag));
331 return (Flag >> Constraints_ShiftAmount) & 0x7fff;
335 /// inline asm operand flag.
336 static unsigned getNumOperandRegisters(unsigned Flag) {
337 return (Flag & 0xffff) >> 3;
340 /// isUseOperandTiedToDef - Return true if the flag of the inline asm
342 static bool isUseOperandTiedToDef(unsigned Flag, unsigned &Idx) {
343 if ((Flag & Flag_MatchingOperand) == 0)
345 Idx = (Flag & ~Flag_MatchingOperand) >> 16;
349 /// hasRegClassConstraint - Returns true if the flag contains a register
351 static bool hasRegClassConstraint(unsigned Flag, unsigned &RC) {
352 if (Flag & Flag_MatchingOperand)
354 unsigned High = Flag >> 16;