Lines Matching refs:getContext

129     return isX86VectorTypeForVectorCall(getContext(), Ty);  in isHomogeneousAggregateBaseType()
310 uint64_t RetWidth = CGF.getContext().getTypeSize(ReturnSlot.getType()); in addReturnRegisterOutputs()
458 if (!addBaseAndFieldSizes(getContext(), CXXRD, Size)) in canExpandIndirectArgument()
461 if (!addFieldSizes(getContext(), RD, Size)) in canExpandIndirectArgument()
466 return Size == getContext().getTypeSize(Ty); in canExpandIndirectArgument()
497 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
531 if (isEmptyRecord(getContext(), RetTy, true)) in classifyReturnType()
536 QualType ET = getContext().getCanonicalType(CT->getElementType()); in classifyReturnType()
544 if (shouldReturnTypeInRegister(RetTy, getContext())) { in classifyReturnType()
545 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
552 if (const Type *SeltTy = isSingleElementStruct(RetTy, getContext())) in classifyReturnType()
599 if (Align >= 16 && (isSIMDVectorType(getContext(), Ty) || in getTypeStackAlignInBytes()
600 isRecordWithSIMDVectorType(getContext(), Ty))) in getTypeStackAlignInBytes()
618 unsigned TypeAlign = getContext().getTypeAlign(Ty) / 8; in getIndirectResult()
631 const Type *T = isSingleElementStruct(Ty, getContext()); in classify()
650 unsigned Size = getContext().getTypeSize(Ty); in updateFreeRegs()
695 if (getContext().getTypeSize(Ty) <= 32 && State.FreeRegs) in shouldAggregateUseDirect()
705 bool IsPtrOrInt = (getContext().getTypeSize(Ty) <= 32) && in shouldPrimitiveUseInReg()
757 TypeInfo TI = getContext().getTypeInfo(Ty); in classifyArgumentType()
805 if (!IsWin32StructABI && isEmptyRecord(getContext(), Ty, true)) in classifyArgumentType()
832 getContext().getASTRecordLayout(RT->getDecl()); in classifyArgumentType()
833 AlignInBits = getContext().toBits(Layout.getRequiredAlignment()); in classifyArgumentType()
989 StackOffset += IsIndirect ? WordSize : getContext().getTypeSizeInChars(Type); in addFieldToArgStruct()
1070 auto TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitVAArg()
1124 Fn->getContext(), ByValTy); in addX86InterruptAttrs()
1316 if (getContext().getLangOpts().getClangABICompat() <= in classifyIntegerMMXAsSSE()
1329 if (getContext().getLangOpts().getClangABICompat() <= in passInt128VectorsInMem()
1386 return isX86VectorTypeForVectorCall(getContext(), Ty); in isHomogeneousAggregateBaseType()
1573 CGM.getContext().getTypeSize(Arg.getType()) > 128) { in checkFunctionCallABI()
1574 initFeatureMaps(CGM.getContext(), CallerMap, Caller, CalleeMap, Callee); in checkFunctionCallABI()
1581 if (checkAVXParam(CGM.getDiags(), CGM.getContext(), CallLoc, CallerMap, in checkFunctionCallABI()
1591 CGM.getContext().getTypeSize(Callee->getReturnType()) > 128) { in checkFunctionCallABI()
1592 initFeatureMaps(CGM.getContext(), CallerMap, Caller, CalleeMap, Callee); in checkFunctionCallABI()
1593 checkAVXParam(CGM.getDiags(), CGM.getContext(), CallLoc, CallerMap, in checkFunctionCallABI()
1861 uint64_t Size = getContext().getTypeSize(VT); in classify()
1929 QualType ET = getContext().getCanonicalType(CT->getElementType()); in classify()
1931 uint64_t Size = getContext().getTypeSize(Ty); in classify()
1937 } else if (ET->isFloat16Type() || ET == getContext().FloatTy || in classify()
1940 } else if (ET == getContext().DoubleTy) { in classify()
1942 } else if (ET == getContext().LongDoubleTy) { in classify()
1957 uint64_t EB_Imag = (OffsetBase + getContext().getTypeSize(ET)) / 64; in classify()
1973 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { in classify()
1976 uint64_t Size = getContext().getTypeSize(Ty); in classify()
1989 if (OffsetBase % getContext().getTypeAlign(AT->getElementType())) in classify()
1995 uint64_t EltSize = getContext().getTypeSize(AT->getElementType()); in classify()
2021 uint64_t Size = getContext().getTypeSize(Ty); in classify()
2040 const ASTRecordLayout &Layout = getContext().getASTRecordLayout(RD); in classify()
2060 OffsetBase + getContext().toBits(Layout.getBaseClassOffset(Base)); in classify()
2073 bool UseClang11Compat = getContext().getLangOpts().getClangABICompat() <= in classify()
2075 getContext().getTargetInfo().getTriple().isPS(); in classify()
2097 ((!IsUnion && Size != getContext().getTypeSize(i->getType())) || in classify()
2104 if (!BitField && Offset % getContext().getTypeAlign(i->getType())) { in classify()
2124 uint64_t Size = i->getBitWidthValue(getContext()); in classify()
2169 uint64_t Size = getContext().getTypeSize(VecTy); in IsIllegalVectorType()
2208 unsigned Align = std::max(getContext().getTypeAlign(Ty) / 8, 8U); in getIndirectResult()
2232 uint64_t Size = getContext().getTypeSize(Ty); in getIndirectResult()
2249 if (const Type *InnerTy = isSingleElementStruct(Ty, getContext())) in GetByteVectorType()
2259 uint64_t Size = getContext().getTypeSize(Ty); in GetByteVectorType()
2271 uint64_t Size = getContext().getTypeSize(Ty); in GetByteVectorType()
2399 (unsigned)getContext().getTypeSize(SourceTy) / 8 - SourceOffset; in GetSSETypeAtOffset()
2478 SourceOffset*8+64, getContext())) in GetINTEGERTypeAtOffset()
2506 (unsigned)getContext().getTypeSizeInChars(SourceTy).getQuantity(); in GetINTEGERTypeAtOffset()
2545 Lo = llvm::Type::getDoubleTy(Lo->getContext()); in GetX86_64ByValArgumentPair()
2549 Lo = llvm::Type::getInt64Ty(Lo->getContext()); in GetX86_64ByValArgumentPair()
2861 if (const auto *AT = getContext().getAsConstantArrayType(MTy)) in classifyRegCallStructTypeImpl()
2864 if (getContext().getTypeSize(VT) > MaxVectorWidth) in classifyRegCallStructTypeImpl()
2865 MaxVectorWidth = getContext().getTypeSize(VT); in classifyRegCallStructTypeImpl()
2918 getContext().getCanonicalType(FI.getReturnType() in computeInfo()
2921 getContext().LongDoubleTy) in computeInfo()
2981 CharUnits Align = CGF.getContext().getTypeAlignInChars(Ty); in EmitX86_64VAArgFromMemory()
2996 uint64_t SizeInBytes = (CGF.getContext().getTypeSize(Ty) + 7) / 8; in EmitX86_64VAArgFromMemory()
3018 Ty = getContext().getCanonicalType(Ty); in EmitVAArg()
3118 auto TInfo = getContext().getTypeInfoInChars(Ty); in EmitVAArg()
3195 uint64_t Width = getContext().getTypeSize(Ty); in EmitMSVAArg()
3199 CGF.getContext().getTypeInfoInChars(Ty), in EmitMSVAArg()
3227 TypeInfo Info = getContext().getTypeInfo(Ty); in classify()
3229 CharUnits Align = getContext().toCharUnitsFromBits(Info.Align); in classify()
3397 uint64_t Width = getContext().getTypeSize(Ty); in EmitVAArg()
3401 CGF.getContext().getTypeInfoInChars(Ty), in EmitVAArg()