/external/v8/src/arm/ |
D | disasm-arm.cc | 104 int FormatVFPRegister(Instruction* instr, const char* format); 105 void PrintMovwMovt(Instruction* instr); 106 int FormatVFPinstruction(Instruction* instr, const char* format); 107 void PrintCondition(Instruction* instr); 108 void PrintShiftRm(Instruction* instr); 109 void PrintShiftImm(Instruction* instr); 110 void PrintShiftSat(Instruction* instr); 111 void PrintPU(Instruction* instr); 115 int FormatRegister(Instruction* instr, const char* option); 116 int FormatOption(Instruction* instr, const char* option); [all …]
|
D | lithium-arm.cc | 478 void LChunk::AddInstruction(LInstruction* instr, HBasicBlock* block) { in AddInstruction() argument 481 if (instr->IsControl()) { in AddInstruction() 484 instructions_.Add(instr); in AddInstruction() 487 instructions_.Add(instr); in AddInstruction() 490 if (instr->HasPointerMap()) { in AddInstruction() 491 pointer_maps_.Add(instr->pointer_map()); in AddInstruction() 492 instr->pointer_map()->set_lithium_position(index); in AddInstruction() 671 HInstruction* instr = HInstruction::cast(value); in Use() local 672 VisitInstruction(instr); in Use() 680 LInstruction* LChunkBuilder::Define(LTemplateInstruction<1, I, T>* instr, in Define() argument [all …]
|
D | lithium-codegen-arm.cc | 225 LInstruction* instr = instructions_->at(current_instruction_); in GenerateBody() local 226 if (instr->IsLabel()) { in GenerateBody() 227 LLabel* label = LLabel::cast(instr); in GenerateBody() 232 Comment(";;; @%d: %s.", current_instruction_, instr->Mnemonic()); in GenerateBody() 233 instr->CompileToNative(this); in GenerateBody() 249 code->instr()->Mnemonic()); in GenerateDeferredCode() 564 LInstruction* instr) { in CallCode() argument 565 CallCodeGeneric(code, mode, instr, RECORD_SIMPLE_SAFEPOINT); in CallCode() 571 LInstruction* instr, in CallCodeGeneric() argument 573 ASSERT(instr != NULL); in CallCodeGeneric() [all …]
|
D | simulator-arm.cc | 59 void Stop(Instruction* instr); 104 void ArmDebugger::Stop(Instruction* instr) { in Stop() argument 106 uint32_t code = instr->SvcValue() & kStopCodeMask; in Stop() 124 instr->SetInstructionBits(kNopInstr); in Stop() 136 void ArmDebugger::Stop(Instruction* instr) { in Stop() argument 138 uint32_t code = instr->SvcValue() & kStopCodeMask; in Stop() 707 Instruction* instr) { in CheckICache() argument 708 intptr_t address = reinterpret_cast<intptr_t>(instr); in CheckICache() 718 CHECK(memcmp(reinterpret_cast<void*>(instr), in CheckICache() 1110 int Simulator::ReadW(int32_t addr, Instruction* instr) { in ReadW() argument [all …]
|
D | simulator-arm.h | 231 void Format(Instruction* instr, const char* format); 235 bool ConditionallyExecute(Instruction* instr); 257 int32_t GetShiftRm(Instruction* instr, bool* carry_out); 258 int32_t GetImm(Instruction* instr, bool* carry_out); 259 void ProcessPUW(Instruction* instr, 264 void HandleRList(Instruction* instr, bool load); 266 void SoftwareInterrupt(Instruction* instr); 269 inline bool isStopInstruction(Instruction* instr); 283 inline uint16_t ReadHU(int32_t addr, Instruction* instr); 284 inline int16_t ReadH(int32_t addr, Instruction* instr); [all …]
|
D | lithium-codegen-arm.h | 110 void DoDeferredBinaryOpStub(LTemplateInstruction<1, 2, T>* instr, 112 void DoDeferredNumberTagD(LNumberTagD* instr); 113 void DoDeferredNumberTagI(LNumberTagI* instr); 114 void DoDeferredTaggedToI(LTaggedToI* instr); 115 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); 116 void DoDeferredStackCheck(LStackCheck* instr); 117 void DoDeferredRandom(LRandom* instr); 118 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); 119 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); 120 void DoDeferredAllocateObject(LAllocateObject* instr); [all …]
|
D | assembler-arm.cc | 145 Instr* instr = reinterpret_cast<Instr*>(instructions); in PatchCode() local 147 *(pc + i) = *(instr + i); in PatchCode() 377 Condition Assembler::GetCondition(Instr instr) { in GetCondition() argument 378 return Instruction::ConditionField(instr); in GetCondition() 382 bool Assembler::IsBranch(Instr instr) { in IsBranch() argument 383 return (instr & (B27 | B25)) == (B27 | B25); in IsBranch() 387 int Assembler::GetBranchOffset(Instr instr) { in GetBranchOffset() argument 388 ASSERT(IsBranch(instr)); in GetBranchOffset() 391 return ((instr & kImm24Mask) << 8) >> 6; in GetBranchOffset() 395 bool Assembler::IsLdrRegisterImmediate(Instr instr) { in IsLdrRegisterImmediate() argument [all …]
|
/external/v8/src/mips/ |
D | disasm-mips.cc | 98 void PrintRs(Instruction* instr); 99 void PrintRt(Instruction* instr); 100 void PrintRd(Instruction* instr); 101 void PrintFs(Instruction* instr); 102 void PrintFt(Instruction* instr); 103 void PrintFd(Instruction* instr); 104 void PrintSa(Instruction* instr); 105 void PrintSd(Instruction* instr); 106 void PrintSs1(Instruction* instr); 107 void PrintSs2(Instruction* instr); [all …]
|
D | lithium-mips.cc | 478 void LChunk::AddInstruction(LInstruction* instr, HBasicBlock* block) { in AddInstruction() argument 481 if (instr->IsControl()) { in AddInstruction() 484 instructions_.Add(instr); in AddInstruction() 487 instructions_.Add(instr); in AddInstruction() 490 if (instr->HasPointerMap()) { in AddInstruction() 491 pointer_maps_.Add(instr->pointer_map()); in AddInstruction() 492 instr->pointer_map()->set_lithium_position(index); in AddInstruction() 671 HInstruction* instr = HInstruction::cast(value); in Use() local 672 VisitInstruction(instr); in Use() 680 LInstruction* LChunkBuilder::Define(LTemplateInstruction<1, I, T>* instr, in Define() argument [all …]
|
D | lithium-codegen-mips.cc | 224 LInstruction* instr = instructions_->at(current_instruction_); in GenerateBody() local 225 if (instr->IsLabel()) { in GenerateBody() 226 LLabel* label = LLabel::cast(instr); in GenerateBody() 231 Comment(";;; @%d: %s.", current_instruction_, instr->Mnemonic()); in GenerateBody() 232 instr->CompileToNative(this); in GenerateBody() 247 code->instr()->Mnemonic()); in GenerateDeferredCode() 532 LInstruction* instr) { in CallCode() argument 533 CallCodeGeneric(code, mode, instr, RECORD_SIMPLE_SAFEPOINT); in CallCode() 539 LInstruction* instr, in CallCodeGeneric() argument 541 ASSERT(instr != NULL); in CallCodeGeneric() [all …]
|
D | assembler-mips.cc | 191 Instr* instr = reinterpret_cast<Instr*>(instructions); in PatchCode() local 193 *(pc + i) = *(instr + i); in PatchCode() 363 Register Assembler::GetRtReg(Instr instr) { in GetRtReg() argument 365 rt.code_ = (instr & kRtFieldMask) >> kRtShift; in GetRtReg() 370 Register Assembler::GetRsReg(Instr instr) { in GetRsReg() argument 372 rs.code_ = (instr & kRsFieldMask) >> kRsShift; in GetRsReg() 377 Register Assembler::GetRdReg(Instr instr) { in GetRdReg() argument 379 rd.code_ = (instr & kRdFieldMask) >> kRdShift; in GetRdReg() 384 uint32_t Assembler::GetRt(Instr instr) { in GetRt() argument 385 return (instr & kRtFieldMask) >> kRtShift; in GetRt() [all …]
|
D | lithium-codegen-mips.h | 108 void DoDeferredNumberTagD(LNumberTagD* instr); 109 void DoDeferredNumberTagI(LNumberTagI* instr); 110 void DoDeferredTaggedToI(LTaggedToI* instr); 111 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); 112 void DoDeferredStackCheck(LStackCheck* instr); 113 void DoDeferredRandom(LRandom* instr); 114 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); 115 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); 116 void DoDeferredAllocateObject(LAllocateObject* instr); 117 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, [all …]
|
D | simulator-mips.h | 251 void Format(Instruction* instr, const char* format); 259 inline uint16_t ReadHU(int32_t addr, Instruction* instr); 260 inline int16_t ReadH(int32_t addr, Instruction* instr); 262 inline void WriteH(int32_t addr, uint16_t value, Instruction* instr); 263 inline void WriteH(int32_t addr, int16_t value, Instruction* instr); 265 inline int ReadW(int32_t addr, Instruction* instr); 266 inline void WriteW(int32_t addr, int value, Instruction* instr); 268 inline double ReadD(int32_t addr, Instruction* instr); 269 inline void WriteD(int32_t addr, double value, Instruction* instr); 280 void DecodeTypeRegister(Instruction* instr); [all …]
|
D | simulator-mips.cc | 78 void Stop(Instruction* instr); 125 void MipsDebugger::Stop(Instruction* instr) { in Stop() argument 127 uint32_t code = instr->Bits(25, 6); in Stop() 145 instr->SetInstructionBits(kNopInstr); in Stop() 159 void MipsDebugger::Stop(Instruction* instr) { in Stop() argument 161 uint32_t code = instr->Bits(25, 6); in Stop() 405 Instruction* instr = reinterpret_cast<Instruction*>(sim_->get_pc()); in Debug() local 406 if (!(instr->IsTrap()) || in Debug() 407 instr->InstructionBits() == rtCallRedirInstr) { in Debug() 854 Instruction* instr) { in CheckICache() argument [all …]
|
D | assembler-mips.h | 953 static void instr_at_put(byte* pc, Instr instr) { in instr_at_put() argument 954 *reinterpret_cast<Instr*>(pc) = instr; in instr_at_put() 957 void instr_at_put(int pos, Instr instr) { in instr_at_put() argument 958 *reinterpret_cast<Instr*>(buffer_ + pos) = instr; in instr_at_put() 962 static bool IsBranch(Instr instr); 963 static bool IsBeq(Instr instr); 964 static bool IsBne(Instr instr); 966 static bool IsJump(Instr instr); 967 static bool IsJ(Instr instr); 968 static bool IsLui(Instr instr); [all …]
|
/external/v8/src/ia32/ |
D | lithium-ia32.cc | 473 void LChunk::AddInstruction(LInstruction* instr, HBasicBlock* block) { in AddInstruction() argument 476 if (instr->IsControl()) { in AddInstruction() 479 instructions_.Add(instr); in AddInstruction() 482 instructions_.Add(instr); in AddInstruction() 485 if (instr->HasPointerMap()) { in AddInstruction() 486 pointer_maps_.Add(instr->pointer_map()); in AddInstruction() 487 instr->pointer_map()->set_lithium_position(index); in AddInstruction() 666 HInstruction* instr = HInstruction::cast(value); in Use() local 667 VisitInstruction(instr); in Use() 675 LInstruction* LChunkBuilder::Define(LTemplateInstruction<1, I, T>* instr, in Define() argument [all …]
|
D | lithium-codegen-ia32.cc | 243 LInstruction* instr = instructions_->at(current_instruction_); in GenerateBody() local 244 if (instr->IsLabel()) { in GenerateBody() 245 LLabel* label = LLabel::cast(instr); in GenerateBody() 250 Comment(";;; @%d: %s.", current_instruction_, instr->Mnemonic()); in GenerateBody() 251 instr->CompileToNative(this); in GenerateBody() 267 code->instr()->Mnemonic()); in GenerateDeferredCode() 453 LInstruction* instr, in CallCodeGeneric() argument 455 ASSERT(instr != NULL); in CallCodeGeneric() 456 LPointerMap* pointers = instr->pointer_map(); in CallCodeGeneric() 459 RecordSafepointWithLazyDeopt(instr, safepoint_mode); in CallCodeGeneric() [all …]
|
D | lithium-codegen-ia32.h | 102 void DoDeferredNumberTagD(LNumberTagD* instr); 103 void DoDeferredNumberTagI(LNumberTagI* instr); 104 void DoDeferredTaggedToI(LTaggedToI* instr); 105 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); 106 void DoDeferredStackCheck(LStackCheck* instr); 107 void DoDeferredRandom(LRandom* instr); 108 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); 109 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); 110 void DoDeferredAllocateObject(LAllocateObject* instr); 111 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, [all …]
|
/external/v8/src/x64/ |
D | lithium-x64.cc | 471 void LChunk::AddInstruction(LInstruction* instr, HBasicBlock* block) { in AddInstruction() argument 474 if (instr->IsControl()) { in AddInstruction() 477 instructions_.Add(instr); in AddInstruction() 480 instructions_.Add(instr); in AddInstruction() 483 if (instr->HasPointerMap()) { in AddInstruction() 484 pointer_maps_.Add(instr->pointer_map()); in AddInstruction() 485 instr->pointer_map()->set_lithium_position(index); in AddInstruction() 664 HInstruction* instr = HInstruction::cast(value); in Use() local 665 VisitInstruction(instr); in Use() 673 LInstruction* LChunkBuilder::Define(LTemplateInstruction<1, I, T>* instr, in Define() argument [all …]
|
D | lithium-codegen-x64.cc | 235 LInstruction* instr = instructions_->at(current_instruction_); in GenerateBody() local 236 if (instr->IsLabel()) { in GenerateBody() 237 LLabel* label = LLabel::cast(instr); in GenerateBody() 242 Comment(";;; @%d: %s.", current_instruction_, instr->Mnemonic()); in GenerateBody() 243 instr->CompileToNative(this); in GenerateBody() 268 code->instr()->Mnemonic()); in GenerateDeferredCode() 453 LInstruction* instr, in CallCodeGeneric() argument 457 ASSERT(instr != NULL); in CallCodeGeneric() 458 LPointerMap* pointers = instr->pointer_map(); in CallCodeGeneric() 461 RecordSafepointWithLazyDeopt(instr, safepoint_mode, argc); in CallCodeGeneric() [all …]
|
D | lithium-codegen-x64.h | 96 void DoDeferredNumberTagD(LNumberTagD* instr); 97 void DoDeferredTaggedToI(LTaggedToI* instr); 98 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); 99 void DoDeferredStackCheck(LStackCheck* instr); 100 void DoDeferredRandom(LRandom* instr); 101 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); 102 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); 103 void DoDeferredAllocateObject(LAllocateObject* instr); 104 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, 112 void DoGap(LGap* instr); [all …]
|
/external/llvm/utils/ |
D | codegen-diff | 13 my ($addr, $bytes, $instr) = ($1, $2, $4); 16 $instr =~ s/\s*(.*\S)\s*/$1/; 17 push (@result, {'addr' => $addr, 'bytes' => $bytes, 'instr' => $instr}); 18 print "addr=$addr bytes='$bytes' instr='$instr'\n" if $DEBUG; 33 my ($addr, $bytes, $instr) = ($1, $3, $2); 37 $instr =~ s/\s*(.*\S)\s*/$1/; 38 push (@result, {'addr' => $addr, 'bytes' => $bytes, 'instr' => $instr}); 39 print "addr=$addr bytes='$bytes' instr='$instr'\n" if $DEBUG; 43 my ($addr, $bytes, $instr) = ($got_addr, $2, $1); 47 $instr =~ s/\s*(.*\S)\s*/$1/; [all …]
|
/external/llvm/lib/Target/MBlaze/Disassembler/ |
D | MBlazeDisassembler.cpp | 496 MCDisassembler::DecodeStatus MBlazeDisassembler::getInstruction(MCInst &instr, in getInstruction() argument 523 instr.setOpcode(opcode); in getInstruction() 541 instr.addOperand(MCOperand::CreateReg(RD)); in getInstruction() 542 instr.addOperand(MCOperand::CreateReg(RB)); in getInstruction() 543 instr.addOperand(MCOperand::CreateReg(RA)); in getInstruction() 549 instr.addOperand(MCOperand::CreateReg(RD)); in getInstruction() 550 instr.addOperand(MCOperand::CreateReg(RA)); in getInstruction() 551 instr.addOperand(MCOperand::CreateReg(RB)); in getInstruction() 557 instr.addOperand(MCOperand::CreateReg(RD)); in getInstruction() 558 instr.addOperand(MCOperand::CreateReg(RA)); in getInstruction() [all …]
|
/external/compiler-rt/lib/msandr/ |
D | msandr.cc | 148 bool WantToInstrument(instr_t *instr) { in WantToInstrument() argument 150 switch (instr_get_opcode(instr)) { in WantToInstrument() 158 if (instr_is_label(instr)) in WantToInstrument() 161 CHECK(instr_ok_to_mangle(instr) == true); in WantToInstrument() 163 if (instr_writes_memory(instr)) { in WantToInstrument() 164 for (int d = 0; d < instr_num_dsts(instr); d++) { in WantToInstrument() 165 opnd_t op = instr_get_dst(instr, d); in WantToInstrument() 177 void InstrumentMops(void *drcontext, instrlist_t *bb, instr_t *instr, opnd_t op, in InstrumentMops() argument 180 uint flags = instr_get_arith_flags(instr); in InstrumentMops() 192 dr_save_reg(drcontext, bb, instr, DR_REG_XAX, SPILL_SLOT_1); in InstrumentMops() [all …]
|
/external/v8/src/ |
D | lithium-allocator-inl.h | 61 TempIterator::TempIterator(LInstruction* instr) in TempIterator() argument 62 : instr_(instr), in TempIterator() 63 limit_(instr->TempCount()), in TempIterator() 89 InputIterator::InputIterator(LInstruction* instr) in InputIterator() argument 90 : instr_(instr), in InputIterator() 91 limit_(instr->InputCount()), in InputIterator() 119 UseIterator::UseIterator(LInstruction* instr) in UseIterator() argument 120 : input_iterator_(instr), env_iterator_(instr->environment()) { } in UseIterator()
|