Home
last modified time | relevance | path

Searched refs:BaseAddr (Results 1 – 25 of 40) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugRnglists.cpp89 llvm::Optional<object::SectionedAddress> BaseAddr, DWARFUnit &U) const { in getAbsoluteRanges() argument
91 BaseAddr, U.getAddressByteSize(), in getAbsoluteRanges()
96 Optional<object::SectionedAddress> BaseAddr, uint8_t AddressByteSize, in getAbsoluteRanges() argument
105 BaseAddr = LookupPooledAddress(RLE.Value0); in getAbsoluteRanges()
106 if (!BaseAddr) in getAbsoluteRanges()
107 BaseAddr = {RLE.Value0, -1ULL}; in getAbsoluteRanges()
111 BaseAddr = {RLE.Value0, RLE.SectionIndex}; in getAbsoluteRanges()
117 if (BaseAddr && E.SectionIndex == -1ULL) in getAbsoluteRanges()
118 E.SectionIndex = BaseAddr->SectionIndex; in getAbsoluteRanges()
126 if (BaseAddr) { in getAbsoluteRanges()
[all …]
H A DDWARFDebugRangeList.cpp71 llvm::Optional<object::SectionedAddress> BaseAddr) const { in getAbsoluteRanges()
78 BaseAddr = {RLE.EndAddress, RLE.SectionIndex}; in getAbsoluteRanges()
91 if (BaseAddr) { in getAbsoluteRanges()
92 if (BaseAddr->Address == Tombstone) in getAbsoluteRanges()
94 E.LowPC += BaseAddr->Address; in getAbsoluteRanges()
95 E.HighPC += BaseAddr->Address; in getAbsoluteRanges()
97 E.SectionIndex = BaseAddr->SectionIndex; in getAbsoluteRanges()
H A DDWARFDebugLoc.cpp122 Optional<SectionedAddress> BaseAddr, in dumpLocationList() argument
128 BaseAddr, [U](uint32_t Index) -> Optional<SectionedAddress> { in dumpLocationList()
171 uint64_t Offset, Optional<SectionedAddress> BaseAddr, in visitAbsoluteLocationList() argument
174 DWARFLocationInterpreter Interp(BaseAddr, std::move(LookupAddr)); in visitAbsoluteLocationList()
188 auto BaseAddr = None; in dump() local
191 dumpLocationList(&*DumpOffset, OS, BaseAddr, MRI, Obj, nullptr, DumpOpts, in dump()
201 CanContinue = dumpLocationList(&Offset, OS, BaseAddr, MRI, Obj, nullptr, in dump()
H A DDWARFUnit.cpp340 BaseAddr.reset(); in clear()
802 if (BaseAddr) in getBaseAddress()
803 return BaseAddr; in getBaseAddress()
807 BaseAddr = toSectionedAddress(PC); in getBaseAddress()
808 return BaseAddr; in getBaseAddress()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/GSYM/
H A DRange.cpp80 void AddressRange::encode(FileWriter &O, uint64_t BaseAddr) const { in encode()
81 assert(Start >= BaseAddr); in encode()
82 O.writeULEB(Start - BaseAddr); in encode()
86 void AddressRange::decode(DataExtractor &Data, uint64_t BaseAddr, in decode() argument
90 const uint64_t StartAddr = BaseAddr + AddrOffset; in decode()
95 void AddressRanges::encode(FileWriter &O, uint64_t BaseAddr) const { in encode()
100 Range.encode(O, BaseAddr); in encode()
103 void AddressRanges::decode(DataExtractor &Data, uint64_t BaseAddr, in decode() argument
111 Range.decode(Data, BaseAddr, Offset); in decode()
H A DInlineInfo.cpp109 uint64_t BaseAddr, uint64_t Addr, SourceLocations &SrcLocs, in lookup() argument
112 Inline.Ranges.decode(Data, BaseAddr, Offset); in lookup()
160 uint64_t BaseAddr, uint64_t Addr, in lookup() argument
165 ::lookup(GR, Data, Offset, BaseAddr, Addr, SrcLocs, Err); in lookup()
180 uint64_t BaseAddr) { in decode() argument
185 Inline.Ranges.decode(Data, BaseAddr, Offset); in decode()
223 uint64_t BaseAddr) { in decode() argument
225 return ::decode(Data, Offset, BaseAddr); in decode()
228 llvm::Error InlineInfo::encode(FileWriter &O, uint64_t BaseAddr) const { in encode()
235 Ranges.encode(O, BaseAddr); in encode()
H A DLineTable.cpp54 static llvm::Error parse(DataExtractor &Data, uint64_t BaseAddr, in parse() argument
70 LineEntry Row(BaseAddr, 1, FirstLine); in parse()
122 llvm::Error LineTable::encode(FileWriter &Out, uint64_t BaseAddr) const { in encode()
193 LineEntry Prev(BaseAddr, 1, Lines.front().Line); in encode()
202 if (Curr.Addr < BaseAddr) in encode()
206 PRIx64, Curr.Addr, BaseAddr); in encode()
252 uint64_t BaseAddr) { in decode() argument
254 llvm::Error Err = parse(Data, BaseAddr, [&](const LineEntry &Row) -> bool { in decode()
266 Expected<LineEntry> LineTable::lookup(DataExtractor &Data, uint64_t BaseAddr, uint64_t Addr) { in lookup() argument
268 llvm::Error Err = parse(Data, BaseAddr, in lookup()
H A DFunctionInfo.cpp37 uint64_t BaseAddr) { in decode() argument
39 FI.Range.Start = BaseAddr; in decode()
76 if (Expected<LineTable> LT = LineTable::decode(InfoData, BaseAddr)) in decode()
83 if (Expected<InlineInfo> II = InlineInfo::decode(InfoData, BaseAddr)) in decode()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/GSYM/
H A DRange.h62 void decode(DataExtractor &Data, uint64_t BaseAddr, uint64_t &Offset);
63 void encode(FileWriter &O, uint64_t BaseAddr) const;
110 void decode(DataExtractor &Data, uint64_t BaseAddr, uint64_t &Offset);
111 void encode(FileWriter &O, uint64_t BaseAddr) const;
H A DInlineInfo.h123 uint64_t BaseAddr, uint64_t Addr,
153 uint64_t BaseAddr);
168 llvm::Error encode(FileWriter &O, uint64_t BaseAddr) const;
H A DLineTable.h139 static Expected<LineEntry> lookup(DataExtractor &Data, uint64_t BaseAddr,
155 uint64_t BaseAddr);
166 llvm::Error encode(FileWriter &O, uint64_t BaseAddr) const;
H A DFunctionInfo.h135 uint64_t BaseAddr);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsLegalizerInfo.cpp360 Register BaseAddr = MI.getOperand(1).getReg(); in legalizeCustom() local
361 LLT PtrTy = MRI.getType(BaseAddr); in legalizeCustom()
375 auto Addr = MIRBuilder.buildPtrAdd(PtrTy, BaseAddr, C_P2HalfMemSize); in legalizeCustom()
378 MIRBuilder.buildStore(Val, BaseAddr, *P2HalfMemOp); in legalizeCustom()
384 MIRBuilder.buildStore(Unmerge.getReg(0), BaseAddr, *P2HalfMemOp); in legalizeCustom()
396 MIRBuilder.buildLoad(Val, BaseAddr, *Load4MMO); in legalizeCustom()
398 auto Load = MIRBuilder.buildLoad(s32, BaseAddr, *Load4MMO); in legalizeCustom()
404 auto Addr = MIRBuilder.buildPtrAdd(PtrTy, BaseAddr, C_P2HalfMemSize); in legalizeCustom()
406 auto Load_P2Half = MIRBuilder.buildLoad(s32, BaseAddr, *P2HalfMemOp); in legalizeCustom()
H A DMipsInstructionSelector.cpp53 MachineOperand &BaseAddr, unsigned Offset,
56 MachineOperand &BaseAddr, unsigned Offset,
258 MachineInstr &I, unsigned Opc, MachineOperand &BaseAddr, unsigned Offset, in buildUnalignedStore() argument
263 .add(BaseAddr) in buildUnalignedStore()
272 MachineInstr &I, unsigned Opc, Register Dest, MachineOperand &BaseAddr, in buildUnalignedLoad() argument
277 .add(BaseAddr) in buildUnalignedLoad()
443 MachineOperand BaseAddr = I.getOperand(1); in select() local
458 BaseAddr = Addr->getOperand(1); in select()
471 if (!buildUnalignedStore(I, Mips::SWL, BaseAddr, SignedOffset + 3, MMO)) in select()
473 if (!buildUnalignedStore(I, Mips::SWR, BaseAddr, SignedOffset, MMO)) in select()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugRnglists.h49 getAbsoluteRanges(Optional<object::SectionedAddress> BaseAddr,
56 getAbsoluteRanges(llvm::Optional<object::SectionedAddress> BaseAddr,
H A DDWARFDebugLoc.h65 Optional<object::SectionedAddress> BaseAddr,
71 uint64_t Offset, Optional<object::SectionedAddress> BaseAddr,
H A DDWARFDebugRangeList.h78 getAbsoluteRanges(llvm::Optional<object::SectionedAddress> BaseAddr) const;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoVSDPatterns.td64 def : Pat<(type (load BaseAddr:$rs1)),
65 (load_instr BaseAddr:$rs1, avl, log2sew)>;
67 def : Pat<(store type:$rs2, BaseAddr:$rs1),
68 (store_instr reg_class:$rs2, BaseAddr:$rs1, avl, log2sew)>;
83 def : Pat<(type (load BaseAddr:$rs1)),
84 (load_instr BaseAddr:$rs1)>;
86 def : Pat<(store type:$rs2, BaseAddr:$rs1),
87 (store_instr reg_class:$rs2, BaseAddr:$rs1)>;
95 def : Pat<(m.Mask (load BaseAddr:$rs1)),
96 (load_instr BaseAddr:$rs1, m.AVL, m.Log2SEW)>;
[all …]
H A DRISCVInstrInfoA.td66 def : Pat<(StoreOp BaseAddr:$rs1, (vt StTy:$rs2)),
67 (Inst StTy:$rs2, BaseAddr:$rs1, 0)>;
68 def : Pat<(StoreOp (add BaseAddr:$rs1, simm12:$imm12), (vt StTy:$rs2)),
69 (Inst StTy:$rs2, BaseAddr:$rs1, simm12:$imm12)>;
H A DRISCVInstrInfo.td313 def BaseAddr : ComplexPattern<iPTR, 1, "SelectBaseAddr">;
1113 def : Pat<(vt (LoadOp BaseAddr:$rs1)), (Inst BaseAddr:$rs1, 0)>;
1114 def : Pat<(vt (LoadOp (add BaseAddr:$rs1, simm12:$imm12))),
1115 (Inst BaseAddr:$rs1, simm12:$imm12)>;
1132 def : Pat<(StoreOp (vt StTy:$rs2), BaseAddr:$rs1),
1133 (Inst StTy:$rs2, BaseAddr:$rs1, 0)>;
1134 def : Pat<(StoreOp (vt StTy:$rs2), (add BaseAddr:$rs1, simm12:$imm12)),
1135 (Inst StTy:$rs2, BaseAddr:$rs1, simm12:$imm12)>;
H A DRISCVInstrInfoVVLPatterns.td567 def : Pat<(vti.Vector (riscv_vle_vl BaseAddr:$rs1, VLOpFrag)),
568 (load_instr BaseAddr:$rs1, GPR:$vl, vti.Log2SEW)>;
570 def : Pat<(riscv_vse_vl (vti.Vector vti.RegClass:$rs2), BaseAddr:$rs1,
572 (store_instr vti.RegClass:$rs2, BaseAddr:$rs1, GPR:$vl, vti.Log2SEW)>;
578 def : Pat<(mti.Mask (riscv_vle_vl BaseAddr:$rs1, VLOpFrag)),
579 (load_instr BaseAddr:$rs1, GPR:$vl, mti.Log2SEW)>;
580 def : Pat<(riscv_vse_vl (mti.Mask VR:$rs2), BaseAddr:$rs1,
582 (store_instr VR:$rs2, BaseAddr:$rs1, GPR:$vl, mti.Log2SEW)>;
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/
H A DInstrProf.h456 inline Error create(StringRef D, uint64_t BaseAddr);
527 Error InstrProfSymtab::create(StringRef D, uint64_t BaseAddr) { in create() argument
529 Address = BaseAddr; in create()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
H A DLinePrinter.h53 void formatBinary(StringRef Label, ArrayRef<uint8_t> Data, uint64_t BaseAddr,
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp1789 uint64_t BaseAddr = Section.getAddress(); in printSectionContents() local
1802 BaseAddr, BaseAddr + Size); in printSectionContents()
1810 outs() << format(" %04" PRIx64 " ", BaseAddr + Addr); in printSectionContents()
2190 uint64_t BaseAddr = Section.getAddress(); in checkForInvalidStartStopAddress() local
2192 if ((Start < BaseAddr + Size) && Stop > BaseAddr) in checkForInvalidStartStopAddress()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/ELF/
H A DObject.cpp344 if (Addr > SegmentAddr + BaseAddr + 0xFFFFU) { in writeSection()
350 BaseAddr = writeBaseAddr(Addr); in writeSection()
356 uint64_t SegOffset = Addr - BaseAddr - SegmentAddr; in writeSection()
1330 uint64_t SegmentAddr = 0, BaseAddr = 0; in addDataSections() local
1340 RecAddr = R.Addr + SegmentAddr + BaseAddr; in addDataSections()
1363 BaseAddr = checkedGetHex<uint16_t>(R.HexData) << 16; in addDataSections()

12