Home
last modified time | relevance | path

Searched refs:disp (Results 1 - 12 of 12) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/assembler/
H A Doperand.h190 std::pair<int64, int64> disp = {0, 0}; /* first: symbol id, second: offset */ member
198 if (base != ERR && index != ERR && (disp.second != 0 || disp.first != 0)) { in SetMemType()
200 } else if (base != ERR && index != ERR && disp.second == 0 && disp.first == 0) { in SetMemType()
202 } else if (base == ERR && index != ERR && (disp.second != 0 || disp.first != 0)) { in SetMemType()
204 } else if (base != ERR && index == ERR && (disp.second != 0 || disp.first != 0)) { in SetMemType()
206 } else if (base == ERR && index == ERR && (disp in SetMemType()
334 int64 disp; /* record the symbol's addend for relocation */ global() member in assembler::Fixup
[all...]
H A Dasm_assembler.h500 if (mem.disp.first != 0) { in EmitMem()
501 std::string dispSymName = GetNameFromSymMap(mem.disp.first); in EmitMem()
503 if (mem.disp.second != 0) { in EmitMem()
505 Emit(mem.disp.second); in EmitMem()
508 Emit(mem.disp.second); in EmitMem()
H A Delf_assembler.h512 int64 symIdx = mem.disp.first; in GetMod()
513 int64 offset = mem.disp.second; in GetMod()
582 std::vector<Fixup *> &tmpFixups, int64 disp = 0);
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/x64/
H A Dassembler_x64.cpp744 int32_t disp = static_cast<int32_t>(pos - linkPos - sizeof(int32_t)); in Bind() local
745 PutI32(linkPos, disp); in Bind()
754 int32_t disp = static_cast<int32_t>(pos - linkPos - sizeof(int8_t)); in Bind() local
755 ASSERT(InRange8(disp)); in Bind()
756 PutI8(linkPos, static_cast<int8_t>(disp)); in Bind()
768 Operand::Operand(Register base, int32_t disp) in Operand() argument
773 if (disp == 0 && base != rbp && base != r13) { in Operand()
776 } else if (AssemblerX64::InRange8(disp)) { in Operand()
779 BuildDisp8(disp); in Operand()
783 BuildDisp32(disp); in Operand()
787 Operand(Register base, Register index, Scale scale, int32_t disp) Operand() argument
805 Operand(Register index, Scale scale, int32_t disp) Operand() argument
826 BuildDisp8(int32_t disp) BuildDisp8() argument
832 BuildDisp32(int32_t disp) BuildDisp32() argument
[all...]
H A Dassembler_x64.h63 Operand(Register base, int32_t disp);
64 Operand(Register base, Register index, Scale scale, int32_t disp);
65 Operand(Register index, Scale scale, int32_t disp);
70 void BuildDisp8(int32_t disp);
71 void BuildDisp32(int32_t disp);
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
H A Doperands.h330 // model -> base + index<<scale + disp
336 MemRef(Reg base, ssize_t disp) : MemRef(base, INVALID_REGISTER, 0, disp) {} in MemRef() argument
338 MemRef(Reg base, Reg index, uint16_t scale, ssize_t disp) : disp_(disp), scale_(scale), base_(base), index_(index) in MemRef() argument
340 CHECK_LE(disp, std::numeric_limits<decltype(disp_)>::max()); in MemRef()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
H A Delf_assembler.cpp371 int64 symIdx = mem.disp.first; in OpDisp()
372 uint64 offset = static_cast<uint64>(mem.disp.second); in OpDisp()
377 AppendFixup(symIdx, kRelative, {static_cast<uint32>(codeBuff.size()), offsetSize}, fixups, mem.disp.second); in OpDisp()
518 int64 symIdx = mem.disp.first;
519 uint64 offset = static_cast<uint64>(mem.disp.second);
625 std::vector<Fixup *> &tmpFixups, int64 disp) in AppendFixup()
627 tmpFixups.push_back(new Fixup(labelIdx, kind, offsetPair, disp)); in AppendFixup()
624 AppendFixup(int64 labelIdx, FixupKind kind, const std::pair<uint32, size_t> &offsetPair, std::vector<Fixup *> &tmpFixups, int64 disp) AppendFixup() argument
H A Dx64_emitter.cpp131 mem.disp.first = symIdx; in TransferMem()
134 mem.disp.second = ofset->GetValue(); in TransferMem()
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/
H A Dassembler_aarch64.cpp1056 int32_t disp = static_cast<int32_t>(pos - linkPos); in Bind() local
1057 SetRealOffsetToBranchInst(linkPos, disp); in Bind()
1108 void AssemblerAarch64::SetRealOffsetToBranchInst(uint32_t linkPos, int32_t disp) in SetRealOffsetToBranchInst() argument
1112 uint32_t immOffset = disp >> 2; in SetRealOffsetToBranchInst()
H A Dassembler_aarch64.h420 void SetRealOffsetToBranchInst(uint32_t linkPos, int32_t disp);
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch64/
H A Dencode.cpp146 auto disp = mem.GetDisp(); in ConvertMem() local
147 return vixl::aarch64::MemOperand(VixlReg(baseReg), VixlImm(disp)); in ConvertMem()
1147 /* ldaxr wants [reg]-form of memref (no offset or disp) */ in EncodeCompareAndSwap()
1170 /* ldaxr wants [reg]-form of memref (no offset or disp) */ in EncodeUnsafeGetAndSet()
1203 /* ldaxr wants [reg]-form of memref (no offset or disp) */ in EncodeUnsafeGetAndAdd()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
H A Daarch64_cgfunc.cpp3105 Operand *disp = CreateMemOperand(MemOperand::kAddrModeBOrX, k64BitSize, baseOpnd, *addOpnd, k8BitShift);
3107 SelectAdd(tgt, baseOpnd, *disp, PTY_u64);

Completed in 29 milliseconds