Home
last modified time | relevance | path

Searched refs:Operand (Results 1 – 25 of 592) sorted by relevance

12345678910>>...24

/external/swiftshader/third_party/subzero/src/
DIceAssemblerMIPS32.h75 void emitRsRt(IValueT Opcode, const Operand *OpRs, const Operand *OpRt,
78 void emitRtRsImm16(IValueT Opcode, const Operand *OpRt, const Operand *OpRs,
81 void emitRtRsImm16Rel(IValueT Opcode, const Operand *OpRt,
82 const Operand *OpRs, const Operand *OpImm,
85 void emitFtRsImm16(IValueT Opcode, const Operand *OpFt, const Operand *OpRs,
88 void emitRdRtSa(IValueT Opcode, const Operand *OpRd, const Operand *OpRt,
91 void emitRdRsRt(IValueT Opcode, const Operand *OpRd, const Operand *OpRs,
92 const Operand *OpRt, const char *InsnName);
95 const Operand *OpFs, const Operand *OpFt, IValueT CC,
99 const Operand *OpFd, const Operand *OpFs,
[all …]
DIceAssemblerARM32.h180 void adc(const Operand *OpRd, const Operand *OpRn, const Operand *OpSrc1,
183 void add(const Operand *OpRd, const Operand *OpRn, const Operand *OpSrc1,
186 void and_(const Operand *OpRd, const Operand *OpRn, const Operand *OpSrc1,
189 void asr(const Operand *OpRd, const Operand *OpRn, const Operand *OpSrc1,
196 void bic(const Operand *OpRd, const Operand *OpRn, const Operand *OpSrc1,
201 void blx(const Operand *Target);
205 void clz(const Operand *OpRd, const Operand *OpSrc, CondARM32::Cond Cond);
207 void cmn(const Operand *OpRn, const Operand *OpSrc1, CondARM32::Cond Cond);
209 void cmp(const Operand *OpRn, const Operand *OpSrc1, CondARM32::Cond Cond);
213 void eor(const Operand *OpRd, const Operand *OpRn, const Operand *OpSrc1,
[all …]
DIceAssemblerMIPS32.cpp143 bool encodeOperand(const Operand *Opnd, IValueT &Value, in encodeOperand()
163 IValueT encodeRegister(const Operand *OpReg, RegSetWanted WantedRegSet, in encodeRegister()
172 IValueT encodeGPRegister(const Operand *OpReg, const char *RegName, in encodeGPRegister()
177 IValueT encodeFPRegister(const Operand *OpReg, const char *RegName, in encodeFPRegister()
207 void AssemblerMIPS32::emitRsRt(IValueT Opcode, const Operand *OpRs, in emitRsRt()
208 const Operand *OpRt, const char *InsnName) { in emitRsRt()
218 void AssemblerMIPS32::emitRtRsImm16(IValueT Opcode, const Operand *OpRt, in emitRtRsImm16()
219 const Operand *OpRs, const uint32_t Imm, in emitRtRsImm16()
231 void AssemblerMIPS32::emitRtRsImm16Rel(IValueT Opcode, const Operand *OpRt, in emitRtRsImm16Rel()
232 const Operand *OpRs, in emitRtRsImm16Rel()
[all …]
DIceTargetLoweringX86Base.h217 typename std::enable_if<!T::Is64Bit, Operand>::type *
218 loOperand(Operand *Operand);
220 typename std::enable_if<T::Is64Bit, Operand>::type *loOperand(Operand *) { in loOperand() argument
226 typename std::enable_if<!T::Is64Bit, Operand>::type *
227 hiOperand(Operand *Operand);
229 typename std::enable_if<T::Is64Bit, Operand>::type *hiOperand(Operand *) { in hiOperand() argument
242 Operand *legalizeUndef(Operand *From, RegNumT RegNum = RegNumT());
312 Operand *Addr);
318 void doMockBoundsCheck(Operand *Opnd) override;
323 void lowerAtomicCmpxchg(Variable *DestPrev, Operand *Ptr, Operand *Expected,
[all …]
DIceAssemblerARM32.cpp352 EncodedOperand encodeOperand(const Operand *Opnd, IValueT &Value, in encodeOperand()
388 Operand *Amt = FlexReg->getShiftAmt(); in encodeOperand()
480 EncodedOperand encodeAddress(const Operand *Opnd, IValueT &Value, in encodeAddress()
540 IValueT encodeRegister(const Operand *OpReg, RegSetWanted WantedRegSet, in encodeRegister()
549 IValueT encodeGPRegister(const Operand *OpReg, const char *RegName, in encodeGPRegister()
554 IValueT encodeSRegister(const Operand *OpReg, const char *RegName, in encodeSRegister()
559 IValueT encodeDRegister(const Operand *OpReg, const char *RegName, in encodeDRegister()
564 IValueT encodeQRegister(const Operand *OpReg, const char *RegName, in encodeQRegister()
796 const Operand *OpRd, const Operand *OpRn, in emitType01()
797 const Operand *OpSrc1, bool SetFlags, in emitType01()
[all …]
/external/v8/src/ia32/
Dassembler-ia32.h302 friend class Operand; variable
323 class Operand BASE_EMBEDDED {
326 INLINE(explicit Operand(Register reg));
329 INLINE(explicit Operand(XMMRegister xmm_reg));
332 INLINE(explicit Operand(int32_t disp, RelocInfo::Mode rmode));
335 INLINE(explicit Operand(Immediate imm));
338 explicit Operand(Register base, int32_t disp,
342 explicit Operand(Register base,
349 explicit Operand(Register index,
354 static Operand JumpTable(Register index, ScaleFactor scale, Label* table) { in JumpTable()
[all …]
Dcodegen-ia32.cc49 __ movsd(xmm0, Operand(esp, 1 * kPointerSize)); in CreateSqrtFunction()
51 __ movsd(Operand(esp, 1 * kPointerSize), xmm0); in CreateSqrtFunction()
53 __ fld_d(Operand(esp, 1 * kPointerSize)); in CreateSqrtFunction()
93 __ movdq(alignment == MOVE_ALIGNED, xmm0, Operand(src, 0x00)); in MemMoveEmitMainLoop()
94 __ movdq(alignment == MOVE_ALIGNED, xmm1, Operand(src, 0x10)); in MemMoveEmitMainLoop()
95 __ movdq(alignment == MOVE_ALIGNED, xmm2, Operand(src, 0x20)); in MemMoveEmitMainLoop()
96 __ movdq(alignment == MOVE_ALIGNED, xmm3, Operand(src, 0x30)); in MemMoveEmitMainLoop()
99 __ movdqa(Operand(dst, 0x00), xmm0); in MemMoveEmitMainLoop()
100 __ movdqa(Operand(dst, 0x10), xmm1); in MemMoveEmitMainLoop()
101 __ movdqa(Operand(dst, 0x20), xmm2); in MemMoveEmitMainLoop()
[all …]
Dassembler-ia32.cc222 Operand::Operand(Register base, int32_t disp, RelocInfo::Mode rmode) { in Operand() function in v8::internal::Operand
242 Operand::Operand(Register base, in Operand() function in v8::internal::Operand
267 Operand::Operand(Register index, in Operand() function in v8::internal::Operand
279 bool Operand::is_reg(Register reg) const { in is_reg()
285 bool Operand::is_reg_only() const { in is_reg_only()
290 Register Operand::reg() const { in reg()
477 void Assembler::push(const Operand& src) { in push()
491 void Assembler::pop(const Operand& dst) { in pop()
512 void Assembler::mov_b(Register dst, const Operand& src) { in mov_b()
520 void Assembler::mov_b(const Operand& dst, const Immediate& src) { in mov_b()
[all …]
Ddeoptimizer-ia32.cc204 __ movsd(Operand(esp, offset), xmm_reg); in Generate()
210 __ mov(Operand::StaticVariable(c_entry_fp_address), ebp); in Generate()
216 __ mov(ebx, Operand(esp, kSavedRegistersAreaSize)); in Generate()
220 __ mov(ecx, Operand(esp, kSavedRegistersAreaSize + 1 * kPointerSize)); in Generate()
221 __ lea(edx, Operand(esp, kSavedRegistersAreaSize + 2 * kPointerSize)); in Generate()
230 __ mov(edi, Operand(ebp, CommonFrameConstants::kContextOrFrameTypeOffset)); in Generate()
232 __ mov(eax, Operand(ebp, JavaScriptFrameConstants::kFunctionOffset)); in Generate()
234 __ mov(Operand(esp, 0 * kPointerSize), eax); // Function. in Generate()
235 __ mov(Operand(esp, 1 * kPointerSize), Immediate(type())); // Bailout type. in Generate()
236 __ mov(Operand(esp, 2 * kPointerSize), ebx); // Bailout id. in Generate()
[all …]
/external/v8/src/x87/
Dassembler-x87.h303 friend class Operand; variable
324 class Operand BASE_EMBEDDED {
327 INLINE(explicit Operand(Register reg));
330 INLINE(explicit Operand(int32_t disp, RelocInfo::Mode rmode));
333 INLINE(explicit Operand(Immediate imm));
336 explicit Operand(Register base, int32_t disp,
340 explicit Operand(Register base,
347 explicit Operand(Register index,
352 static Operand JumpTable(Register index, ScaleFactor scale, Label* table) { in JumpTable()
353 return Operand(index, scale, reinterpret_cast<int32_t>(table), in JumpTable()
[all …]
Dassembler-x87.cc137 Operand::Operand(Register base, int32_t disp, RelocInfo::Mode rmode) { in Operand() function in v8::internal::Operand
157 Operand::Operand(Register base, in Operand() function in v8::internal::Operand
182 Operand::Operand(Register index, in Operand() function in v8::internal::Operand
194 bool Operand::is_reg(Register reg) const { in is_reg()
200 bool Operand::is_reg_only() const { in is_reg_only()
205 Register Operand::reg() const { in reg()
339 void Assembler::push(const Operand& src) { in push()
353 void Assembler::pop(const Operand& dst) { in pop()
374 void Assembler::mov_b(Register dst, const Operand& src) { in mov_b()
382 void Assembler::mov_b(const Operand& dst, const Immediate& src) { in mov_b()
[all …]
/external/v8/src/regexp/mips/
Dregexp-macro-assembler-mips.cc116 __ li(v0, Operand(FAILURE)); in RegExpMacroAssemblerMIPS()
144 current_input_offset(), Operand(by * char_size())); in AdvanceCurrentPosition()
154 __ Addu(a0, a0, Operand(by)); in AdvanceRegister()
175 BranchOrBacktrack(on_equal, eq, current_character(), Operand(c)); in CheckCharacter()
180 BranchOrBacktrack(on_greater, gt, current_character(), Operand(limit)); in CheckCharacterGT()
186 __ Addu(a0, current_input_offset(), Operand(-char_size())); in CheckAtStart()
187 BranchOrBacktrack(on_at_start, eq, a0, Operand(a1)); in CheckAtStart()
195 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart()
196 BranchOrBacktrack(on_not_at_start, ne, a0, Operand(a1)); in CheckNotAtStart()
201 BranchOrBacktrack(on_less, lt, current_character(), Operand(limit)); in CheckCharacterLT()
[all …]
/external/v8/src/regexp/mips64/
Dregexp-macro-assembler-mips64.cc152 __ li(v0, Operand(FAILURE)); in RegExpMacroAssemblerMIPS()
180 current_input_offset(), Operand(by * char_size())); in AdvanceCurrentPosition()
190 __ Daddu(a0, a0, Operand(by)); in AdvanceRegister()
211 BranchOrBacktrack(on_equal, eq, current_character(), Operand(c)); in CheckCharacter()
216 BranchOrBacktrack(on_greater, gt, current_character(), Operand(limit)); in CheckCharacterGT()
222 __ Daddu(a0, current_input_offset(), Operand(-char_size())); in CheckAtStart()
223 BranchOrBacktrack(on_at_start, eq, a0, Operand(a1)); in CheckAtStart()
231 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart()
232 BranchOrBacktrack(on_not_at_start, ne, a0, Operand(a1)); in CheckNotAtStart()
237 BranchOrBacktrack(on_less, lt, current_character(), Operand(limit)); in CheckCharacterLT()
[all …]
/external/v8/src/regexp/arm/
Dregexp-macro-assembler-arm.cc137 current_input_offset(), Operand(by * char_size())); in AdvanceCurrentPosition()
147 __ add(r0, r0, Operand(by)); in AdvanceRegister()
157 __ add(pc, r0, Operand(code_pointer())); in Backtrack()
167 __ cmp(current_character(), Operand(c)); in CheckCharacter()
173 __ cmp(current_character(), Operand(limit)); in CheckCharacterGT()
180 __ add(r0, current_input_offset(), Operand(-char_size())); in CheckAtStart()
190 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart()
197 __ cmp(current_character(), Operand(limit)); in CheckCharacterLT()
206 backtrack_stackpointer(), Operand(kPointerSize), LeaveCC, eq); in CheckGreedyLoop()
230 __ cmn(r1, Operand(current_input_offset())); in CheckNotBackReferenceIgnoreCase()
[all …]
/external/vixl/test/
Dtest-operands.cc44 aarch32::Operand op = aarch32::Operand::From(42); in TEST_AARCH32()
50 aarch32::Operand op = aarch32::Operand::From(-42); in TEST_AARCH32()
58 aarch32::Operand op = aarch32::Operand::From(-1); in TEST_AARCH32()
64 aarch32::Operand op = aarch32::Operand::From(UINT32_MAX); in TEST_AARCH32()
70 aarch32::Operand op = aarch32::Operand::From(INT32_MAX); in TEST_AARCH32()
76 aarch32::Operand op = aarch32::Operand::From(INT32_MIN); in TEST_AARCH32()
84 aarch32::Operand op = aarch32::Operand::From(INT64_C(-1)); in TEST_AARCH32()
90 aarch32::Operand op = aarch32::Operand::From(INT64_C(-42)); in TEST_AARCH32()
100 aarch32::Operand op = aarch32::Operand::From(&data); in TEST_AARCH32()
108 aarch32::Operand op = aarch32::Operand::From(data); in TEST_AARCH32()
/external/v8/src/x64/
Dassembler-x64.h369 class Operand BASE_EMBEDDED {
372 Operand(Register base, int32_t disp);
375 Operand(Register base,
381 Operand(Register index,
388 Operand(const Operand& base, int32_t offset);
391 explicit Operand(Label* label);
671 void pushq(const Operand& src);
674 void popq(const Operand& dst);
680 void movb(Register dst, const Operand& src);
682 void movb(const Operand& dst, Register src);
[all …]
/external/v8/src/regexp/ppc/
Dregexp-macro-assembler-ppc.cc122 __ li(r3, Operand(FAILURE)); in RegExpMacroAssemblerPPC()
150 Operand(by * char_size())); in AdvanceCurrentPosition()
160 __ mov(r0, Operand(by)); in AdvanceRegister()
180 __ Cmpli(current_character(), Operand(c), r0); in CheckCharacter()
186 __ Cmpli(current_character(), Operand(limit), r0); in CheckCharacterGT()
193 __ addi(r3, current_input_offset(), Operand(-char_size())); in CheckAtStart()
203 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart()
210 __ Cmpli(current_character(), Operand(limit), r0); in CheckCharacterLT()
221 Operand(kPointerSize)); in CheckGreedyLoop()
271 __ addi(r3, r3, Operand(char_size())); in CheckNotBackReferenceIgnoreCase()
[all …]
/external/v8/src/regexp/s390/
Dregexp-macro-assembler-s390.cc121 __ LoadImmP(r2, Operand(FAILURE)); in RegExpMacroAssemblerS390()
145 __ AddP(current_input_offset(), Operand(by * char_size())); in AdvanceCurrentPosition()
154 __ AddMI(register_location(reg), Operand(by)); in AdvanceRegister()
157 __ mov(r0, Operand(by)); in AdvanceRegister()
175 __ CmpLogicalP(current_character(), Operand(c)); in CheckCharacter()
180 __ CmpLogicalP(current_character(), Operand(limit)); in CheckCharacterGT()
186 __ AddP(r2, current_input_offset(), Operand(-char_size())); in CheckAtStart()
195 Operand(-char_size() + cp_offset * char_size())); in CheckNotAtStart()
201 __ CmpLogicalP(current_character(), Operand(limit)); in CheckCharacterLT()
209 __ AddP(backtrack_stackpointer(), Operand(kPointerSize)); in CheckGreedyLoop()
[all …]
/external/v8/src/mips64/
Dcode-stubs-mips64.cc61 __ Dsubu(sp, sp, Operand(param_count * kPointerSize)); in GenerateLightweightMiss()
116 __ Branch(&error, ne, scratch, Operand(zero_reg)); in Generate()
141 __ Branch(&done, eq, scratch, Operand(zero_reg)); in Generate()
146 Operand(HeapNumber::kExponentBias + HeapNumber::kMantissaBits + 31)); in Generate()
150 __ Branch(&normal_exponent, le, result_reg, Operand(zero_reg)); in Generate()
157 __ Addu(scratch, result_reg, Operand(kShiftBase + HeapNumber::kMantissaBits)); in Generate()
162 __ And(sign, input_high, Operand(HeapNumber::kSignMask)); in Generate()
167 __ Branch(&high_shift_needed, lt, scratch, Operand(32)); in Generate()
175 Operand(1 << HeapNumber::kMantissaBitsInTopWord)); in Generate()
187 __ Branch(&pos_shift, ge, scratch, Operand(zero_reg)); in Generate()
[all …]
/external/v8/src/mips/
Dcode-stubs-mips.cc32 __ Addu(a0, a0, Operand(3)); in Generate()
62 __ Subu(sp, sp, Operand(param_count * kPointerSize)); in GenerateLightweightMiss()
118 __ Branch(&error, ne, scratch, Operand(zero_reg)); in Generate()
143 __ Branch(&done, eq, scratch, Operand(zero_reg)); in Generate()
148 Operand(HeapNumber::kExponentBias + HeapNumber::kMantissaBits + 31)); in Generate()
152 __ Branch(&normal_exponent, le, result_reg, Operand(zero_reg)); in Generate()
159 __ Addu(scratch, result_reg, Operand(kShiftBase + HeapNumber::kMantissaBits)); in Generate()
164 __ And(sign, input_high, Operand(HeapNumber::kSignMask)); in Generate()
169 __ Branch(&high_shift_needed, lt, scratch, Operand(32)); in Generate()
177 Operand(1 << HeapNumber::kMantissaBitsInTopWord)); in Generate()
[all …]
/external/v8/src/arm/
Dcode-stubs-arm.cc28 __ lsl(r5, r0, Operand(kPointerSizeLog2)); in Generate()
32 __ add(r0, r0, Operand(3)); in Generate()
101 __ sub(scratch, result_reg, Operand(1)); in Generate()
102 __ cmp(scratch, Operand(0x7ffffffe)); in Generate()
120 __ sub(scratch, scratch, Operand(HeapNumber::kExponentBias + 1)); in Generate()
125 __ cmp(scratch, Operand(83)); in Generate()
133 __ rsb(scratch, scratch, Operand(51), SetCC); in Generate()
137 __ mov(scratch_low, Operand(scratch_low, LSR, scratch)); in Generate()
141 __ rsb(scratch, scratch, Operand(32)); in Generate()
146 Operand(1 << HeapNumber::kMantissaBitsInTopWord)); in Generate()
[all …]
Dmacro-assembler-arm.cc42 mov(pc, Operand(target, rmode), LeaveCC, cond); in Jump()
80 Operand mov_operand = Operand(reinterpret_cast<intptr_t>(target), rmode); in CallSize()
123 mov(ip, Operand(reinterpret_cast<int32_t>(target), rmode)); in Call()
201 add(sp, sp, Operand(count * kPointerSize), LeaveCC, cond); in Drop()
206 add(sp, sp, Operand(count, LSL, kPointerSizeLog2), LeaveCC, cond); in Drop()
220 eor(reg1, reg1, Operand(reg2), LeaveCC, cond); in Swap()
221 eor(reg2, reg2, Operand(reg1), LeaveCC, cond); in Swap()
222 eor(reg1, reg1, Operand(reg2), LeaveCC, cond); in Swap()
237 mov(ip, Operand(handle)); in Push()
243 mov(dst, Operand(value)); in Move()
[all …]
/external/v8/src/regexp/x64/
Dregexp-macro-assembler-x64.cc176 __ leap(rax, Operand(rdi, -char_size())); in CheckAtStart()
177 __ cmpp(rax, Operand(rbp, kStringStartMinusOne)); in CheckAtStart()
184 __ leap(rax, Operand(rdi, -char_size() + cp_offset * char_size())); in CheckNotAtStart()
185 __ cmpp(rax, Operand(rbp, kStringStartMinusOne)); in CheckNotAtStart()
198 __ cmpl(rdi, Operand(backtrack_stackpointer(), 0)); in CheckGreedyLoop()
227 __ movl(rax, Operand(rbp, kStringStartMinusOne)); in CheckNotBackReferenceIgnoreCase()
243 __ leap(r9, Operand(rsi, rdx, times_1, 0)); in CheckNotBackReferenceIgnoreCase()
244 __ leap(r11, Operand(rsi, rdi, times_1, 0)); in CheckNotBackReferenceIgnoreCase()
256 __ movzxbl(rdx, Operand(r9, 0)); in CheckNotBackReferenceIgnoreCase()
257 __ movzxbl(rax, Operand(r11, 0)); in CheckNotBackReferenceIgnoreCase()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonOperands.td50 def s32Imm : Operand<i32> { let ParserMatchClass = s32ImmOperand;
52 def s23_2Imm : Operand<i32> { let ParserMatchClass = s23_2ImmOperand; }
53 def s8Imm : Operand<i32> { let ParserMatchClass = s8ImmOperand;
55 def s8Imm64 : Operand<i64> { let ParserMatchClass = s8Imm64Operand;
57 def s6Imm : Operand<i32> { let ParserMatchClass = s6ImmOperand;
59 def s6_3Imm : Operand<i32>;
60 def s4Imm : Operand<i32> { let ParserMatchClass = s4ImmOperand;
62 def s4_0Imm : Operand<i32> { let ParserMatchClass = s4_0ImmOperand;
64 def s4_1Imm : Operand<i32> { let ParserMatchClass = s4_1ImmOperand;
66 def s4_2Imm : Operand<i32> { let ParserMatchClass = s4_2ImmOperand;
[all …]
/external/v8/src/regexp/x87/
Dregexp-macro-assembler-x87.cc160 __ lea(eax, Operand(edi, -char_size())); in CheckAtStart()
161 __ cmp(eax, Operand(ebp, kStringStartMinusOne)); in CheckAtStart()
168 __ lea(eax, Operand(edi, -char_size() + cp_offset * char_size())); in CheckNotAtStart()
169 __ cmp(eax, Operand(ebp, kStringStartMinusOne)); in CheckNotAtStart()
182 __ cmp(edi, Operand(backtrack_stackpointer(), 0)); in CheckGreedyLoop()
203 __ mov(eax, Operand(ebp, kStringStartMinusOne)); in CheckNotBackReferenceIgnoreCase()
231 __ movzx_b(eax, Operand(edi, 0)); in CheckNotBackReferenceIgnoreCase()
232 __ cmpb_al(Operand(edx, 0)); in CheckNotBackReferenceIgnoreCase()
237 __ lea(ecx, Operand(eax, -'a')); in CheckNotBackReferenceIgnoreCase()
249 __ movzx_b(ecx, Operand(edx, 0)); in CheckNotBackReferenceIgnoreCase()
[all …]

12345678910>>...24