Lines Matching refs:getContext
75 getContext().getTypeSize(RetTy) > (2 * GRLen)) { in computeInfo()
78 IsRetIndirect = getContext().getTypeSize(EltTy) > FRLen; in computeInfo()
110 uint64_t Size = getContext().getTypeSize(Ty); in detectFARsEligibleStructHelper()
139 if (getContext().getTypeSize(EltTy) > FRLen) in detectFARsEligibleStructHelper()
144 Field2Off = Field1Off + getContext().getTypeSizeInChars(EltTy); in detectFARsEligibleStructHelper()
148 if (const ConstantArrayType *ATy = getContext().getAsConstantArrayType(Ty)) { in detectFARsEligibleStructHelper()
155 isEmptyRecord(getContext(), EltTy, true, true)) in detectFARsEligibleStructHelper()
158 CharUnits EltSize = getContext().getTypeSizeInChars(EltTy); in detectFARsEligibleStructHelper()
174 if (isEmptyRecord(getContext(), Ty, true, true) && in detectFARsEligibleStructHelper()
180 const ASTRecordLayout &Layout = getContext().getASTRecordLayout(RD); in detectFARsEligibleStructHelper()
195 unsigned BitWidth = FD->getBitWidthValue(getContext()); in detectFARsEligibleStructHelper()
201 if (getContext().getTypeSize(QTy) > GRLen && BitWidth <= GRLen) { in detectFARsEligibleStructHelper()
202 QTy = getContext().getIntTypeForBitwidth(GRLen, false); in detectFARsEligibleStructHelper()
208 CurOff + getContext().toCharUnitsFromBits( in detectFARsEligibleStructHelper()
312 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType()
317 if (isEmptyRecord(getContext(), Ty, true) && Size == 0) in classifyArgumentType()
331 if (getContext().getTypeSize(EltTy) <= FRLen) { in classifyArgumentType()
354 uint64_t NeededAlign = getContext().getTypeAlign(Ty); in classifyArgumentType()
382 (!getContext().getTargetInfo().hasInt128Type() && in classifyArgumentType()
400 if (getContext().getTypeAlign(Ty) == 2 * GRLen) { in classifyArgumentType()
425 if (isEmptyRecord(getContext(), Ty, true)) in EmitVAArg()
428 auto TInfo = getContext().getTypeInfoInChars(Ty); in EmitVAArg()
438 int TySize = getContext().getTypeSize(Ty); in extendType()