Searched refs:GuardCheckFn (Results 1 – 2 of 2) sorted by relevance
3867 if (const Function *GuardCheckFn = TLI->getSSPStackGuardCheck(M)) { in emitSPDescriptorParent() local3873 (void)GuardCheckFn; in emitSPDescriptorParent()3879 FunctionType *FnTy = GuardCheckFn->getFunctionType(); in emitSPDescriptorParent()3882 if (GuardCheckFn->hasAttribute(1, Attribute::AttrKind::InReg)) in emitSPDescriptorParent()3889 Info.CallConv = GuardCheckFn->getCallingConv(); in emitSPDescriptorParent()3890 Info.Callee = MachineOperand::CreateGA(GuardCheckFn, 0); in emitSPDescriptorParent()
3083 const Function *GuardCheckFn = TLI.getSSPStackGuardCheck(M); in visitSPDescriptorParent() local3084 assert(GuardCheckFn && "Guard check function is null"); in visitSPDescriptorParent()3089 FunctionType *FnTy = GuardCheckFn->getFunctionType(); in visitSPDescriptorParent()3096 if (GuardCheckFn->hasParamAttribute(0, Attribute::AttrKind::InReg)) in visitSPDescriptorParent()3103 .setCallee(GuardCheckFn->getCallingConv(), FnTy->getReturnType(), in visitSPDescriptorParent()3104 getValue(GuardCheckFn), std::move(Args)); in visitSPDescriptorParent()3161 auto *GuardCheckFn = TLI.getSSPStackGuardCheck(M); in visitSPDescriptorFailure() local3162 if (GuardCheckFn && !SPD.shouldEmitFunctionBasedCheckStackProtector()) { in visitSPDescriptorFailure()3188 FunctionType *FnTy = GuardCheckFn->getFunctionType(); in visitSPDescriptorFailure()3195 if (GuardCheckFn->hasParamAttribute(0, Attribute::AttrKind::InReg)) in visitSPDescriptorFailure()[all …]