Lines Matching defs:IFunc
1855 // cpu_specific gets the current name, dispatch gets the resolver if IFunc is
3831 // IFunc like an alias whose value is resolved at runtime by calling resolver.
4353 if (auto *IFunc = dyn_cast<llvm::GlobalIFunc>(ResolverConstant)) {
4354 ResolverConstant = IFunc->getResolver();
4367 MangledName + ".ifunc", IFunc, &getModule());
4507 auto *IFunc = cast<llvm::GlobalValue>(GetOrCreateMultiVersionResolver(GD));
4508 unsigned AS = IFunc->getType()->getPointerAddressSpace();
4512 if (!isa<llvm::GlobalIFunc>(IFunc)) {
4515 replaceDeclarationWith(IFunc, GI);
4516 IFunc = GI;
4524 IFunc, &getModule());
7430 if (auto *IFunc = dyn_cast<llvm::GlobalIFunc>(CEUser)) {
7431 IFuncs.push_back(IFunc);
7437 } else if (auto *IFunc = dyn_cast<llvm::GlobalIFunc>(User)) {
7438 IFuncs.push_back(IFunc);
7450 for (llvm::GlobalIFunc *IFunc : IFuncs)
7451 IFunc->setResolver(nullptr);
7459 for (llvm::GlobalIFunc *IFunc : IFuncs) {
7461 // type of the IFunc, so create that here. If the type of the actual
7464 llvm::FunctionType::get(IFunc->getType(), /*isVarArg*/ false);
7467 IFunc->setResolver(Resolver);