Home
last modified time | relevance | path

Searched refs:Address (Results 1 – 25 of 972) sorted by relevance

12345678910>>...39

/openbsd-src/gnu/llvm/llvm/lib/Target/XCore/Disassembler/
H A DXCoreDisassembler.cpp39 ArrayRef<uint8_t> Bytes, uint64_t Address,
44 static bool readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction16() argument
56 static bool readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction32() argument
75 uint64_t Address,
79 uint64_t Address,
83 uint64_t Address,
87 uint64_t Address,
91 uint64_t Address,
95 uint64_t Address,
99 uint64_t Address,
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/Disassembler/
H A DARMDisassembler.cpp146 ArrayRef<uint8_t> Bytes, uint64_t Address,
150 uint64_t Address) const override;
154 ArrayRef<uint8_t> Bytes, uint64_t Address,
158 ArrayRef<uint8_t> Bytes, uint64_t Address,
177 uint64_t Address,
180 uint64_t Address,
183 uint64_t Address,
186 uint64_t Address,
190 uint64_t Address,
193 uint64_t Address,
[all …]
/openbsd-src/gnu/llvm/lldb/include/lldb/Core/
H A DAddress.h59 class Address {
119 Address() = default;
127 Address(const Address &rhs) in Address() function
140 Address(const lldb::SectionSP &section_sp, lldb::addr_t offset) in Address() function
158 Address(lldb::addr_t file_addr, const SectionList *section_list);
160 Address(lldb::addr_t abs_addr);
172 const Address &operator=(const Address &rhs);
195 static int CompareFileAddress(const Address &lhs, const Address &rhs);
197 static int CompareLoadAddress(const Address &lhs, const Address &rhs,
200 static int CompareModulePointerAndOffset(const Address &lhs,
[all …]
H A DAddressRange.h76 AddressRange(const Address &so_addr, lldb::addr_t byte_size);
97 bool Contains(const Address &so_addr) const;
120 bool ContainsFileAddress(const Address &so_addr) const;
144 bool ContainsLoadAddress(const Address &so_addr, Target *target) const;
190 Dump(Stream *s, Target *target, Address::DumpStyle style,
191 Address::DumpStyle fallback_style = Address::DumpStyleInvalid) const;
209 Address &GetBaseAddress() { return m_base_addr; } in GetBaseAddress()
215 const Address &GetBaseAddress() const { return m_base_addr; } in GetBaseAddress()
241 Address m_base_addr; ///< The section offset base address of this range.
/openbsd-src/gnu/llvm/llvm/tools/llvm-cfi-verify/lib/
H A DGraphBuilder.cpp58 std::vector<uint64_t> GraphResult::flattenAddress(uint64_t Address) const { in flattenAddress()
61 auto It = IntermediateNodes.find(Address); in flattenAddress()
62 Addresses.push_back(Address); in flattenAddress()
90 printPairToDOT(Analysis, OS, BranchNode.Address, V); in printToDOT()
96 object::SectionedAddress Address) { in buildFlowGraph() argument
98 Result.BaseAddress = Address.Address; in buildFlowGraph()
104 if (IndirectInstructions.find(Address) == IndirectInstructions.end()) { in buildFlowGraph()
108 buildFlowGraphImpl(Analysis, OpenedNodes, Result, Address.Address, 0); in buildFlowGraph()
130 << format_hex(BranchNode.Address, 2) << ".\n"; in buildFlowsToUndefined()
199 GraphResult &Result, uint64_t Address, in buildFlowGraphImpl() argument
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/xray/
H A Dxray_x86_64.cpp147 const uint64_t Address = Sled.address(); in patchFunctionEntry() local
149 (static_cast<int64_t>(Address) + 11); in patchFunctionEntry()
153 reinterpret_cast<void *>(Address)); in patchFunctionEntry()
157 *reinterpret_cast<uint32_t *>(Address + 2) = FuncId; in patchFunctionEntry()
158 *reinterpret_cast<uint8_t *>(Address + 6) = CallOpCode; in patchFunctionEntry()
159 *reinterpret_cast<uint32_t *>(Address + 7) = TrampolineOffset; in patchFunctionEntry()
161 reinterpret_cast<std::atomic<uint16_t> *>(Address), MovR10Seq, in patchFunctionEntry()
165 reinterpret_cast<std::atomic<uint16_t> *>(Address), Jmp9Seq, in patchFunctionEntry()
194 const uint64_t Address = Sled.address(); in patchFunctionExit() local
196 (static_cast<int64_t>(Address) + 11); in patchFunctionExit()
[all …]
H A Dxray_mips64.cpp92 uint32_t *Address = reinterpret_cast<uint32_t *>(Sled.address()); in patchSled() local
104 Address[2] = encodeInstruction(PatchOpcodes::PO_SD, RegNum::RN_SP, in patchSled()
106 Address[3] = encodeInstruction(PatchOpcodes::PO_SD, RegNum::RN_SP, in patchSled()
108 Address[4] = encodeInstruction(PatchOpcodes::PO_LUI, 0x0, RegNum::RN_T9, in patchSled()
110 Address[5] = encodeInstruction(PatchOpcodes::PO_ORI, RegNum::RN_T9, in patchSled()
112 Address[6] = encodeSpecialInstruction(PatchOpcodes::PO_DSLL, 0x0, in patchSled()
114 Address[7] = encodeInstruction(PatchOpcodes::PO_ORI, RegNum::RN_T9, in patchSled()
116 Address[8] = encodeSpecialInstruction(PatchOpcodes::PO_DSLL, 0x0, in patchSled()
118 Address[9] = encodeInstruction(PatchOpcodes::PO_ORI, RegNum::RN_T9, in patchSled()
120 Address[10] = encodeInstruction(PatchOpcodes::PO_LUI, 0x0, RegNum::RN_T0, in patchSled()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/Disassembler/
H A DRISCVDisassembler.cpp42 ArrayRef<uint8_t> Bytes, uint64_t Address,
62 uint64_t Address, in DecodeGPRRegisterClass() argument
77 uint64_t Address, in DecodeFPR16RegisterClass() argument
88 uint64_t Address, in DecodeFPR32RegisterClass() argument
99 uint64_t Address, in DecodeFPR32CRegisterClass() argument
110 uint64_t Address, in DecodeFPR64RegisterClass() argument
121 uint64_t Address, in DecodeFPR64CRegisterClass() argument
132 uint64_t Address, in DecodeGPRNoX0RegisterClass() argument
138 return DecodeGPRRegisterClass(Inst, RegNo, Address, Decoder); in DecodeGPRNoX0RegisterClass()
142 DecodeGPRNoX0X2RegisterClass(MCInst &Inst, uint64_t RegNo, uint64_t Address, in DecodeGPRNoX0X2RegisterClass() argument
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AVR/Disassembler/
H A DAVRDisassembler.cpp42 ArrayRef<uint8_t> Bytes, uint64_t Address,
68 uint64_t Address, in DecodeGPR8RegisterClass() argument
79 uint64_t Address, in DecodeLD8RegisterClass() argument
89 static DecodeStatus decodeFIOARr(MCInst &Inst, unsigned Insn, uint64_t Address,
92 static DecodeStatus decodeFIORdA(MCInst &Inst, unsigned Insn, uint64_t Address,
95 static DecodeStatus decodeFIOBIT(MCInst &Inst, unsigned Insn, uint64_t Address,
99 uint64_t Address,
102 static DecodeStatus decodeFRd(MCInst &Inst, unsigned Insn, uint64_t Address,
105 static DecodeStatus decodeFLPMX(MCInst &Inst, unsigned Insn, uint64_t Address,
109 uint64_t Address,
[all …]
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/
H A DPDBContext.cpp35 DILineInfo PDBContext::getLineInfoForAddress(object::SectionedAddress Address, in getLineInfoForAddress() argument
38 Result.FunctionName = getFunctionName(Address.Address, Specifier.FNKind); in getLineInfoForAddress()
42 Session->findSymbolByAddress(Address.Address, PDB_SymType::None); in getLineInfoForAddress()
51 auto LineNumbers = Session->findLineNumbersByAddress(Address.Address, Length); in getLineInfoForAddress()
68 PDBContext::getLineInfoForDataAddress(object::SectionedAddress Address) { in getLineInfoForDataAddress() argument
75 PDBContext::getLineInfoForAddressRange(object::SectionedAddress Address, in getLineInfoForAddressRange() argument
82 auto LineNumbers = Session->findLineNumbersByAddress(Address.Address, Size); in getLineInfoForAddressRange()
88 {LineInfo->getVirtualAddress(), Address.SectionIndex}, Specifier); in getLineInfoForAddressRange()
95 PDBContext::getInliningInfoForAddress(object::SectionedAddress Address, in getInliningInfoForAddress() argument
98 DILineInfo CurrentLine = getLineInfoForAddress(Address, Specifier); in getInliningInfoForAddress()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/Disassembler/
H A DMipsDisassembler.cpp74 ArrayRef<uint8_t> Bytes, uint64_t Address,
83 uint64_t Address,
87 uint64_t Address,
91 uint64_t Address,
95 DecodeGPRMM16ZeroRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address,
99 DecodeGPRMM16MovePRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address,
103 uint64_t Address,
107 uint64_t Address,
111 uint64_t Address,
115 uint64_t Address,
[all …]
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGBuilder.h71 llvm::LoadInst *CreateLoad(Address Addr, const llvm::Twine &Name = "") {
75 llvm::LoadInst *CreateLoad(Address Addr, const char *Name) { in CreateLoad()
81 llvm::LoadInst *CreateLoad(Address Addr, bool IsVolatile,
99 llvm::StoreInst *CreateStore(llvm::Value *Val, Address Addr,
158 Address CreateAddrSpaceCast(Address Addr, llvm::Type *Ty,
168 Address CreateElementBitCast(Address Addr, llvm::Type *Ty,
171 return Address(CreateBitCast(Addr.getPointer(), PtrTy, Name), Ty,
176 Address CreatePointerBitCastOrAddrSpaceCast(Address Addr, llvm::Type *Ty,
181 return Address(Ptr, ElementTy, Addr.getAlignment());
192 Address CreateStructGEP(Address Addr, unsigned Index,
[all …]
H A DAddress.h74 class Address {
78 Address(std::nullptr_t) : A(nullptr, nullptr, CharUnits::Zero()) {} in Address() function
81 Address(llvm::Value *Pointer, llvm::Type *ElementType, CharUnits Alignment) in Address() function
90 static Address invalid() { return Address(nullptr); } in invalid()
127 Address withPointer(llvm::Value *NewPointer) const { in withPointer()
128 return Address(NewPointer, getElementType(), getAlignment()); in withPointer()
133 Address withAlignment(CharUnits NewAlignment) const { in withAlignment()
134 return Address(getPointer(), getElementType(), NewAlignment); in withAlignment()
140 class ConstantAddress : public Address {
141 ConstantAddress(std::nullptr_t) : Address(nullptr) {} in ConstantAddress()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/Disassembler/
H A DSystemZDisassembler.cpp36 ArrayRef<uint8_t> Bytes, uint64_t Address,
74 uint64_t Address, uint64_t Offset, in tryAddingSymbolicOperand() argument
77 return Decoder->tryAddingSymbolicOperand(MI, Value, Address, isBranch, Offset, in tryAddingSymbolicOperand()
92 uint64_t Address, in DecodeGR32BitRegisterClass() argument
98 uint64_t Address, in DecodeGRH32BitRegisterClass() argument
104 uint64_t Address, in DecodeGR64BitRegisterClass() argument
110 uint64_t Address, in DecodeGR128BitRegisterClass() argument
116 DecodeADDR64BitRegisterClass(MCInst &Inst, uint64_t RegNo, uint64_t Address, in DecodeADDR64BitRegisterClass() argument
122 uint64_t Address, in DecodeFP32BitRegisterClass() argument
128 uint64_t Address, in DecodeFP64BitRegisterClass() argument
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/ARC/Disassembler/
H A DARCDisassembler.cpp44 ArrayRef<uint8_t> Bytes, uint64_t Address,
50 static bool readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction32() argument
59 static bool readInstruction64(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction64() argument
69 static bool readInstruction48(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction48() argument
78 static bool readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address, in readInstruction16() argument
87 DecodeSignedOperand(MCInst &Inst, unsigned InsnS, uint64_t Address = 0,
92 DecodeFromCyclicRange(MCInst &Inst, unsigned InsnS, uint64_t Address = 0,
97 uint64_t Address,
132 uint64_t Address, in DecodeGPR32RegisterClass() argument
145 uint64_t Address, in DecodeGBR32ShortRegister() argument
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/VE/Disassembler/
H A DVEDisassembler.cpp39 ArrayRef<uint8_t> Bytes, uint64_t Address,
128 uint64_t Address, in DecodeI32RegisterClass() argument
138 uint64_t Address, in DecodeI64RegisterClass() argument
148 uint64_t Address, in DecodeF32RegisterClass() argument
158 uint64_t Address, in DecodeF128RegisterClass() argument
168 uint64_t Address, in DecodeV64RegisterClass() argument
182 uint64_t Address, in DecodeVMRegisterClass() argument
192 uint64_t Address, in DecodeVM512RegisterClass() argument
202 uint64_t Address, in DecodeMISCRegisterClass() argument
213 static DecodeStatus DecodeASX(MCInst &Inst, uint64_t insn, uint64_t Address,
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/Xtensa/Disassembler/
H A DXtensaDisassembler.cpp46 ArrayRef<uint8_t> Bytes, uint64_t Address,
68 uint64_t Address, in DecodeARRegisterClass() argument
81 uint64_t Address, in DecodeSRRegisterClass() argument
98 uint64_t Address, uint64_t Offset, in tryAddingSymbolicOperand() argument
102 return Dis->tryAddingSymbolicOperand(MI, Value, Address, isBranch, Offset, /*OpSize=*/0, in tryAddingSymbolicOperand()
107 int64_t Address, const void *Decoder) { in decodeCallOperand() argument
114 int64_t Address, const void *Decoder) { in decodeJumpOperand() argument
121 int64_t Address, const void *Decoder) { in decodeBranchOperand() argument
128 if (!tryAddingSymbolicOperand(SignExtend64<12>(Imm) + 4 + Address, true, in decodeBranchOperand()
129 Address, 0, 3, Inst, Decoder)) in decodeBranchOperand()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-profgen/
H A DProfiledBinary.h61 uint64_t Address; member
64 InstructionPointer(const ProfiledBinary *Binary, uint64_t Address,
129 PrologEpilogSet.insert(IP.Address); in inferPrologAddresses()
140 PrologEpilogSet.insert(IP.Address); in inferEpilogAddresses()
352 void setBaseAddress(uint64_t Address) { BaseAddress = Address; } in setBaseAddress() argument
355 uint64_t canonicalizeVirtualAddress(uint64_t Address) { in canonicalizeVirtualAddress() argument
356 return Address - BaseAddress + getPreferredBaseAddress(); in canonicalizeVirtualAddress()
373 uint64_t getInstSize(uint64_t Address) const { in getInstSize() argument
374 auto I = AddressToInstSizeMap.find(Address); in getInstSize()
380 bool addressIsCode(uint64_t Address) const { in addressIsCode() argument
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/M68k/Disassembler/
H A DM68kDisassembler.cpp42 uint64_t Address, const void *Decoder) { in DecodeRegisterClass() argument
50 uint64_t Address, in DecodeDR32RegisterClass() argument
52 return DecodeRegisterClass(Inst, RegNo, Address, Decoder); in DecodeDR32RegisterClass()
56 uint64_t Address, in DecodeDR16RegisterClass() argument
58 return DecodeRegisterClass(Inst, RegNo, Address, Decoder); in DecodeDR16RegisterClass()
62 uint64_t Address, in DecodeDR8RegisterClass() argument
64 return DecodeRegisterClass(Inst, RegNo, Address, Decoder); in DecodeDR8RegisterClass()
68 uint64_t Address, in DecodeAR32RegisterClass() argument
70 return DecodeRegisterClass(Inst, RegNo | 8ULL, Address, Decoder); in DecodeAR32RegisterClass()
74 uint64_t Address, in DecodeAR16RegisterClass() argument
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/Disassembler/
H A DPPCDisassembler.cpp36 ArrayRef<uint8_t> Bytes, uint64_t Address,
92 uint64_t Address, in DecodeCRRCRegisterClass() argument
98 uint64_t Address, in DecodeCRBITRCRegisterClass() argument
104 uint64_t Address, in DecodeF4RCRegisterClass() argument
110 uint64_t Address, in DecodeF8RCRegisterClass() argument
116 uint64_t Address, in DecodeVFRCRegisterClass() argument
122 uint64_t Address, in DecodeVRRCRegisterClass() argument
128 uint64_t Address, in DecodeVSRCRegisterClass() argument
134 uint64_t Address, in DecodeVSFRCRegisterClass() argument
140 uint64_t Address, in DecodeVSSRCRegisterClass() argument
[all …]
/openbsd-src/gnu/llvm/lldb/source/Core/
H A DAddress.cpp62 const Address &address, void *dst, size_t dst_len) { in ReadBytes()
77 const Address &address, in GetByteOrderAndAddressSize()
102 const Address &address, uint32_t byte_size, in ReadUIntMax64()
126 const Address &address, uint32_t pointer_size, in ReadAddress()
127 Address &deref_so_addr) { in ReadAddress()
162 static bool DumpUInt(ExecutionContextScope *exe_scope, const Address &address, in DumpUInt()
191 const Address &address, Stream *strm) { in ReadCStringFromMemory()
202 Address curr_address(address); in ReadCStringFromMemory()
233 Address::Address(lldb::addr_t abs_addr) : m_section_wp(), m_offset(abs_addr) {} in Address() function in Address
235 Address::Address(addr_t address, const SectionList *section_list) in Address() function in Address
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsInstPrinter.cpp79 void MipsInstPrinter::printInst(const MCInst *MI, uint64_t Address, in printInst() argument
113 if (!printAliasInstr(MI, Address, STI, O) && in printInst()
114 !printAlias(*MI, Address, STI, O)) in printInst()
115 printInstruction(MI, Address, STI, O); in printInst()
157 void MipsInstPrinter::printBranchOperand(const MCInst *MI, uint64_t Address, in printBranchOperand() argument
166 uint64_t Target = Address + Op.getImm(); in printBranchOperand()
246 uint64_t Address, unsigned OpNo, in printAlias() argument
251 printBranchOperand(&MI, Address, OpNo, STI, OS); in printAlias()
258 uint64_t Address, unsigned OpNo0, in printAlias() argument
261 printAlias(Str, MI, Address, OpNo0, STI, OS, IsBranch); in printAlias()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZLongBranch.cpp82 uint64_t Address = 0; member
105 uint64_t Address = 0; member
124 uint64_t Address = 0; member
155 bool mustRelaxBranch(const TerminatorInfo &Terminator, uint64_t Address);
187 Position.Address += in skipNonTerminators()
193 Position.Address = alignTo(Position.Address, Block.Alignment); in skipNonTerminators()
196 Block.Address = Position.Address; in skipNonTerminators()
199 Position.Address += Block.Size; in skipNonTerminators()
208 Terminator.Address = Position.Address; in skipTerminator()
209 Position.Address += Terminator.Size; in skipTerminator()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/Lanai/Disassembler/
H A DLanaiDisassembler.cpp47 uint64_t Address,
51 uint64_t Address,
55 uint64_t Address,
59 uint64_t Address,
62 static DecodeStatus decodeBranch(MCInst &Inst, unsigned Insn, uint64_t Address,
66 uint64_t Address,
70 uint64_t Address,
133 ArrayRef<uint8_t> Bytes, uint64_t Address, in getInstruction() argument
144 decodeInstruction(DecoderTableLanai32, Instr, Insn, Address, this, STI); in getInstruction()
175 uint64_t Address, in decodeRiMemoryValue() argument
[all …]
/openbsd-src/gnu/llvm/lldb/source/API/
H A DSBAddress.cpp24 SBAddress::SBAddress() : m_opaque_up(new Address()) { in SBAddress()
28 SBAddress::SBAddress(const Address &address) in SBAddress()
29 : m_opaque_up(std::make_unique<Address>(address)) {} in SBAddress()
31 SBAddress::SBAddress(const SBAddress &rhs) : m_opaque_up(new Address()) { in SBAddress()
38 : m_opaque_up(new Address(section.GetSP(), offset)) { in SBAddress()
44 : m_opaque_up(new Address()) { in SBAddress()
85 m_opaque_up = std::make_unique<Address>(); in Clear()
91 Address &addr = ref(); in SetAddress()
96 void SBAddress::SetAddress(const Address &address) { ref() = address; } in SetAddress()
169 Address *SBAddress::operator->() { return m_opaque_up.get(); } in operator ->()
[all …]

12345678910>>...39