| /external/swiftshader/third_party/llvm-16.0/llvm/lib/Object/ |
| D | RelocationResolver.cpp | 58 uint64_t LocData, int64_t Addend) { in resolveX86_64() argument 65 return S + Addend; in resolveX86_64() 68 return S + Addend - Offset; in resolveX86_64() 71 return (S + Addend) & 0xFFFFFFFF; in resolveX86_64() 91 uint64_t /*LocData*/, int64_t Addend) { in resolveAArch64() argument 94 return (S + Addend) & 0xFFFFFFFF; in resolveAArch64() 96 return S + Addend; in resolveAArch64() 98 return (S + Addend - Offset) & 0xFFFF; in resolveAArch64() 100 return (S + Addend - Offset) & 0xFFFFFFFF; in resolveAArch64() 102 return S + Addend - Offset; in resolveAArch64() [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/ExecutionEngine/JITLink/ |
| D | riscv.h | 30 /// Fixup <= Target + Addend : uint32 37 /// Fixup <- Target + Addend : uint32 44 /// Fixup <- (Target - Fixup + Addend) 51 /// Fixup <- Target - Fixup + Addend 58 /// Fixup <- (Target - Fixup + Addend) 64 /// Fixup <- (Target - Fixup + Addend) 70 /// Fixup <- (GOT - Fixup + Addend) >> 12 76 /// Fixup <- (Target - Fixup + Addend + 0x800) >> 12 82 /// Fixup <- (Target - Fixup + Addend) & 0xFFF 88 /// Fixup <- (Target - Fixup + Addend) & 0xFFF [all …]
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| D | RuntimeDyldMachOAArch64.h | 33 /// Extract the addend encoded in the instruction / memory location. 38 int64_t Addend = 0; in decodeAddend() local 83 Addend = *reinterpret_cast<support::ulittle32_t *>(LocalAddress); in decodeAddend() 85 Addend = *reinterpret_cast<support::ulittle64_t *>(LocalAddress); in decodeAddend() 94 // Get the 26 bit addend encoded in the branch instruction and sign-extend in decodeAddend() 97 Addend = (*p & 0x03FFFFFF) << 2; in decodeAddend() 98 Addend = SignExtend64(Addend, 28); in decodeAddend() 107 // Get the 21 bit addend encoded in the adrp instruction and sign-extend in decodeAddend() 110 Addend = ((*p & 0x60000000) >> 29) | ((*p & 0x01FFFFE0) >> 3) << 12; in decodeAddend() 111 Addend = SignExtend64(Addend, 33); in decodeAddend() [all …]
|
| D | RuntimeDyldCOFFAArch64.h | 100 uint64_t Offset, uint64_t RelType, uint64_t Addend, in generateRelocationStub() argument 108 OriginalRelValueRef.Addend = Addend; in generateRelocationStub() 127 const RelocationEntry RE(SectionID, Offset, RelType, Addend); in generateRelocationStub() 133 Addend = 0; in generateRelocationStub() 137 return std::make_tuple(Offset, RelType, Addend); in generateRelocationStub() 166 // Determine the Addend used to adjust the relocation value. in processRelocationRef() 167 uint64_t Addend = 0; in processRelocationRef() local 177 Addend = read32le(Displacement); in processRelocationRef() 181 Addend = (orig & 0x03FFFFFF) << 2; in processRelocationRef() 184 std::tie(Offset, RelType, Addend) = generateRelocationStub( in processRelocationRef() [all …]
|
| D | RuntimeDyldELFMips.cpp | 18 resolveMIPSO32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend); in resolveRelocation() 20 resolveMIPSN32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation() 23 resolveMIPSN64Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation() 31 uint64_t Addend) { in evaluateRelocation() argument 35 Addend, RE.SymOffset, RE.SectionID); in evaluateRelocation() 110 int64_t Addend, uint64_t SymOffset, SID SectionID) { in evaluateMIPS64Relocation() argument 117 << format("%x", Type) << " Addend: 0x" in evaluateMIPS64Relocation() 118 << format("%llx", Addend) in evaluateMIPS64Relocation() 132 return Value + Addend; in evaluateMIPS64Relocation() 134 return ((Value + Addend) >> 2) & 0x3ffffff; in evaluateMIPS64Relocation() [all …]
|
| D | RuntimeDyldCOFFX86_64.h | 50 void write32BitOffset(uint8_t *Target, int64_t Addend, uint64_t Delta) { in write32BitOffset() argument 51 uint64_t Result = Addend + Delta; in write32BitOffset() 83 // the symbol resides (RE.Addend provides additional information about the 103 uint64_t Result = Value + RE.Addend; in resolveRelocation() 120 write32BitOffset(Target, RE.Addend, Value - ImageBase); in resolveRelocation() 126 writeBytesUnaligned(Value + RE.Addend, Target, 8); in resolveRelocation() 131 assert(static_cast<int64_t>(RE.Addend) <= INT32_MAX && "Relocation overflow"); in resolveRelocation() 132 assert(static_cast<int64_t>(RE.Addend) >= INT32_MIN && "Relocation underflow"); in resolveRelocation() 133 writeBytesUnaligned(RE.Addend, Target, 4); in resolveRelocation() 145 uint64_t Offset, uint64_t RelType, uint64_t Addend, in generateRelocationStub() argument [all …]
|
| D | RuntimeDyldCOFFThumb.h | 82 // Determine the Addend used to adjust the relocation value. in processRelocationRef() 83 uint64_t Addend = 0; in processRelocationRef() local 92 Addend = readBytesUnaligned(Displacement, 4); in processRelocationRef() 104 << TargetName << " Addend " << Addend << "\n"); in processRelocationRef() 128 SectionID, Offset, RelType, Addend, TargetSectionID, in processRelocationRef() 135 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, in processRelocationRef() 148 getSymbolOffset(*Symbol) + Addend); in processRelocationRef() 154 SectionID, Offset, RelType, Addend, TargetSectionID, in processRelocationRef() 164 getSymbolOffset(*Symbol) + Addend, true, 0); in processRelocationRef() 189 : Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend); in resolveRelocation() [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| D | RuntimeDyldMachOAArch64.h | 33 /// Extract the addend encoded in the instruction / memory location. 38 int64_t Addend = 0; in decodeAddend() local 83 Addend = *reinterpret_cast<support::ulittle32_t *>(LocalAddress); in decodeAddend() 85 Addend = *reinterpret_cast<support::ulittle64_t *>(LocalAddress); in decodeAddend() 94 // Get the 26 bit addend encoded in the branch instruction and sign-extend in decodeAddend() 97 Addend = (*p & 0x03FFFFFF) << 2; in decodeAddend() 98 Addend = SignExtend64(Addend, 28); in decodeAddend() 107 // Get the 21 bit addend encoded in the adrp instruction and sign-extend in decodeAddend() 110 Addend = ((*p & 0x60000000) >> 29) | ((*p & 0x01FFFFE0) >> 3) << 12; in decodeAddend() 111 Addend = SignExtend64(Addend, 33); in decodeAddend() [all …]
|
| D | RuntimeDyldELFMips.cpp | 18 resolveMIPSO32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend); in resolveRelocation() 20 resolveMIPSN32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation() 23 resolveMIPSN64Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation() 31 uint64_t Addend) { in evaluateRelocation() argument 35 Addend, RE.SymOffset, RE.SectionID); in evaluateRelocation() 110 int64_t Addend, uint64_t SymOffset, SID SectionID) { in evaluateMIPS64Relocation() argument 117 << format("%x", Type) << " Addend: 0x" in evaluateMIPS64Relocation() 118 << format("%llx", Addend) in evaluateMIPS64Relocation() 132 return Value + Addend; in evaluateMIPS64Relocation() 134 return ((Value + Addend) >> 2) & 0x3ffffff; in evaluateMIPS64Relocation() [all …]
|
| D | RuntimeDyldCOFFAArch64.h | 101 uint64_t Offset, uint64_t RelType, uint64_t Addend, in generateRelocationStub() argument 109 OriginalRelValueRef.Addend = Addend; in generateRelocationStub() 128 const RelocationEntry RE(SectionID, Offset, RelType, Addend); in generateRelocationStub() 134 Addend = 0; in generateRelocationStub() 138 return std::make_tuple(Offset, RelType, Addend); in generateRelocationStub() 167 // Determine the Addend used to adjust the relocation value. in processRelocationRef() 168 uint64_t Addend = 0; in processRelocationRef() local 196 Addend = read32le(Displacement); in processRelocationRef() 200 Addend = (orig & 0x03FFFFFF) << 2; in processRelocationRef() 203 std::tie(Offset, RelType, Addend) = generateRelocationStub( in processRelocationRef() [all …]
|
| D | RuntimeDyldCOFFX86_64.h | 50 void write32BitOffset(uint8_t *Target, int64_t Addend, uint64_t Delta) { in write32BitOffset() argument 51 uint64_t Result = Addend + Delta; in write32BitOffset() 84 // the symbol resides (RE.Addend provides additional information about the 104 uint64_t Result = Value + RE.Addend; in resolveRelocation() 120 write32BitOffset(Target, RE.Addend, Value - ImageBase); in resolveRelocation() 126 writeBytesUnaligned(Value + RE.Addend, Target, 8); in resolveRelocation() 131 assert(static_cast<int64_t>(RE.Addend) <= INT32_MAX && "Relocation overflow"); in resolveRelocation() 132 assert(static_cast<int64_t>(RE.Addend) >= INT32_MIN && "Relocation underflow"); in resolveRelocation() 133 writeBytesUnaligned(RE.Addend, Target, 4); in resolveRelocation() 145 uint64_t Offset, uint64_t RelType, uint64_t Addend, in generateRelocationStub() argument [all …]
|
| D | RuntimeDyldCOFFThumb.h | 81 // Determine the Addend used to adjust the relocation value. in processRelocationRef() 82 uint64_t Addend = 0; in processRelocationRef() local 91 Addend = readBytesUnaligned(Displacement, 4); in processRelocationRef() 103 << TargetName << " Addend " << Addend << "\n"); in processRelocationRef() 140 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, in processRelocationRef() 147 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, in processRelocationRef() 160 RelocationEntry(SectionID, Offset, RelType, TargetOffset + Addend); in processRelocationRef() 166 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, in processRelocationRef() 175 TargetOffset + Addend, true, 0); in processRelocationRef() 200 : Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend); in resolveRelocation() [all …]
|
| /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 …]
|
| /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 …]
|
| /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/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| D | RuntimeDyldELF.cpp | 268 uint32_t Type, int64_t Addend, in resolveX86_64Relocation() argument 278 Value + Addend; in resolveX86_64Relocation() 279 LLVM_DEBUG(dbgs() << "Writing " << format("%p", (Value + Addend)) << " at " in resolveX86_64Relocation() 285 Value += Addend; in resolveX86_64Relocation() 298 int64_t RealOffset = Value + Addend - FinalAddress; in resolveX86_64Relocation() 306 int64_t RealOffset = Value + Addend - FinalAddress; in resolveX86_64Relocation() 315 int64_t RealOffset = Value + Addend - FinalAddress; in resolveX86_64Relocation() 332 int64_t GOTOffset = Value - GOTBase + Addend; in resolveX86_64Relocation() 341 uint32_t Type, int32_t Addend) { in resolveX86Relocation() argument 345 Value + Addend; in resolveX86Relocation() [all …]
|
| /external/linux-kselftest/tools/testing/selftests/tc-testing/tc-tests/filters/ |
| D | flow.json | 92 "name": "Add flow filter with map key addend ops", 103 …: "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key dst addend 0xff", 106 …r parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys dst addend 0xff baseclass", 125 …: "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key src addend 0xff", 128 …r parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys src addend 0xff baseclass", 147 …"$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key proto addend 0xff", 150 …parent ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys proto addend 0xff baseclass", 169 … filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key proto-src addend 0xff", 172 …nt ffff: protocol ip pref 1 flow chain [0-9]+ handle 0x1 map keys proto-src addend 0xff baseclass", 191 … filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key proto-dst addend 0xff", [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| D | RuntimeDyldELF.cpp | 261 uint32_t Type, int64_t Addend, in resolveX86_64Relocation() argument 270 Value += Addend; in resolveX86_64Relocation() 279 Value += Addend; in resolveX86_64Relocation() 290 Value + Addend; in resolveX86_64Relocation() 291 LLVM_DEBUG(dbgs() << "Writing " << format("%p", (Value + Addend)) << " at " in resolveX86_64Relocation() 297 Value += Addend; in resolveX86_64Relocation() 310 int64_t RealOffset = Value + Addend - FinalAddress; in resolveX86_64Relocation() 318 int64_t RealOffset = Value + Addend - FinalAddress; in resolveX86_64Relocation() 327 int64_t RealOffset = Value + Addend - FinalAddress; in resolveX86_64Relocation() 344 int64_t GOTOffset = Value - GOTBase + Addend; in resolveX86_64Relocation() [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/pthreadpool/examples/ |
| D | addition.c | 9 double *addend; member 14 context->sum[i] = context->augend[i] + context->addend[i]; in add_arrays() 21 double addend[ARRAY_SIZE] = { 0.25, -1.75, 0.0, 0.5 }; in main() local 30 struct array_addition_context context = { augend, addend, sum }; in main() 42 printf("%8s\t%.2lf\t%.2lf\t%.2lf\t%.2lf\n", "Addend", in main() 43 addend[0], addend[1], addend[2], addend[3]); in main()
|
| /external/sdv/vsomeip/third_party/boost/icl/include/boost/icl/detail/ |
| D | interval_set_algo.hpp | 315 join_under(Type& object, const typename Type::value_type& addend) in join_under() argument 317 //ASSERT: There is at least one interval in object that overlaps with addend in join_under() 322 std::pair<iterator,iterator> overlap = object.equal_range(addend); in join_under() 329 interval_type left_resid = right_subtract(key_value<Type>(first_), addend); in join_under() 330 interval_type right_resid = left_subtract(key_value<Type>(last_) , addend); in join_under() 335 = hull(hull(left_resid, addend), right_resid); in join_under() 341 join_under(Type& object, const typename Type::value_type& addend, in join_under() argument 344 //ASSERT: There is at least one interval in object that overlaps with addend in join_under() 349 iterator first_ = object.lower_bound(addend); in join_under() 353 interval_type left_resid = right_subtract(key_value<Type>(first_), addend); in join_under() [all …]
|
| /external/sdv/vsomeip/third_party/boost/atomic/include/boost/atomic/detail/ |
| D | interlocked.hpp | 28 …e BOOST_ATOMIC_INTERLOCKED_EXCHANGE_ADD(dest, addend) _InterlockedExchangeAdd((long*)(dest), (long… argument 42 …ne BOOST_ATOMIC_INTERLOCKED_EXCHANGE_ADD(dest, addend) InterlockedExchangeAdd((long*)(dest), (long… argument 71 …e BOOST_ATOMIC_INTERLOCKED_EXCHANGE_ADD(dest, addend) _InterlockedExchangeAdd((long*)(dest), (long… argument 97 …e BOOST_ATOMIC_INTERLOCKED_EXCHANGE_ADD(dest, addend) _InterlockedExchangeAdd((long*)(dest), (long… argument 147 … BOOST_ATOMIC_INTERLOCKED_EXCHANGE_ADD8(dest, addend) _InterlockedExchangeAdd8((char*)(dest), (cha… argument 163 …OST_ATOMIC_INTERLOCKED_EXCHANGE_ADD16(dest, addend) _InterlockedExchangeAdd16((short*)(dest), (sho… argument 181 …T_ATOMIC_INTERLOCKED_EXCHANGE_ADD64(dest, addend) _InterlockedExchangeAdd64((__int64*)(dest), (__i… argument 214 …T_ATOMIC_INTERLOCKED_EXCHANGE_ADD64(dest, addend) _InterlockedExchangeAdd64((__int64*)(dest), (__i… argument 273 …MIC_INTERLOCKED_EXCHANGE_ADD8_RELAXED(dest, addend) _InterlockedExchangeAdd8_nf((char*)(dest), (ch… argument 274 …MIC_INTERLOCKED_EXCHANGE_ADD8_ACQUIRE(dest, addend) _InterlockedExchangeAdd8_acq((char*)(dest), (c… argument [all …]
|
| /external/cronet/tot/third_party/brotli/fuzz/ |
| D | decode_fuzzer.c | 13 size_t addend = 0; in LLVMFuzzerTestOneInput() local 15 addend = data[size - 1] & 7; in LLVMFuzzerTestOneInput() 26 const size_t total_out_limit = (addend == 0) ? (1 << 26) : (1 << 24); in LLVMFuzzerTestOneInput() 31 if (addend == 0) in LLVMFuzzerTestOneInput() 32 addend = size; in LLVMFuzzerTestOneInput() 33 /* Test both fast (addend == size) and slow (addend <= 7) decoding paths. */ in LLVMFuzzerTestOneInput() 35 size_t next_i = i + addend; in LLVMFuzzerTestOneInput()
|
| /external/cronet/stable/third_party/brotli/fuzz/ |
| D | decode_fuzzer.c | 13 size_t addend = 0; in LLVMFuzzerTestOneInput() local 15 addend = data[size - 1] & 7; in LLVMFuzzerTestOneInput() 26 const size_t total_out_limit = (addend == 0) ? (1 << 26) : (1 << 24); in LLVMFuzzerTestOneInput() 31 if (addend == 0) in LLVMFuzzerTestOneInput() 32 addend = size; in LLVMFuzzerTestOneInput() 33 /* Test both fast (addend == size) and slow (addend <= 7) decoding paths. */ in LLVMFuzzerTestOneInput() 35 size_t next_i = i + addend; in LLVMFuzzerTestOneInput()
|