/external/llvm/lib/DebugInfo/DWARF/ |
DWARFUnit.cpp | 43 return SOS.slice(C->Offset, C->Offset + C->Length); 56 uint32_t Offset = AddrOffsetSectionBase + Index * AddrSize; 57 if (AddrOffsetSection.size() < Offset + AddrSize) 60 Result = DA.getAddress(&Offset); 66 // FIXME: string offset section entries are 8-byte for DWARF64. 68 uint32_t Offset = Index * ItemSize; 69 if (StringOffsetSection.size() < Offset + ItemSize) 72 Result = DA.getU32(&Offset); 89 AbbrOffset = AbbrEntry->Offset; [all...] |
/external/llvm/lib/DebugInfo/Symbolize/ |
SymbolizableObjectFile.cpp | 76 uint32_t Offset; 79 return Offset < R.Offset; 90 uint32_t Offset; 93 if (auto EC = Ref.getExportRVA(Offset)) 95 ExportSyms.push_back(OffsetNamePair{Offset, Name}); 100 // Sort by ascending offset. 109 uint32_t NextOffset = I != E ? I->Offset : Export.Offset + 1; 110 uint64_t SymbolStart = ImageBase + Export.Offset; [all...] |
Symbolize.cpp | 58 // object to the offset before we do the query. It's what DIContext expects. 78 // object to the offset before we do the query. It's what DIContext expects. 101 // the object to the offset before we do the query. It's what DIContext 192 uint32_t Offset = 0; 193 if (const char *DebugNameStr = DE.getCStr(&Offset)) { 194 // 4-byte align the offset. 195 Offset = (Offset + 3) & ~0x3; 196 if (DE.isValidOffsetForDataOfSize(Offset, 4)) { 198 CRCHash = DE.getU32(&Offset); [all...] |
/external/llvm/lib/ExecutionEngine/IntelJITEvents/ |
jitprofiling.h | 167 /* x86 Offset from the beginning of the method*/ 168 unsigned int Offset;
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
RuntimeDyldMachOARM.h | 38 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); 84 RE.Addend = Value.Offset; 97 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); 102 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset); 104 // ARM PCRel relocations have an effective-PC offset of two instructions 191 MachO::GENERIC_RELOC_VANILLA, Value.Offset, false, 2); 199 RelocationEntry TargetRE(RE.SectionID, RE.Offset, RE.RelType, 0, 225 uint64_t Offset = RelI->getOffset(); 226 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset); 265 RelocationEntry R(SectionID, Offset, RelocType, Addend, SectionAID [all...] |
RuntimeDyldMachOI386.h | 60 // offset. Calculate the final offset from the relocation target instead. 72 RE.Addend = Value.Offset; 86 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); 89 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset); 140 uint64_t Offset = RelI->getOffset(); 141 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset); 176 RelocationEntry R(SectionID, Offset, RelocType, Addend, SectionAID,
|
/external/llvm/lib/ProfileData/ |
SampleProfReader.cpp | 72 /// \brief Returns true if line offset \p L is legal (only has 16 bits). 83 /// \param LineOffset line offset to the start of the function. 525 const InlineCallStack &InlineStack, bool Update, uint32_t Offset) { 562 uint32_t LineOffset = Offset >> 16; 563 uint32_t Discriminator = Offset & 0xffff; 569 uint32_t Offset; 570 if (!GcovBuffer.readInt(Offset)) 581 // The line location is encoded in the offset as: 582 // high 16 bits: line offset to the start of the function. 584 uint32_t LineOffset = Offset >> 16 [all...] |
/external/llvm/lib/Target/AArch64/ |
AArch64BranchRelaxation.cpp | 34 TBZDisplacementBits("aarch64-tbz-offset-bits", cl::Hidden, cl::init(14), 38 CBZDisplacementBits("aarch64-cbz-offset-bits", cl::Hidden, cl::init(19), 42 BCCDisplacementBits("aarch64-bcc-offset-bits", cl::Hidden, cl::init(19), 56 /// BasicBlockInfo - Information about the offset and size of a single 59 /// Offset - Distance from the beginning of the function to the beginning 62 /// The offset is always aligned as required by the basic block. 63 unsigned Offset; 72 BasicBlockInfo() : Offset(0), Size(0) {} 74 /// Compute the offset immediately following this block. If LogAlign is 75 /// specified, return the offset the successor block will get if it ha [all...] |
AArch64RegisterInfo.cpp | 186 // Conservatively estimate whether the negative offset from the frame 246 int64_t Offset) const { 252 // to materialize the offset if it won't fit in the literal field. Estimate 255 // we don't know everything for certain yet) whether this offset is likely 265 // Approximate the offset and see if it's legal for the instruction. 266 // Note that the incoming offset is based on the SP value at function entry, 272 // Estimate an offset from the frame pointer. 275 int64_t FPOffset = Offset - 16 * 20; 276 // Estimate an offset from the stack pointer. 277 // The incoming offset is relating to the SP at the start of the function [all...] |
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
AArch64AsmBackend.cpp | 44 // Name Offset (bits) Size (bits) Flags 217 unsigned Offset = Fixup.getOffset(); 218 assert(Offset + NumBytes <= DataSize && "Invalid fixup offset!"); 223 Data[Offset + i] |= uint8_t((Value >> (i * 8)) & 0xff); 270 /// the compact unwind encoding is the offset of the DWARF FDE in the 364 assert(StackSize == 0 && "We already have the CFA offset!"); 479 // ~0xfff. This means that the required offset to reach a symbol can vary by 486 // we'll need that as an offset. At any other address "there" will be in the
|
/external/llvm/lib/Target/AMDGPU/ |
AMDGPUInstrInfo.cpp | 209 "Second offset should be larger than first offset!"); 267 int Offset = -1; 293 Offset = std::max(Offset, (int)RegIndex); 296 return Offset + 1; 300 int Offset = 0; 311 Offset = MF.getSubtarget().getFrameLowering()->getFrameIndexReference( 314 return getIndirectIndexBegin(MF) + Offset;
|
R600OptimizeVectorRegisters.cpp | 249 unsigned Offset; 251 Offset = 2; 253 Offset = 3; 255 unsigned Swizzle = MI.getOperand(i + Offset).getImm() + 1; 258 MI.getOperand(i + Offset).setImm(RemapChan[j].second - 1);
|
R600TextureIntrinsicsReplacer.cpp | 122 unsigned SrcSelect[4], Value *Offset[3], Value *Resource, 137 Offset[0], 138 Offset[1], 139 Offset[2], 169 Value *Offset[3] = { 180 Offset, ResourceId, SamplerId, CT, Coord); 193 Value *Offset[3] = { 204 Offset, ResourceId, SamplerId, CT, Coord);
|
SIRegisterInfo.cpp | 109 // Reserve 1 SGPR for scratch wave offset in case we need to spill. 206 int64_t Offset, 223 if (!isUInt<12>(Offset + Size)) { 231 .addImm(Offset); 232 Offset = 0; 238 for (unsigned i = 0, e = NumSubRegs; i != e; ++i, Offset += 4) { 247 .addImm(Offset) 381 int64_t Offset = FrameInfo->getObjectOffset(Index); 382 FIOp.ChangeToImmediate(Offset); 387 .addImm(Offset); [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonAsmPrinter.cpp | 176 const MachineOperand &Offset = MI->getOperand(OpNo+1); 183 if (Offset.isImm()) { 184 if (Offset.getImm()) 185 O << " + #" << Offset.getImm();
|
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
HexagonMCCodeEmitter.cpp | 156 unsigned Offset = SOffset; 157 Offset <<= 1; 158 MCO.setReg(Offset + Hexagon::R0);
|
/external/llvm/lib/Target/MSP430/ |
MSP430ISelDAGToDAG.cpp | 223 uint64_t Offset = CN->getSExtValue(); 230 AM.Disp += Offset;
|
/external/llvm/lib/Target/Mips/ |
MipsLongBranch.cpp | 11 // offset is too large to fit into its immediate field. 192 // Compute offset of branch in number of bytes. 194 int64_t Offset = 0; 198 // Compute offset of a forward branch. 201 Offset += MBBInfos[N].Size; 203 return Offset + 4; 206 // Compute offset of a backward branch. 208 Offset += MBBInfos[N].Size; 210 return -Offset + 4; 300 // LUi and ADDiu instructions create 32-bit offset of the target basi [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCLoopPreIncPrep.cpp | 107 BucketElement(const SCEVConstant *O, Instruction *I) : Offset(O), Instr(I) {} 108 BucketElement(Instruction *I) : Offset(nullptr), Instr(I) {} 110 const SCEVConstant *Offset; 280 // If our chosen element has no offset from the base pointer, there's 282 if (!Buckets[i].Elements[j].Offset || 283 Buckets[i].Elements[j].Offset->isZero()) 286 const SCEV *Offset = Buckets[i].Elements[j].Offset; 287 Buckets[i].BaseSCEV = SE->getAddExpr(Buckets[i].BaseSCEV, Offset); 289 if (E.Offset) [all...] |
/external/llvm/lib/Target/SystemZ/ |
SystemZFrameLowering.cpp | 53 // Create a mapping from register number to save slot offset. 56 RegSpillOffsets[SpillOffsetTable[I].Reg] = SpillOffsetTable[I].Offset; 146 unsigned Offset = RegSpillOffsets[Reg]; 147 assert(Offset && "Unexpected GPR save"); 148 if (StartOffset > Offset) { 150 StartOffset = Offset; 166 unsigned Offset = RegSpillOffsets[Reg]; 167 if (StartOffset > Offset) { 168 LowGPR = Reg; StartOffset = Offset; 331 // The current offset of the stack pointer from the CFA [all...] |
/external/llvm/lib/Target/X86/Utils/ |
X86ShuffleDecode.cpp | 128 unsigned Offset = Imm * (VT.getVectorElementType().getSizeInBits() / 8); 135 unsigned Base = i + Offset; 136 // if i+offset is out of this lane then we actually need the other source
|
/external/llvm/lib/Target/X86/ |
X86RegisterInfo.cpp | 559 // LOCAL_ESCAPE uses a single offset, with no register. It only works in the 561 // offset is from the traditional base pointer location. On 64-bit, the 562 // offset is from the SP at the end of the prologue, not the FP location. This 567 int Offset; 568 Offset = TFI->getFrameIndexReference(MF, FrameIndex, IgnoredFrameReg); 569 FI.ChangeToImmediate(Offset); 580 // FrameIndex with base register with EBP. Add an offset to the offset. 583 // Now add the frame object offset to the offset from EBP [all...] |
/external/llvm/tools/llvm-dwp/ |
llvm-dwp.cpp | 79 uint32_t Offset = 0; 81 while (Offset < Size) { 82 auto OldOffset = Data.getU32(&Offset); 92 uint32_t Offset = 0; 94 while ((CurCode = AbbrevData.getULEB128(&Offset)) != AbbrCode) { 96 AbbrevData.getULEB128(&Offset); 98 AbbrevData.getU8(&Offset); 100 while (AbbrevData.getULEB128(&Offset) | AbbrevData.getULEB128(&Offset)) 103 return Offset; [all...] |
/external/lzma/CPP/7zip/Common/ |
LimitedStreams.h | 61 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
100 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
125 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
167 UInt64 Offset;
177 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
179 HRESULT SeekToStart() { return Stream->Seek(Offset, STREAM_SEEK_SET, NULL); }
221 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
234 UInt64 Offset;
247 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
|
/external/lzma/CPP/Windows/ |
FileIO.h | 32 unsigned Offset;
|