Home
last modified time | relevance | path

Searched refs:Immediate (Results 1 – 25 of 242) sorted by relevance

12345678910

/external/v8/src/regexp/x64/
Dregexp-macro-assembler-x64.cc136 __ addq(rdi, Immediate(by * char_size())); in AdvanceCurrentPosition()
145 __ addp(register_location(reg), Immediate(by)); in AdvanceRegister()
165 __ cmpl(current_character(), Immediate(c)); in CheckCharacter()
171 __ cmpl(current_character(), Immediate(limit)); in CheckCharacterGT()
192 __ cmpl(current_character(), Immediate(limit)); in CheckCharacterLT()
267 __ orp(rax, Immediate(0x20)); // Convert match character to lower-case. in CheckNotBackReferenceIgnoreCase()
268 __ orp(rdx, Immediate(0x20)); // Convert capture character to lower-case. in CheckNotBackReferenceIgnoreCase()
271 __ subb(rax, Immediate('a')); in CheckNotBackReferenceIgnoreCase()
272 __ cmpb(rax, Immediate('z' - 'a')); in CheckNotBackReferenceIgnoreCase()
275 __ subb(rax, Immediate(224 - 'a')); in CheckNotBackReferenceIgnoreCase()
[all …]
/external/v8/src/ia32/
Dmacro-assembler-ia32.cc60 mov(destination, Immediate(Smi::cast(*object))); in LoadRoot()
70 mov(destination, Immediate(index)); in LoadRoot()
80 mov(scratch, Immediate(index)); in CompareRoot()
91 cmp(with, Immediate(Smi::cast(*object))); in CompareRoot()
101 cmp(with, Immediate(Smi::cast(*object))); in CompareRoot()
131 mov(destination, Immediate(ExternalReference::roots_array_start(isolate()))); in LoadRootRegisterOffset()
133 add(destination, Immediate(offset)); in LoadRootRegisterOffset()
151 mov(destination, Immediate(source)); in LoadAddress()
206 sub(esp, Immediate(delta)); in PushCallerSaved()
227 add(esp, Immediate(delta)); in PopCallerSaved()
[all …]
Dcode-stubs-ia32.cc40 __ push(Immediate(StackFrame::TypeToMarker(marker))); // marker in Generate()
59 __ cmp(__ StaticVariable(js_entry_sp), Immediate(0)); in Generate()
62 __ push(Immediate(StackFrame::OUTERMOST_JSENTRY_FRAME)); in Generate()
65 __ push(Immediate(StackFrame::INNER_JSENTRY_FRAME)); in Generate()
77 __ mov(eax, Immediate(isolate()->factory()->exception())); in Generate()
99 __ cmp(ebx, Immediate(StackFrame::OUTERMOST_JSENTRY_FRAME)); in Generate()
101 __ mov(__ StaticVariable(js_entry_sp), Immediate(0)); in Generate()
112 __ add(esp, Immediate(2 * kPointerSize)); // remove markers in Generate()
148 __ sub(eax, Immediate(Assembler::kCallInstructionLength)); in Generate()
155 __ add(esp, Immediate(2 * kPointerSize)); in Generate()
[all …]
Dcodegen-ia32.cc72 if (direction == BACKWARD) __ sub(src, Immediate(0x40)); in MemMoveEmitMainLoop()
77 if (direction == FORWARD) __ add(src, Immediate(0x40)); in MemMoveEmitMainLoop()
78 if (direction == BACKWARD) __ sub(dst, Immediate(0x40)); in MemMoveEmitMainLoop()
83 if (direction == FORWARD) __ add(dst, Immediate(0x40)); in MemMoveEmitMainLoop()
88 __ test(count, Immediate(0x20)); in MemMoveEmitMainLoop()
90 if (direction == BACKWARD) __ sub(src, Immediate(0x20)); in MemMoveEmitMainLoop()
93 if (direction == FORWARD) __ add(src, Immediate(0x20)); in MemMoveEmitMainLoop()
94 if (direction == BACKWARD) __ sub(dst, Immediate(0x20)); in MemMoveEmitMainLoop()
97 if (direction == FORWARD) __ add(dst, Immediate(0x20)); in MemMoveEmitMainLoop()
100 __ test(count, Immediate(0x10)); in MemMoveEmitMainLoop()
[all …]
Ddeoptimizer-ia32.cc27 __ sub(esp, Immediate(kDoubleRegsSize)); in Generate()
38 __ sub(esp, Immediate(kFloatRegsSize)); in Generate()
68 __ mov(eax, Immediate(0)); in Generate()
76 Immediate(static_cast<int>(deopt_kind()))); in Generate()
81 Immediate(ExternalReference::isolate_address(isolate()))); in Generate()
120 __ add(esp, Immediate(kDoubleRegsSize + 2 * kPointerSize)); in Generate()
136 __ add(edx, Immediate(sizeof(uint32_t))); in Generate()
168 __ sub(ecx, Immediate(sizeof(uint32_t))); in Generate()
173 __ add(eax, Immediate(kPointerSize)); in Generate()
Dassembler-ia32.h211 class Immediate BASE_EMBEDDED {
214 inline explicit Immediate(int x, RelocInfo::Mode rmode = RelocInfo::NONE) {
218 inline explicit Immediate(const ExternalReference& ext) in Immediate() function
219 : Immediate(ext.address(), RelocInfo::EXTERNAL_REFERENCE) {} in Immediate()
220 inline explicit Immediate(Handle<HeapObject> handle) in Immediate() function
221 : Immediate(handle.address(), RelocInfo::EMBEDDED_OBJECT) {} in Immediate()
222 inline explicit Immediate(Smi* value) in Immediate() function
223 : Immediate(reinterpret_cast<intptr_t>(value)) {} in Immediate()
225 static Immediate EmbeddedNumber(double number); // Smi or HeapNumber.
226 static Immediate EmbeddedCode(CodeStub* code);
[all …]
/external/swiftshader/third_party/subzero/src/
DIceAssemblerX86Base.h70 class Immediate {
71 Immediate(const Immediate &) = delete;
72 Immediate &operator=(const Immediate &) = delete;
75 explicit Immediate(int32_t value) : value_(value) {} in Immediate() function
77 explicit Immediate(AssemblerFixup *fixup) : fixup_(fixup) {} in Immediate() function
191 const Immediate &);
207 const Immediate &);
218 const Immediate &);
244 const Immediate &);
267 const Immediate &);
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZOperands.td29 class Immediate<ValueType vt, code pred, SDNodeXForm xform, string asmop>
118 !cast<Immediate>("disp"##dispsize##"imm"##bitsize))>;
124 !cast<Immediate>("disp"##dispsize##"imm"##bitsize),
133 !cast<Immediate>("disp"##dispsize##"imm"##bitsize),
134 !cast<Immediate>("imm"##bitsize))>;
140 !cast<Immediate>("disp"##dispsize##"imm"##bitsize),
240 // Immediate asm operands.
262 def imm32ll16 : Immediate<i32, [{
266 def imm32lh16 : Immediate<i32, [{
272 def imm32ll16c : Immediate<i32, [{
[all …]
/external/v8/src/regexp/ia32/
Dregexp-macro-assembler-ia32.cc122 __ add(edi, Immediate(by * char_size())); in AdvanceCurrentPosition()
131 __ add(register_location(reg), Immediate(by)); in AdvanceRegister()
140 __ add(ebx, Immediate(masm_->CodeObject())); in Backtrack()
187 __ add(backtrack_stackpointer(), Immediate(kPointerSize)); // Pop. in CheckGreedyLoop()
246 __ sub(ecx, Immediate(224 - 'a')); in CheckNotBackReferenceIgnoreCase()
247 __ cmp(ecx, Immediate(254 - 224)); in CheckNotBackReferenceIgnoreCase()
249 __ cmp(ecx, Immediate(247 - 224)); // Check for 247. in CheckNotBackReferenceIgnoreCase()
261 __ add(edx, Immediate(1)); in CheckNotBackReferenceIgnoreCase()
262 __ add(edi, Immediate(1)); in CheckNotBackReferenceIgnoreCase()
278 __ add(esp, Immediate(kPointerSize)); in CheckNotBackReferenceIgnoreCase()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZOperands.td29 class Immediate<ValueType vt, code pred, SDNodeXForm xform, string asmop>
265 // Immediate asm operands.
288 def imm32ll16 : Immediate<i32, [{
292 def imm32lh16 : Immediate<i32, [{
298 def imm32ll16c : Immediate<i32, [{
302 def imm32lh16c : Immediate<i32, [{
307 def imm32zx1 : Immediate<i32, [{
311 def imm32zx2 : Immediate<i32, [{
315 def imm32zx3 : Immediate<i32, [{
319 def imm32zx4 : Immediate<i32, [{
[all …]
/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/
DGPRArith.cpp35 __ mov(IceType_i32, GPRRegister::Encoded_Reg_eax, Immediate(0xC0FFEE)); in TEST_F()
52 __ mov(IceType_i32, GPRRegister::Encoded_Reg_##Src0, Immediate(Value0)); \ in TEST_F()
53 __ mov(IceType_i32, GPRRegister::Encoded_Reg_##Src1, Immediate(Value1)); \ in TEST_F()
56 __ mov(IceType_i32, GPRRegister::Encoded_Reg_##Dest, Immediate(0)); \ in TEST_F()
131 Immediate(BaseValue)); \ in TEST_F()
149 Immediate(IndexValue)); \ in TEST_F()
184 Immediate(BaseValue)); \ in TEST_F()
189 Immediate(IndexValue)); \ in TEST_F()
335 Immediate(Value0)); \ in TEST_F()
337 Immediate(Value1)); \ in TEST_F()
[all …]
DControlFlow.cpp22 __ mov(IceType_i32, GPRRegister::Encoded_Reg_##Src0, Immediate(Value0)); \ in TEST_F()
23 __ mov(IceType_i32, GPRRegister::Encoded_Reg_##Src1, Immediate(Value1)); \ in TEST_F()
24 __ mov(IceType_i32, GPRRegister::Encoded_Reg_##Dest, Immediate(0xBEEF)); \ in TEST_F()
28 __ mov(IceType_i32, GPRRegister::Encoded_Reg_##Dest, Immediate(0xC0FFEE)); \ in TEST_F()
75 __ call(Immediate(16)); in TEST_F()
88 __ mov(IceType_i32, GPRRegister::Encoded_Reg_eax, Immediate(0xf00f)); in TEST_F()
99 __ call(Immediate(16)); in TEST_F()
123 __ call(Immediate(16)); in TEST_F()
124 __ mov(IceType_i8, GPRRegister::Encoded_Reg_eax, Immediate(0xf4)); in TEST_F()
135 __ mov(IceType_i32, GPRRegister::Encoded_Reg_eax, Immediate(0xf1f2f300)); in TEST_F()
[all …]
DLocked.cpp46 Immediate(Value1)); \ in TEST_F()
50 Immediate(Mask##Size)); \ in TEST_F()
94 Immediate(Value0)); \ in TEST_F()
96 Immediate(Value1)); \ in TEST_F()
100 Immediate(Mask##Size)); \ in TEST_F()
102 Immediate(Mask##Size)); \ in TEST_F()
155 Immediate(Value1)); \ in TEST_F()
159 Immediate(Mask##Size)); \ in TEST_F()
270 Immediate(uint64_t(Value0) & 0xFFFFFFFF)); \ in TEST_F()
272 Immediate(uint64_t(Value0) >> 32)); \ in TEST_F()
[all …]
DDataMov.cpp24 __ mov(IceType_i32, GPRRegister::Encoded_Reg_eax, Immediate(ExpectedEax)); in TEST_F()
25 __ mov(IceType_i32, GPRRegister::Encoded_Reg_ebx, Immediate(ExpectedEbx)); in TEST_F()
26 __ mov(IceType_i32, GPRRegister::Encoded_Reg_ecx, Immediate(ExpectedEcx)); in TEST_F()
27 __ mov(IceType_i32, GPRRegister::Encoded_Reg_edx, Immediate(ExpectedEdx)); in TEST_F()
28 __ mov(IceType_i32, GPRRegister::Encoded_Reg_edi, Immediate(ExpectedEdi)); in TEST_F()
29 __ mov(IceType_i32, GPRRegister::Encoded_Reg_esi, Immediate(ExpectedEsi)); in TEST_F()
51 __ mov(IceType_i32, dwordAddress(T0), Immediate(ExpectedT0)); in TEST_F()
52 __ mov(IceType_i32, dwordAddress(T1), Immediate(ExpectedT1)); in TEST_F()
53 __ mov(IceType_i32, dwordAddress(T2), Immediate(ExpectedT2)); in TEST_F()
54 __ mov(IceType_i32, dwordAddress(T3), Immediate(ExpectedT3)); in TEST_F()
[all …]
/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/
DGPRArith.cpp20 __ mov(IceType_i32, GPRRegister::Encoded_Reg_eax, Immediate(0xC0FFEE)); in TEST_F()
40 __ mov(IceType_i32, Encoded_GPR_##Src0(), Immediate(Value0)); \ in TEST_F()
41 __ mov(IceType_i32, Encoded_GPR_##Src1(), Immediate(Value1)); \ in TEST_F()
43 __ mov(IceType_i32, Encoded_GPR_##Dest(), Immediate(0)); \ in TEST_F()
118 __ mov(IceType_i32, Encoded_GPR_##Base(), Immediate(BaseValue)); \ in TEST_F()
135 __ mov(IceType_i32, Encoded_GPR_##Index(), Immediate(IndexValue)); \ in TEST_F()
170 __ mov(IceType_i32, Encoded_GPR_##Base(), Immediate(BaseValue)); \ in TEST_F()
174 __ mov(IceType_i32, Encoded_GPR_##Index(), Immediate(IndexValue)); \ in TEST_F()
370 __ mov(IceType_i##Size, Encoded_GPR_##Dst(), Immediate(Value0)); \ in TEST_F()
371 __ mov(IceType_i##Size, Encoded_GPR_##Src(), Immediate(Value1)); \ in TEST_F()
[all …]
DLocked.cpp45 __ mov(IceType_i##Size, Encoded_GPR_##Dst1(), Immediate(Value1)); \ in TEST_F()
47 __ And(IceType_i32, Encoded_GPR_##Dst1(), Immediate(Mask##Size)); \ in TEST_F()
96 __ mov(IceType_i##Size, Encoded_GPR_##Reg0(), Immediate(Value0)); \ in TEST_F()
97 __ mov(IceType_i##Size, Encoded_GPR_##Reg1(), Immediate(Value1)); \ in TEST_F()
99 __ And(IceType_i32, Encoded_GPR_##Reg0(), Immediate(Mask##Size)); \ in TEST_F()
100 __ And(IceType_i32, Encoded_GPR_##Reg1(), Immediate(Mask##Size)); \ in TEST_F()
154 __ mov(IceType_i##Size, Encoded_GPR_##Dst1(), Immediate(Value1)); \ in TEST_F()
157 __ And(IceType_i32, Encoded_GPR_##Dst1(), Immediate(Mask##Size)); \ in TEST_F()
299 Immediate(uint64_t(Value0) & 0xFFFFFFFF)); \ in TEST_F()
300 __ mov(IceType_i32, Encoded_GPR_edx(), Immediate(uint64_t(Value0) >> 32)); \ in TEST_F()
[all …]
DControlFlow.cpp24 __ mov(IceType_i32, Encoded_GPR_##Src0(), Immediate(Value0)); \ in TEST_F()
25 __ mov(IceType_i32, Encoded_GPR_##Src1(), Immediate(Value1)); \ in TEST_F()
26 __ mov(IceType_i32, Encoded_GPR_##Dest(), Immediate(0xBEEF)); \ in TEST_F()
29 __ mov(IceType_i32, Encoded_GPR_##Dest(), Immediate(0xC0FFEE)); \ in TEST_F()
95 __ call(Immediate(16)); in TEST_F()
108 __ mov(IceType_i32, GPRRegister::Encoded_Reg_eax, Immediate(0xf00f)); in TEST_F()
121 __ call(Immediate(16)); \ in TEST_F()
164 __ call(Immediate(16)); \ in TEST_F()
166 __ mov(IceType_i8, Encoded_GPR_##Dst##l(), Immediate(0xf4)); \ in TEST_F()
250 __ call(Immediate(16)); \ in TEST_F()
/external/v8/src/builtins/ia32/
Dbuiltins-ia32.cc26 Immediate(ExternalReference::Create(address))); in Generate_Adaptor()
174 Immediate(SharedFunctionInfo::IsDerivedConstructorBit::kMask)); in Generate_JSConstructStubGeneric()
341 __ add(scratch1, Immediate(1)); in Generate_StackOverflowCheck()
387 __ Move(ecx, Immediate(0)); in Generate_JSEntryTrampolineHelper()
461 __ cmpb(__ StaticVariable(debug_hook), Immediate(0)); in Generate_ResumeGeneratorTrampoline()
506 __ add(edi, Immediate(1)); in Generate_ResumeGeneratorTrampoline()
535 __ add(ecx, Immediate(Code::kHeaderSize - kHeapObjectTag)); in Generate_ResumeGeneratorTrampoline()
607 __ cmp(smi_entry, Immediate(Smi::FromEnum(marker))); in TailCallRuntimeIfMarkerEquals()
642 Immediate(Smi::FromEnum(OptimizationMarker::kNone))); in MaybeTailCallOptimizedCodeSlot()
662 Immediate(Smi::FromEnum(OptimizationMarker::kInOptimizationQueue))); in MaybeTailCallOptimizedCodeSlot()
[all …]
/external/v8/src/x64/
Dmacro-assembler-x64.cc238 testb(dst, Immediate(kPointerSize - 1)); in RecordWriteField()
410 testp(rsp, Immediate(frame_alignment_mask)); in CheckStackAlignment()
434 movl(arg_reg_1, Immediate(static_cast<int>(reason))); in Abort()
484 addp(rcx, Immediate(Code::kHeaderSize - kHeapObjectTag)); in CallRuntimeWithCEntry()
577 subp(rsp, Immediate(delta)); in PushCallerSaved()
597 addp(rsp, Immediate(kDoubleSize * XMMRegister::kNumRegisters)); in PopCallerSaved()
768 shrq(kScratchRegister, Immediate(1)); in Cvtqui2ss()
772 orq(kScratchRegister, Immediate(1)); in Cvtqui2ss()
792 shrq(kScratchRegister, Immediate(1)); in Cvtqui2sd()
796 orq(kScratchRegister, Immediate(1)); in Cvtqui2sd()
[all …]
Ddeoptimizer-x64.cc29 __ subp(rsp, Immediate(kDoubleRegsSize)); in Generate()
40 __ subp(rsp, Immediate(kFloatRegsSize)); in Generate()
76 __ subl(rax, Immediate(5)); in Generate()
79 __ movl(rbx, Immediate(0xcccccccd)); in Generate()
81 __ shrq(rax, Immediate(0x22)); in Generate()
97 __ movp(rax, Immediate(0)); in Generate()
139 __ addp(rsp, Immediate(kFloatRegsSize)); in Generate()
149 __ addp(rsp, Immediate(1 * kRegisterSize + kPCOnStackSize)); in Generate()
165 __ addp(rdx, Immediate(sizeof(intptr_t))); in Generate()
198 __ subp(rcx, Immediate(sizeof(intptr_t))); in Generate()
[all …]
Dcode-stubs-x64.cc43 __ Push(Immediate(StackFrame::TypeToMarker(type()))); // context slot in Generate()
61 __ subp(rsp, Immediate(EntryFrameConstants::kXMMRegistersBlockSize)); in Generate()
91 __ Push(Immediate(StackFrame::OUTERMOST_JSENTRY_FRAME)); in Generate()
97 __ Push(Immediate(StackFrame::INNER_JSENTRY_FRAME)); in Generate()
130 __ cmpp(rbx, Immediate(StackFrame::OUTERMOST_JSENTRY_FRAME)); in Generate()
133 __ movp(Operand(kScratchRegister, 0), Immediate(0)); in Generate()
154 __ addp(rsp, Immediate(EntryFrameConstants::kXMMRegistersBlockSize)); in Generate()
167 __ addp(rsp, Immediate(2 * kPointerSize)); // remove markers in Generate()
201 __ subp(arg_reg_1, Immediate(Assembler::kShortCallInstructionLength)); in Generate()
277 __ addl(Operand(base_reg, kLevelOffset), Immediate(1)); in CallApiFunctionAndReturn()
[all …]
Dassembler-x64.h281 class Immediate {
283 explicit constexpr Immediate(int32_t value) : value_(value) {} in Immediate() function
284 explicit constexpr Immediate(int32_t value, RelocInfo::Mode rmode) in Immediate() function
286 explicit Immediate(Smi* value) in Immediate() function
297 ASSERT_TRIVIALLY_COPYABLE(Immediate);
298 static_assert(sizeof(Immediate) <= kPointerSize,
651 void pushq(Immediate value);
661 void enter(Immediate size);
666 void movb(Register dst, Immediate imm);
668 void movb(Operand dst, Immediate imm);
[all …]
/external/v8/src/builtins/x64/
Dbuiltins-x64.cc173 Immediate(SharedFunctionInfo::IsDerivedConstructorBit::kMask)); in Generate_JSConstructStubGeneric()
332 __ sarp(scratch, Immediate(kPointerSizeLog2)); in Generate_StackOverflowCheck()
457 __ addp(rcx, Immediate(1)); in Generate_JSEntryTrampolineHelper()
521 __ cmpb(debug_hook_operand, Immediate(0)); in Generate_ResumeGeneratorTrampoline()
569 __ addl(r9, Immediate(1)); in Generate_ResumeGeneratorTrampoline()
595 __ addp(rcx, Immediate(Code::kHeaderSize - kHeapObjectTag)); in Generate_ResumeGeneratorTrampoline()
745 Immediate(1 << Code::kMarkedForDeoptimizationBit)); in MaybeTailCallOptimizedCodeSlot()
756 __ addp(rcx, Immediate(Code::kHeaderSize - kHeapObjectTag)); in MaybeTailCallOptimizedCodeSlot()
792 __ cmpb(bytecode, Immediate(0x3)); in AdvanceBytecodeOffsetOrReturn()
794 __ testb(bytecode, Immediate(0x1)); in AdvanceBytecodeOffsetOrReturn()
[all …]
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_code.c121 if (!memcmp(c->Constants[index].u.Immediate, data, sizeof(float)*4)) in rc_constants_add_immediate_vec4()
129 memcpy(constant.u.Immediate, data, sizeof(float) * 4); in rc_constants_add_immediate_vec4()
149 if (c->Constants[index].u.Immediate[comp] == data) { in rc_constants_add_immediate_scalar()
162 c->Constants[free_index].u.Immediate[comp] = data; in rc_constants_add_immediate_scalar()
170 constant.u.Immediate[0] = data; in rc_constants_add_immediate_scalar()
181 float * values = c->Constants[i].u.Immediate; in rc_constants_print()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOARM.h361 int64_t Immediate = readBytesUnaligned(LocalAddress, 4); // Copy the whole instruction out. in processHALFSECTDIFFRelocation() local
364 Immediate = ((Immediate & 0x0000000f) << 12) | in processHALFSECTDIFFRelocation()
365 ((Immediate & 0x00000400) << 1) | in processHALFSECTDIFFRelocation()
366 ((Immediate & 0x70000000) >> 20) | in processHALFSECTDIFFRelocation()
367 ((Immediate & 0x00ff0000) >> 16); in processHALFSECTDIFFRelocation()
369 Immediate = ((Immediate >> 4) & 0xf000) | (Immediate & 0xfff); in processHALFSECTDIFFRelocation()
403 uint32_t FullImmVal = (Immediate << Shift) | (OtherHalf << (16 - Shift)); in processHALFSECTDIFFRelocation()

12345678910