| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| H A D | RuntimeDyldCOFFThumb.h | 139 RelocationEntry RE = in processRelocationRef() local 146 RelocationEntry RE = in processRelocationRef() local 153 RelocationEntry RE = in processRelocationRef() local 159 RelocationEntry RE = in processRelocationRef() local 165 RelocationEntry RE = in processRelocationRef() local 190 switch (RE.RelType) { in resolveRelocation() 200 : Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend); in resolveRelocation() 247 Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend); in resolveRelocation() 275 RE.Addend - (Sections[RE.SectionID].getLoadAddress() + RE.Offset) - 4; in resolveRelocation() 290 RE.Addend - (Sections[RE.SectionID].getLoadAddress() + RE.Offset) - 4; in resolveRelocation() [all …]
|
| H A D | RuntimeDyldMachOAArch64.h | 40 switch (RE.RelType) { in decodeAddend() 76 switch (RE.RelType) { in decodeAddend() 309 (RE.Size == 2 && RE.IsPCRel) || (RE.Size == 3 && !RE.IsPCRel); in processRelocationRef() 370 if (RE.Size < 2) in resolveRelocation() 373 encodeAddend(LocalAddress, 1 << RE.Size, RelType, Value + RE.Addend); in resolveRelocation() 378 assert(((RE.Size == 2 && RE.IsPCRel) || (RE.Size == 3 && !RE.IsPCRel)) && in resolveRelocation() 384 RE.IsPCRel ? (RE.Addend - RE.Offset) : (Value + RE.Addend); in resolveRelocation() 411 Value += RE.Addend; in resolveRelocation() 445 (RE.Size == 2 || RE.Size == 3)) || in processGOTRelocation() 474 RelocationEntry TargetRE(RE.SectionID, RE.Offset, RE.RelType, Offset, in processGOTRelocation() [all …]
|
| H A D | RuntimeDyldCOFFI386.h | 106 addRelocationForSymbol(RE, TargetName); in processRelocationRef() 116 RelocationEntry RE = in processRelocationRef() local 123 RelocationEntry RE = in processRelocationRef() local 129 RelocationEntry RE = in processRelocationRef() local 143 const auto Section = Sections[RE.SectionID]; in resolveRelocation() 146 switch (RE.RelType) { in resolveRelocation() 156 RE.Addend); in resolveRelocation() 170 Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend) - in resolveRelocation() 186 Result = Result - Section.getLoadAddress() + RE.Addend - 4 - RE.Offset; in resolveRelocation() 214 << RE.Addend << '\n'); in resolveRelocation() [all …]
|
| H A D | RuntimeDyldMachOARM.h | 66 switch (RE.RelType) { in decodeAddend() 68 return memcpyAddend(RE); in decodeAddend() 161 RE.Addend = *AddendOrErr; in processRelocationRef() 178 if (RE.IsPCRel) in processRelocationRef() 209 if (RE.IsPCRel) { in resolveRelocation() 217 switch (RE.RelType) { in resolveRelocation() 219 Value += RE.Addend; in resolveRelocation() 238 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation() 243 Value += RE.Addend; in resolveRelocation() 338 RelocationEntry TargetRE(RE.SectionID, RE.Offset, RE.RelType, 0, in processBranchRelocation() [all …]
|
| H A D | RuntimeDyldMachOX86_64.h | 50 RE.Addend = memcpyAddend(RE); in processRelocationRef() 58 if (!IsExtern && RE.IsPCRel) in processRelocationRef() 75 RE.Addend = Value.Offset; in processRelocationRef() 92 if (RE.IsPCRel) { in resolveRelocation() 99 switch (RE.RelType) { in resolveRelocation() 108 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation() 131 assert(RE.IsPCRel); in processGOTRelocation() 132 assert(RE.Size == 2); in processGOTRelocation() 133 Value.Offset -= RE.Addend; in processGOTRelocation() 151 RelocationEntry TargetRE(RE.SectionID, RE.Offset, in processGOTRelocation() [all …]
|
| H A D | RuntimeDyldMachOI386.h | 67 RE.Addend = memcpyAddend(RE); in processRelocationRef() 84 if (RE.IsPCRel) in processRelocationRef() 87 RE.Addend = Value.Offset; in processRelocationRef() 90 addRelocationForSymbol(RE, Value.SymbolName); in processRelocationRef() 92 addRelocationForSection(RE, Value.SectionID); in processRelocationRef() 98 LLVM_DEBUG(dumpRelocationToResolve(RE, Value)); in resolveRelocation() 103 if (RE.IsPCRel) { in resolveRelocation() 108 switch (RE.RelType) { in resolveRelocation() 110 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation() 150 MachO::any_relocation_info RE = in processSECTDIFFRelocation() local [all …]
|
| H A D | RuntimeDyldCOFFAArch64.h | 248 addRelocationForSymbol(RE, TargetName); in processRelocationRef() 261 switch (RE.RelType) { in resolveRelocation() 270 Value += RE.Addend; in resolveRelocation() 276 Value += RE.Addend; in resolveRelocation() 283 Value += RE.Addend; in resolveRelocation() 290 Value += RE.Addend; in resolveRelocation() 296 uint32_t VA = Value + RE.Addend; in resolveRelocation() 343 write64le(Target, Value + RE.Addend); in resolveRelocation() 350 add16(Target, RE.SectionID); in resolveRelocation() 359 write32le(Target, RE.Addend); in resolveRelocation() [all …]
|
| H A D | RuntimeDyldELFMips.cpp | 16 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation() 18 resolveMIPSO32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend); in resolveRelocation() 20 resolveMIPSN32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation() 21 RE.SymOffset, RE.SectionID); in resolveRelocation() 23 resolveMIPSN64Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation() 24 RE.SymOffset, RE.SectionID); in resolveRelocation() 33 const SectionEntry &Section = Sections[RE.SectionID]; in evaluateRelocation() 34 Value = evaluateMIPS64Relocation(Section, RE.Offset, Value, RE.RelType, in evaluateRelocation() 35 Addend, RE.SymOffset, RE.SectionID); in evaluateRelocation() 44 const SectionEntry &Section = Sections[RE.SectionID]; in applyRelocation() [all …]
|
| H A D | RuntimeDyldCOFFX86_64.h | 88 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation() 89 uint8_t *Target = Section.getAddressWithOffset(RE.Offset); in resolveRelocation() 91 switch (RE.RelType) { in resolveRelocation() 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() 133 writeBytesUnaligned(RE.Addend, Target, 4); in resolveRelocation() 178 const RelocationEntry RE(SectionID, Offset, RelType, Addend); in generateRelocationStub() 271 RelocationEntry RE(SectionID, Offset, RelType, Addend); in processRelocationRef() 272 addRelocationForSymbol(RE, TargetName); in processRelocationRef() [all …]
|
| H A D | RuntimeDyldELFMips.h | 27 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override; 43 uint64_t evaluateRelocation(const RelocationEntry &RE, uint64_t Value, 49 void applyRelocation(const RelocationEntry &RE, uint64_t Value);
|
| /llvm-project-15.0.7/llvm/test/tools/obj2yaml/ELF/ |
| H A D | implicit-sections-order.yaml | 10 # RUN: llvm-readelf -S %t1.so | FileCheck %s --check-prefixes=RE,RE-1 15 # RE: Section Headers: 16 # RE-NEXT: [Nr] Name Type Address Off Size ES Flg Lk Inf Al 17 # RE-NEXT: [ 0] NULL 0000000000000000 000000 000000 00 0 0 0 18 # RE-NEXT: [ 1] .foo.1 PROGBITS 0000000000000000 000040 000000 00 0 0 0 19 # RE-1-NEXT: [ 2] .dynsym DYNSYM 0000000000001000 000040 000030 18 A 4 2 0 20 # RE-2-NEXT: [ 2] .dynsym DYNSYM 0000000000001000 000040 000030 18 4 2 0 21 # RE-NEXT: [ 3] .foo.2 PROGBITS 0000000000000000 000070 000000 00 0 0 0 22 # RE-1-NEXT: [ 4] .dynstr STRTAB 0000000000002000 000070 000005 00 A 0 0 0 23 # RE-2-NEXT: [ 4] .dynstr STRTAB 0000000000002000 000070 000005 00 0 0 0 [all …]
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldMachO.cpp | 47 unsigned NumBytes = 1 << RE.Size; in memcpyAddend() 48 uint8_t *Src = Sections[RE.SectionID].getAddress() + RE.Offset; in memcpyAddend() 61 MachO::any_relocation_info RE = in processScatteredVANILLA() local 65 uint32_t RelocType = Obj.getAnyRelocationType(RE); in processScatteredVANILLA() 66 bool IsPCRel = Obj.getAnyRelocationPCRel(RE); in processScatteredVANILLA() 67 unsigned Size = Obj.getAnyRelocationLength(RE); in processScatteredVANILLA() 123 Value.Offset = RE.Addend; in getRelocationValueRef() 134 Value.Offset = RE.Addend - Addr; in getRelocationValueRef() 158 << " isPCRel: " << RE.IsPCRel << " MachoType: " << RE.RelType in dumpRelocationToResolve() 159 << " Size: " << (1 << RE.Size) << "\n"; in dumpRelocationToResolve() [all …]
|
| H A D | RuntimeDyldELF.cpp | 1033 return resolveRelocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation() 1034 RE.SymOffset, RE.SectionID); in resolveRelocation() 1392 addRelocationForSection(RE, SectionID); in processRelocationRef() 1420 addRelocationForSection(RE, SectionID); in processRelocationRef() 1469 RE.SymOffset = i->second; in processRelocationRef() 1471 RE.SymOffset = allocateGOTEntries(1); in processRelocationRef() 1830 RelocationEntry RE = in processRelocationRef() local 1843 RelocationEntry RE = in processRelocationRef() local 1979 RelocationEntry RE(SectionID, in processX86_64GOTTPOFFRelocation() local 1999 RelocationEntry RE = in processX86_64GOTTPOFFRelocation() local [all …]
|
| H A D | RuntimeDyldCOFF.cpp | 101 RelocationEntry RE(SectionID, EntryOffset, PointerReloc, 0, false, in getDLLImportOffset() local 105 RE.Sections.SectionA = -1; in getDLLImportOffset() 106 addRelocationForSymbol(RE, Name.drop_front(getImportSymbolPrefix().size())); in getDLLImportOffset()
|
| H A D | RuntimeDyldMachO.h | 57 int64_t memcpyAddend(const RelocationEntry &RE) const; 100 const RelocationEntry &RE, 109 void dumpRelocationToResolve(const RelocationEntry &RE, uint64_t Value) const;
|
| /llvm-project-15.0.7/flang/test/Semantics/ |
| H A D | expr-errors04.f90 | 38 print *, t(1)%t3(1)%t2(1)%t1%c%RE ! no error 40 print *, t(1)%t3(1)%t2(1)%t1%c2(1)%RE ! no error 70 print *, t%t3%t2%t1%c%RE 72 print *, t(1)%t3%t2%t1%c%RE 74 print *, t(1)%t3(1)%t2%t1%c%RE 76 print *, t(1)%t3%t2(1)%t1%c%RE 80 print *, t%t3%t2%t1%c2(1)%RE 82 print *, t(1)%t3%t2%t1%c2(1)%RE 84 print *, t(1)%t3(1)%t2%t1%c2(1:)%RE 86 print *, t(1)%t3%t2(1)%t1%c2(1)%RE
|
| /llvm-project-15.0.7/llvm/test/LTO/X86/ |
| H A D | cfi_jt_aliases.ll | 8 ; RUN: llvm-readelf --symbols %t.o.0 | grep \.cfi_jt | FileCheck --check-prefix=CHECK-FULL-RE %s 18 ; RUN: llvm-readelf --symbols %t.o.0 | grep \.cfi_jt | FileCheck --check-prefix=CHECK-THIN-RE %s 21 ; CHECK-FULL-RE: FUNC LOCAL DEFAULT {{[0-9]+}} a.cfi_jt 22 ; CHECK-FULL-RE-NEXT: FUNC LOCAL DEFAULT {{[0-9]+}} b.cfi_jt 23 ; CHECK-FULL-RE-NEXT: FUNC LOCAL DEFAULT {{[0-9]+}} c.cfi_jt 25 ; CHECK-THIN-RE: FUNC GLOBAL HIDDEN {{[0-9]+}} b.cfi_jt 26 ; CHECK-THIN-RE-NEXT: FUNC GLOBAL HIDDEN {{[0-9]+}} c.cfi_jt 27 ; CHECK-THIN-RE-NEXT: FUNC GLOBAL HIDDEN {{[0-9]+}} a.cfi_jt
|
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | ByteCodeStmtGen.cpp | 164 if (const Expr *RE = RS->getRetValue()) { in visitReturnStmt() local 168 if (!this->visit(RE)) in visitReturnStmt() 174 auto ReturnLocation = [this, RE] { return this->emitGetParamPtr(0, RE); }; in visitReturnStmt() 175 if (!this->visitInitializer(RE, ReturnLocation)) in visitReturnStmt()
|
| /llvm-project-15.0.7/llvm/utils/unittest/googletest/src/ |
| H A D | gtest-port.cc | 706 RE::~RE() { in ~RE() 719 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch() 728 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch() 736 void RE::Init(const char* regex) { in Init() 962 RE::~RE() { in ~RE() 968 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch() 974 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch() 979 void RE::Init(const char* regex) { in Init()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | HeuristicResolver.cpp | 134 const DependentScopeDeclRefExpr *RE) const { in resolveDeclRefExpr() 135 return resolveDependentMember(RE->getQualifier()->getAsType(), in resolveDeclRefExpr() 136 RE->getDeclName(), StaticFilter); in resolveDeclRefExpr() 202 if (const auto *RE = dyn_cast<DependentScopeDeclRefExpr>(E)) { in resolveExprToDecls() local 203 return resolveDeclRefExpr(RE); in resolveExprToDecls()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountChecker.cpp | 417 if (RE.isOwned()) { in refValFromRetEffect() 419 } else if (RE.notOwned()) { in refValFromRetEffect() 478 RetEffect RE = Summ.getRetEffect(); in processSummaryOfInlined() local 679 RetEffect RE = Summ.getRetEffect(); in checkSummary() local 685 RE = RetEffect::MakeNoRet(); in checkSummary() 690 if (RE.notOwned()) { in checkSummary() 1051 RetEffect RE = RetEffect::MakeNoRet(); in processReturn() local 1056 RE = Summ->getRetEffect(); in processReturn() 1060 RE = Summ->getRetEffect(); in processReturn() 1085 if (!RE.isOwned()) { in checkReturnWithRetEffect() [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | cfi-inserter-basic-block-sections-callee-save-registers.ll | 11 ; SECTIONS_CFI-NEXT: .cfi_offset [[RE:%r.+]], -24 19 ; SECTIONS_CFI-NEXT: .cfi_offset [[RE]], -24 27 ; SECTIONS_CFI-NEXT: .cfi_offset [[RE]], -24
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | MachOObjectFile.cpp | 140 return RE.r_word0; in getPlainRelocationAddress() 145 return RE.r_word0 & 0xffffff; in getScatteredRelocationAddress() 152 return (RE.r_word1 >> 7) & 1; in getPlainRelocationPCRel() 157 return (RE.r_word0 >> 30) & 1; in getScatteredRelocationPCRel() 164 return (RE.r_word1 >> 5) & 3; in getPlainRelocationLength() 175 return RE.r_word1 >> 28; in getPlainRelocationType() 176 return RE.r_word1 & 0xf; in getPlainRelocationType() 4362 return RE.r_word1 >> 8; in getPlainRelocationSymbolNum() 4374 return RE.r_word0 >> 31; in getScatteredRelocationScattered() 4379 return RE.r_word1; in getScatteredRelocationValue() [all …]
|
| /llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/ |
| H A D | gtest-matchers.h | 620 MatchesRegexMatcher(const RE* regex, bool full_match) in MatchesRegexMatcher() 648 return full_match_ ? RE::FullMatch(s2, *regex_) in MatchAndExplain() 649 : RE::PartialMatch(s2, *regex_); in MatchAndExplain() 664 const std::shared_ptr<const RE> regex_; 672 const internal::RE* regex) { in MatchesRegex() 677 return MatchesRegex(new internal::RE(regex)); in MatchesRegex() 683 const internal::RE* regex) { in ContainsRegex() 688 return ContainsRegex(new internal::RE(regex)); in ContainsRegex()
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | gnu-flags.c | 145 enum RE { enum 150 enum RE;
|