Home
last modified time | relevance | path

Searched refs:IFunc (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/llvm/test/Verifier/
H A Difunc.ll8 ; CHECK: IFunc should have {{.*}} linkage!
13 ; CHECK: IFunc must have a Function resolver
17 ; CHECK: IFunc resolver must be a definition
24 ; CHECK: IFunc resolver must be a definition
28 ; CHECK: IFunc resolver has incorrect type
/llvm-project-15.0.7/llvm/tools/llvm-c-test/
H A Decho.cpp1310 LLVMValueRef IFunc = LLVMGetNamedGlobalIFunc(M, Name, NameLen); in clone_symbols() local
1311 if (!IFunc) in clone_symbols()
1315 LLVMSetGlobalIFuncResolver(IFunc, clone_constant(Resolver, M)); in clone_symbols()
1318 LLVMSetLinkage(IFunc, LLVMGetLinkage(Cur)); in clone_symbols()
1319 LLVMSetUnnamedAddress(IFunc, LLVMGetUnnamedAddress(Cur)); in clone_symbols()
/llvm-project-15.0.7/llvm/include/llvm-c/
H A DCore.h2796 LLVMValueRef LLVMGetNextGlobalIFunc(LLVMValueRef IFunc);
2804 LLVMValueRef LLVMGetPreviousGlobalIFunc(LLVMValueRef IFunc);
2812 LLVMValueRef LLVMGetGlobalIFuncResolver(LLVMValueRef IFunc);
2819 void LLVMSetGlobalIFuncResolver(LLVMValueRef IFunc, LLVMValueRef Resolver);
2826 void LLVMEraseGlobalIFunc(LLVMValueRef IFunc);
2836 void LLVMRemoveGlobalIFunc(LLVMValueRef IFunc);
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenModule.cpp3764 if (!isa<llvm::GlobalIFunc>(IFunc)) { in emitCPUDispatchDefinition()
3768 GI->takeName(IFunc); in emitCPUDispatchDefinition()
3769 IFunc->replaceAllUsesWith(GI); in emitCPUDispatchDefinition()
3770 IFunc->eraseFromParent(); in emitCPUDispatchDefinition()
3771 IFunc = GI; in emitCPUDispatchDefinition()
6519 IFuncs.push_back(IFunc); in CheckAndReplaceExternCIFuncs()
6526 IFuncs.push_back(IFunc); in CheckAndReplaceExternCIFuncs()
6538 for (llvm::GlobalIFunc *IFunc : IFuncs) in CheckAndReplaceExternCIFuncs()
6539 IFunc->setResolver(nullptr); in CheckAndReplaceExternCIFuncs()
6547 for (llvm::GlobalIFunc *IFunc : IFuncs) { in CheckAndReplaceExternCIFuncs()
[all …]
/llvm-project-15.0.7/llvm/lib/IR/
H A DCore.cpp2577 LLVMValueRef LLVMGetNextGlobalIFunc(LLVMValueRef IFunc) { in LLVMGetNextGlobalIFunc() argument
2578 GlobalIFunc *GIF = unwrap<GlobalIFunc>(IFunc); in LLVMGetNextGlobalIFunc()
2585 LLVMValueRef LLVMGetPreviousGlobalIFunc(LLVMValueRef IFunc) { in LLVMGetPreviousGlobalIFunc() argument
2586 GlobalIFunc *GIF = unwrap<GlobalIFunc>(IFunc); in LLVMGetPreviousGlobalIFunc()
2593 LLVMValueRef LLVMGetGlobalIFuncResolver(LLVMValueRef IFunc) { in LLVMGetGlobalIFuncResolver() argument
2594 return wrap(unwrap<GlobalIFunc>(IFunc)->getResolver()); in LLVMGetGlobalIFuncResolver()
2598 unwrap<GlobalIFunc>(IFunc)->setResolver(unwrap<Constant>(Resolver)); in LLVMSetGlobalIFuncResolver()
2601 void LLVMEraseGlobalIFunc(LLVMValueRef IFunc) { in LLVMEraseGlobalIFunc() argument
2602 unwrap<GlobalIFunc>(IFunc)->eraseFromParent(); in LLVMEraseGlobalIFunc()
2605 void LLVMRemoveGlobalIFunc(LLVMValueRef IFunc) { in LLVMRemoveGlobalIFunc() argument
[all …]
/llvm-project-15.0.7/clang/test/Misc/
H A Dpragma-attribute-supported-attributes-list.test77 // CHECK-NEXT: IFunc (SubjectMatchRule_function)
/llvm-project-15.0.7/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp2216 char IFunc = ' '; in printSymbol() local
2219 IFunc = 'i'; in printSymbol()
2245 << IFunc // Indirect reference to another symbol. in printSymbol()
/llvm-project-15.0.7/llvm/test/Bitcode/
H A Dcompatibility.ll276 ;; IFunc
280 ; IFunc -- Linkage
288 ; IFunc -- Visibility
296 ; IFunc -- partition
H A Dcompatibility-3.9.ll253 ;; IFunc
257 ; IFunc -- Linkage
265 ; IFunc -- Visibility
H A Dcompatibility-4.0.ll253 ;; IFunc
257 ; IFunc -- Linkage
265 ; IFunc -- Visibility
H A Dcompatibility-6.0.ll252 ;; IFunc
256 ; IFunc -- Linkage
264 ; IFunc -- Visibility
H A Dcompatibility-5.0.ll253 ;; IFunc
257 ; IFunc -- Linkage
265 ; IFunc -- Visibility
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2100 for (const auto &IFunc : M.ifuncs()) in doFinalization() local
2101 emitGlobalIFunc(M, IFunc); in doFinalization()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DAttr.td1550 def IFunc : Attr, TargetSpecificAttr<TargetELF> {
/llvm-project-15.0.7/llvm/docs/
H A DLangRef.rst925 IFunc may have an optional :ref:`linkage type <linkage>` and an optional