Home
last modified time | relevance | path

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

1234

/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGVTables.cpp40 static void setThunkProperties(CodeGenModule &CGM, const ThunkInfo &Thunk, in setThunkProperties() argument
45 !Thunk.Return.isEmpty()); in setThunkProperties()
71 const ThunkInfo &Thunk) { in PerformReturnAdjustment() argument
95 Thunk.Return); in PerformReturnAdjustment()
159 GlobalDecl GD, const ThunkInfo &Thunk) { in GenerateVarArgsThunk() argument
213 CGM.getCXXABI().performThisAdjustment(*this, ThisPtr, Thunk.This); in GenerateVarArgsThunk()
218 if (!Thunk.Return.isEmpty()) { in GenerateVarArgsThunk()
226 RV = PerformReturnAdjustment(*this, ResultType, RV, Thunk); in GenerateVarArgsThunk()
293 const ThunkInfo *Thunk, in EmitCallAndReturnForThunk() argument
301 Thunk ? CGM.getCXXABI().performThisAdjustment( in EmitCallAndReturnForThunk()
[all …]
H A DCGCXXABI.h480 virtual void setThunkLinkage(llvm::Function *Thunk, bool ForVTable,
H A DItaniumCXXABI.cpp285 void setThunkLinkage(llvm::Function *Thunk, bool ForVTable, GlobalDecl GD, in setThunkLinkage() argument
289 if (ForVTable && !Thunk->hasLocalLinkage()) in setThunkLinkage()
290 Thunk->setLinkage(llvm::GlobalValue::AvailableExternallyLinkage); in setThunkLinkage()
291 CGM.setGVProperties(Thunk, GD); in setThunkLinkage()
H A DMicrosoftCXXABI.cpp377 void setThunkLinkage(llvm::Function *Thunk, bool ForVTable, in setThunkLinkage() argument
383 Thunk->setLinkage(llvm::GlobalValue::InternalLinkage); in setThunkLinkage()
385 Thunk->setLinkage(llvm::GlobalValue::WeakODRLinkage); in setThunkLinkage()
387 Thunk->setLinkage(llvm::GlobalValue::LinkOnceODRLinkage); in setThunkLinkage()
/netbsd-src/external/apache2/llvm/dist/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.cpp135 Error CVSymbolDumperImpl::visitKnownRecord(CVSymbol &CVR, Thunk32Sym &Thunk) { in visitKnownRecord() argument
136 W.printString("Name", Thunk.Name); in visitKnownRecord()
137 W.printNumber("Parent", Thunk.Parent); in visitKnownRecord()
138 W.printNumber("End", Thunk.End); in visitKnownRecord()
139 W.printNumber("Next", Thunk.Next); in visitKnownRecord()
140 W.printNumber("Off", Thunk.Offset); in visitKnownRecord()
141 W.printNumber("Seg", Thunk.Segment); in visitKnownRecord()
142 W.printNumber("Len", Thunk.Length); in visitKnownRecord()
143 W.printEnum("Ordinal", uint8_t(Thunk.Thunk), getThunkOrdinalNames()); in visitKnownRecord()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DVTableBuilder.cpp885 void AddThunk(const CXXMethodDecl *MD, const ThunkInfo &Thunk);
1066 const ThunkInfo &Thunk) { in AddThunk() argument
1073 if (llvm::find(ThunksVector, Thunk) != ThunksVector.end()) in AddThunk()
1076 ThunksVector.push_back(Thunk); in AddThunk()
1162 const ThunkInfo &Thunk = TI.second; in ComputeThisAdjustments() local
1180 AddThunk(MD, Thunk); in ComputeThisAdjustments()
1961 ThunkInfo Thunk = VTableThunks.lookup(I); in dumpLayout() local
1962 if (!Thunk.isEmpty()) { in dumpLayout()
1964 if (!Thunk.Return.isEmpty()) { in dumpLayout()
1966 Out << Thunk.Return.NonVirtual << " non-virtual"; in dumpLayout()
[all …]
H A DMicrosoftMangle.cpp144 void mangleThunk(const CXXMethodDecl *MD, const ThunkInfo &Thunk,
3456 const ThunkInfo &Thunk, in mangleThunk() argument
3466 AccessSpecifier AS = Thunk.Return.isEmpty() ? MD->getAccess() : AS_public; in mangleThunk()
3467 mangleThunkThisAdjustment(AS, Thunk.This, Mangler, MHO); in mangleThunk()
3469 if (!Thunk.Return.isEmpty()) in mangleThunk()
3470 assert(Thunk.Method != nullptr && in mangleThunk()
3473 const CXXMethodDecl *DeclForFPT = Thunk.Method ? Thunk.Method : MD; in mangleThunk()
H A DItaniumMangle.cpp154 void mangleThunk(const CXXMethodDecl *MD, const ThunkInfo &Thunk,
6187 const ThunkInfo &Thunk, in mangleThunk() argument
6200 if (!Thunk.Return.isEmpty()) in mangleThunk()
6204 Mangler.mangleCallOffset(Thunk.This.NonVirtual, in mangleThunk()
6205 Thunk.This.Virtual.Itanium.VCallOffsetOffset); in mangleThunk()
6208 if (!Thunk.Return.isEmpty()) in mangleThunk()
6209 Mangler.mangleCallOffset(Thunk.Return.NonVirtual, in mangleThunk()
6210 Thunk.Return.Virtual.Itanium.VBaseOffsetOffset); in mangleThunk()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
H A DMinimalSymbolDumper.cpp407 Error MinimalSymbolDumper::visitKnownRecord(CVSymbol &CVR, Thunk32Sym &Thunk) { in visitKnownRecord() argument
408 P.format(" `{0}`", Thunk.Name); in visitKnownRecord()
410 P.formatLine("parent = {0}, end = {1}, next = {2}", Thunk.Parent, Thunk.End, in visitKnownRecord()
411 Thunk.Next); in visitKnownRecord()
413 formatThunkOrdinal(Thunk.Thunk), Thunk.Length, in visitKnownRecord()
414 formatSegmentOffset(Thunk.Segment, Thunk.Offset)); in visitKnownRecord()
H A Dllvm-pdbutil.cpp1268 while (auto Thunk = Thunks->getNext()) in dumpPretty() local
1269 Dumper.dump(*Thunk); in dumpPretty()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/
H A DPDBSymbolThunk.h21 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
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/
H A DPDBExtras.cpp189 const codeview::ThunkOrdinal &Thunk) { in operator <<() argument
190 switch (Thunk) { in operator <<()
266 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Thunk, OS) in operator <<()
H A DPDBSymbol.cpp92 FACTORY_SYMTAG_CASE(Thunk, PDBSymbolThunk) in createSymbol()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/
H A Datomic.d135 alias Thunk = U; variable
140 alias Thunk = V; variable
142 atomicStore!ms(*cast(T*)&val, *cast(Thunk*)&newval);
246 alias Thunk = U; in atomicPtrIsProperlyAligned() local
251 alias Thunk = V; in atomicPtrIsProperlyAligned() local
253 return atomicExchange!ms(cast(T*)here, *cast(Thunk*)&exchangeWith); in atomicPtrIsProperlyAligned()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DDebugInfoFlags.def56 HANDLE_DI_FLAG((1 << 25), Thunk)
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DMangle.h123 const ThunkInfo &Thunk,
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/debuginfo/
H A Dllvm_debuginfo.ml90 | Thunk Constructor
H A Dllvm_debuginfo.mli90 | Thunk Constructor
/netbsd-src/sys/external/bsd/gnu-efi/dist/inc/
H A Defiprot.h1400 OUT VOID **Thunk);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
H A DCodeViewYAMLSymbols.cpp309 IO.mapRequired("Ordinal", Symbol.Thunk); in map()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/
H A DSymbolRecord.h82 ThunkOrdinal Thunk = ThunkOrdinal::Standard; variable

1234