Home
last modified time | relevance | path

Searched refs:Thunk (Results 1 – 25 of 43) sorted by relevance

12

/llvm-project-15.0.7/lld/ELF/
H A DThunks.cpp48 class AArch64ABSLongThunk final : public Thunk {
56 class AArch64ADRPThunk final : public Thunk {
72 class ARMThunk : public Thunk {
102 class ThumbThunk : public Thunk {
213 class MipsThunk final : public Thunk {
224 class MicroMipsThunk final : public Thunk {
262 class PPC32LongThunk final : public Thunk {
366 class PPC64LongBranchThunk : public Thunk {
410 void Thunk::setOffset(uint64_t newOffset) { in setOffset()
1041 Thunk::Thunk(Symbol &d, int64_t a) : destination(d), addend(a), offset(0) {} in Thunk() function in Thunk
[all …]
H A DThunks.h30 class Thunk {
32 Thunk(Symbol &destination, int64_t addend);
33 virtual ~Thunk();
71 Thunk *addThunk(const InputSection &isec, Relocation &rel);
H A DRelocations.h137 class Thunk; variable
156 std::pair<Thunk *, bool> getThunk(InputSection *isec, Relocation &rel,
171 std::vector<Thunk *>>
173 llvm::DenseMap<std::pair<Symbol *, int64_t>, std::vector<Thunk *>>
178 llvm::DenseMap<Symbol *, Thunk *> thunks;
H A DRelocations.cpp2045 std::pair<Thunk *, bool> ThunkCreator::getThunk(InputSection *isec, in getThunk()
2047 std::vector<Thunk *> *thunkVec = nullptr; in getThunk()
2068 for (Thunk *t : *thunkVec) in getThunk()
2076 Thunk *t = addThunk(*isec, rel); in getThunk()
2086 if (Thunk *t = thunks.lookup(rel.sym)) { in normalizeExistingThunk()
2151 Thunk *t; in createThunks()
/llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/
H A DSymbolRecordHelpers.cpp40 Thunk32Sym Thunk = createRecord<Thunk32Sym>(Sym); in getScopeEndOffset() local
41 return Thunk.End; in getScopeEndOffset()
71 Thunk32Sym Thunk = createRecord<Thunk32Sym>(Sym); in getScopeParentOffset() local
72 return Thunk.Parent; in getScopeParentOffset()
H A DSymbolRecordMapping.cpp59 Error SymbolRecordMapping::visitKnownRecord(CVSymbol &CVR, Thunk32Sym &Thunk) { in visitKnownRecord() argument
61 error(IO.mapInteger(Thunk.Parent)); in visitKnownRecord()
62 error(IO.mapInteger(Thunk.End)); in visitKnownRecord()
63 error(IO.mapInteger(Thunk.Next)); in visitKnownRecord()
64 error(IO.mapInteger(Thunk.Offset)); in visitKnownRecord()
65 error(IO.mapInteger(Thunk.Segment)); in visitKnownRecord()
66 error(IO.mapInteger(Thunk.Length)); in visitKnownRecord()
67 error(IO.mapEnum(Thunk.Thunk)); in visitKnownRecord()
68 error(IO.mapStringZ(Thunk.Name)); in visitKnownRecord()
69 error(IO.mapByteVectorTail(Thunk.VariantData)); in visitKnownRecord()
H A DSymbolDumper.cpp133 Error CVSymbolDumperImpl::visitKnownRecord(CVSymbol &CVR, Thunk32Sym &Thunk) { in visitKnownRecord() argument
134 W.printString("Name", Thunk.Name); in visitKnownRecord()
135 W.printNumber("Parent", Thunk.Parent); in visitKnownRecord()
136 W.printNumber("End", Thunk.End); in visitKnownRecord()
137 W.printNumber("Next", Thunk.Next); in visitKnownRecord()
138 W.printNumber("Off", Thunk.Offset); in visitKnownRecord()
139 W.printNumber("Seg", Thunk.Segment); in visitKnownRecord()
140 W.printNumber("Len", Thunk.Length); in visitKnownRecord()
141 W.printEnum("Ordinal", uint8_t(Thunk.Thunk), getThunkOrdinalNames()); in visitKnownRecord()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGVTables.cpp45 !Thunk.Return.isEmpty()); in setThunkProperties()
71 const ThunkInfo &Thunk) { in PerformReturnAdjustment() argument
97 Thunk.Return); in PerformReturnAdjustment()
222 if (!Thunk.Return.isEmpty()) { in GenerateVarArgsThunk()
305 Thunk ? CGM.getCXXABI().performThisAdjustment( in EmitCallAndReturnForThunk()
313 if (Thunk && !Thunk->Return.isEmpty()) { in EmitCallAndReturnForThunk()
381 if (Thunk && !Thunk->Return.isEmpty()) in EmitCallAndReturnForThunk()
473 &Thunk, IsUnprototyped); in generateThunk()
516 return Thunk; in maybeEmitThunk()
621 for (const ThunkInfo& Thunk : *ThunkInfoVector) in EmitThunks()
[all …]
/llvm-project-15.0.7/clang/lib/AST/
H A DVTableBuilder.cpp1077 ThunksVector.push_back(Thunk); in AddThunk()
1181 AddThunk(MD, Thunk); in ComputeThisAdjustments()
1962 if (!Thunk.isEmpty()) { in dumpLayout()
1977 if (!Thunk.This.isEmpty()) { in dumpLayout()
2010 if (!Thunk.isEmpty()) { in dumpLayout()
2012 if (!Thunk.This.isEmpty()) { in dumpLayout()
2144 if (!Thunk.This.isEmpty()) in dumpLayout()
2149 if (!Thunk.This.isEmpty()) { in dumpLayout()
2504 ThunksVector.push_back(Thunk); in AddThunk()
3181 if (!Thunk.isEmpty()) in dumpLayout()
[all …]
H A DMicrosoftMangle.cpp158 void mangleThunk(const CXXMethodDecl *MD, const ThunkInfo &Thunk,
3496 const ThunkInfo &Thunk, in mangleThunk() argument
3506 AccessSpecifier AS = Thunk.Return.isEmpty() ? MD->getAccess() : AS_public; in mangleThunk()
3507 mangleThunkThisAdjustment(AS, Thunk.This, Mangler, MHO); in mangleThunk()
3509 if (!Thunk.Return.isEmpty()) in mangleThunk()
3510 assert(Thunk.Method != nullptr && in mangleThunk()
3513 const CXXMethodDecl *DeclForFPT = Thunk.Method ? Thunk.Method : MD; in mangleThunk()
/llvm-project-15.0.7/llvm/tools/llvm-pdbutil/
H A DMinimalSymbolDumper.cpp413 Error MinimalSymbolDumper::visitKnownRecord(CVSymbol &CVR, Thunk32Sym &Thunk) { in visitKnownRecord() argument
414 P.format(" `{0}`", Thunk.Name); in visitKnownRecord()
416 P.formatLine("parent = {0}, end = {1}, next = {2}", Thunk.Parent, Thunk.End, in visitKnownRecord()
417 Thunk.Next); in visitKnownRecord()
419 formatThunkOrdinal(Thunk.Thunk), Thunk.Length, in visitKnownRecord()
420 formatSegmentOffset(Thunk.Segment, Thunk.Offset)); in visitKnownRecord()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsCallLowering.cpp106 std::function<void()> *Thunk = nullptr) override;
169 std::function<void()> *Thunk) { in assignCustomValue() argument
213 std::function<void()> *Thunk) override;
261 std::function<void()> *Thunk) { in assignCustomValue() argument
281 if (Thunk) { in assignCustomValue()
282 *Thunk = [=]() { in assignCustomValue()
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dmachine-outliner-thunk.ll74 ; CHECK-SAME: // @OUTLINED_FUNCTION_0 Thunk
84 ; CHECK-SAME: // @OUTLINED_FUNCTION_1 Thunk
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/
H A DPDBSymbolThunk.h20 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::Thunk)
H A DPDBExtras.h32 raw_ostream &operator<<(raw_ostream &OS, const codeview::ThunkOrdinal &Thunk);
H A DPDBTypes.h271 Thunk, enumerator
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMCallLowering.cpp135 std::function<void()> *Thunk) override { in assignCustomValue()
163 if (Thunk) { in assignCustomValue()
164 *Thunk = [=]() { in assignCustomValue()
310 std::function<void()> *Thunk) override { in assignCustomValue()
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/
H A DPDBExtras.cpp189 const codeview::ThunkOrdinal &Thunk) { in operator <<() argument
190 switch (Thunk) { in operator <<()
267 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Thunk, OS) in operator <<()
H A DPDBSymbol.cpp92 FACTORY_SYMTAG_CASE(Thunk, PDBSymbolThunk) in createSymbol()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDebugInfoFlags.def56 HANDLE_DI_FLAG((1 << 25), Thunk)
/llvm-project-15.0.7/llvm/unittests/DebugInfo/PDB/
H A DPDBApiTest.cpp440 InsertItemWithTag(PDB_SymType::Thunk); in SetUp()
502 VerifyDyncast<PDBSymbolThunk>(PDB_SymType::Thunk); in TEST_F()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp657 std::function<void()> Thunk; in handleAssignments() local
659 Args[i], makeArrayRef(ArgLocs).slice(j), &Thunk); in handleAssignments()
660 if (Thunk) in handleAssignments()
661 DelayedOutgoingRegAssignments.emplace_back(Thunk); in handleAssignments()
/llvm-project-15.0.7/openmp/docs/
H A DSupportAndFAQ.rst95 The two components used are ROCT-Thunk-Interface, roct, and ROCR-Runtime, rocr.
108 git clone [email protected]:RadeonOpenCompute/ROCT-Thunk-Interface.git -b roc-4.2.x \
114 cmake $SOURCE_DIR/ROCT-Thunk-Interface/ -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX \
/llvm-project-15.0.7/clang/include/clang/AST/
H A DMangle.h124 const ThunkInfo &Thunk,
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/
H A DCallLowering.h293 std::function<void()> *Thunk = nullptr) {

12