Home
last modified time | relevance | path

Searched refs:GlobalIFunc (Results 1 – 25 of 26) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DGlobalIFunc.h32 class GlobalIFunc final : public GlobalIndirectSymbol,
33 public ilist_node<GlobalIFunc> {
34 friend class SymbolTableListTraits<GlobalIFunc>;
36 GlobalIFunc(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage,
40 GlobalIFunc(const GlobalIFunc &) = delete;
41 GlobalIFunc &operator=(const GlobalIFunc &) = delete;
45 static GlobalIFunc *create(Type *Ty, unsigned AddressSpace,
H A DValueSymbolTable.h27 class GlobalIFunc; variable
42 friend class SymbolTableListTraits<GlobalIFunc>;
H A DSymbolTableListTraits.h37 class GlobalIFunc; variable
57 DEFINE_SYMBOL_TABLE_PARENT_TYPE(GlobalIFunc, Module)
H A DModule.h78 using IFuncListType = SymbolTableList<GlobalIFunc>;
459 GlobalIFunc *getNamedIFunc(StringRef Name) const;
574 static IFuncListType Module::*getSublistAccess(GlobalIFunc*) { in getSublistAccess() argument
H A DValue.h39 class GlobalIFunc; variable
1021 template <> struct isa_impl<GlobalIFunc, Value> {
1029 return isa<GlobalAlias>(Val) || isa<GlobalIFunc>(Val);
H A DValue.def78 HANDLE_GLOBAL_VALUE(GlobalIFunc)
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DGlobals.cpp109 !isa<GlobalIFunc>(this) && !hasComdat(); in canBenefitFromLocalAlias()
180 if (isa<GlobalIFunc>(this)) in getComdat()
531 GlobalIFunc::GlobalIFunc(Type *Ty, unsigned AddressSpace, LinkageTypes Link, in GlobalIFunc() function in GlobalIFunc
540 GlobalIFunc *GlobalIFunc::create(Type *Ty, unsigned AddressSpace, in create()
543 return new GlobalIFunc(Ty, AddressSpace, Link, Name, Resolver, ParentModule); in create()
546 void GlobalIFunc::removeFromParent() { in removeFromParent()
550 void GlobalIFunc::eraseFromParent() { in eraseFromParent()
H A DModule.cpp68 template class llvm::SymbolTableListTraits<GlobalIFunc>;
243 GlobalIFunc *Module::getNamedIFunc(StringRef Name) const { in getNamedIFunc()
244 return dyn_cast_or_null<GlobalIFunc>(getNamedValue(Name)); in getNamedIFunc()
543 for (GlobalIFunc &GIF : ifuncs()) in dropAllReferences()
H A DAsmWriter.cpp157 for (const GlobalIFunc &I : M->ifuncs()) { in orderModule()
313 for (const GlobalIFunc &I : M->ifuncs()) in predictUseListOrder()
320 for (const GlobalIFunc &I : M->ifuncs()) in predictUseListOrder()
935 if (const GlobalIFunc *GIF = dyn_cast<GlobalIFunc>(V)) in createSlotTracker()
1002 for (const GlobalIFunc &I : TheModule->ifuncs()) { in processModule()
1230 (isa<GlobalIFunc>(V) ? 'I' : 'o')))) << "]\n"); in CreateModuleSlot()
2871 for (const GlobalIFunc &GI : M->ifuncs()) in printModule()
3629 else if (isa<GlobalIFunc>(GIS)) in printIndirectSymbol()
H A DCore.cpp2562 return wrap(GlobalIFunc::create(unwrap(Ty), AddrSpace, in LLVMAddGlobalIFunc()
2590 GlobalIFunc *GIF = unwrap<GlobalIFunc>(IFunc); in LLVMGetNextGlobalIFunc()
2598 GlobalIFunc *GIF = unwrap<GlobalIFunc>(IFunc); in LLVMGetPreviousGlobalIFunc()
2606 return wrap(unwrap<GlobalIFunc>(IFunc)->getResolver()); in LLVMGetGlobalIFuncResolver()
2610 unwrap<GlobalIFunc>(IFunc)->setResolver(unwrap<Constant>(Resolver)); in LLVMSetGlobalIFuncResolver()
2614 unwrap<GlobalIFunc>(IFunc)->eraseFromParent(); in LLVMEraseGlobalIFunc()
2618 unwrap<GlobalIFunc>(IFunc)->removeFromParent(); in LLVMRemoveGlobalIFunc()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DGlobalDCE.cpp342 for (GlobalIFunc &GIF : M.ifuncs()) { in run()
396 std::vector<GlobalIFunc*> DeadIFuncs; in run()
397 for (GlobalIFunc &GIF : M.ifuncs()) in run()
433 for (GlobalIFunc *GIF : DeadIFuncs) in run()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/verify-uselistorder/
H A Dverify-uselistorder.cpp192 for (const GlobalIFunc &IF : M.ifuncs()) in ValueMapping()
203 for (const GlobalIFunc &IF : M.ifuncs()) in ValueMapping()
474 for (GlobalIFunc &IF : M.ifuncs()) in changeUseLists()
485 for (GlobalIFunc &IF : M.ifuncs()) in changeUseLists()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp118 for (const GlobalIFunc &I : M.ifuncs()) in orderModule()
168 for (const GlobalIFunc &I : M.ifuncs()) in orderModule()
339 for (const GlobalIFunc &I : M.ifuncs()) in predictUseListOrder()
346 for (const GlobalIFunc &I : M.ifuncs()) in predictUseListOrder()
381 for (const GlobalIFunc &GIF : M.ifuncs()) in ValueEnumerator()
400 for (const GlobalIFunc &GIF : M.ifuncs()) in ValueEnumerator()
H A DBitcodeWriter.cpp1436 for (const GlobalIFunc &I : M.ifuncs()) { in writeModuleInfo()
4784 for (const GlobalIFunc &I : M.ifuncs()) { in writeSimplifiedModuleInfo()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSplitModule.cpp259 for (GlobalIFunc &GIF : M.ifuncs()) in SplitModule()
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c651 GlobalIFunc, enumerator
686 DEFINE_CASE(Val, GlobalIFunc); in llvm_classify_value()
H A Dllvm.ml321 | GlobalIFunc Constructor
H A Dllvm.mli356 | GlobalIFunc Constructor
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenModule.cpp3397 auto *IFunc = cast<llvm::GlobalIFunc>(GetOrCreateLLVMFunction( in emitCPUDispatchDefinition()
3441 llvm::GlobalIFunc *GIF = llvm::GlobalIFunc::create( in GetOrCreateMultiVersionResolver()
4959 llvm::GlobalIFunc *GIF = in emitIFuncDefinition()
4960 llvm::GlobalIFunc::create(DeclTy, 0, llvm::Function::ExternalLinkage, in emitIFuncDefinition()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1610 assert(!isa<GlobalIFunc>(GIS) && "IFunc is not supported on AIX."); in emitGlobalIndirectSymbol()
1632 OutStreamer->emitSymbolAttribute(Name, isa<GlobalIFunc>(GIS) in emitGlobalIndirectSymbol()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Linker/
H A DIRMover.cpp690 GIS = GlobalIFunc::create(Ty, SGIS->getAddressSpace(), in copyGlobalIndirectSymbolProto()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm-c/
H A DCore.h1583 macro(GlobalIFunc) \
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp2423 assert(!isa<GlobalIFunc>(GV) && "GlobalIFunc is not supported on AIX."); in getStorageClassForGlobal()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/AsmParser/
H A DLLParser.cpp1048 GA.reset(GlobalIFunc::create(Ty, AddrSpace, in parseIndirectSymbol()
1092 M->getIFuncList().push_back(cast<GlobalIFunc>(GA.get())); in parseIndirectSymbol()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp3512 NewGA = GlobalIFunc::create(Ty, AddrSpace, getDecodedLinkage(Linkage), Name, in parseGlobalIndirectSymbolRecord()

12