Searched refs:HelperFn (Results 1 – 3 of 3) sorted by relevance
3176 llvm::Constant *HelperFn = nullptr; in GenerateObjCAtomicSetterCopyHelperFunction() local3180 if ((HelperFn = CGM.getAtomicSetterHelperFnMap(Ty))) in GenerateObjCAtomicSetterCopyHelperFunction()3181 return HelperFn; in GenerateObjCAtomicSetterCopyHelperFunction()3238 HelperFn = llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy); in GenerateObjCAtomicSetterCopyHelperFunction()3239 CGM.setAtomicSetterHelperFnMap(Ty, HelperFn); in GenerateObjCAtomicSetterCopyHelperFunction()3240 return HelperFn; in GenerateObjCAtomicSetterCopyHelperFunction()3255 llvm::Constant *HelperFn = nullptr; in GenerateObjCAtomicGetterCopyHelperFunction() local3260 if ((HelperFn = CGM.getAtomicGetterHelperFnMap(Ty))) in GenerateObjCAtomicGetterCopyHelperFunction()3261 return HelperFn; in GenerateObjCAtomicGetterCopyHelperFunction()3339 HelperFn = llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy); in GenerateObjCAtomicGetterCopyHelperFunction()[all …]
3621 llvm::Constant *HelperFn = nullptr; in GenerateObjCAtomicSetterCopyHelperFunction() local3625 if ((HelperFn = CGM.getAtomicSetterHelperFnMap(Ty))) in GenerateObjCAtomicSetterCopyHelperFunction()3626 return HelperFn; in GenerateObjCAtomicSetterCopyHelperFunction()3688 HelperFn = llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy); in GenerateObjCAtomicSetterCopyHelperFunction()3689 CGM.setAtomicSetterHelperFnMap(Ty, HelperFn); in GenerateObjCAtomicSetterCopyHelperFunction()3690 return HelperFn; in GenerateObjCAtomicSetterCopyHelperFunction()3705 llvm::Constant *HelperFn = nullptr; in GenerateObjCAtomicGetterCopyHelperFunction() local3709 if ((HelperFn = CGM.getAtomicGetterHelperFnMap(Ty))) in GenerateObjCAtomicGetterCopyHelperFunction()3710 return HelperFn; in GenerateObjCAtomicGetterCopyHelperFunction()3794 HelperFn = llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy); in GenerateObjCAtomicGetterCopyHelperFunction()[all …]
59 auto *HelperFn = Function::Create(HelperFnType, GlobalValue::ExternalLinkage, in addHelperAndWrapper() local74 auto *HelperResult = IB.CreateCall(HelperFn, HelperArgs); in addHelperAndWrapper()75 if (HelperFn->getReturnType()->isVoidTy()) in addHelperAndWrapper()