/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
D | RuntimeDyldMachOAArch64.h | 34 /// Extract the addend encoded in the instruction / memory location. 39 int64_t Addend = 0; in decodeAddend() local 64 Addend = *reinterpret_cast<support::ulittle32_t *>(LocalAddress); in decodeAddend() 66 Addend = *reinterpret_cast<support::ulittle64_t *>(LocalAddress); in decodeAddend() 73 // Get the 26 bit addend encoded in the branch instruction and sign-extend in decodeAddend() 76 Addend = (*p & 0x03FFFFFF) << 2; in decodeAddend() 77 Addend = SignExtend64(Addend, 28); in decodeAddend() 86 // Get the 21 bit addend encoded in the adrp instruction and sign-extend in decodeAddend() 89 Addend = ((*p & 0x60000000) >> 29) | ((*p & 0x01FFFFE0) >> 3) << 12; in decodeAddend() 90 Addend = SignExtend64(Addend, 33); in decodeAddend() [all …]
|
D | RuntimeDyldCOFFThumb.h | 60 // Determine the Addend used to adjust the relocation value. in processRelocationRef() 61 uint64_t Addend = 0; in processRelocationRef() local 70 Addend = readBytesUnaligned(Displacement, 4); in processRelocationRef() 82 << " Addend " << Addend << "\n"); in processRelocationRef() 103 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, in processRelocationRef() 116 getSymbolOffset(*Symbol) + Addend); in processRelocationRef() 122 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, in processRelocationRef() 132 getSymbolOffset(*Symbol) + Addend, true, 0); in processRelocationRef() 156 : Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend); in resolveRelocation() 172 Sections[0].getLoadAddress() + RE.Addend; in resolveRelocation() [all …]
|
D | RuntimeDyldCOFFI386.h | 61 // Determine the Addend used to adjust the relocation value. in processRelocationRef() 62 uint64_t Addend = 0; in processRelocationRef() local 72 Addend = readBytesUnaligned(Displacement, 4); in processRelocationRef() 85 << " Addend " << Addend << "\n"); in processRelocationRef() 106 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, in processRelocationRef() 119 getSymbolOffset(*Symbol) + Addend); in processRelocationRef() 146 RE.Addend); in resolveRelocation() 162 Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend) - in resolveRelocation() 180 Result = Result - Section.getLoadAddress() + RE.Addend - 4 - RE.Offset; in resolveRelocation() 205 assert(static_cast<int32_t>(RE.Addend) <= INT32_MAX && in resolveRelocation() [all …]
|
D | RuntimeDyldCOFFX86_64.h | 60 // the symbol resides (RE.Addend provides additional information about the 80 uint64_t Result = Value + RE.Addend; in resolveRelocation() 99 writeBytesUnaligned(Value + RE.Addend, Target, 8); in resolveRelocation() 127 // Determine the Addend used to adjust the relocation value. in processRelocationRef() 130 uint64_t Addend = 0; in processRelocationRef() local 144 Addend = readBytesUnaligned(Displacement, 4); in processRelocationRef() 150 Addend = readBytesUnaligned(Displacement, 8); in processRelocationRef() 165 << " Addend " << Addend << "\n"); in processRelocationRef() 168 RelocationEntry RE(SectionID, Offset, RelType, Addend); in processRelocationRef() 179 RelocationEntry RE(SectionID, Offset, RelType, TargetOffset + Addend); in processRelocationRef()
|
D | RuntimeDyldMachOI386.h | 69 RE.Addend = memcpyAddend(RE); in processRelocationRef() 84 // Value.Addend += RelocAddr + 4; in processRelocationRef() 89 RE.Addend = Value.Offset; in processRelocationRef() 112 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation() 120 Value = SectionABase - SectionBBase + RE.Addend; in resolveRelocation() 159 uint64_t Addend = readBytesUnaligned(LocalAddress, NumBytes); in processSECTDIFFRelocation() local 192 // Compute the addend 'C' from the original expression 'A - B + C'. in processSECTDIFFRelocation() 193 Addend -= AddrA - AddrB; in processSECTDIFFRelocation() 196 << ", Addend: " << Addend << ", SectionA ID: " << SectionAID in processSECTDIFFRelocation() 200 RelocationEntry R(SectionID, Offset, RelocType, Addend, SectionAID, in processSECTDIFFRelocation()
|
D | RuntimeDyldMachOX86_64.h | 52 RE.Addend = memcpyAddend(RE); in processRelocationRef() 77 RE.Addend = Value.Offset; in processRelocationRef() 110 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation() 117 Value = SectionABase - SectionBBase + RE.Addend; in resolveRelocation() 135 Value.Offset -= RE.Addend; in processGOTRelocation() 154 MachO::X86_64_RELOC_UNSIGNED, RE.Addend, true, 2); in processGOTRelocation() 171 int64_t Addend = in processSubtractRelocation() local 197 Addend += SecB.getAddress(); in processSubtractRelocation() 223 Addend -= SecA.getAddress(); in processSubtractRelocation() 226 RelocationEntry R(SectionID, Offset, MachO::X86_64_RELOC_SUBTRACTOR, (uint64_t)Addend, in processSubtractRelocation()
|
D | RuntimeDyldMachOARM.h | 92 RE.Addend = decodeAddend(RE); in processRelocationRef() 105 RE.Addend = Value.Offset; in processRelocationRef() 133 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation() 138 Value += RE.Addend; in resolveRelocation() 158 Value = SectionABase - SectionBBase + RE.Addend; in resolveRelocation() 276 int64_t Addend = FullImmVal - (AddrA - AddrB); in processHALFSECTDIFFRelocation() local 278 // addend = Encoded - Expected in processHALFSECTDIFFRelocation() 282 << ", Addend: " << Addend << ", SectionA ID: " << SectionAID in processHALFSECTDIFFRelocation() 286 RelocationEntry R(SectionID, Offset, RelocType, Addend, SectionAID, in processHALFSECTDIFFRelocation()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldELF.cpp | 228 uint32_t Type, int64_t Addend, in resolveX86_64Relocation() argument 236 Value + Addend; in resolveX86_64Relocation() 237 DEBUG(dbgs() << "Writing " << format("%p", (Value + Addend)) << " at " in resolveX86_64Relocation() 243 Value += Addend; in resolveX86_64Relocation() 256 int64_t RealOffset = Value + Addend - FinalAddress; in resolveX86_64Relocation() 264 int64_t RealOffset = Value + Addend - FinalAddress; in resolveX86_64Relocation() 273 int64_t RealOffset = Value + Addend - FinalAddress; in resolveX86_64Relocation() 283 uint32_t Type, int32_t Addend) { in resolveX86Relocation() argument 287 Value + Addend; in resolveX86Relocation() 293 uint32_t RealOffset = Value + Addend - FinalAddress; in resolveX86Relocation() [all …]
|
D | RuntimeDyldImpl.h | 130 /// Addend - the relocation addend encoded in the instruction itself. Also 132 int64_t Addend; variable 152 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend) in RelocationEntry() argument 153 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry() 156 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, in RelocationEntry() argument 158 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry() 161 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, in RelocationEntry() argument 163 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry() 166 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, in RelocationEntry() argument 170 Addend(SectionAOffset - SectionBOffset + addend), IsPCRel(IsPCRel), in RelocationEntry() [all …]
|
D | RuntimeDyldELF.h | 30 uint64_t Value, uint32_t Type, int64_t Addend, 34 uint64_t Value, uint32_t Type, int64_t Addend, 38 uint32_t Value, uint32_t Type, int32_t Addend); 41 uint64_t Value, uint32_t Type, int64_t Addend); 44 uint32_t Value, uint32_t Type, int32_t Addend); 47 uint32_t Value, uint32_t Type, int32_t Addend); 50 uint64_t Value, uint32_t Type, int64_t Addend); 53 uint64_t Value, uint32_t Type, int64_t Addend); 56 uint64_t Value, uint32_t Type, int64_t Addend); 59 uint64_t Value, uint32_t Type, int64_t Addend, [all …]
|
D | 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* 93 /// immediate (held in RE.Addend). 94 /// In both cases the Addend field is *NOT* fixed up to be PC-relative. That 103 /// Make the RelocationValueRef addend PC-relative.
|
/external/llvm/include/llvm/Object/ |
D | RelocVisitor.h | 268 // Ideally the Addend here will be the addend in the data for 284 int64_t Addend = getELFAddend(R); in visitELF_X86_64_64() local 285 return RelocToApply(Value + Addend, 8); in visitELF_X86_64_64() 288 int64_t Addend = getELFAddend(R); in visitELF_X86_64_PC32() local 290 return RelocToApply(Value + Addend - Address, 4); in visitELF_X86_64_PC32() 293 int64_t Addend = getELFAddend(R); in visitELF_X86_64_32() local 294 uint32_t Res = (Value + Addend) & 0xFFFFFFFF; in visitELF_X86_64_32() 298 int64_t Addend = getELFAddend(R); in visitELF_X86_64_32S() local 299 int32_t Res = (Value + Addend) & 0xFFFFFFFF; in visitELF_X86_64_32S() 305 int64_t Addend = getELFAddend(R); in visitELF_PPC64_ADDR32() local [all …]
|
/external/llvm/test/Analysis/BasicAA/ |
D | sequential-gep.ll | 5 define void @t1([8 x i32]* %p, i32 %addend, i32* %q) { 7 %add = add nsw nuw i32 %addend, %knownnonzero 8 %gep1 = getelementptr [8 x i32], [8 x i32]* %p, i32 2, i32 %addend 15 define void @t2([8 x i32]* %p, i32 %addend, i32* %q) { 17 %add = add nsw nuw i32 %addend, %knownnonzero 18 %gep1 = getelementptr [8 x i32], [8 x i32]* %p, i32 1, i32 %addend 25 define void @t3([8 x i32]* %p, i32 %addend, i32* %q) { 27 %add = add nsw nuw i32 %addend, %knownnonzero 35 define void @t4([8 x i32]* %p, i32 %addend, i32* %q) { 37 %add = add nsw nuw i32 %addend, %knownnonzero [all …]
|
/external/llvm/test/Object/ |
D | dyn-rel-relocation.test | 20 // .word v2+4 # R_MIPS_32 target v2 addend 4 21 // .word v1 # R_MIPS_32 target v1 addend 0 35 // CHECK-NEXT: Addend: 0x0 41 // CHECK-NEXT: Addend: 0x0 47 // CHECK-NEXT: Addend: 0x0 57 // CHECK-NEXT: Addend: 0x0 63 // CHECK-NEXT: Addend: 0x0 69 // CHECK-NEXT: Addend: 0x0
|
D | relocation-executable.test | 12 // CHECK-NEXT: Addend: 0x0 20 // CHECK-NEXT: Addend: 0x0 26 // CHECK-NEXT: Addend: 0x0 35 // DYN-NEXT: Addend: 0x0 41 // DYN-NEXT: Addend: 0x0 47 // DYN-NEXT: Addend: 0x0 59 // DYN2-NEXT: Addend: 0x0
|
/external/llvm/test/Object/Mips/ |
D | elf-mips64-rel.yaml | 22 # YAML-NEXT: Addend: 4 28 # YAML-NEXT: Addend: 8 69 Addend: 4 75 Addend: 8 79 Addend: 0 83 Addend: 0 87 Addend: 0 93 Addend: 0
|
/external/google-breakpad/src/common/ |
D | test_assembler.cc | 67 Label Label::operator+(uint64_t addend) const { in operator +() 69 l.value_->Set(this->value_, addend); in operator +() 106 uint64_t addend; in IsKnownConstant() local 107 value_->Get(&base, &addend); in IsKnownConstant() 109 if (value_p) *value_p = addend; in IsKnownConstant() 129 Label::Binding::Binding(uint64_t addend) in Binding() argument 130 : base_(NULL), addend_(addend), reference_count_(1) { } in Binding() 138 void Label::Binding::Set(Binding *binding, uint64_t addend) { in Set() argument 141 assert(addend_ == addend); in Set() 145 binding->Set(NULL, addend_ - addend); in Set() [all …]
|
/external/llvm/test/tools/sanstats/ |
D | elf.test | 86 Addend: 55 93 Addend: 59 103 Addend: 64 107 Addend: 16 111 Addend: 67 115 Addend: 32 119 Addend: 70 163 Addend: 16 167 Addend: 32
|
/external/llvm/test/Transforms/LoopStrengthReduce/ |
D | sext-ind-var.ll | 33 %addend = load float, float* %ptr, align 4 34 %nextsum = fadd float %sum, %addend 66 %addend = load float, float* %ptr, align 4 67 %nextsum = fadd float %sum, %addend 98 %addend = load float, float* %ptr, align 4 99 %nextsum = fadd float %sum, %addend 132 %addend = load float, float* %ptr, align 4 133 %nextsum = fadd float %sum, %addend
|
/external/llvm/include/llvm/MC/ |
D | MCELFObjectWriter.h | 35 uint64_t Addend; // The addend to use. member 37 uint64_t OriginalAddend; // The original value of addend. 40 uint64_t Addend, const MCSymbolELF *OriginalSymbol, in ELFRelocationEntry() 42 : Offset(Offset), Symbol(Symbol), Type(Type), Addend(Addend), in ELFRelocationEntry() 47 << ", Addend=" << Addend << ", OriginalSymbol=" << OriginalSymbol in print()
|
/external/syslinux/gpxe/src/util/ |
D | zbin.c | 218 signed long addend; in process_zinfo_add() local 234 addend = *( ( int8_t * ) target ); in process_zinfo_add() 237 addend = *( ( int16_t * ) target ); in process_zinfo_add() 240 addend = *( ( int32_t * ) target ); in process_zinfo_add() 248 val = size + addend; in process_zinfo_add() 256 ( ( addend < 0 ) ? "-" : "" ), abs ( addend ), size, in process_zinfo_add() 257 offset, ( ( addend < 0 ) ? "under" : "over" ) ); in process_zinfo_add() 264 ( ( addend < 0 ) ? "-" : "" ), abs ( addend ), size, in process_zinfo_add() 285 ( ( addend < 0 ) ? "-" : "" ), abs ( addend ), in process_zinfo_add()
|
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/ |
D | fast-isel-static.ll | 4 define void @myadd(float* %sum, float* %addend) nounwind { 7 %addend.addr = alloca float*, align 4 9 store float* %addend, float** %addend.addr, align 4 12 %tmp2 = load float** %addend.addr, align 4
|
/external/llvm/test/CodeGen/ARM/ |
D | 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/lib/Target/PowerPC/ |
D | PPCVSXFMAMutate.cpp | 79 // The default (A-type) VSX FMA form kills the addend (it is taken from in processBlock() 119 // The addend and this instruction must be in the same block. in processBlock() 124 // The addend must be a full copy within the same register class. in processBlock() 142 // In theory, there could be other uses of the addend copy before this in processBlock() 146 // prior to the fma. In order to replace the addend here with the in processBlock() 206 // If the addend copy is used only by this MI, then the addend source in processBlock() 208 // legality checks above, the live range for the addend source register in processBlock() 241 "Addend copy not tied to old FMA output!"); in processBlock() 261 // If the addend is also a multiplicand, replace it with the addend in processBlock() 314 // Extend the live interval of the addend source (it might end at the in processBlock()
|
/external/llvm/test/MC/Mips/ |
D | relocation-xfail.s | 10 // but it refers to microMIPS code so the addend must indicate this in the LSB. 11 // The addend must therefore be 0x9. 28 // but it refers to microMIPS code so the addend must indicate this in the LSB. 29 // The addend must therefore be 0x9.
|