Home | History | Annotate | Download | only in x64

Lines Matching defs:source

2 // Use of this source code is governed by a BSD-style license that can be
73 void MacroAssembler::Load(Register destination, ExternalReference source) {
75 int64_t delta = RootRegisterDelta(source);
83 load_rax(source);
85 Move(kScratchRegister, source);
91 void MacroAssembler::Store(ExternalReference destination, Register source) {
95 movp(Operand(kRootRegister, static_cast<int32_t>(delta)), source);
100 if (source.is(rax)) {
104 movp(Operand(kScratchRegister, 0), source);
110 ExternalReference source) {
112 int64_t delta = RootRegisterDelta(source);
119 Move(destination, source);
123 int MacroAssembler::LoadAddressSize(ExternalReference source) {
128 int64_t delta = RootRegisterDelta(source);
144 void MacroAssembler::PushAddress(ExternalReference source) {
145 int64_t address = reinterpret_cast<int64_t>(source.address());
153 LoadAddress(kScratchRegister, source);
176 void MacroAssembler::StoreRoot(Register source, Heap::RootListIndex index) {
180 source);
1167 Register MacroAssembler::GetSmiConstant(Smi* source) {
1169 int value = source->value();
1174 LoadSmiConstant(kScratchRegister, source);
1179 void MacroAssembler::LoadSmiConstant(Register dst, Smi* source) {
1181 int value = source->value();
1185 Move(dst, source, Assembler::RelocInfoNone());
2459 void MacroAssembler::Push(Smi* source) {
2460 intptr_t smi = reinterpret_cast<intptr_t>(source);
2464 Register constant = GetSmiConstant(source);
2496 void MacroAssembler::Test(const Operand& src, Smi* source) {
2498 testl(Operand(src, kIntSize), Immediate(source->value()));
2501 testl(src, Immediate(source));
2631 void MacroAssembler::Move(Register dst, Handle<Object> source) {
2633 if (source->IsSmi()) {
2634 Move(dst, Smi::cast(*source));
2636 MoveHeapObject(dst, source);
2641 void MacroAssembler::Move(const Operand& dst, Handle<Object> source) {
2643 if (source->IsSmi()) {
2644 Move(dst, Smi::cast(*source));
2646 MoveHeapObject(kScratchRegister, source);
3009 void MacroAssembler::Cmp(Register dst, Handle<Object> source) {
3011 if (source->IsSmi()) {
3012 Cmp(dst, Smi::cast(*source));
3014 MoveHeapObject(kScratchRegister, source);
3020 void MacroAssembler::Cmp(const Operand& dst, Handle<Object> source) {
3022 if (source->IsSmi()) {
3023 Cmp(dst, Smi::cast(*source));
3025 MoveHeapObject(kScratchRegister, source);
3031 void MacroAssembler::Push(Handle<Object> source) {
3033 if (source->IsSmi()) {
3034 Push(Smi::cast(*source));
3036 MoveHeapObject(kScratchRegister, source);
4228 // callee arguments corruption (source and destination areas could overlap).