Home
last modified time | relevance | path

Searched refs:DispVal (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/X86/InstPrinter/
DX86IntelInstPrinter.cpp131 int64_t DispVal = DispSpec.getImm(); in printMemReference() local
132 if (DispVal || (!IndexReg.getReg() && !BaseReg.getReg())) { in printMemReference()
134 if (DispVal > 0) in printMemReference()
138 DispVal = -DispVal; in printMemReference()
141 O << DispVal; in printMemReference()
DX86ATTInstPrinter.cpp122 int64_t DispVal = DispSpec.getImm(); in printMemReference() local
123 if (DispVal || (!IndexReg.getReg() && !BaseReg.getReg())) in printMemReference()
124 O << DispVal; in printMemReference()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/InstPrinter/
DX86IntelInstPrinter.cpp103 int64_t DispVal = DispSpec.getImm(); in printMemReference() local
104 if (DispVal || (!IndexReg.getReg() && !BaseReg.getReg())) { in printMemReference()
106 if (DispVal > 0) in printMemReference()
110 DispVal = -DispVal; in printMemReference()
113 O << formatImm(DispVal); in printMemReference()
DX86ATTInstPrinter.cpp123 int64_t DispVal = DispSpec.getImm(); in printMemReference() local
124 if (DispVal || (!IndexReg.getReg() && !BaseReg.getReg())) in printMemReference()
125 O << formatImm(DispVal); in printMemReference()
/external/llvm/lib/Target/X86/InstPrinter/
DX86IntelInstPrinter.cpp192 int64_t DispVal = DispSpec.getImm(); in printMemReference() local
193 if (DispVal || (!IndexReg.getReg() && !BaseReg.getReg())) { in printMemReference()
195 if (DispVal > 0) in printMemReference()
199 DispVal = -DispVal; in printMemReference()
202 O << formatImm(DispVal); in printMemReference()
DX86ATTInstPrinter.cpp211 int64_t DispVal = DispSpec.getImm(); in printMemReference() local
212 if (DispVal || (!IndexReg.getReg() && !BaseReg.getReg())) in printMemReference()
213 O << formatImm(DispVal); in printMemReference()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86CodeEmitter.cpp90 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()
[all …]
DX86AsmPrinter.cpp296 int DispVal = DispSpec.getImm(); in printLeaMemReference() local
297 if (DispVal || !HasParenPart) in printLeaMemReference()
298 O << DispVal; in printLeaMemReference()
/external/llvm/lib/Target/X86/
DX86AsmPrinter.cpp248 int DispVal = DispSpec.getImm(); in printLeaMemReference() local
249 if (DispVal || !HasParenPart) in printLeaMemReference()
250 O << DispVal; in printLeaMemReference()
328 int64_t DispVal = DispSpec.getImm(); in printIntelMemReference() local
329 if (DispVal || (!IndexReg.getReg() && !BaseReg.getReg())) { in printIntelMemReference()
331 if (DispVal > 0) in printIntelMemReference()
335 DispVal = -DispVal; in printIntelMemReference()
338 O << DispVal; in printIntelMemReference()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86AsmPrinter.cpp276 int DispVal = DispSpec.getImm(); in printLeaMemReference() local
277 if (DispVal || !HasParenPart) in printLeaMemReference()
278 O << DispVal; in printLeaMemReference()
356 int64_t DispVal = DispSpec.getImm(); in printIntelMemReference() local
357 if (DispVal || (!IndexReg.getReg() && !BaseReg.getReg())) { in printIntelMemReference()
359 if (DispVal > 0) in printIntelMemReference()
363 DispVal = -DispVal; in printIntelMemReference()
366 O << DispVal; in printIntelMemReference()
/external/capstone/arch/X86/
DX86IntelInstPrinter.c812 int64_t DispVal = MCOperand_getImm(DispSpec); in printMemReference() local
814 MI->flat_insn->detail->x86.operands[MI->flat_insn->detail->x86.op_count].mem.disp = DispVal; in printMemReference()
815 if (DispVal) { in printMemReference()
817 if (DispVal < 0) { in printMemReference()
818 if (DispVal < -HEX_THRESHOLD) in printMemReference()
819 SStream_concat(O, " - 0x%"PRIx64, -DispVal); in printMemReference()
821 SStream_concat(O, " - %"PRIu64, -DispVal); in printMemReference()
823 if (DispVal > HEX_THRESHOLD) in printMemReference()
824 SStream_concat(O, " + 0x%"PRIx64, DispVal); in printMemReference()
826 SStream_concat(O, " + %"PRIu64, DispVal); in printMemReference()
[all …]
DX86ATTInstPrinter.c703 int64_t DispVal = MCOperand_getImm(DispSpec); in printMemReference() local
705 MI->flat_insn->detail->x86.operands[MI->flat_insn->detail->x86.op_count].mem.disp = DispVal; in printMemReference()
706 if (DispVal) { in printMemReference()
708 if (DispVal < 0) { in printMemReference()
709 if (DispVal < -HEX_THRESHOLD) in printMemReference()
710 SStream_concat(O, "-0x%"PRIx64, -DispVal); in printMemReference()
712 SStream_concat(O, "-%"PRIu64, -DispVal); in printMemReference()
714 if (DispVal > HEX_THRESHOLD) in printMemReference()
715 SStream_concat(O, "0x%"PRIx64, DispVal); in printMemReference()
717 SStream_concat(O, "%"PRIu64, DispVal); in printMemReference()
[all …]