Lines Matching refs:isPPC64
42 return STI.isPPC64() ? 16 : 8; in computeReturnSaveOffset()
44 return STI.isPPC64() ? 16 : 4; in computeReturnSaveOffset()
58 return STI.isPPC64() ? -8U : -4U; in computeFramePointerSaveOffset()
61 return STI.isPPC64() ? -8U : -4U; in computeFramePointerSaveOffset()
65 if (STI.isDarwinABI() || STI.isPPC64()) in computeLinkageSize()
66 return (STI.isELFv2ABI() ? 4 : 6) * (STI.isPPC64() ? 8 : 4); in computeLinkageSize()
74 return STI.isPPC64() ? -16U : -8U; in computeBasePointerSaveOffset()
77 return STI.isPPC64() in computeBasePointerSaveOffset()
96 if (Subtarget.isPPC64()) { in getCalleeSavedSpillSlots()
236 if (Subtarget.isPPC64()) { in getCalleeSavedSpillSlots()
447 (Subtarget.isPPC64() || // 32-bit SVR4, no stack- in determineFrameLayout()
580 unsigned R0 = Subtarget.isPPC64() ? PPC::X0 : PPC::R0; in findScratchRegister()
581 unsigned R12 = Subtarget.isPPC64() ? PPC::X12 : PPC::R12; in findScratchRegister()
625 BitVector BV = RS.getRegsAvailable(Subtarget.isPPC64() ? &PPC::G8RCRegClass : in findScratchRegister()
709 bool isPPC64 = Subtarget.isPPC64(); in emitPrologue() local
747 unsigned SPReg = isPPC64 ? PPC::X1 : PPC::R1; in emitPrologue()
749 unsigned FPReg = isPPC64 ? PPC::X31 : PPC::R31; in emitPrologue()
750 unsigned LRReg = isPPC64 ? PPC::LR8 : PPC::LR; in emitPrologue()
752 unsigned TempReg = isPPC64 ? PPC::X12 : PPC::R12; // another scratch reg in emitPrologue()
754 const MCInstrDesc& MFLRInst = TII.get(isPPC64 ? PPC::MFLR8 in emitPrologue()
756 const MCInstrDesc& StoreInst = TII.get(isPPC64 ? PPC::STD in emitPrologue()
758 const MCInstrDesc& StoreUpdtInst = TII.get(isPPC64 ? PPC::STDU in emitPrologue()
760 const MCInstrDesc& StoreUpdtIdxInst = TII.get(isPPC64 ? PPC::STDUX in emitPrologue()
762 const MCInstrDesc& LoadImmShiftedInst = TII.get(isPPC64 ? PPC::LIS8 in emitPrologue()
764 const MCInstrDesc& OrImmInst = TII.get(isPPC64 ? PPC::ORI8 in emitPrologue()
766 const MCInstrDesc& OrInst = TII.get(isPPC64 ? PPC::OR8 in emitPrologue()
768 const MCInstrDesc& SubtractCarryingInst = TII.get(isPPC64 ? PPC::SUBFC8 in emitPrologue()
770 const MCInstrDesc& SubtractImmCarryingInst = TII.get(isPPC64 ? PPC::SUBFIC8 in emitPrologue()
777 assert((isPPC64 || !isSVR4ABI || !(!FrameSize && (MustSaveLR || HasFP))) && in emitPrologue()
833 assert((isPPC64 || !MustSaveCR) && in emitPrologue()
930 if (isPPC64) in emitPrologue()
1075 if (isSVR4ABI && isPPC64 && (PPC::CR2 <= Reg && Reg <= PPC::CR4)) { in emitPrologue()
1116 bool isPPC64 = Subtarget.isPPC64(); in emitEpilogue() local
1129 unsigned SPReg = isPPC64 ? PPC::X1 : PPC::R1; in emitEpilogue()
1131 unsigned FPReg = isPPC64 ? PPC::X31 : PPC::R31; in emitEpilogue()
1133 unsigned TempReg = isPPC64 ? PPC::X12 : PPC::R12; // another scratch reg in emitEpilogue()
1134 const MCInstrDesc& MTLRInst = TII.get( isPPC64 ? PPC::MTLR8 in emitEpilogue()
1136 const MCInstrDesc& LoadInst = TII.get( isPPC64 ? PPC::LD in emitEpilogue()
1138 const MCInstrDesc& LoadImmShiftedInst = TII.get( isPPC64 ? PPC::LIS8 in emitEpilogue()
1140 const MCInstrDesc& OrImmInst = TII.get( isPPC64 ? PPC::ORI8 in emitEpilogue()
1142 const MCInstrDesc& AddImmInst = TII.get( isPPC64 ? PPC::ADDI8 in emitEpilogue()
1144 const MCInstrDesc& AddInst = TII.get( isPPC64 ? PPC::ADD8 in emitEpilogue()
1255 assert((isPPC64 || !MustSaveCR) && in emitEpilogue()
1393 bool isPPC64 = Subtarget.isPPC64(); in determineCalleeSaves() local
1402 FPSI = MFI->CreateFixedObject(isPPC64? 8 : 4, FPOffset, true); in determineCalleeSaves()
1411 BPSI = MFI->CreateFixedObject(isPPC64? 8 : 4, BPOffset, true); in determineCalleeSaves()
1432 if (!isPPC64 && !isDarwinABI && in determineCalleeSaves()
1609 if (Subtarget.isPPC64()) { in processFunctionBeforeFrameFinalized()
1621 if (spillsCR(MF) && !(Subtarget.isPPC64() && Subtarget.isSVR4ABI())) { in processFunctionBeforeFrameFinalized()
1693 const TargetRegisterClass *RC = Subtarget.isPPC64() ? G8RC : GPRC; in addScavengingSpillSlot()
1751 if (Subtarget.isPPC64()) { in spillCalleeSavedRegisters()
1779 restoreCRs(bool isPPC64, bool is31, in restoreCRs() argument
1789 if (isPPC64) in restoreCRs()
1822 bool is64Bit = Subtarget.isPPC64(); in eliminateCallFramePseudoInstr()
1908 restoreCRs(Subtarget.isPPC64(), is31, in restoreCalleeSavedRegisters()
1934 restoreCRs(Subtarget.isPPC64(), is31, CR2Spilled, CR3Spilled, CR4Spilled, in restoreCalleeSavedRegisters()
1943 MF.getSubtarget<PPCSubtarget>().isPPC64()); in enableShrinkWrapping()