Lines Matching defs:RetAI
1511 const ABIArgInfo &RetAI = FI.getReturnInfo();
1513 if (RetAI.getKind() == ABIArgInfo::Indirect) {
1514 SwapThisWithSRet = RetAI.isSRetAfterThis();
2581 const ABIArgInfo &RetAI = FI.getReturnInfo();
2587 if (!RetTy->isVoidType() && RetAI.getKind() != ABIArgInfo::Indirect &&
2588 DetermineNoUndef(RetTy, getTypes(), DL, RetAI))
2592 switch (RetAI.getKind()) {
2594 if (RetAI.isSignExt())
2596 else if (RetAI.isZeroExt())
2602 if (RetAI.getInReg())
2605 if (canApplyNoFPClass(RetAI, RetTy, true))
2655 if (RetAI.getInReg())
2657 SRETAttrs.addAlignmentAttr(RetAI.getIndirectAlign().getQuantity());
3844 const ABIArgInfo &RetAI = FI.getReturnInfo();
3846 switch (RetAI.getKind()) {
3851 if (RetAI.getInAllocaSRet()) {
3856 FI.getArgStruct(), ArgStruct, RetAI.getInAllocaFieldIndex());
3865 if (RetAI.isSRetAfterThis())
3897 if (RetAI.getCoerceToType() == ConvertType(RetTy) &&
3898 RetAI.getDirectOffset() == 0) {
3921 Address V = emitAddressAtOffset(*this, ReturnValue, RetAI);
3923 RV = CreateCoercedLoad(V, RetAI.getCoerceToType(), *this);
3958 auto coercionType = RetAI.getCoerceAndExpandType();
3959 auto unpaddedCoercionType = RetAI.getUnpaddedCoerceAndExpandType();
3987 llvm::Type *returnType = RetAI.getUnpaddedCoerceAndExpandType();
5093 const ABIArgInfo &RetAI = CallInfo.getReturnInfo();
5149 if (RetAI.isIndirect() || RetAI.isInAlloca() || RetAI.isCoerceAndExpand()) {
5154 if ((IsVirtualFunctionPointerThunk || IsMustTail) && RetAI.isIndirect()) {
5171 } else if (RetAI.isInAlloca()) {
5173 Builder.CreateStructGEP(ArgMemory, RetAI.getInAllocaFieldIndex());
5955 switch (RetAI.getKind()) {
5957 auto coercionType = RetAI.getCoerceAndExpandType();
5961 assert(CI->getType() == RetAI.getUnpaddedCoerceAndExpandType());
5996 if (RetAI.getCoerceToType() == RetIRTy &&
5997 RetAI.getDirectOffset() == 0) {
6050 Address StorePtr = emitAddressAtOffset(*this, DestPtr, RetAI);
6053 llvm::TypeSize::getFixed(DestSize - RetAI.getDirectOffset()),