Lines Matching refs:PtrByteSize
2736 unsigned PtrByteSize) { in CalculateStackSlotSize() argument
2744 ArgSize = ((ArgSize + PtrByteSize - 1)/PtrByteSize) * PtrByteSize; in CalculateStackSlotSize()
2753 unsigned PtrByteSize) { in CalculateStackSlotAlignment() argument
2754 unsigned Align = PtrByteSize; in CalculateStackSlotAlignment()
2770 if (BVAlign > PtrByteSize) { in CalculateStackSlotAlignment()
2771 if (BVAlign % PtrByteSize != 0) in CalculateStackSlotAlignment()
2799 unsigned PtrByteSize, in CalculateStackSlotUsed() argument
2809 CalculateStackSlotAlignment(ArgVT, OrigVT, Flags, PtrByteSize); in CalculateStackSlotUsed()
2817 ArgOffset += CalculateStackSlotSize(ArgVT, Flags, PtrByteSize); in CalculateStackSlotUsed()
2819 ArgOffset = ((ArgOffset + PtrByteSize - 1)/PtrByteSize) * PtrByteSize; in CalculateStackSlotUsed()
2919 unsigned PtrByteSize = 4; in LowerFormalArguments_32SVR4() local
2928 CCInfo.AllocateStack(LinkageSize, PtrByteSize); in LowerFormalArguments_32SVR4()
3015 CCByValInfo.AllocateStack(CCInfo.getNextStackOffset(), PtrByteSize); in LowerFormalArguments_32SVR4()
3145 unsigned PtrByteSize = 8; in LowerFormalArguments_64SVR4() local
3173 unsigned ParamAreaSize = Num_GPR_Regs * PtrByteSize; in LowerFormalArguments_64SVR4()
3182 PtrByteSize, LinkageSize, ParamAreaSize, in LowerFormalArguments_64SVR4()
3216 Align = CalculateStackSlotAlignment(ObjectVT, OrigVT, Flags, PtrByteSize); in LowerFormalArguments_64SVR4()
3225 GPR_idx = (ArgOffset - LinkageSize) / PtrByteSize; in LowerFormalArguments_64SVR4()
3239 ArgSize = ((ObjSize + PtrByteSize - 1)/PtrByteSize) * PtrByteSize; in LowerFormalArguments_64SVR4()
3248 int FI = MFI->CreateFixedObject(PtrByteSize, ArgOffset, true); in LowerFormalArguments_64SVR4()
3262 ArgSize + ArgOffset > LinkageSize + Num_GPR_Regs * PtrByteSize) in LowerFormalArguments_64SVR4()
3269 if (ObjSize < PtrByteSize) { in LowerFormalArguments_64SVR4()
3274 SDValue ArgOff = DAG.getConstant(PtrByteSize - ObjSize, dl, PtrVT); in LowerFormalArguments_64SVR4()
3303 ArgOffset += PtrByteSize; in LowerFormalArguments_64SVR4()
3312 for (unsigned j = 0; j < ArgSize; j += PtrByteSize) { in LowerFormalArguments_64SVR4()
3365 ArgSize = PtrByteSize; in LowerFormalArguments_64SVR4()
3402 if ((ArgOffset % PtrByteSize) == (isLittleEndian ? 4 : 0)) in LowerFormalArguments_64SVR4()
3420 ArgSize = Flags.isInConsecutiveRegs() ? ObjSize : PtrByteSize; in LowerFormalArguments_64SVR4()
3423 ArgOffset = ((ArgOffset + PtrByteSize - 1)/PtrByteSize) * PtrByteSize; in LowerFormalArguments_64SVR4()
3501 MinReservedArea = std::max(ArgOffset, LinkageSize + 8 * PtrByteSize); in LowerFormalArguments_64SVR4()
3519 MFI->CreateFixedObject(PtrByteSize, Depth, true)); in LowerFormalArguments_64SVR4()
3525 for (GPR_idx = (ArgOffset - LinkageSize) / PtrByteSize; in LowerFormalArguments_64SVR4()
3533 SDValue PtrOff = DAG.getConstant(PtrByteSize, dl, PtrVT); in LowerFormalArguments_64SVR4()
3559 unsigned PtrByteSize = isPPC64 ? 8 : 4; in LowerFormalArguments_Darwin() local
3604 ((ObjSize + PtrByteSize - 1)/PtrByteSize) * PtrByteSize; in LowerFormalArguments_Darwin()
3664 PtrByteSize); in LowerFormalArguments_Darwin()
3670 PtrByteSize); in LowerFormalArguments_Darwin()
3679 ArgSize = ((ObjSize + PtrByteSize - 1)/PtrByteSize) * PtrByteSize; in LowerFormalArguments_Darwin()
3705 ArgOffset += PtrByteSize; in LowerFormalArguments_Darwin()
3709 for (unsigned j = 0; j < ArgSize; j += PtrByteSize) { in LowerFormalArguments_Darwin()
3719 int FI = MFI->CreateFixedObject(PtrByteSize, ArgOffset, true); in LowerFormalArguments_Darwin()
3727 ArgOffset += PtrByteSize; in LowerFormalArguments_Darwin()
3751 ArgSize = PtrByteSize; in LowerFormalArguments_Darwin()
3754 ArgOffset += PtrByteSize; in LowerFormalArguments_Darwin()
3771 ArgSize = PtrByteSize; in LowerFormalArguments_Darwin()
3814 ArgOffset += PtrByteSize; in LowerFormalArguments_Darwin()
3859 MinReservedArea = std::max(MinReservedArea, LinkageSize + 8 * PtrByteSize); in LowerFormalArguments_Darwin()
3970 const unsigned PtrByteSize = 8; in needStackSlotPassParameters() local
3985 const unsigned ParamAreaSize = NumGPRs * PtrByteSize; in needStackSlotPassParameters()
3995 PtrByteSize, LinkageSize, ParamAreaSize, in needStackSlotPassParameters()
4762 unsigned PtrByteSize = 4; in LowerCall_32SVR4() local
4785 PtrByteSize); in LowerCall_32SVR4()
4827 CCByValInfo.AllocateStack(CCInfo.getNextStackOffset(), PtrByteSize); in LowerCall_32SVR4()
5001 unsigned PtrByteSize = 8; in LowerCall_64SVR4() local
5104 CalculateStackSlotAlignment(ArgVT, OrigVT, Flags, PtrByteSize); in LowerCall_64SVR4()
5107 NumBytes += CalculateStackSlotSize(ArgVT, Flags, PtrByteSize); in LowerCall_64SVR4()
5109 NumBytes = ((NumBytes + PtrByteSize - 1)/PtrByteSize) * PtrByteSize; in LowerCall_64SVR4()
5120 NumBytes = std::max(NumBytes, LinkageSize + 8 * PtrByteSize); in LowerCall_64SVR4()
5182 CalculateStackSlotAlignment(ArgVT, OrigVT, Flags, PtrByteSize); in LowerCall_64SVR4()
5194 GPR_idx = (ArgOffset - LinkageSize) / PtrByteSize; in LowerCall_64SVR4()
5234 ArgOffset += PtrByteSize; in LowerCall_64SVR4()
5242 SDValue Const = DAG.getConstant(PtrByteSize - Size, dl, in LowerCall_64SVR4()
5249 ArgOffset += PtrByteSize; in LowerCall_64SVR4()
5297 ArgOffset += PtrByteSize; in LowerCall_64SVR4()
5303 for (unsigned j=0; j<Size; j+=PtrByteSize) { in LowerCall_64SVR4()
5312 ArgOffset += PtrByteSize; in LowerCall_64SVR4()
5314 ArgOffset += ((Size - j + PtrByteSize-1)/PtrByteSize)*PtrByteSize; in LowerCall_64SVR4()
5346 ArgOffset += PtrByteSize; in LowerCall_64SVR4()
5349 ArgOffset += PtrByteSize; in LowerCall_64SVR4()
5392 } else if (ArgOffset % PtrByteSize != 0) { in LowerCall_64SVR4()
5440 ArgOffset = ((ArgOffset + PtrByteSize - 1)/PtrByteSize) * PtrByteSize; in LowerCall_64SVR4()
5480 for (unsigned i=0; i<16; i+=PtrByteSize) { in LowerCall_64SVR4()
5538 for (unsigned i = 0; i < (IsF32 ? 16U : 32U); i += PtrByteSize) { in LowerCall_64SVR4()
5633 unsigned PtrByteSize = isPPC64 ? 8 : 4; in LowerCall_Darwin() local
5675 NumBytes += CalculateStackSlotSize(ArgVT, Flags, PtrByteSize); in LowerCall_Darwin()
5689 NumBytes = std::max(NumBytes, LinkageSize + 8 * PtrByteSize); in LowerCall_Darwin()
5789 ArgOffset += PtrByteSize; in LowerCall_Darwin()
5791 SDValue Const = DAG.getConstant(PtrByteSize - Size, dl, in LowerCall_Darwin()
5797 ArgOffset += PtrByteSize; in LowerCall_Darwin()
5811 for (unsigned j=0; j<Size; j+=PtrByteSize) { in LowerCall_Darwin()
5820 ArgOffset += PtrByteSize; in LowerCall_Darwin()
5822 ArgOffset += ((Size - j + PtrByteSize-1)/PtrByteSize)*PtrByteSize; in LowerCall_Darwin()
5844 ArgOffset += PtrByteSize; in LowerCall_Darwin()
5903 ArgOffset += PtrByteSize; in LowerCall_Darwin()
5922 for (unsigned i=0; i<16; i+=PtrByteSize) { in LowerCall_Darwin()