Lines Matching refs:DispVal
90 void emitDisplacementField(const MachineOperand *RelocOp, int DispVal,
402 int DispVal, in emitDisplacementField() argument
408 emitConstant(DispVal, 4); in emitDisplacementField()
442 int DispVal = 0; in emitMemModRMByte() local
454 DispVal += MCE.getConstantPoolEntryAddress(Op3.getIndex()); in emitMemModRMByte()
455 DispVal += Op3.getOffset(); in emitMemModRMByte()
461 DispVal += MCE.getJumpTableEntryAddress(Op3.getIndex()); in emitMemModRMByte()
464 DispVal = Op3.getImm(); in emitMemModRMByte()
479 emitDisplacementField(DispForReloc, DispVal, PCAdj, true); in emitMemModRMByte()
508 emitDisplacementField(DispForReloc, DispVal, PCAdj, true); in emitMemModRMByte()
516 if (!DispForReloc && DispVal == 0 && BaseRegNo != N86::EBP) { in emitMemModRMByte()
522 if (!DispForReloc && isDisp8(DispVal)) { in emitMemModRMByte()
524 emitConstant(DispVal, 1); in emitMemModRMByte()
530 emitDisplacementField(DispForReloc, DispVal, PCAdj, IsPCRel); in emitMemModRMByte()
549 } else if (DispVal == 0 && BaseRegNo != N86::EBP) { in emitMemModRMByte()
552 } else if (isDisp8(DispVal)) { in emitMemModRMByte()
586 emitConstant(DispVal, 1); in emitMemModRMByte()
587 } else if (DispVal != 0 || ForceDisp32) { in emitMemModRMByte()
588 emitDisplacementField(DispForReloc, DispVal, PCAdj, IsPCRel); in emitMemModRMByte()