/freebsd-current/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | GlobalIFunc.h | 1 //===-------- llvm/GlobalIFunc.h - GlobalIFunc class ------------*- C++ -*-===// 10 /// This file contains the declaration of the GlobalIFunc class, which 31 // Traits class for using GlobalIFunc in symbol table in Module. 34 class GlobalIFunc final : public GlobalObject, public ilist_node<GlobalIFunc> { 35 friend class SymbolTableListTraits<GlobalIFunc>; 37 GlobalIFunc(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage, 41 GlobalIFunc(const GlobalIFunc [all...] |
H A D | ValueSymbolTable.h | 27 class GlobalIFunc; 43 friend class SymbolTableListTraits<GlobalIFunc>;
|
H A D | SymbolTableListTraits.h | 37 class GlobalIFunc; 57 DEFINE_SYMBOL_TABLE_PARENT_TYPE(GlobalIFunc, Module)
|
H A D | Module.h | 27 #include "llvm/IR/GlobalIFunc.h" 76 using IFuncListType = SymbolTableList<GlobalIFunc>; 486 GlobalIFunc *getNamedIFunc(StringRef Name) const; 617 void removeIFunc(GlobalIFunc *IFunc) { IFuncList.remove(IFunc); } 619 void eraseIFunc(GlobalIFunc *IFunc) { IFuncList.erase(IFunc); } 621 void insertIFunc(GlobalIFunc *IFunc) { IFuncList.push_back(IFunc); } 652 static IFuncListType Module::*getSublistAccess(GlobalIFunc*) { 655 friend class llvm::SymbolTableListTraits<llvm::GlobalIFunc>;
|
H A D | Value.h | 39 class GlobalIFunc; 1031 template <> struct isa_impl<GlobalIFunc, Value> { 1046 isa<GlobalIFunc>(Val);
|
/freebsd-current/contrib/llvm-project/llvm/lib/IR/ |
H A D | Globals.cpp | 116 !isa<GlobalIFunc>(this) && !isDeduplicateComdat(getComdat()); 192 if (isa<GlobalIFunc>(this)) 284 assert(isa<GlobalAlias>(this) || isa<GlobalIFunc>(this)); 562 // GlobalIFunc Implementation 565 GlobalIFunc::GlobalIFunc(Type *Ty, unsigned AddressSpace, LinkageTypes Link, function in class:GlobalIFunc 575 GlobalIFunc *GlobalIFunc::create(Type *Ty, unsigned AddressSpace, 578 return new GlobalIFunc(Ty, AddressSpace, Link, Name, Resolver, ParentModule); 581 void GlobalIFunc [all...] |
H A D | Module.cpp | 29 #include "llvm/IR/GlobalIFunc.h" 66 template class llvm::SymbolTableListTraits<GlobalIFunc>; 232 GlobalIFunc *Module::getNamedIFunc(StringRef Name) const { 233 return dyn_cast_or_null<GlobalIFunc>(getNamedValue(Name)); 530 for (GlobalIFunc &GIF : ifuncs())
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | ModuleUtils.h | 18 #include "llvm/IR/GlobalIFunc.h" 30 class GlobalIFunc; 144 Module &M, ArrayRef<GlobalIFunc *> IFuncsToLower = {});
|
H A D | ValueMapper.h | 195 void scheduleMapGlobalIFunc(GlobalIFunc &GI, Constant &Resolver,
|
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CloneModule.cpp | 118 for (const GlobalIFunc &I : M.ifuncs()) { 121 GlobalIFunc::create(I.getValueType(), I.getAddressSpace(), 202 for (const GlobalIFunc &I : M.ifuncs()) { 203 GlobalIFunc *GI = cast<GlobalIFunc>(VMap[&I]);
|
H A D | SplitModule.cpp | 94 if (const auto *GI = dyn_cast_or_null<GlobalIFunc>(GO)) 262 for (GlobalIFunc &GIF : M.ifuncs())
|
H A D | FunctionImportUtils.cpp | 50 if (isa<GlobalIFunc>(SGV) || 52 isa<GlobalIFunc>(cast<GlobalAlias>(SGV)->getAliaseeObject())))
|
H A D | ModuleUtils.cpp | 355 Module &M, ArrayRef<GlobalIFunc *> FilteredIFuncsToLower) { 356 SmallVector<GlobalIFunc *, 32> AllIFuncs; 357 ArrayRef<GlobalIFunc *> IFuncsToLower = FilteredIFuncsToLower; 359 for (GlobalIFunc &GI : M.ifuncs()) 393 for (GlobalIFunc *GI : IFuncsToLower) {
|
H A D | ValueMapper.cpp | 28 #include "llvm/IR/GlobalIFunc.h" 938 else if (auto *GI = dyn_cast<GlobalIFunc>(GV)) 1139 assert((isa<GlobalAlias>(GV) || isa<GlobalIFunc>(GV)) && 1264 void ValueMapper::scheduleMapGlobalIFunc(GlobalIFunc &GI, Constant &Resolver,
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86AsmPrinter.h | 124 void emitMachOIFuncStubBody(Module &M, const GlobalIFunc &GI, 126 void emitMachOIFuncStubHelperBody(Module &M, const GlobalIFunc &GI,
|
H A D | X86AsmPrinter.cpp | 540 void X86AsmPrinter::emitMachOIFuncStubBody(Module &M, const GlobalIFunc &GI, 557 const GlobalIFunc &GI,
|
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | GlobalDCE.cpp | 303 for (GlobalIFunc &GIF : M.ifuncs()) { 357 std::vector<GlobalIFunc*> DeadIFuncs; 358 for (GlobalIFunc &GIF : M.ifuncs()) 404 for (GlobalIFunc *GIF : DeadIFuncs)
|
H A D | ExtractGV.cpp | 132 for (GlobalIFunc &IF : llvm::make_early_inc_range(M.ifuncs())) {
|
/freebsd-current/contrib/llvm-project/llvm/lib/Linker/ |
H A D | IRMover.cpp | 508 void linkIFuncResolver(GlobalIFunc &Dst, GlobalIFunc &Src); 626 } else if (auto *GI = dyn_cast<GlobalIFunc>(New)) { 715 if (auto *GI = dyn_cast<GlobalIFunc>(SGV)) { 716 auto *DGI = GlobalIFunc::create(Ty, SGV->getAddressSpace(), 1155 void IRLinker::linkIFuncResolver(GlobalIFunc &Dst, GlobalIFunc &Src) { 1170 linkIFuncResolver(cast<GlobalIFunc>(Dst), cast<GlobalIFunc>(Src));
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | AsmPrinter.h | 599 /// have a MachineFunction when we're lowering a GlobalIFunc, and 606 virtual void emitMachOIFuncStubBody(Module &M, const GlobalIFunc &GI, 612 virtual void emitMachOIFuncStubHelperBody(Module &M, const GlobalIFunc &GI, 901 void emitGlobalIFunc(Module &M, const GlobalIFunc &GI);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/ |
H A D | DXILValueEnumerator.cpp | 24 #include "llvm/IR/GlobalIFunc.h" 122 for (const GlobalIFunc &I : M.ifuncs()) 172 for (const GlobalIFunc &I : M.ifuncs()) 343 for (const GlobalIFunc &I : M.ifuncs()) 350 for (const GlobalIFunc &I : M.ifuncs()) 387 for (const GlobalIFunc &GIF : M.ifuncs()) { 407 for (const GlobalIFunc &GIF : M.ifuncs())
|
/freebsd-current/contrib/llvm-project/llvm/lib/Object/ |
H A D | ModuleSymbolTable.cpp | 218 if (isa<Function>(GO) || isa<GlobalIFunc>(GO))
|
H A D | IRSymtab.cpp | 304 if (isa<GlobalIFunc>(GV)) 305 GO = cast<GlobalIFunc>(GV)->getResolverFunction();
|
/freebsd-current/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
H A D | ValueEnumerator.cpp | 23 #include "llvm/IR/GlobalIFunc.h" 114 for (const GlobalIFunc &I : reverse(M.ifuncs())) 301 for (const GlobalIFunc &I : M.ifuncs()) 308 for (const GlobalIFunc &I : M.ifuncs()) 348 for (const GlobalIFunc &GIF : M.ifuncs()) { 369 for (const GlobalIFunc &GIF : M.ifuncs())
|
/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ModuleSummaryAnalysis.cpp | 430 if (auto *GI = dyn_cast_if_present<GlobalIFunc>(CalledValue)) 785 if (isa<GlobalIFunc>(Aliasee)) 954 for (const GlobalIFunc &I : M.ifuncs()) {
|