Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/lld/ELF/
H A DThunks.cpp55 class AArch64Thunk : public Thunk {
96 class ARMThunk : public Thunk {
126 class ThumbThunk : public Thunk {
307 class AVRThunk : public Thunk {
316 class MipsThunk final : public Thunk {
327 class MicroMipsThunk final : public Thunk {
365 class PPC32LongThunk final : public Thunk {
437 : Thunk(dest, 0), gotPlt(gotPlt) { in PPC64R12SetupStub()
458 class PPC64LongBranchThunk : public Thunk {
1251 Thunk::Thunk(Symbol &d, int64_t a) : destination(d), addend(a), offset(0) { in Thunk() function in Thunk
[all …]
H A DThunks.h29 class Thunk {
31 Thunk(Symbol &destination, int64_t addend);
32 virtual ~Thunk();
70 Thunk *addThunk(const InputSection &isec, Relocation &rel);
H A DRelocations.h150 class Thunk; variable
169 std::pair<Thunk *, bool> getThunk(InputSection *isec, Relocation &rel,
184 std::vector<Thunk *>>
186 llvm::DenseMap<std::pair<Symbol *, int64_t>, std::vector<Thunk *>>
191 llvm::DenseMap<Symbol *, Thunk *> thunks;
H A DRelocations.cpp2142 std::pair<Thunk *, bool> ThunkCreator::getThunk(InputSection *isec, in getThunk()
2144 std::vector<Thunk *> *thunkVec = nullptr; in getThunk()
2165 for (Thunk *t : *thunkVec) in getThunk()
2173 Thunk *t = addThunk(*isec, rel); in getThunk()
2183 if (Thunk *t = thunks.lookup(rel.sym)) { in normalizeExistingThunk()
2248 Thunk *t; in createThunks()
H A DSyntheticSections.h1143 void addThunk(Thunk *t);
1154 SmallVector<Thunk *, 0> thunks;
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp463 Thunk->setSection(".wowthk$aa"); in buildEntryThunk()
466 Thunk->addFnAttr("frame-pointer", "all"); in buildEntryThunk()
482 Value *Arg = Thunk->getArg(i); in buildEntryThunk()
505 Thunk->addParamAttr(5, Attribute::InReg); in buildEntryThunk()
506 Value *Arg = Thunk->getArg(5); in buildEntryThunk()
515 Value *Callee = Thunk->getArg(0); in buildEntryThunk()
522 Thunk->addParamAttr(1, SRetAttr); in buildEntryThunk()
544 return Thunk; in buildEntryThunk()
711 for (ThunkInfo &Thunk : ThunkMapping) { in runOnModule()
713 {ConstantExpr::getBitCast(Thunk.Src, PtrTy), in runOnModule()
[all …]
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGVTables.cpp46 !Thunk.Return.isEmpty()); in setThunkProperties()
72 const ThunkInfo &Thunk) { in PerformReturnAdjustment() argument
98 Thunk.Return); in PerformReturnAdjustment()
223 if (!Thunk.Return.isEmpty()) { in GenerateVarArgsThunk()
306 Thunk ? CGM.getCXXABI().performThisAdjustment( in EmitCallAndReturnForThunk()
314 if (Thunk && !Thunk->Return.isEmpty()) { in EmitCallAndReturnForThunk()
382 if (Thunk && !Thunk->Return.isEmpty()) in EmitCallAndReturnForThunk()
470 &Thunk, IsUnprototyped); in generateThunk()
513 return Thunk; in maybeEmitThunk()
615 for (const ThunkInfo& Thunk : *ThunkInfoVector) in EmitThunks()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DVTableBuilder.cpp1082 ThunksVector.push_back(Thunk); in AddThunk()
1186 AddThunk(MD, Thunk); in ComputeThisAdjustments()
1969 if (!Thunk.isEmpty()) { in dumpLayout()
1984 if (!Thunk.This.isEmpty()) { in dumpLayout()
2017 if (!Thunk.isEmpty()) { in dumpLayout()
2019 if (!Thunk.This.isEmpty()) { in dumpLayout()
2149 if (!Thunk.This.isEmpty()) in dumpLayout()
2154 if (!Thunk.This.isEmpty()) { in dumpLayout()
2508 ThunksVector.push_back(Thunk); in AddThunk()
3185 if (!Thunk.isEmpty()) in dumpLayout()
[all …]
H A DMicrosoftMangle.cpp161 void mangleThunk(const CXXMethodDecl *MD, const ThunkInfo &Thunk,
3644 const ThunkInfo &Thunk, in mangleThunk() argument
3654 AccessSpecifier AS = Thunk.Return.isEmpty() ? MD->getAccess() : AS_public; in mangleThunk()
3655 mangleThunkThisAdjustment(AS, Thunk.This, Mangler, MHO); in mangleThunk()
3657 if (!Thunk.Return.isEmpty()) in mangleThunk()
3658 assert(Thunk.Method != nullptr && in mangleThunk()
3661 const CXXMethodDecl *DeclForFPT = Thunk.Method ? Thunk.Method : MD; in mangleThunk()
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalSymbolDumper.cpp433 Error MinimalSymbolDumper::visitKnownRecord(CVSymbol &CVR, Thunk32Sym &Thunk) { in visitKnownRecord() argument
434 P.format(" `{0}`", Thunk.Name); in visitKnownRecord()
436 P.formatLine("parent = {0}, end = {1}, next = {2}", Thunk.Parent, Thunk.End, in visitKnownRecord()
437 Thunk.Next); in visitKnownRecord()
439 formatThunkOrdinal(Thunk.Thunk), Thunk.Length, in visitKnownRecord()
440 formatSegmentOffset(Thunk.Segment, Thunk.Offset)); in visitKnownRecord()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsCallLowering.cpp107 std::function<void()> *Thunk = nullptr) override;
169 std::function<void()> *Thunk) { in assignCustomValue() argument
214 std::function<void()> *Thunk) override;
261 std::function<void()> *Thunk) { in assignCustomValue() argument
281 if (Thunk) { in assignCustomValue()
282 *Thunk = [=]() { in assignCustomValue()
/freebsd/contrib/llvm-project/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
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMCallLowering.cpp136 std::function<void()> *Thunk) override { in assignCustomValue()
164 if (Thunk) { in assignCustomValue()
165 *Thunk = [=]() { in assignCustomValue()
312 std::function<void()> *Thunk) override { in assignCustomValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVCallLowering.cpp113 std::function<void()> *Thunk) override { in assignCustomValue()
147 if (Thunk) { in assignCustomValue()
148 *Thunk = assignFunc; in assignCustomValue()
236 std::function<void()> *Thunk) override { in assignCustomValue()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDBExtras.cpp189 const codeview::ThunkOrdinal &Thunk) { in operator <<() argument
190 switch (Thunk) { in operator <<()
269 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Thunk, OS) in operator <<()
H A DPDBSymbol.cpp92 FACTORY_SYMTAG_CASE(Thunk, PDBSymbolThunk) in createSymbol()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoFlags.def56 HANDLE_DI_FLAG((1 << 25), Thunk)
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp724 std::function<void()> Thunk; in handleAssignments() local
726 Args[i], ArrayRef(ArgLocs).slice(j), &Thunk); in handleAssignments()
727 if (Thunk) in handleAssignments()
728 DelayedOutgoingRegAssignments.emplace_back(Thunk); in handleAssignments()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DMangle.h134 const ThunkInfo &Thunk,
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DCallLowering.h298 std::function<void()> *Thunk = nullptr) {

12