Searched defs:instr (Results 151 - 175 of 329) sorted by relevance

1234567891011>>

/external/v8/src/arm/
H A Dassembler-arm-inl.h505 Instr instr = Memory::int32_at(pc); local
506 return pc + GetLdrRegisterImmediateOffset(instr) + kPcLoadDelta;
/external/v8/src/compiler/
H A Dcode-generator-impl.h25 InstructionOperandConverter(CodeGenerator* gen, Instruction* instr) argument
26 : gen_(gen), instr_(instr) {}
H A Dcode-generator.h40 InstructionOperandIterator(Instruction* instr, size_t pos) argument
41 : instr_(instr), pos_(pos) {}
69 void AssembleSourcePosition(Instruction* instr);
106 CodeGenResult AssembleInstruction(Instruction* instr,
108 void AssembleGaps(Instruction* instr);
113 bool GetSlotAboveSPBeforeTailCall(Instruction* instr, int* slot);
119 CodeGenResult AssembleArchInstruction(Instruction* instr);
121 void AssembleArchBranch(Instruction* instr, BranchInfo* branch);
122 void AssembleArchBoolean(Instruction* instr, FlagsCondition condition);
123 void AssembleArchTrap(Instruction* instr, FlagsConditio
[all...]
H A Dmove-optimizer.cc115 int FindFirstNonEmptySlot(const Instruction* instr) { argument
118 ParallelMove* moves = instr->parallel_moves()[i];
362 Instruction* instr = code()->instructions()[index]; local
363 // Migrate to the gap of prev_instr eligible moves from instr.
364 MigrateMoves(instr, prev_instr);
365 // Remove gap assignments clobbered by instr's output.
366 RemoveClobberedDestinations(instr);
367 prev_instr = instr;
406 const Instruction* instr = LastInstruction(pred); local
407 if (instr
524 FinalizeMoves(Instruction* instr) argument
[all...]
H A Dregister-allocator-verifier.cc17 size_t OperandCount(const Instruction* instr) { argument
18 return instr->InputCount() + instr->OutputCount() + instr->TempCount();
22 void VerifyEmptyGaps(const Instruction* instr) { argument
27 CHECK(instr->GetParallelMove(inner_pos) == nullptr);
32 void VerifyAllocatedGaps(const Instruction* instr) { argument
37 const ParallelMove* moves = instr->GetParallelMove(inner_pos);
62 for (const Instruction* instr : sequence->instructions()) {
64 VerifyEmptyGaps(instr);
121 const Instruction* instr = instr_constraint.instruction_; local
518 const Instruction* instr = instr_constraint.instruction_; local
[all...]
/external/v8/src/crankshaft/arm64/
H A Dlithium-codegen-arm64.h111 void DoDeferredNumberTagD(LNumberTagD* instr);
112 void DoDeferredStackCheck(LStackCheck* instr);
113 void DoDeferredMaybeGrowElements(LMaybeGrowElements* instr);
114 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr);
115 void DoDeferredStringCharFromCode(LStringCharFromCode* instr);
116 void DoDeferredMathAbsTagged(LMathAbsTagged* instr,
120 void DoDeferredNumberTagU(LInstruction* instr,
124 void DoDeferredTaggedToI(LTaggedToI* instr,
128 void DoDeferredAllocate(LAllocate* instr);
129 void DoDeferredInstanceMigration(LCheckMaps* instr, Registe
302 CallRuntime(Runtime::FunctionId id, int num_arguments, LInstruction* instr) argument
309 CallRuntime(Runtime::FunctionId id, LInstruction* instr) argument
[all...]
/external/v8/src/crankshaft/
H A Dhydrogen-load-elimination.cc48 HLoadEliminationTable* Process(HInstruction* instr, Zone* zone) { argument
49 switch (instr->opcode()) {
51 HLoadNamedField* l = HLoadNamedField::cast(instr);
53 instr->id(),
57 if (result != instr && l->CanBeReplacedWith(result)) {
59 TRACE((" replace L%d -> v%d\n", instr->id(), result->id()));
60 instr->DeleteAndReplaceWith(result);
65 HStoreNamedField* s = HStoreNamedField::cast(instr);
67 instr->id(),
74 TRACE((" remove S%d\n", instr
203 load(HLoadNamedField* instr) argument
231 store(HStoreNamedField* instr) argument
288 KillIfMisaligned(HStoreNamedField* instr) argument
446 Process(HInstruction* instr, Zone* zone) argument
[all...]
/external/v8/src/mips64/
H A Dassembler-mips64-inl.h162 Instr instr = Assembler::instr_at(pc + 0 * Assembler::kInstrSize); local
167 instr &= ~kImm26Mask;
171 instr_at_put(pc, instr | (imm26 & kImm26Mask));
231 Instr instr = Assembler::instr_at(pc_ + 0 * Assembler::kInstrSize); local
232 instr &= kImm26Mask;
233 uint64_t imm28 = instr << 2;
/external/v8/src/ppc/
H A Ddisasm-ppc.cc70 int FormatFPRegister(Instruction* instr, const char* format);
74 int FormatRegister(Instruction* instr, const char* option);
75 int FormatOption(Instruction* instr, const char* option);
76 void Format(Instruction* instr, const char* format);
77 void Unknown(Instruction* instr);
78 void UnknownFormat(Instruction* instr, const char* opcname);
80 void DecodeExt1(Instruction* instr);
81 void DecodeExt2(Instruction* instr);
82 void DecodeExt3(Instruction* instr);
83 void DecodeExt4(Instruction* instr);
151 FormatRegister(Instruction* instr, const char* format) argument
175 FormatFPRegister(Instruction* instr, const char* format) argument
203 FormatOption(Instruction* instr, const char* format) argument
335 Format(Instruction* instr, const char* format) argument
360 Unknown(Instruction* instr) argument
366 UnknownFormat(Instruction* instr, const char* name) argument
373 DecodeExt1(Instruction* instr) argument
542 DecodeExt2(Instruction* instr) argument
914 DecodeExt3(Instruction* instr) argument
931 DecodeExt4(Instruction* instr) argument
1067 DecodeExt5(Instruction* instr) argument
1095 DecodeExt6(Instruction* instr) argument
1121 Instruction* instr = Instruction::At(instr_ptr); local
[all...]
/external/v8/src/s390/
H A Dassembler-s390-inl.h60 SixByteInstr instr = local
62 int32_t dis = static_cast<int32_t>(instr & 0xFFFFFFFF) * 2 // halfwords
64 instr >>= 32; // Clear the 4-byte displacement field.
65 instr <<= 32;
66 instr |= static_cast<uint32_t>(dis / 2);
68 instr); local
149 SixByteInstr instr = local
151 int index = instr & 0xFFFFFFFF;
H A Dcode-stubs-s390.h105 static bool isBranchNop(SixByteInstr instr, int instrLength) { argument
106 if ((4 == instrLength && 0 == (instr & kFourByteBrCondMask)) ||
108 (6 == instrLength && 0 == (instr & kSixByteBrCondMask))) {
H A Ddisasm-s390.cc71 int FormatRegister(Instruction* instr, const char* option);
72 int FormatFloatingRegister(Instruction* instr, const char* option);
73 int FormatMask(Instruction* instr, const char* option);
74 int FormatDisplacement(Instruction* instr, const char* option);
75 int FormatImmediate(Instruction* instr, const char* option);
76 int FormatOption(Instruction* instr, const char* option);
77 void Format(Instruction* instr, const char* format);
78 void Unknown(Instruction* instr);
79 void UnknownFormat(Instruction* instr, const char* opcname);
81 bool DecodeTwoByte(Instruction* instr);
142 FormatRegister(Instruction* instr, const char* format) argument
194 FormatFloatingRegister(Instruction* instr, const char* format) argument
233 FormatOption(Instruction* instr, const char* format) argument
310 FormatMask(Instruction* instr, const char* format) argument
331 FormatDisplacement(Instruction* instr, const char* format) argument
362 FormatImmediate(Instruction* instr, const char* format) argument
465 Format(Instruction* instr, const char* format) argument
488 Unknown(Instruction* instr) argument
493 UnknownFormat(Instruction* instr, const char* name) argument
501 DecodeTwoByte(Instruction* instr) argument
576 DecodeFourByte(Instruction* instr) argument
1080 DecodeSixByte(Instruction* instr) argument
1470 Instruction* instr = Instruction::At(instr_ptr); local
[all...]
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3string.c677 printable8(pANTLR3_STRING_FACTORY factory, pANTLR3_STRING instr) argument
688 string = factory->newSize(factory, instr->len *2 + 1);
695 for (i = 0; i < instr->len; i++)
697 if (*(instr->chars + i) == '\n')
702 else if (*(instr->chars + i) == '\r')
707 else if (!isprint(*(instr->chars +i)))
713 *scannedText++ = *(instr->chars + i);
724 printableUTF16(pANTLR3_STRING_FACTORY factory, pANTLR3_STRING instr) argument
737 string = factory->newSize(factory, instr->len *2 + 1);
743 inText = (pANTLR3_UINT16)(instr
[all...]
/external/capstone/arch/Mips/
H A DMipsDisassembler.c320 static DecodeStatus MipsDisassembler_getInstruction(int mode, MCInst *instr, argument
332 if (instr->flat_insn->detail) {
333 memset(instr->flat_insn->detail, 0, sizeof(cs_detail));
343 Result = decodeInstruction(DecoderTableMicroMips32, instr, Insn, Address, MRI, mode);
355 Result = decodeInstruction(DecoderTableCOP3_32, instr, Insn, Address, MRI, mode);
365 Result = decodeInstruction(DecoderTableMips32r6_64r6_GP6432, instr, Insn,
375 Result = decodeInstruction(DecoderTableMips32r6_64r632, instr, Insn,
384 Result = decodeInstruction(DecoderTableMips32, instr, Insn, Address, MRI, mode);
393 bool Mips_getInstruction(csh ud, const uint8_t *code, size_t code_len, MCInst *instr, argument
398 DecodeStatus status = MipsDisassembler_getInstruction(handle->mode, instr,
406 Mips64Disassembler_getInstruction(int mode, MCInst *instr, const uint8_t *code, size_t code_len, uint16_t *Size, uint64_t Address, bool isBigEndian, MCRegisterInfo *MRI) argument
447 Mips64_getInstruction(csh ud, const uint8_t *code, size_t code_len, MCInst *instr, uint16_t *size, uint64_t address, void *info) argument
[all...]
/external/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp71 enum ProfileKinds { instr, sample }; enumerator in enum:__anon14878::ProfileKinds
279 cl::desc("Profile kind:"), cl::init(instr),
280 cl::values(clEnumVal(instr, "Instrumentation profile (default)"),
290 cl::desc("Generate a sparse profile (only meaningful for -instr)"));
315 if (ProfileKind == instr)
472 cl::desc("Show instr profile data in text dump format"));
493 cl::desc("Profile kind:"), cl::init(instr),
494 cl::values(clEnumVal(instr, "Instrumentation profile (default)"),
512 if (ProfileKind == instr)
/external/mesa3d/src/compiler/glsl/
H A Dglsl_to_nir.cpp76 void add_instr(nir_instr *instr, unsigned num_components, unsigned bit_size);
556 nir_builder_instr_insert(&b, &discard->instr);
562 nir_intrinsic_instr *instr = local
564 nir_intrinsic_set_stream_id(instr, ir->stream_id());
565 nir_builder_instr_insert(&b, &instr->instr);
571 nir_intrinsic_instr *instr = local
573 nir_intrinsic_set_stream_id(instr, ir->stream_id());
574 nir_builder_instr_insert(&b, &instr->instr);
592 nir_jump_instr *instr = nir_jump_instr_create(this->shader, type); local
607 nir_jump_instr *instr = nir_jump_instr_create(this->shader, nir_jump_return); local
796 nir_intrinsic_instr *instr = nir_intrinsic_instr_create(shader, op); local
1152 nir_call_instr *instr = nir_call_instr_create(this->shader, callee); local
1238 get_instr_dest(nir_instr *instr) argument
1268 add_instr(nir_instr *instr, unsigned num_components, unsigned bit_size) argument
1940 nir_tex_instr *instr = nir_tex_instr_create(this->shader, num_srcs); local
2122 nir_intrinsic_instr *instr = local
[all...]
/external/mesa3d/src/compiler/nir/
H A Dnir_builder.h63 nir_builder_instr_insert(nir_builder *build, nir_instr *instr) argument
65 nir_instr_insert(build->cursor, instr);
68 build->cursor = nir_after_instr(instr);
75 return build->cursor.instr;
92 nir_instr_insert(nir_before_cf_list(&build->impl->body), &undef->instr);
108 nir_builder_instr_insert(build, &load_const->instr);
179 nir_alu_instr *instr = nir_alu_instr_create(build->shader, op); local
180 if (!instr)
183 instr->exact = build->exact;
185 instr
392 nir_ssa_for_alu_src(nir_builder *build, nir_alu_instr *instr, unsigned srcn) argument
[all...]
H A Dnir_clone.c334 __clone_dst(state, &nalu->instr, &nalu->dest.dest, &alu->dest.dest);
339 __clone_src(state, &nalu->instr, &nalu->src[i].src, &alu->src[i].src);
359 __clone_dst(state, &nitr->instr, &nitr->dest, &itr->dest);
366 &nitr->instr);
370 __clone_src(state, &nitr->instr, &nitr->src[i], &itr->src[i]);
409 __clone_dst(state, &ntex->instr, &ntex->dest, &tex->dest);
412 __clone_src(state, &ntex->instr, &ntex->src[i].src, &tex->src[i].src);
422 ntex->texture = clone_deref_var(state, tex->texture, &ntex->instr);
427 ntex->sampler = clone_deref_var(state, tex->sampler, &ntex->instr);
437 __clone_dst(state, &nphi->instr,
500 clone_instr(clone_state *state, const nir_instr *instr) argument
[all...]
H A Dnir_control_flow.c209 nir_foreach_instr_safe(instr, block) {
210 if (instr->type != nir_instr_type_phi)
213 exec_node_remove(&instr->node);
214 instr->block = new_block;
215 exec_list_push_head(&new_block->instr_list, &instr->node);
224 nir_foreach_instr_safe(instr, block) {
225 if (instr->type != nir_instr_type_phi)
228 nir_phi_instr *phi = nir_instr_as_phi(instr);
242 nir_foreach_instr(instr, block) {
243 if (instr
355 split_block_before_instr(nir_instr *instr) argument
454 nir_instr *instr = nir_block_last_instr(block); local
[all...]
H A Dnir_from_ssa.c43 nir_instr *instr; member in struct:from_ssa_state
232 nir_instr *instr = nir_block_first_instr(block->successors[0]); local
233 if (instr && instr->type == nir_instr_type_phi)
238 nir_instr *instr = nir_block_first_instr(block->successors[1]); local
239 if (instr && instr->type == nir_instr_type_phi)
251 nir_instr_insert(nir_after_block_before_jump(block), &pcopy->instr);
308 nir_foreach_instr(instr, block) {
310 if (instr
925 nir_instr *instr = dest->ssa.parent_instr; local
[all...]
H A Dnir_opt_copy_prop_vars.c233 nir_instr *instr = entry->store_instr[i]; local
236 if (!instr)
239 /* See if this instr is used anywhere that it's not dead */
242 if (entry->store_instr[j] == instr) {
252 nir_instr_remove(instr);
354 instr_remove_cursor(nir_instr *instr) argument
357 nir_instr *prev = nir_instr_prev(instr);
361 cursor = nir_before_block(instr->block);
363 nir_instr_remove(instr);
399 b->cursor = instr_remove_cursor(&intrin->instr);
[all...]
H A Dnir_print.c59 * (such as instr or var) to message to print.
177 print_alu_src(nir_alu_instr *instr, unsigned src, print_state *state) argument
181 if (instr->src[src].negate)
183 if (instr->src[src].abs)
186 print_src(&instr->src[src].src, state);
192 if (!nir_alu_instr_channel_used(instr, src, i))
197 if (instr->src[src].swizzle[i] != i) {
203 unsigned live_channels = instr->src[src].src.is_ssa
204 ? instr->src[src].src.ssa->num_components
205 : instr
239 print_alu_instr(nir_alu_instr *instr, print_state *state) argument
541 print_intrinsic_instr(nir_intrinsic_instr *instr, print_state *state) argument
645 print_tex_instr(nir_tex_instr *instr, print_state *state) argument
771 print_call_instr(nir_call_instr *instr, print_state *state) argument
793 print_load_const_instr(nir_load_const_instr *instr, print_state *state) argument
822 print_jump_instr(nir_jump_instr *instr, print_state *state) argument
842 print_ssa_undef_instr(nir_ssa_undef_instr* instr, print_state *state) argument
850 print_phi_instr(nir_phi_instr *instr, print_state *state) argument
865 print_parallel_copy_instr(nir_parallel_copy_instr *instr, print_state *state) argument
879 print_instr(const nir_instr *instr, print_state *state, unsigned tabs) argument
1208 nir_print_instr(const nir_instr *instr, FILE *fp) argument
[all...]
H A Dnir_validate.c70 nir_instr *instr; member in struct:__anon15994
111 if (state->instr)
112 obj = state->instr;
142 if (state->instr) {
184 if (state->instr) {
197 if (state->instr)
198 validate_assert(state, src->parent_instr == state->instr);
209 validate_alu_src(nir_alu_instr *instr, unsigned index, validate_state *state) argument
211 nir_alu_src *src = &instr->src[index];
228 if (nir_alu_instr_channel_used(instr, inde
319 validate_alu_dest(nir_alu_instr *instr, validate_state *state) argument
357 validate_alu_instr(nir_alu_instr *instr, validate_state *state) argument
427 validate_intrinsic_instr(nir_intrinsic_instr *instr, validate_state *state) argument
505 validate_tex_instr(nir_tex_instr *instr, validate_state *state) argument
527 validate_call_instr(nir_call_instr *instr, validate_state *state) argument
545 validate_load_const_instr(nir_load_const_instr *instr, validate_state *state) argument
551 validate_ssa_undef_instr(nir_ssa_undef_instr *instr, validate_state *state) argument
557 validate_phi_instr(nir_phi_instr *instr, validate_state *state) argument
572 validate_instr(nir_instr *instr, validate_state *state) argument
619 validate_phi_src(nir_phi_instr *instr, nir_block *pred, validate_state *state) argument
[all...]
/external/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_disasm.c36 struct instr { struct
521 struct instr *instr = (struct instr *)dwords; local
522 const unsigned opc = instr->opc | (instr->opcode_bit6 << 6);
533 .use = instr->dst_use,
534 .amode = instr->dst_amode,
535 .reg = instr->dst_reg,
536 .comps = instr
[all...]
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_compiler.c43 #include "instr-a2xx.h"
254 struct ir2_instruction *instr = ir2_instr_create( local
256 instr->fetch.opc = VTX_FETCH;
260 ir2_reg_create(instr, i+1, "xyzw", 0);
261 ir2_reg_create(instr, 0, "x", 0);
264 instr->sync = true;
266 vfetch_instrs[i] = instr;
478 * for unused vector instr slot:
500 * Helpers for TGSI instructions that don't map to a single shader instr:
739 struct ir2_instruction *instr; local
835 struct ir2_instruction *instr; local
880 struct ir2_instruction *instr; local
920 struct ir2_instruction *instr; local
983 struct ir2_instruction *instr; local
[all...]

Completed in 926 milliseconds

1234567891011>>