/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/assembler/ |
H A D | operand.h | 190 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 D | asm_assembler.h | 500 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 D | elf_assembler.h | 512 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 D | assembler_x64.cpp | 744 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 D | assembler_x64.h | 63 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 D | operands.h | 330 // 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 D | elf_assembler.cpp | 371 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 D | x64_emitter.cpp | 131 mem.disp.first = symIdx; in TransferMem() 134 mem.disp.second = ofset->GetValue(); in TransferMem()
|
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/ |
H A D | assembler_aarch64.cpp | 1056 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 D | assembler_aarch64.h | 420 void SetRealOffsetToBranchInst(uint32_t linkPos, int32_t disp);
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch64/ |
H A D | encode.cpp | 146 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 D | aarch64_cgfunc.cpp | 3105 Operand *disp = CreateMemOperand(MemOperand::kAddrModeBOrX, k64BitSize, baseOpnd, *addOpnd, k8BitShift); 3107 SelectAdd(tgt, baseOpnd, *disp, PTY_u64);
|