| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | GlobalIFunc.h | 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 &) = delete; 42 GlobalIFunc &operator=(const GlobalIFunc &) = delete; 46 static GlobalIFunc *create(Type *Ty, unsigned AddressSpace, 57 void copyAttributesFrom(const GlobalIFunc *Src) { in copyAttributesFrom() 80 static_cast<const GlobalIFunc *>(this)->getResolverFunction()); in getResolverFunction() 105 struct OperandTraits<GlobalIFunc> 106 : public FixedNumOperandTraits<GlobalIFunc, 1> {}; [all …]
|
| H A D | ValueSymbolTable.h | 27 class GlobalIFunc; variable 43 friend class SymbolTableListTraits<GlobalIFunc>;
|
| H A D | Module.h | 76 using IFuncListType = SymbolTableList<GlobalIFunc>; 486 GlobalIFunc *getNamedIFunc(StringRef Name) const; 617 void removeIFunc(GlobalIFunc *IFunc) { IFuncList.remove(IFunc); } in removeIFunc() 619 void eraseIFunc(GlobalIFunc *IFunc) { IFuncList.erase(IFunc); } in eraseIFunc() 621 void insertIFunc(GlobalIFunc *IFunc) { IFuncList.push_back(IFunc); } in insertIFunc() 652 static IFuncListType Module::*getSublistAccess(GlobalIFunc*) { in getSublistAccess() argument 655 friend class llvm::SymbolTableListTraits<llvm::GlobalIFunc>;
|
| H A D | SymbolTableListTraits.h | 37 class GlobalIFunc; variable 57 DEFINE_SYMBOL_TABLE_PARENT_TYPE(GlobalIFunc, Module)
|
| H A D | Value.h | 39 class GlobalIFunc; variable 1031 template <> struct isa_impl<GlobalIFunc, Value> { 1046 isa<GlobalIFunc>(Val);
|
| H A D | Value.def | 78 HANDLE_GLOBAL_VALUE(GlobalIFunc)
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Globals.cpp | 116 !isa<GlobalIFunc>(this) && !isDeduplicateComdat(getComdat()); in canBenefitFromLocalAlias() 192 if (isa<GlobalIFunc>(this)) in getComdat() 284 assert(isa<GlobalAlias>(this) || isa<GlobalIFunc>(this)); in isDeclaration() 565 GlobalIFunc::GlobalIFunc(Type *Ty, unsigned AddressSpace, LinkageTypes Link, in GlobalIFunc() function in GlobalIFunc 575 GlobalIFunc *GlobalIFunc::create(Type *Ty, unsigned AddressSpace, in create() 578 return new GlobalIFunc(Ty, AddressSpace, Link, Name, Resolver, ParentModule); in create() 581 void GlobalIFunc::removeFromParent() { getParent()->removeIFunc(this); } in removeFromParent() 583 void GlobalIFunc::eraseFromParent() { getParent()->eraseIFunc(this); } in eraseFromParent() 585 const Function *GlobalIFunc::getResolverFunction() const { in getResolverFunction() 589 void GlobalIFunc::applyAlongResolverPath( in applyAlongResolverPath()
|
| H A D | Module.cpp | 66 template class llvm::SymbolTableListTraits<GlobalIFunc>; 232 GlobalIFunc *Module::getNamedIFunc(StringRef Name) const { in getNamedIFunc() 233 return dyn_cast_or_null<GlobalIFunc>(getNamedValue(Name)); in getNamedIFunc() 530 for (GlobalIFunc &GIF : ifuncs()) in dropAllReferences()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CloneModule.cpp | 118 for (const GlobalIFunc &I : M.ifuncs()) { in CloneModule() 121 GlobalIFunc::create(I.getValueType(), I.getAddressSpace(), in CloneModule() 202 for (const GlobalIFunc &I : M.ifuncs()) { in CloneModule() 203 GlobalIFunc *GI = cast<GlobalIFunc>(VMap[&I]); in CloneModule()
|
| H A D | ModuleUtils.cpp | 355 Module &M, ArrayRef<GlobalIFunc *> FilteredIFuncsToLower) { in lowerGlobalIFuncUsersAsGlobalCtor() 356 SmallVector<GlobalIFunc *, 32> AllIFuncs; in lowerGlobalIFuncUsersAsGlobalCtor() 357 ArrayRef<GlobalIFunc *> IFuncsToLower = FilteredIFuncsToLower; in lowerGlobalIFuncUsersAsGlobalCtor() 359 for (GlobalIFunc &GI : M.ifuncs()) in lowerGlobalIFuncUsersAsGlobalCtor() 393 for (GlobalIFunc *GI : IFuncsToLower) { in lowerGlobalIFuncUsersAsGlobalCtor()
|
| H A D | FunctionImportUtils.cpp | 50 if (isa<GlobalIFunc>(SGV) || in shouldPromoteLocalToGlobal() 52 isa<GlobalIFunc>(cast<GlobalAlias>(SGV)->getAliaseeObject()))) in shouldPromoteLocalToGlobal()
|
| H A D | SplitModule.cpp | 94 if (const auto *GI = dyn_cast_or_null<GlobalIFunc>(GO)) in getGVPartitioningRoot() 262 for (GlobalIFunc &GIF : M.ifuncs()) in SplitModule()
|
| H A D | ValueMapper.cpp | 938 else if (auto *GI = dyn_cast<GlobalIFunc>(GV)) in flush() 1139 assert((isa<GlobalAlias>(GV) || isa<GlobalIFunc>(GV)) && in scheduleMapAliasOrIFunc() 1264 void ValueMapper::scheduleMapGlobalIFunc(GlobalIFunc &GI, Constant &Resolver, in scheduleMapGlobalIFunc()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | ModuleUtils.h | 30 class GlobalIFunc; variable 144 Module &M, ArrayRef<GlobalIFunc *> IFuncsToLower = {});
|
| H A D | ValueMapper.h | 195 void scheduleMapGlobalIFunc(GlobalIFunc &GI, Constant &Resolver,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | GlobalDCE.cpp | 303 for (GlobalIFunc &GIF : M.ifuncs()) { in run() 357 std::vector<GlobalIFunc*> DeadIFuncs; in run() 358 for (GlobalIFunc &GIF : M.ifuncs()) in run() 404 for (GlobalIFunc *GIF : DeadIFuncs) in run()
|
| H A D | ExtractGV.cpp | 132 for (GlobalIFunc &IF : llvm::make_early_inc_range(M.ifuncs())) { in run()
|
| /freebsd-14.2/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,
|
| /freebsd-14.2/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)) { in materialize() 715 if (auto *GI = dyn_cast<GlobalIFunc>(SGV)) { in copyIndirectSymbolProto() 716 auto *DGI = GlobalIFunc::create(Ty, SGV->getAddressSpace(), in copyIndirectSymbolProto() 1155 void IRLinker::linkIFuncResolver(GlobalIFunc &Dst, GlobalIFunc &Src) { in linkIFuncResolver() 1170 linkIFuncResolver(cast<GlobalIFunc>(Dst), cast<GlobalIFunc>(Src)); in linkGlobalValueBody()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILValueEnumerator.cpp | 122 for (const GlobalIFunc &I : M.ifuncs()) in orderModule() 172 for (const GlobalIFunc &I : M.ifuncs()) in orderModule() 343 for (const GlobalIFunc &I : M.ifuncs()) in predictUseListOrder() 350 for (const GlobalIFunc &I : M.ifuncs()) in predictUseListOrder() 387 for (const GlobalIFunc &GIF : M.ifuncs()) { in ValueEnumerator() 407 for (const GlobalIFunc &GIF : M.ifuncs()) in ValueEnumerator()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | AsmPrinter.h | 606 virtual void emitMachOIFuncStubBody(Module &M, const GlobalIFunc &GI, in emitMachOIFuncStubBody() 612 virtual void emitMachOIFuncStubHelperBody(Module &M, const GlobalIFunc &GI, in emitMachOIFuncStubHelperBody() 901 void emitGlobalIFunc(Module &M, const GlobalIFunc &GI);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | ValueEnumerator.cpp | 114 for (const GlobalIFunc &I : reverse(M.ifuncs())) in orderModule() 301 for (const GlobalIFunc &I : M.ifuncs()) in predictUseListOrder() 308 for (const GlobalIFunc &I : M.ifuncs()) in predictUseListOrder() 348 for (const GlobalIFunc &GIF : M.ifuncs()) { in ValueEnumerator() 369 for (const GlobalIFunc &GIF : M.ifuncs()) in ValueEnumerator()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Object/ |
| H A D | IRSymtab.cpp | 304 if (isa<GlobalIFunc>(GV)) in addSymbol() 305 GO = cast<GlobalIFunc>(GV)->getResolverFunction(); in addSymbol()
|
| H A D | ModuleSymbolTable.cpp | 218 if (isa<Function>(GO) || isa<GlobalIFunc>(GO)) in getSymbolFlags()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ModuleSummaryAnalysis.cpp | 430 if (auto *GI = dyn_cast_if_present<GlobalIFunc>(CalledValue)) in computeFunctionSummary() 785 if (isa<GlobalIFunc>(Aliasee)) in computeAliasSummary() 954 for (const GlobalIFunc &I : M.ifuncs()) { in buildModuleSummaryIndex()
|