Searched refs:GlobalIFunc (Results 1 - 25 of 42) sorted by relevance

12

/freebsd-current/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalIFunc.h1 //===-------- 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 DValueSymbolTable.h27 class GlobalIFunc;
43 friend class SymbolTableListTraits<GlobalIFunc>;
H A DSymbolTableListTraits.h37 class GlobalIFunc;
57 DEFINE_SYMBOL_TABLE_PARENT_TYPE(GlobalIFunc, Module)
H A DModule.h27 #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 DValue.h39 class GlobalIFunc;
1031 template <> struct isa_impl<GlobalIFunc, Value> {
1046 isa<GlobalIFunc>(Val);
/freebsd-current/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp116 !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 DModule.cpp29 #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 DModuleUtils.h18 #include "llvm/IR/GlobalIFunc.h"
30 class GlobalIFunc;
144 Module &M, ArrayRef<GlobalIFunc *> IFuncsToLower = {});
H A DValueMapper.h195 void scheduleMapGlobalIFunc(GlobalIFunc &GI, Constant &Resolver,
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCloneModule.cpp118 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 DSplitModule.cpp94 if (const auto *GI = dyn_cast_or_null<GlobalIFunc>(GO))
262 for (GlobalIFunc &GIF : M.ifuncs())
H A DFunctionImportUtils.cpp50 if (isa<GlobalIFunc>(SGV) ||
52 isa<GlobalIFunc>(cast<GlobalAlias>(SGV)->getAliaseeObject())))
H A DModuleUtils.cpp355 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 DValueMapper.cpp28 #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 DX86AsmPrinter.h124 void emitMachOIFuncStubBody(Module &M, const GlobalIFunc &GI,
126 void emitMachOIFuncStubHelperBody(Module &M, const GlobalIFunc &GI,
H A DX86AsmPrinter.cpp540 void X86AsmPrinter::emitMachOIFuncStubBody(Module &M, const GlobalIFunc &GI,
557 const GlobalIFunc &GI,
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalDCE.cpp303 for (GlobalIFunc &GIF : M.ifuncs()) {
357 std::vector<GlobalIFunc*> DeadIFuncs;
358 for (GlobalIFunc &GIF : M.ifuncs())
404 for (GlobalIFunc *GIF : DeadIFuncs)
H A DExtractGV.cpp132 for (GlobalIFunc &IF : llvm::make_early_inc_range(M.ifuncs())) {
/freebsd-current/contrib/llvm-project/llvm/lib/Linker/
H A DIRMover.cpp508 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 DAsmPrinter.h599 /// 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 DDXILValueEnumerator.cpp24 #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 DModuleSymbolTable.cpp218 if (isa<Function>(GO) || isa<GlobalIFunc>(GO))
H A DIRSymtab.cpp304 if (isa<GlobalIFunc>(GV))
305 GO = cast<GlobalIFunc>(GV)->getResolverFunction();
/freebsd-current/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp23 #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 DModuleSummaryAnalysis.cpp430 if (auto *GI = dyn_cast_if_present<GlobalIFunc>(CalledValue))
785 if (isa<GlobalIFunc>(Aliasee))
954 for (const GlobalIFunc &I : M.ifuncs()) {

Completed in 315 milliseconds

12