Lines Matching refs:Pc
229 // This is used to search for a data in code table entry for the PC being
230 // disassembled. The j parameter has the PC in j.first. A single data in code
233 // covers the PC being searched for this will return true. If not it will
2207 // at the Pc parameter. The immediate value the operand has is passed in
2214 static int SymbolizerGetOpInfo(void *DisInfo, uint64_t Pc, uint64_t Offset,
2238 // uint32_t seg_offset = (Pc + Offset);
2244 uint32_t sect_offset = (Pc + Offset) - sect_addr;
2321 uint64_t seg_offset = Pc + Offset;
2343 // The Value passed in will be adjusted by the Pc if the instruction
2344 // adds the Pc. But for x86_64 external relocation entries the Value
2347 op_info->Value -= Pc + Offset + Size;
2361 uint64_t sect_offset = (Pc + Offset) - sect_addr;
2383 // The Value passed in will be adjusted by the Pc if the instruction
2384 // adds the Pc. But for x86_64 external relocation entries the Value
2387 op_info->Value -= Pc + Offset + Size;
2426 // uint32_t seg_offset = (Pc + Offset);
2432 uint32_t sect_offset = (Pc + Offset) - sect_addr;
2565 // uint64_t seg_offset = (Pc + Offset);
2571 uint64_t sect_offset = (Pc + Offset) - sect_addr;
4086 struct protocol64_t pc;
4136 memset(&pc, '\0', sizeof(struct protocol64_t));
4138 memcpy(&pc, r, left);
4141 memcpy(&pc, r, sizeof(struct protocol64_t));
4143 swapStruct(pc);
4145 outs() << "\t\t\t isa " << format("0x%" PRIx64, pc.isa) << "\n";
4149 info, n_value, pc.name);
4155 if (pc.name != 0)
4156 outs() << " + " << format("0x%" PRIx64, pc.name);
4158 outs() << format("0x%" PRIx64, pc.name);
4159 name = get_pointer_64(pc.name + n_value, xoffset, left, xS, info);
4164 outs() << "\t\t\tprotocols " << format("0x%" PRIx64, pc.protocols) << "\n";
4169 S, info, n_value, pc.instanceMethods);
4175 if (pc.instanceMethods != 0)
4176 outs() << " + " << format("0x%" PRIx64, pc.instanceMethods);
4178 outs() << format("0x%" PRIx64, pc.instanceMethods);
4180 if (pc.instanceMethods + n_value != 0)
4181 print_method_list64_t(pc.instanceMethods + n_value, info, "\t");
4186 info, n_value, pc.classMethods);
4192 if (pc.classMethods != 0)
4193 outs() << " + " << format("0x%" PRIx64, pc.classMethods);
4195 outs() << format("0x%" PRIx64, pc.classMethods);
4197 if (pc.classMethods + n_value != 0)
4198 print_method_list64_t(pc.classMethods + n_value, info, "\t");
4201 << format("0x%" PRIx64, pc.optionalInstanceMethods) << "\n";
4203 << format("0x%" PRIx64, pc.optionalClassMethods) << "\n";
4205 << format("0x%" PRIx64, pc.instanceProperties) << "\n";
4215 struct protocol32_t pc;
4253 memset(&pc, '\0', sizeof(struct protocol32_t));
4255 memcpy(&pc, r, left);
4258 memcpy(&pc, r, sizeof(struct protocol32_t));
4260 swapStruct(pc);
4261 outs() << "\t\t\t isa " << format("0x%" PRIx32, pc.isa) << "\n";
4262 outs() << "\t\t\t name " << format("0x%" PRIx32, pc.name);
4263 name = get_pointer_32(pc.name, xoffset, left, xS, info);
4267 outs() << "\t\t\tprotocols " << format("0x%" PRIx32, pc.protocols) << "\n";
4269 << format("0x%" PRIx32, pc.instanceMethods)
4271 if (pc.instanceMethods != 0)
4272 print_method_list32_t(pc.instanceMethods, info, "\t");
4273 outs() << "\t\t classMethods " << format("0x%" PRIx32, pc.classMethods)
4275 if (pc.classMethods != 0)
4276 print_method_list32_t(pc.classMethods, info, "\t");
4278 << format("0x%" PRIx32, pc.optionalInstanceMethods) << "\n";
4280 << format("0x%" PRIx32, pc.optionalClassMethods) << "\n";
4282 << format("0x%" PRIx32, pc.instanceProperties) << "\n";
6612 // When this is called with an value loaded via a PC relative load then
6729 // If this arm64 and is an load register (PC-relative) instruction the
6730 PC plus the immediate value.
7145 uint64_t PC = SectAddress + Index;
7149 outs() << format("%016" PRIx64, PC);
7151 outs() << format("%08" PRIx64, PC);
7153 outs() << format("%8" PRIx64 ":", PC);
7162 Dice.push_back(std::make_pair(PC, DiceRef()));
7173 (PC == (DTI->first + Length - 1)) && (Length & 1))
7184 PC, DebugOut, Annotations);
7186 gotInst = DisAsm->getInstruction(Inst, Size, Bytes.slice(Index), PC,
7202 DILineInfo dli = diContext->getLineInfoForAddress(PC);
7249 uint64_t PC = SectAddress + Index;
7252 if (DisAsm->getInstruction(Inst, InstSize, Bytes.slice(Index), PC,
7257 outs() << format("%016" PRIx64, PC);
7259 outs() << format("%08" PRIx64, PC);
7261 outs() << format("%8" PRIx64 ":", PC);
7667 // information, sorted by PC.
8974 outs() << "\t\t pc ";
8975 if (fpu.fpu_fcw.pc == MachO::x86_FP_PREC_24B)
8977 else if (fpu.fpu_fcw.pc == MachO::x86_FP_PREC_53B)
8979 else if (fpu.fpu_fcw.pc == MachO::x86_FP_PREC_64B)
8982 outs() << fpu.fpu_fcw.pc << " ";
9100 outs() << " pc " << format("0x%08" PRIx32, cpu32.pc) << "\n";
9137 outs() << " pc " << format("0x%016" PRIx64, cpu64.pc) << "\n";