/external/llvm/lib/IR/ |
Use.cpp | 106 ptrdiff_t Offset = 1; 113 Offset = (Offset << 1) + Tag; 116 return Current + Offset;
|
/external/llvm/lib/Target/AArch64/ |
AArch64RegisterInfo.h | 75 bool needsFrameBaseReg(MachineInstr *MI, int64_t Offset) const override; 77 int64_t Offset) const override; 80 int64_t Offset) const override; 82 int64_t Offset) const override;
|
/external/llvm/lib/Target/AArch64/Disassembler/ |
AArch64ExternalSymbolizer.h | 33 uint64_t Offset, uint64_t InstSize) override;
|
/external/llvm/lib/Target/PowerPC/ |
PPCRegisterInfo.h | 92 bool needsFrameBaseReg(MachineInstr *MI, int64_t Offset) const override; 95 int64_t Offset) const override; 97 int64_t Offset) const override; 99 int64_t Offset) const override;
|
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/bitmap/ |
ebsc_table.h | 27 struct Offset { 37 kBitmapScaleTable_vert = EblcTable::Offset::kSbitLineMetricsLength, 39 EblcTable::Offset::kSbitLineMetricsLength, 60 // Note: caller to do data->Slice(offset, Offset::kBitmapScaleTableLength)
|
index_sub_table_format2.cc | 29 return data_->ReadULongAsInt(EblcTable::Offset::kIndexSubTable2_imageSize); 35 data_->Slice(EblcTable::Offset::kIndexSubTable2_bigGlyphMetrics, 36 BigGlyphMetrics::Offset::kMetricsLength))); 65 data_->ReadULongAsInt(EblcTable::Offset::kIndexSubTable2_imageSize); 103 EblcTable::Offset::kIndexSubTable2_imageSize); 107 InternalWriteData()->WriteULong(EblcTable::Offset::kIndexSubTable2_imageSize, 115 EblcTable::Offset::kIndexSubTable2_bigGlyphMetrics, 116 BigGlyphMetrics::Offset::kMetricsLength))); 184 return EblcTable::Offset::kIndexSubTable2Length; 203 size += new_data->WriteLong(EblcTable::Offset::kIndexSubTable2_imageSize [all...] |
bitmap_size_table.cc | 39 EblcTable::Offset::kBitmapSizeTable_indexSubTableArrayOffset); 44 EblcTable::Offset::kBitmapSizeTable_indexTableSize); 52 return data_->ReadULongAsInt(EblcTable::Offset::kBitmapSizeTable_colorRef); 56 return data_->ReadUShort(EblcTable::Offset::kBitmapSizeTable_startGlyphIndex); 60 return data_->ReadUShort(EblcTable::Offset::kBitmapSizeTable_endGlyphIndex); 64 return data_->ReadByte(EblcTable::Offset::kBitmapSizeTable_ppemX); 68 return data_->ReadByte(EblcTable::Offset::kBitmapSizeTable_ppemY); 72 return data_->ReadByte(EblcTable::Offset::kBitmapSizeTable_bitDepth); 76 return data_->ReadChar(EblcTable::Offset::kBitmapSizeTable_flags); 128 EblcTable::Offset::kBitmapSizeTable_numberOfIndexSubTables) [all...] |
/external/icu/icu4c/source/layout/ |
LookupProcessor.h | 53 Offset scriptListOffset, 54 Offset featureListOffset, 55 Offset lookupListOffset,
|
PairPositioningSubtables.h | 50 Offset pairSetTableOffsetArray[ANY_NUMBER]; 75 Offset classDef1Offset; 76 Offset classDef2Offset;
|
/external/llvm/include/llvm/Bitcode/ |
ReaderWriter.h | 104 /// uint32_t BitcodeOffset; // Offset to traditional bitcode file. 119 OffsetField = 2*4, // Offset in bytes to Offset field. 120 SizeField = 3*4 // Offset in bytes to Size field. 126 unsigned Offset = ( BufPtr[OffsetField ] | 135 // Verify that Offset+Size fits in the file. 136 if (VerifyBufferSize && Offset+Size > unsigned(BufEnd-BufPtr)) 138 BufPtr += Offset;
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
ARMTargetStreamer.cpp | 50 int64_t Offset) {} 51 void ARMTargetStreamer::emitMovSP(unsigned Reg, int64_t Offset) {} 52 void ARMTargetStreamer::emitPad(int64_t Offset) {}
|
ARMUnwindOpAsm.cpp | 160 /// Emit unwind opcodes to add $sp with an offset. 161 void UnwindOpcodeAssembler::EmitSPOffset(int64_t Offset) { 162 if (Offset > 0x200) { 165 size_t ULEBSize = encodeULEB128((Offset - 0x204) >> 2, Buff + 1); 167 } else if (Offset > 0) { 168 if (Offset > 0x100) { 170 Offset -= 0x100; 173 static_cast<uint8_t>((Offset - 4) >> 2)); 174 } else if (Offset < 0) { 175 while (Offset < -0x100) [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonExpandPredSpillCode.cpp | 91 assert(MI->getOperand(1).isImm() && "Not an offset"); 92 int Offset = MI->getOperand(1).getImm(); 96 if (!TII->isValidOffset(Hexagon::STriw_indexed, Offset)) { 97 if (!TII->isValidOffset(Hexagon::ADD_ri, Offset)) { 100 HEXAGON_RESERVED_REG_1).addImm(Offset); 112 HEXAGON_RESERVED_REG_1).addReg(FP).addImm(Offset); 126 addReg(FP).addImm(Offset).addReg(HEXAGON_RESERVED_REG_2); 138 assert(MI->getOperand(2).isImm() && "Not an offset"); 139 int Offset = MI->getOperand(2).getImm(); 140 if (!TII->isValidOffset(Hexagon::LDriw, Offset)) { [all...] |
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldELF.cpp | 258 uint64_t Offset, uint64_t Value, 266 uint64_t *Target = reinterpret_cast<uint64_t *>(Section.Address + Offset); 279 uint32_t *Target = reinterpret_cast<uint32_t *>(Section.Address + Offset); 289 uint32_t *Target = reinterpret_cast<uint32_t *>(Section.Address + Offset); 290 uint64_t FinalAddress = Section.LoadAddress + Offset; 291 // The processRelocationRef method combines the symbol offset and the addend 293 // the raw addend, so we subtract the symbol offset to get it. 304 reinterpret_cast<uint32_t *>(Section.ObjAddress + Offset); 305 uint32_t *Target = reinterpret_cast<uint32_t *>(Section.Address + Offset); 306 uint64_t FinalAddress = Section.LoadAddress + Offset; [all...] |
RuntimeDyldImpl.h | 84 /// Offset - offset into the section. 85 uint64_t Offset; 99 /// SymOffset - Section offset of the relocation entry's symbol (used for GOT 112 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend) 113 : SectionID(id), Offset(offset), RelType(type), Addend(addend), 116 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, 118 : SectionID(id), Offset(offset), RelType(type), Addend(addend) [all...] |
/external/clang/lib/Frontend/ |
CacheTokens.cpp | 43 typedef uint32_t Offset; 47 Offset TokenData, PPCondData; 52 PTHEntry(Offset td, Offset ppcd) 55 Offset getTokenOffset() const { return TokenData; } 56 Offset getPPCondTableOffset() const { return PPCondData; } 169 Offset off; 173 Offset getOffset() const { assert(valid); return off; } 174 void setOffset(Offset o) { off = o; valid = true; } 191 Offset CurStrOffset [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
AsmPrinterDwarf.cpp | 155 /// EmitSectionOffset - Emit the 4-byte offset of Label from the start of its 157 /// it (e.g. cygwin) or by emitting it as an offset from a label at the start 176 "Section offset using wrong section base for label"); 202 static void emitDwarfRegOpIndirect(ByteStreamer &Streamer, int Reg, int Offset, 212 Streamer.EmitSLEB128(Offset); 263 // For example, EAX on x86_64 is a 32-bit piece of RAX with offset 0. 269 unsigned Offset = TRI->getSubRegIdxOffset(Idx); 272 if (PieceOffsetInBits == Offset) { 273 emitDwarfOpPiece(Streamer, Size, Offset); 276 // non-zero offset, we need to manually shift the value int [all...] |
/external/llvm/lib/Target/ARM/ |
ARMBaseRegisterInfo.cpp | 326 // Conservatively estimate whether the negative offset from the frame 498 needsFrameBaseReg(MachineInstr *MI, int64_t Offset) const { 504 // to materialize the offset if it won't fit in the literal field. Estimate 507 // we don't know everything for certain yet) whether this offset is likely 528 // Approximate the offset and see if it's legal for the instruction. 529 // Note that the incoming offset is based on the SP value at function entry, 536 // Estimate an offset from the frame pointer. 540 int64_t FPOffset = Offset - 8; 544 // Estimate an offset from the stack pointer. 545 // The incoming offset is relating to the SP at the start of the function [all...] |
/external/chromium_org/third_party/skia/tools/ |
CrashHandler.cpp | 31 unw_word_t offset; local 32 unw_get_proc_name(&cursor, mangled, kMax, &offset); 38 SkDebugf("%s (+0x%zx)\n", ok == 0 ? demangled : mangled, (size_t)offset); 126 frame.AddrPC.Offset = c->Eip; 127 frame.AddrStack.Offset = c->Esp; 128 frame.AddrFrame.Offset = c->Ebp; 131 frame.AddrPC.Offset = c->Rip; 132 frame.AddrStack.Offset = c->Rsp; 133 frame.AddrFrame.Offset = c->Rbp; 157 // Translate the current PC into a symbol and byte offset from the symbol 158 DWORD64 offset; local [all...] |
/external/llvm/lib/Target/Mips/ |
MipsISelDAGToDAG.cpp | 69 SDValue &Offset) const { 75 SDValue &Offset) const { 81 SDValue &Offset) const { 87 SDValue &Offset) const { 93 SDValue &Offset) const { 99 SDValue &Offset) const { 105 SDValue &Offset, SDValue &Alias) {
|
/external/llvm/lib/Target/X86/ |
X86InstrBuilder.h | 36 /// also include the offset of a global value. 99 addOffset(const MachineInstrBuilder &MIB, int Offset) { 100 return MIB.addImm(1).addReg(0).addImm(Offset).addReg(0); 104 /// [Reg + Offset], i.e., one with no scale or index, but with a 109 unsigned Reg, bool isKill, int Offset) { 110 return addOffset(MIB.addReg(Reg, getKillRegState(isKill)), Offset); 145 /// reference has base register as the FrameIndex offset until it is resolved. 146 /// This allows a constant offset to be specified as well... 149 addFrameReference(const MachineInstrBuilder &MIB, int FI, int Offset = 0) { 160 MF.getMachineMemOperand(MachinePointerInfo::getFixedStack(FI, Offset), [all...] |
/external/llvm/lib/CodeGen/ |
PrologEpilogInserter.cpp | 316 MFI->CreateFixedSpillStackObject(RC->getSize(), FixedSlot->Offset); 400 /// AdjustStackOffset - Helper function used to adjust the stack frame offset. 403 bool StackGrowsDown, int64_t &Offset, 407 Offset += MFI->getObjectSize(FrameIdx); 416 Offset = (Offset + Align - 1) / Align * Align; 419 DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << -Offset << "]\n"); 420 MFI->setObjectOffset(FrameIdx, -Offset); // Set the computed offset 422 DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << Offset << "]\n") [all...] |
/external/llvm/lib/Target/MSP430/ |
MSP430RegisterInfo.cpp | 117 int Offset = MF.getFrameInfo()->getObjectOffset(FrameIndex); 120 Offset += 2; 123 Offset += MF.getFrameInfo()->getStackSize(); 125 Offset += 2; // Skip the saved FPW 127 // Fold imm into offset 128 Offset += MI.getOperand(FIOperandNum + 1).getImm(); 139 if (Offset == 0) 142 // We need to materialize the offset via add instruction. 144 if (Offset < 0) 146 .addReg(DstReg).addImm(-Offset); [all...] |
/external/clang/lib/AST/ |
RecordLayoutBuilder.cpp | 72 /// MaxEmptyClassOffset - The highest offset known to contain an empty 80 void AddSubobjectAtOffset(const CXXRecordDecl *RD, CharUnits Offset); 83 CharUnits Offset, bool PlacingEmptyBase); 87 CharUnits Offset); 88 void UpdateEmptyFieldSubobjects(const FieldDecl *FD, CharUnits Offset); 91 /// subobjects beyond the given offset. 92 bool AnyEmptySubobjectsBeyondOffset(CharUnits Offset) const { 93 return Offset <= MaxEmptyClassOffset; 100 "Field offset not at char boundary!"); 107 CharUnits Offset) const [all...] |
/external/llvm/lib/Transforms/Scalar/ |
ScalarReplAggregates.cpp | 154 void isSafeForScalarRepl(Instruction *I, uint64_t Offset, AllocaInfo &Info); 155 void isSafePHISelectUseForScalarRepl(Instruction *User, uint64_t Offset, 157 void isSafeGEP(GetElementPtrInst *GEPI, uint64_t &Offset, AllocaInfo &Info); 158 void isSafeMemAccess(uint64_t Offset, uint64_t MemSize, 161 bool TypeHasComponent(Type *T, uint64_t Offset, uint64_t Size); 162 uint64_t FindElementAndOffset(Type *&T, uint64_t &Offset, 169 void RewriteForScalarRepl(Instruction *I, AllocaInst *AI, uint64_t Offset, 171 void RewriteBitCast(BitCastInst *BC, AllocaInst *AI, uint64_t Offset, 173 void RewriteGEP(GetElementPtrInst *GEPI, AllocaInst *AI, uint64_t Offset, 176 uint64_t Offset, [all...] |