/external/llvm/include/llvm/Object/ |
RelocVisitor.h | 227 int64_t Addend; 228 Obj->getRelocationAddend(DRI, Addend); 229 return Addend; 235 int64_t Addend; 236 Obj->getRelocationAddend(DRI, Addend); 237 return Addend; 243 int64_t Addend; 244 Obj->getRelocationAddend(DRI, Addend); 245 return Addend; 251 int64_t Addend; [all...] |
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
RuntimeDyldMachOAArch64.h | 34 /// Extract the addend encoded in the instruction / memory location. 39 int64_t Addend = 0; 64 Addend = *reinterpret_cast<support::ulittle32_t *>(LocalAddress); 66 Addend = *reinterpret_cast<support::ulittle64_t *>(LocalAddress); 73 // Get the 26 bit addend encoded in the branch instruction and sign-extend 76 Addend = (*p & 0x03FFFFFF) << 2; 77 Addend = SignExtend64(Addend, 28); 86 // Get the 21 bit addend encoded in the adrp instruction and sign-extend 89 Addend = ((*p & 0x60000000) >> 29) | ((*p & 0x01FFFFE0) >> 3) << 12 [all...] |
RuntimeDyldMachOI386.h | 56 RE.Addend = memcpyAddend(RE); 68 // Value.Addend += RelocAddr + 4; 73 RE.Addend = Value.Offset; 98 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); 106 Value = SectionABase - SectionBBase + RE.Addend; 145 uint64_t Addend = readBytesUnaligned(LocalAddress, NumBytes); 170 if (Addend != AddrA - AddrB) 171 Error("Unexpected SECTDIFF relocation addend."); 174 << ", Addend: " << Addend << ", SectionA ID: " << SectionAI [all...] |
RuntimeDyldCOFFX86_64.h | 60 // the symbol resides (RE.Addend provides additional information about the 81 uint64_t Result = Value + RE.Addend; 102 *TargetAddress = Value + RE.Addend; 135 // Determine the Addend used to adjust the relocation value. 140 uint64_t Addend = 0; 154 Addend = *Displacement; 160 Addend = *Displacement; 172 << " Addend " << Addend << "\n"); 174 RelocationEntry RE(SectionID, Offset, RelType, TargetOffset + Addend); [all...] |
/external/clang/test/CodeGen/ |
cleanup-stack.c | 6 int addend; member in struct:s0 10 *p->var += p->addend;
|
/bionic/tools/relocation_packer/src/ |
delta_encoder_unittest.cc | 16 int32_t addend, 21 relocation.r_addend = addend; 28 int32_t addend, 32 relocation.r_addend == addend; 68 // Add a second relocation, 4 byte offset delta, 12 byte addend delta. 85 EXPECT_EQ(10000U, packed[ndx++]); // addend delta 86 EXPECT_EQ(12U, packed[ndx++]); // addend delta 88 // Add a third relocation, 4 byte offset delta, 12 byte addend delta. 92 // Add three more relocations, 8 byte offset deltas, -24 byte addend deltas. 115 EXPECT_EQ(10000U, packed[ndx++]); // addend delt [all...] |
packer_unittest.cc | 16 typename ELF::Sxword addend, 21 relocation.r_addend = addend; 29 typename ELF::Sxword addend, 33 relocation.r_addend == addend; 153 // Two more relocations, 4 byte offset deltas, 12 byte addend deltas. 156 // Three more relocations, 8 byte deltas, -24 byte addend deltas. 194 // group 1 - addend 1: 10024 = 0xa8, 0xce, 0x80 198 // group 1 - addend 2: -12 = 0x74 200 // group 1 - addend 3: +12 = 0x0c 209 // group 2 - addend 1: -24 = 0x6 [all...] |
delta_encoder.cc | 105 // If the relocation group does not have an addend - reset it to 0 106 // to simplify addend computation for the group following this one. 129 ElfAddr addend = 0; local 147 addend += packed[ndx++]; 164 addend += packed[ndx++]; 170 reloc.r_addend = is_relocation_group_has_addend(group_flags) ? addend : 0; 175 addend = 0; 225 // Current implementation prefers having groups without addend (== zero addend) 226 // to any other groups field with the ratio 3:1. This is because addend tend [all...] |
/external/lldb/test/lang/objc/blocks/ |
ivars-in-blocks.m | 15 + (int) addend 24 int ret = foo + [self addend];
|
/external/llvm/test/MC/ELF/ |
reloc-same-name-section.s | 11 // CHECK-NEXT: Addend: 17 // CHECK-NEXT: Addend:
|
/external/llvm/test/Object/Mips/ |
elf-mips64-rel.yaml | 22 # YAML-NEXT: Addend: 4 28 # YAML-NEXT: Addend: 8 68 Addend: 4 74 Addend: 8 78 Addend: 0 82 Addend: 0 86 Addend: 0 92 Addend: 0
|
/external/llvm/test/Object/ |
relocation-executable.test | 10 // CHECK-NEXT: Addend: 0x0 18 // CHECK-NEXT: Addend: 0x0 24 // CHECK-NEXT: Addend: 0x0
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldELF.cpp | 225 uint32_t Type, int64_t Addend, 232 support::ulittle64_t::ref(Section.Address + Offset) = Value + Addend; 233 DEBUG(dbgs() << "Writing " << format("%p", (Value + Addend)) << " at " 239 Value += Addend; 255 int64_t RealOffset = Value + Addend - FinalAddress; 270 int64_t RealOffset = Value + Addend - FinalAddress; 281 uint32_t Type, int32_t Addend) { 289 Placeholder + Value + Addend; 298 uint32_t RealOffset = Placeholder + Value + Addend - FinalAddress; 312 uint32_t Type, int64_t Addend) { [all...] |
RuntimeDyldImpl.h | 97 /// Addend - the relocation addend encoded in the instruction itself. Also 99 int64_t Addend; 119 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend) 120 : SectionID(id), Offset(offset), RelType(type), Addend(addend), 123 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, 125 : SectionID(id), Offset(offset), RelType(type), Addend(addend), 128 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, [all...] |
RuntimeDyldELF.h | 27 uint64_t Value, uint32_t Type, int64_t Addend, 31 uint64_t Value, uint32_t Type, int64_t Addend, 35 uint32_t Value, uint32_t Type, int32_t Addend); 38 uint64_t Value, uint32_t Type, int64_t Addend); 41 uint32_t Value, uint32_t Type, int32_t Addend); 44 uint32_t Value, uint32_t Type, int32_t Addend); 47 uint64_t Value, uint32_t Type, int64_t Addend); 50 uint64_t Value, uint32_t Type, int64_t Addend);
|
RuntimeDyldMachO.h | 56 /// This convenience method uses memcpy to extract a contiguous addend (the 57 /// addend size and offset are taken from the corresponding fields of the RE). 61 /// RelocationEntry and fill in the common fields. The 'Addend' field is *not* 88 /// immediate (held in RE.Addend). 89 /// In both cases the Addend field is *NOT* fixed up to be PC-relative. That 97 /// Make the RelocationValueRef addend PC-relative.
|
/external/llvm/test/CodeGen/ARM/ |
fast-isel-static.ll | 6 define void @myadd(float* %sum, float* %addend) nounwind { 9 %addend.addr = alloca float*, align 4 11 store float* %addend, float** %addend.addr, align 4 14 %tmp2 = load float*, float** %addend.addr, align 4
|
/external/llvm/test/CodeGen/Thumb2/ |
thumb2-uxt_rot.ll | 42 %addend = zext i8 %X.trunc to i32 44 %sum = add i32 %A, %addend 53 %addend = zext i16 %X.trunc to i32 55 %sum = add i32 %A, %addend
|
thumb2-sxt_rot.ll | 38 %addend = sext i16 %X.trunc to i32 40 %sum = add i32 %A, %addend
|
/external/llvm/test/ExecutionEngine/MCJIT/ |
2013-04-04-RelocAddend.ll | 3 ; Verify relocations to global symbols with addend work correctly.
|
/external/llvm/test/ExecutionEngine/OrcMCJIT/ |
2013-04-04-RelocAddend.ll | 3 ; Verify relocations to global symbols with addend work correctly.
|
/external/google-breakpad/src/common/ |
test_assembler.cc | 67 Label Label::operator+(uint64_t addend) const { 69 l.value_->Set(this->value_, addend); 106 uint64_t addend; local 107 value_->Get(&base, &addend); 109 if (value_p) *value_p = addend; 129 Label::Binding::Binding(uint64_t addend) 130 : base_(NULL), addend_(addend), reference_count_(1) { } 138 void Label::Binding::Set(Binding *binding, uint64_t addend) { 141 assert(addend_ == addend); 145 binding->Set(NULL, addend_ - addend); [all...] |
/external/llvm/test/Object/AArch64/ |
yaml2obj-elf-aarch64-rel.yaml | 37 Addend: 0 41 Addend: 0
|
/external/llvm/include/llvm/MC/ |
MCELFObjectWriter.h | 33 uint64_t Addend; // The addend to use. 36 uint64_t Addend) 37 : Offset(Offset), Symbol(Symbol), Type(Type), Addend(Addend) {}
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
Relocation.h | 60 /// @param pAddend [in] the addend of the relocation entry 74 /// addend - A value 75 Address addend() const { return m_Addend; } function in class:mcld::Relocation 97 /// updateAddend - A relocation with a section symbol must update addend 121 /// m_Addend - the addend
|