Home
last modified time | relevance | path

Searched refs:addend (Results 1 – 25 of 203) sorted by relevance

123456789

/external/llvm-project/llvm/test/Analysis/BasicAA/
Dsequential-gep.ll5 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-project/lld/lib/ReaderWriter/MachO/
DArchHandler_arm64.cpp145 Reference::Addend *addend) override;
156 Reference::Addend *addend) override;
382 const lld::Atom **target, Reference::Addend *addend) { in getReferenceInfo() argument
390 *addend = 0; in getReferenceInfo()
397 *addend = 0; in getReferenceInfo()
404 *addend = 0; in getReferenceInfo()
411 *addend = 0; in getReferenceInfo()
418 *addend = 0; in getReferenceInfo()
425 *addend = 0; in getReferenceInfo()
432 *addend = 0; in getReferenceInfo()
[all …]
DArchHandler_x86_64.cpp153 Reference::Addend *addend) override;
164 Reference::Addend *addend) override;
404 Reference::Addend *addend) { in getReferenceInfo() argument
415 *addend = *(const little32_t *)fixupContent; in getReferenceInfo()
420 *addend = (int32_t)*(const little32_t *)fixupContent + 1; in getReferenceInfo()
425 *addend = (int32_t)*(const little32_t *)fixupContent + 2; in getReferenceInfo()
430 *addend = (int32_t)*(const little32_t *)fixupContent + 4; in getReferenceInfo()
434 return atomFromAddress(reloc.symbol, targetAddress, target, addend); in getReferenceInfo()
437 return atomFromAddress(reloc.symbol, targetAddress, target, addend); in getReferenceInfo()
440 return atomFromAddress(reloc.symbol, targetAddress, target, addend); in getReferenceInfo()
[all …]
DArchHandler_arm.cpp90 Reference::Addend *addend) override;
101 Reference::Addend *addend) override;
529 const lld::Atom **target, Reference::Addend *addend) { in getReferenceInfo() argument
545 *addend = fixupAddress + 4 + displacement; in getReferenceInfo()
555 return atomFromAddress(reloc.symbol, targetAddress, target, addend); in getReferenceInfo()
564 if (auto ec = atomFromAddress(0, reloc.value, target, addend)) in getReferenceInfo()
568 *addend += (targetAddress - reloc.value); in getReferenceInfo()
581 *addend = fixupAddress + 8 + displacement; in getReferenceInfo()
592 return atomFromAddress(reloc.symbol, targetAddress, target, addend); in getReferenceInfo()
602 if (auto ec = atomFromAddress(0, reloc.value, target, addend)) in getReferenceInfo()
[all …]
DArchHandler_x86.cpp96 Reference::Addend *addend) override;
107 Reference::Addend *addend) override;
259 Reference::Addend *addend) { in getReferenceInfo() argument
269 *addend = fixupAddress + 4 + (int32_t)*(const little32_t *)fixupContent; in getReferenceInfo()
276 return atomFromAddress(reloc.symbol, targetAddress, target, addend); in getReferenceInfo()
283 if (auto ec = atomFromAddress(0, reloc.value, target, addend)) in getReferenceInfo()
285 *addend = targetAddress - reloc.value; in getReferenceInfo()
292 *addend = fixupAddress + 2 + (int16_t)*(const little16_t *)fixupContent; in getReferenceInfo()
299 return atomFromAddress(reloc.symbol, targetAddress, target, addend); in getReferenceInfo()
306 if (auto ec = atomFromAddress(0, reloc.value, target, addend)) in getReferenceInfo()
[all …]
/external/llvm/test/Analysis/BasicAA/
Dsequential-gep.ll5 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/
Daddition.c9 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()
43 addend[0], addend[1], addend[2], addend[3]); in main()
/external/google-breakpad/src/common/
Dtest_assembler.cc67 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/brotli/c/fuzz/
Ddecode_fuzzer.c13 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()
35 size_t next_i = i + addend; in LLVMFuzzerTestOneInput()
/external/llvm-project/lld/ELF/
DThunks.cpp51 AArch64ABSLongThunk(Symbol &dest, int64_t addend) : Thunk(dest, addend) {} in AArch64ABSLongThunk() argument
59 AArch64ADRPThunk(Symbol &dest, int64_t addend) : Thunk(dest, addend) {} in AArch64ADRPThunk() argument
247 : Thunk(dest, rel.addend), file(isec.file) {} in PPC32PltCallStub()
260 PPC32LongThunk(Symbol &dest, int64_t addend) : Thunk(dest, addend) {} in PPC32LongThunk() argument
292 PPC64R2SaveStub(Symbol &dest, int64_t addend) : Thunk(dest, addend) { in PPC64R2SaveStub() argument
367 PPC64LongBranchThunk(Symbol &dest, int64_t addend) : Thunk(dest, addend) {} in PPC64LongBranchThunk() argument
372 PPC64PILongBranchThunk(Symbol &dest, int64_t addend) in PPC64PILongBranchThunk() argument
373 : PPC64LongBranchThunk(dest, addend) { in PPC64PILongBranchThunk()
376 in.ppc64LongBranchTarget->addEntry(&dest, addend)) { in PPC64PILongBranchThunk()
380 addend + getPPC64GlobalEntryToLocalEntryOffset(dest.stOther)}); in PPC64PILongBranchThunk()
[all …]
DRelocations.cpp167 int64_t addend, RelExpr expr) { in handleMipsTlsRelocation() argument
170 c.relocations.push_back({expr, type, offset, addend, &sym}); in handleMipsTlsRelocation()
175 c.relocations.push_back({expr, type, offset, addend, &sym}); in handleMipsTlsRelocation()
191 typename ELFT::uint offset, int64_t addend, RelExpr expr) { in handleTlsRelocation() argument
196 return handleMipsTlsRelocation(type, sym, c, offset, addend, expr); in handleTlsRelocation()
207 c.relocations.push_back({expr, type, offset, addend, &sym}); in handleTlsRelocation()
234 addend, &sym}); in handleTlsRelocation()
247 c.relocations.push_back({expr, type, offset, addend, &sym}); in handleTlsRelocation()
254 type, offset, addend, &sym}); in handleTlsRelocation()
267 c.relocations.push_back({expr, type, offset, addend, &sym}); in handleTlsRelocation()
[all …]
DThunks.h31 Thunk(Symbol &destination, int64_t addend);
60 int64_t addend; variable
73 const InputFile *file, int64_t addend);
/external/llvm-project/llvm/test/Transforms/LICM/
Ddropped-tbaa.ll6 ; void add(double *restrict data, int *restrict addend) {
7 ; *data += *addend;
10 ; void foo(double *data, int *addend) {
12 ; *data += *addend;
13 ; add(data, addend);
16 ; We want to make sure the load of addend gets hoisted, independent of the second load
19 define void @foo(double* %data, i32* %addend) #0 {
44 %2 = load i32, i32* %addend, align 4, !tbaa !1
54 %5 = load i32, i32* %addend, align 4, !tbaa !1, !alias.scope !7, !noalias !10
87 !8 = distinct !{!8, !9, !"add: %addend"}
/external/pthreadpool/
DREADME.md26 context->sum[i] = context->augend[i] + context->addend[i];
33 double addend[ARRAY_SIZE] = { 0.25, -1.75, 0.0, 0.5 };
42 struct array_addition_context context = { augend, addend, sum };
55 addend[0], addend[1], addend[2], addend[3]);
/external/llvm-project/lld/MachO/
DSyntheticSections.h194 int64_t addend; member
196 BindingEntry(const DylibSymbol *dysym, int64_t addend, Location target) in BindingEntry()
197 : dysym(dysym), addend(addend), target(std::move(target)) {} in BindingEntry()
210 uint64_t offset, int64_t addend = 0) {
211 bindings.emplace_back(dysym, addend, Location(section, offset));
221 int64_t addend; member
223 WeakBindingEntry(const Symbol *symbol, int64_t addend, Location target) in WeakBindingEntry()
224 : symbol(symbol), addend(addend), target(std::move(target)) {} in WeakBindingEntry()
249 uint64_t offset, int64_t addend = 0) {
250 bindings.emplace_back(symbol, addend, Location(section, offset));
[all …]
/external/jemalloc_new/src/
Dnstime.c52 nstime_add(nstime_t *time, const nstime_t *addend) { in nstime_add() argument
53 assert(UINT64_MAX - time->ns >= addend->ns); in nstime_add()
55 time->ns += addend->ns; in nstime_add()
59 nstime_iadd(nstime_t *time, uint64_t addend) { in nstime_iadd() argument
60 assert(UINT64_MAX - time->ns >= addend); in nstime_iadd()
62 time->ns += addend; in nstime_iadd()
/external/llvm/test/CodeGen/ARM/
Dfast-isel-static.ll6 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-project/llvm/test/CodeGen/ARM/
Dfast-isel-static.ll6 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/grpc-grpc/test/core/gpr/
Dtime_test.cc185 gpr_timespec addend[3]; in test_sticky_infinities() local
188 addend[0] = gpr_inf_future(GPR_TIMESPAN); in test_sticky_infinities()
189 addend[1] = gpr_inf_past(GPR_TIMESPAN); in test_sticky_infinities()
190 addend[2] = gpr_time_0(GPR_TIMESPAN); in test_sticky_infinities()
194 for (j = 0; j != sizeof(addend) / sizeof(addend[0]); j++) { in test_sticky_infinities()
195 gpr_timespec x = gpr_time_add(infinity[i], addend[j]); in test_sticky_infinities()
197 x = gpr_time_sub(infinity[i], addend[j]); in test_sticky_infinities()
/external/llvm-project/llvm/test/Transforms/LoopStrengthReduce/
Dsext-ind-var.ll33 %addend = load float, float* %ptr, align 4
34 %nextsum = fadd float %sum, %addend
65 %addend = load float, float* %ptr, align 4
66 %nextsum = fadd float %sum, %addend
97 %addend = load float, float* %ptr, align 4
98 %nextsum = fadd float %sum, %addend
131 %addend = load float, float* %ptr, align 4
132 %nextsum = fadd float %sum, %addend
/external/llvm/test/Transforms/LoopStrengthReduce/
Dsext-ind-var.ll33 %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/tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/
Dadd_test.cc34 TensorRef<BHWC> augend, addend, output; in TEST() local
39 addend.type = DataType::FLOAT32; in TEST()
40 addend.ref = 1; in TEST()
41 addend.shape = BHWC(1, 2, 2, 1); in TEST()
49 {augend, addend}, {output}); in TEST()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dtiled_dot_emitter.cc233 llvm::Value* rhs, llvm::Value* addend, in ColumnMajorMatrixVectorProductEmitter() argument
239 addend_(addend), in ColumnMajorMatrixVectorProductEmitter()
245 CHECK(!has_addend() || addend != nullptr); in ColumnMajorMatrixVectorProductEmitter()
459 llvm::Value* rhs, llvm::Value* addend, in RowMajorMatrixVectorProductEmitter() argument
464 addend_(addend), in RowMajorMatrixVectorProductEmitter()
470 CHECK(!has_addend() || addend != nullptr); in RowMajorMatrixVectorProductEmitter()
959 llvm::Value* lhs, llvm::Value* rhs, llvm::Value* addend, in GetGemvBuffersWithCanonicalType() argument
972 llvm::Type* addend_type = addend ? addend->getType() : nullptr; in GetGemvBuffersWithCanonicalType()
980 addend ? b->CreateBitCast(addend, GetPointerToElementType(addend_type)) in GetGemvBuffersWithCanonicalType()
992 llvm::Value* rhs, llvm::Value* addend, in EmitRowMajorGemv() argument
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldImpl.h154 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend) in RelocationEntry() argument
155 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry()
158 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, in RelocationEntry() argument
160 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry()
164 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, in RelocationEntry() argument
166 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry()
169 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, in RelocationEntry() argument
173 Addend(SectionAOffset - SectionBOffset + addend), IsPCRel(IsPCRel), in RelocationEntry()
179 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, in RelocationEntry() argument
184 Addend(SectionAOffset - SectionBOffset + addend), IsPCRel(IsPCRel), in RelocationEntry()
/external/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldImpl.h153 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend) in RelocationEntry() argument
154 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry()
157 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, in RelocationEntry() argument
159 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry()
163 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, in RelocationEntry() argument
165 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry()
168 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, in RelocationEntry() argument
172 Addend(SectionAOffset - SectionBOffset + addend), IsPCRel(IsPCRel), in RelocationEntry()
178 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, in RelocationEntry() argument
183 Addend(SectionAOffset - SectionBOffset + addend), IsPCRel(IsPCRel), in RelocationEntry()

123456789