Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGVTables.cpp36 const ThunkInfo &Thunk) { in GetAddrOfThunk() argument
44 Thunk.This, Out); in GetAddrOfThunk()
46 getCXXABI().getMangleContext().mangleThunk(MD, Thunk, Out); in GetAddrOfThunk()
54 const ThunkInfo &Thunk, llvm::Function *Fn) { in setThunkVisibility() argument
58 static void setThunkProperties(CodeGenModule &CGM, const ThunkInfo &Thunk, in setThunkProperties() argument
63 !Thunk.Return.isEmpty()); in setThunkProperties()
67 setThunkVisibility(CGM, MD, Thunk, ThunkFn); in setThunkProperties()
85 const ThunkInfo &Thunk) { in PerformReturnAdjustment() argument
109 Thunk.Return); in PerformReturnAdjustment()
146 GlobalDecl GD, const ThunkInfo &Thunk) { in GenerateVarArgsThunk() argument
[all …]
DCGVTables.h53 void emitThunk(GlobalDecl GD, const ThunkInfo &Thunk, bool ForVTable);
57 void maybeEmitThunkForVTable(GlobalDecl GD, const ThunkInfo &Thunk);
DCGCXXABI.h411 virtual void setThunkLinkage(llvm::Function *Thunk, bool ForVTable,
DCodeGenFunction.h1335 void EmitCallAndReturnForThunk(llvm::Value *Callee, const ThunkInfo *Thunk);
1345 GlobalDecl GD, const ThunkInfo &Thunk);
1349 GlobalDecl GD, const ThunkInfo &Thunk);
DMicrosoftCXXABI.cpp357 void setThunkLinkage(llvm::Function *Thunk, bool ForVTable, in setThunkLinkage() argument
360 Thunk->setDLLStorageClass(llvm::GlobalValue::DefaultStorageClass); in setThunkLinkage()
366 Thunk->setLinkage(llvm::GlobalValue::InternalLinkage); in setThunkLinkage()
368 Thunk->setLinkage(llvm::GlobalValue::WeakODRLinkage); in setThunkLinkage()
370 Thunk->setLinkage(llvm::GlobalValue::LinkOnceODRLinkage); in setThunkLinkage()
DCodeGenModule.h719 llvm::Constant *GetAddrOfThunk(GlobalDecl GD, const ThunkInfo &Thunk);
DItaniumCXXABI.cpp286 void setThunkLinkage(llvm::Function *Thunk, bool ForVTable, GlobalDecl GD, in setThunkLinkage() argument
290 if (ForVTable && !Thunk->hasLocalLinkage()) in setThunkLinkage()
291 Thunk->setLinkage(llvm::GlobalValue::AvailableExternallyLinkage); in setThunkLinkage()
/external/clang/lib/AST/
DVTableBuilder.cpp877 void AddThunk(const CXXMethodDecl *MD, const ThunkInfo &Thunk);
1066 const ThunkInfo &Thunk) { in AddThunk() argument
1073 if (std::find(ThunksVector.begin(), ThunksVector.end(), Thunk) != in AddThunk()
1077 ThunksVector.push_back(Thunk); in AddThunk()
1165 const ThunkInfo &Thunk = TI.second; in ComputeThisAdjustments() local
1183 AddThunk(MD, Thunk); in ComputeThisAdjustments()
1955 ThunkInfo Thunk = VTableThunks.lookup(I); in dumpLayout() local
1956 if (!Thunk.isEmpty()) { in dumpLayout()
1958 if (!Thunk.Return.isEmpty()) { in dumpLayout()
1960 Out << Thunk.Return.NonVirtual << " non-virtual"; in dumpLayout()
[all …]
DMicrosoftMangle.cpp108 void mangleThunk(const CXXMethodDecl *MD, const ThunkInfo &Thunk,
2464 const ThunkInfo &Thunk, in mangleThunk() argument
2469 mangleThunkThisAdjustment(MD, Thunk.This, Mangler, Out); in mangleThunk()
2470 if (!Thunk.Return.isEmpty()) in mangleThunk()
2471 assert(Thunk.Method != nullptr && in mangleThunk()
2474 const CXXMethodDecl *DeclForFPT = Thunk.Method ? Thunk.Method : MD; in mangleThunk()
DItaniumMangle.cpp142 void mangleThunk(const CXXMethodDecl *MD, const ThunkInfo &Thunk,
4066 const ThunkInfo &Thunk, in mangleThunk() argument
4079 if (!Thunk.Return.isEmpty()) in mangleThunk()
4083 Mangler.mangleCallOffset(Thunk.This.NonVirtual, in mangleThunk()
4084 Thunk.This.Virtual.Itanium.VCallOffsetOffset); in mangleThunk()
4087 if (!Thunk.Return.isEmpty()) in mangleThunk()
4088 Mangler.mangleCallOffset(Thunk.Return.NonVirtual, in mangleThunk()
4089 Thunk.Return.Virtual.Itanium.VBaseOffsetOffset); in mangleThunk()
/external/llvm/include/llvm/DebugInfo/PDB/
DPDBSymbolThunk.h26 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::Thunk)
DPDBExtras.h25 raw_ostream &operator<<(raw_ostream &OS, const PDB_ThunkOrdinal &Thunk);
DPDBTypes.h299 Thunk, enumerator
/external/llvm/lib/DebugInfo/PDB/
DPDBExtras.cpp167 raw_ostream &llvm::operator<<(raw_ostream &OS, const PDB_ThunkOrdinal &Thunk) { in operator <<() argument
168 switch (Thunk) { in operator <<()
240 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Thunk, OS) in operator <<()
DPDBSymbol.cpp94 FACTORY_SYMTAG_CASE(Thunk, PDBSymbolThunk) in create()
/external/llvm/unittests/DebugInfo/PDB/
DPDBApiTest.cpp327 InsertItemWithTag(PDB_SymType::Thunk); in SetUp()
389 VerifyDyncast<PDBSymbolThunk>(PDB_SymType::Thunk); in TEST_F()
/external/llvm/tools/llvm-pdbdump/
Dllvm-pdbdump.cpp509 while (auto Thunk = Thunks->getNext()) in dumpInput() local
510 Dumper.dump(*Thunk); in dumpInput()
/external/clang/include/clang/AST/
DMangle.h100 const ThunkInfo &Thunk,