Home
last modified time | relevance | path

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

12345

/llvm-project-15.0.7/llvm/test/Analysis/BasicAA/
H A Dsequential-gep.ll5 define void @t1([8 x i32]* %p, i32 %addend, i32* %q) {
7 %add = add nsw nuw i32 %addend, %knownnonzero
19 %add = add nsw nuw i32 %addend, %knownnonzero
31 %add = add nsw nuw i32 %addend, %knownnonzero
43 %add = add nsw nuw i32 %addend, %knownnonzero
55 %add = add nsw nuw i32 %addend, %knownnonzero
68 %add = add i32 %addend, %knownnonzero
80 %add = add i32 %addend, %knownnonzero
100 %add = add i32 %addend, %knownnonzero
122 %add = add i32 %addend, %knownnonzero
[all …]
/llvm-project-15.0.7/lld/ELF/
H A DThunks.cpp50 AArch64ABSLongThunk(Symbol &dest, int64_t addend) : Thunk(dest, addend) {} in AArch64ABSLongThunk() argument
58 AArch64ADRPThunk(Symbol &dest, int64_t addend) : Thunk(dest, addend) {} in AArch64ADRPThunk() argument
74 ARMThunk(Symbol &dest, int64_t addend) : Thunk(dest, addend) {} in ARMThunk() argument
104 ThumbThunk(Symbol &dest, int64_t addend) : Thunk(dest, addend) { in ThumbThunk() argument
129 ARMV7ABSLongThunk(Symbol &dest, int64_t addend) : ARMThunk(dest, addend) {} in ARMV7ABSLongThunk() argument
138 ARMV7PILongThunk(Symbol &dest, int64_t addend) : ARMThunk(dest, addend) {} in ARMV7PILongThunk() argument
171 ARMV5ABSLongThunk(Symbol &dest, int64_t addend) : ARMThunk(dest, addend) {} in ARMV5ABSLongThunk() argument
182 ARMV5PILongThunk(Symbol &dest, int64_t addend) : ARMThunk(dest, addend) {} in ARMV5PILongThunk() argument
264 PPC32LongThunk(Symbol &dest, int64_t addend) : Thunk(dest, addend) {} in PPC32LongThunk() argument
296 PPC64R2SaveStub(Symbol &dest, int64_t addend) : Thunk(dest, addend) { in PPC64R2SaveStub() argument
[all …]
H A DRelocations.cpp456 int64_t addend) const;
502 int64_t addend; in computeAddend() local
506 addend = getAddend<ELFT>(rel); in computeAddend()
513 addend += getPPC64TocBase(); in computeAddend()
517 return addend; in computeAddend()
1224 addend, &sym}); in handleTlsRelocation()
1264 addend, &sym}); in handleTlsRelocation()
1268 addend, &sym}); in handleTlsRelocation()
1345 ppc64noTocRelax.insert({&sym, addend}); in scanOne()
1403 addend &= ~0x8000; in scanOne()
[all …]
H A DThunks.h32 Thunk(Symbol &destination, int64_t addend);
61 int64_t addend; variable
74 const InputFile *file, int64_t addend);
H A DSyntheticSections.h215 int64_t addend) const;
217 int64_t addend) const;
450 addend(addend), kind(kind), expr(expr) {} in DynamicReloc()
453 uint64_t offsetInSec, int64_t addend = 0)
455 addend(addend), kind(AddendOnly), expr(R_ADDEND) {} in sym()
460 int64_t addend) in DynamicReloc() argument
462 offsetInSec(offsetInSec), type(type), addend(addend), in DynamicReloc()
487 int64_t addend; variable
535 int64_t addend, RelExpr expr, RelType addendRelType);
1153 uint64_t getEntryVA(const Symbol *sym, int64_t addend);
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/LICM/
H A 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"}
/llvm-project-15.0.7/llvm/test/ExecutionEngine/JITLink/X86/
H A DMachO_x86-64_self_relocation.test11 # WITHOUT-NEXT: (block + 0x0000000a), addend = -0x00000004, kind = Delta32, target = _other
18 # CHECK-NEXT: (block + 0x00000003), addend = -0x00000004, kind = Delta32, target = _form_func_ptr
19 # CHECK-NEXT: (block + 0x0000000a), addend = -0x00000004, kind = Delta32, target = _other
20 # CHECK-NEXT: (block + 0x00000011), addend = -0x00000004, kind = Delta32, target = _form_func_ptr
21 # CHECK-NEXT: (block + 0x00000019), addend = -0x00000004, kind = Delta32, target = _form_func_ptr
/llvm-project-15.0.7/llvm/test/tools/obj2yaml/ELF/
H A Drelocation-addend.yaml1 ## Test how obj2yaml emits relocation addend descriptions.
6 ## Check how obj2yaml dumps an addend with an arbitrary positive value.
16 ## Check how obj2yaml dumps an addend with an arbitrary negative value.
21 ## Check how obj2yaml dumps an addend with the value INT64_MAX.
25 ## Check how obj2yaml dumps an addend with the value INT64_MIN.
58 ## Check how obj2yaml dumps an addend with an arbitrary positive value.
68 ## Check how obj2yaml dumps an addend with an arbitrary negative value.
73 ## Check how obj2yaml dumps an addend with the value INT32_MAX.
77 ## Check how obj2yaml dumps an addend with the value INT32_MIN.
/llvm-project-15.0.7/lld/test/ELF/
H A Dx86-64-reloc-32.s13 # RUN: llvm-mc -filetype=obj -triple=x86_64 %t/addend.s -o %t/addend.o
14 # RUN: not ld.lld --section-start=.text=0x0 %t/addend.o -o /dev/null 2>&1 | FileCheck %s --check-pr…
22 #--- addend.s
H A Dx86-64-reloc-pc32.s14 # RUN: llvm-mc -filetype=obj -triple=x86_64 -defsym ADDEND=1 %t/addend.s -o %t/1.o
15 # RUN: llvm-mc -filetype=obj -triple=x86_64 -defsym ADDEND=2147483648 %t/addend.s -o %t/2.o
16 # RUN: llvm-mc -filetype=obj -triple=x86_64 -defsym ADDEND=2147483649 %t/addend.s -o %t/3.o
34 #--- addend.s
H A Di386-zrel-zrela.s31 ## ^--- R_386_RELATIVE addend (0x42d0)
32 ## ^--- R_386_32 addend (0x2a)
60 ## ^--- R_386_32 addend (0x2a)
61 ## TODO: we should probably clear the R_386_32 addend that was copied from the .o?
62 ## no addend written for R_386_RELATIVE
H A Dehframe-relocation.s30 movq .eh_frame, %rax # addend=0
31 leaq __EH_FRAME_LIST__(%rip), %rax # addend=-4, used by libclang_rt.crtbegin.o
H A Dppc32-relocatable-got2.s2 ## Test addend adjustment of R_PPC_PLTREL24 when copying relocations.
28 ## The addend doesn't matter.
H A Di386-pc8-pc16-addend.s10 ## 0x4010b7 - 0x4010b4 + addend(-1) = 0x02
11 ## 0x4010b7 - 0x4010b5 + addend(-2) = 0x0000
H A Di386-reloc8-reloc16-addend.s6 ## 0x3 + addend(-1) = 0x02
7 ## 0x3 + addend(-2) = 0x0100
H A Dgot32-i386-pie-rw.s35 ## ^--- VA of GOT entry in Elf_Rela addend
40 ## ^--- VA of foo in Elf_Rela addend
47 ## ^--- VA of GOT entry in in Elf_Rela addend
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A 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
/llvm-project-15.0.7/llvm/test/Transforms/LoopStrengthReduce/
H A 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
/llvm-project-15.0.7/lld/MachO/
H A DICF.cpp132 return sa == sb && ra.addend == rb.addend; in equalsConstant()
138 return da->value + ra.addend == db->value + rb.addend; in equalsConstant()
155 return ra.addend == rb.addend; in equalsConstant()
163 ra.addend == rb.addend; in equalsConstant()
167 return isecA->getOffset(ra.addend) == isecB->getOffset(rb.addend); in equalsConstant()
H A DRelocations.h62 int64_t addend = 0; member
68 int64_t addend, llvm::PointerUnion<Symbol *, InputSection *> referent) in Reloc()
70 addend(addend), referent(referent) {} in Reloc()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/
H A 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()
/llvm-project-15.0.7/bolt/test/X86/
H A Dfptr-addend-pcrel.s2 ## reference with an addend.
28 ## Check that the instruction references foo with a negative addend,
29 ## not the previous function with a positive addend (_start+X).
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dcleanup-stack.c6 int addend; member
10 *p->var += p->addend; in f0()
/llvm-project-15.0.7/llvm/test/CodeGen/Thumb2/
H A Dthumb2-uxt_rot.ll61 %addend = zext i8 %X.trunc to i32
62 %sum = add i32 %A, %addend
79 %addend = zext i16 %X.trunc to i32
80 %sum = add i32 %A, %addend
97 %addend = zext i8 %X.trunc to i32
98 %sum = add i32 %A, %addend
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Ddebug-info-category.m25 - (id)add:(Foo *)addend;
32 - (id)add:(Foo *)addend {
33 return [self integer:[self integer] + [addend integer]];

12345