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()
498 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
532 if (isEmptyRecord(getContext(), RetTy, true)) in classifyReturnType()
537 QualType ET = getContext().getCanonicalType(CT->getElementType()); in classifyReturnType()
545 if (shouldReturnTypeInRegister(RetTy, getContext())) { in classifyReturnType()
546 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
553 if (const Type *SeltTy = isSingleElementStruct(RetTy, getContext())) in classifyReturnType()
600 if (Align >= 16 && (isSIMDVectorType(getContext(), Ty) || in getTypeStackAlignInBytes()
601 isRecordWithSIMDVectorType(getContext(), Ty))) in getTypeStackAlignInBytes()
619 unsigned TypeAlign = getContext().getTypeAlign(Ty) / 8; in getIndirectResult()
632 const Type *T = isSingleElementStruct(Ty, getContext()); in classify()
651 unsigned Size = getContext().getTypeSize(Ty); in updateFreeRegs()
696 if (getContext().getTypeSize(Ty) <= 32 && State.FreeRegs) in shouldAggregateUseDirect()
706 bool IsPtrOrInt = (getContext().getTypeSize(Ty) <= 32) && in shouldPrimitiveUseInReg()
758 TypeInfo TI = getContext().getTypeInfo(Ty); in classifyArgumentType()
808 if (!IsWin32StructABI && isEmptyRecord(getContext(), Ty, true)) in classifyArgumentType()
835 getContext().getASTRecordLayout(RT->getDecl()); in classifyArgumentType()
836 AlignInBits = getContext().toBits(Layout.getRequiredAlignment()); in classifyArgumentType()
992 StackOffset += IsIndirect ? WordSize : getContext().getTypeSizeInChars(Type); in addFieldToArgStruct()
1073 auto TypeInfo = getContext().getTypeInfoInChars(Ty); in EmitVAArg()
1133 Fn->getContext(), ByValTy); in addX86InterruptAttrs()
1325 if (getContext().getLangOpts().getClangABICompat() <= in classifyIntegerMMXAsSSE()
1338 if (getContext().getLangOpts().getClangABICompat() <= in passInt128VectorsInMem()
1395 return isX86VectorTypeForVectorCall(getContext(), Ty); in isHomogeneousAggregateBaseType()
1588 CGM.getContext().getTypeSize(Arg.getType()) > 128) { in checkFunctionCallABI()
1589 initFeatureMaps(CGM.getContext(), CallerMap, Caller, CalleeMap, Callee); in checkFunctionCallABI()
1596 if (checkAVXParam(CGM.getDiags(), CGM.getContext(), CallLoc, CallerMap, in checkFunctionCallABI()
1606 CGM.getContext().getTypeSize(Callee->getReturnType()) > 128) { in checkFunctionCallABI()
1607 initFeatureMaps(CGM.getContext(), CallerMap, Caller, CalleeMap, Callee); in checkFunctionCallABI()
1608 checkAVXParam(CGM.getDiags(), CGM.getContext(), CallLoc, CallerMap, in checkFunctionCallABI()
1876 uint64_t Size = getContext().getTypeSize(VT); in classify()
1944 QualType ET = getContext().getCanonicalType(CT->getElementType()); in classify()
1946 uint64_t Size = getContext().getTypeSize(Ty); in classify()
1952 } else if (ET->isFloat16Type() || ET == getContext().FloatTy || in classify()
1955 } else if (ET == getContext().DoubleTy) { in classify()
1957 } else if (ET == getContext().LongDoubleTy) { in classify()
1972 uint64_t EB_Imag = (OffsetBase + getContext().getTypeSize(ET)) / 64; in classify()
1988 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { in classify()
1991 uint64_t Size = getContext().getTypeSize(Ty); in classify()
2004 if (OffsetBase % getContext().getTypeAlign(AT->getElementType())) in classify()
2010 uint64_t EltSize = getContext().getTypeSize(AT->getElementType()); in classify()
2036 uint64_t Size = getContext().getTypeSize(Ty); in classify()
2055 const ASTRecordLayout &Layout = getContext().getASTRecordLayout(RD); in classify()
2075 OffsetBase + getContext().toBits(Layout.getBaseClassOffset(Base)); in classify()
2088 bool UseClang11Compat = getContext().getLangOpts().getClangABICompat() <= in classify()
2090 getContext().getTargetInfo().getTriple().isPS(); in classify()
2112 ((!IsUnion && Size != getContext().getTypeSize(i->getType())) || in classify()
2120 Offset % getContext().getTypeAlign(i->getType().getCanonicalType()); in classify()
2142 uint64_t Size = i->getBitWidthValue(getContext()); in classify()
2187 uint64_t Size = getContext().getTypeSize(VecTy); in IsIllegalVectorType()
2226 unsigned Align = std::max(getContext().getTypeAlign(Ty) / 8, 8U); in getIndirectResult()
2250 uint64_t Size = getContext().getTypeSize(Ty); in getIndirectResult()
2267 if (const Type *InnerTy = isSingleElementStruct(Ty, getContext())) in GetByteVectorType()
2277 uint64_t Size = getContext().getTypeSize(Ty); in GetByteVectorType()
2289 uint64_t Size = getContext().getTypeSize(Ty); in GetByteVectorType()
2417 (unsigned)getContext().getTypeSize(SourceTy) / 8 - SourceOffset; in GetSSETypeAtOffset()
2496 SourceOffset*8+64, getContext())) in GetINTEGERTypeAtOffset()
2524 (unsigned)getContext().getTypeSizeInChars(SourceTy).getQuantity(); in GetINTEGERTypeAtOffset()
2563 Lo = llvm::Type::getDoubleTy(Lo->getContext()); in GetX86_64ByValArgumentPair()
2567 Lo = llvm::Type::getInt64Ty(Lo->getContext()); in GetX86_64ByValArgumentPair()
2878 if (const auto *AT = getContext().getAsConstantArrayType(MTy)) in classifyRegCallStructTypeImpl()
2881 if (getContext().getTypeSize(VT) > MaxVectorWidth) in classifyRegCallStructTypeImpl()
2882 MaxVectorWidth = getContext().getTypeSize(VT); in classifyRegCallStructTypeImpl()
2935 getContext().getCanonicalType(FI.getReturnType() in computeInfo()
2938 getContext().LongDoubleTy) in computeInfo()
2998 CharUnits Align = CGF.getContext().getTypeAlignInChars(Ty); in EmitX86_64VAArgFromMemory()
3013 uint64_t SizeInBytes = (CGF.getContext().getTypeSize(Ty) + 7) / 8; in EmitX86_64VAArgFromMemory()
3035 Ty = getContext().getCanonicalType(Ty); in EmitVAArg()
3141 auto TInfo = getContext().getTypeInfoInChars(Ty); in EmitVAArg()
3218 uint64_t Width = getContext().getTypeSize(Ty); in EmitMSVAArg()
3222 CGF.getContext().getTypeInfoInChars(Ty), in EmitMSVAArg()
3250 TypeInfo Info = getContext().getTypeInfo(Ty); in classify()
3252 CharUnits Align = getContext().toCharUnitsFromBits(Info.Align); in classify()
3420 uint64_t Width = getContext().getTypeSize(Ty); in EmitVAArg()
3424 CGF.getContext().getTypeInfoInChars(Ty), in EmitVAArg()