Home
last modified time | relevance | path

Searched refs:isDarwinABI (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCFrameLowering.h55 static unsigned getReturnSaveOffset(bool isPPC64, bool isDarwinABI) { in getReturnSaveOffset() argument
56 if (isDarwinABI) in getReturnSaveOffset()
64 static unsigned getFramePointerSaveOffset(bool isPPC64, bool isDarwinABI) { in getFramePointerSaveOffset() argument
70 if (isDarwinABI) in getFramePointerSaveOffset()
79 static unsigned getLinkageSize(bool isPPC64, bool isDarwinABI) { in getLinkageSize() argument
80 if (isDarwinABI || isPPC64) in getLinkageSize()
89 static unsigned getMinCallArgumentsSize(bool isPPC64, bool isDarwinABI) { in getMinCallArgumentsSize() argument
96 if (isDarwinABI || isPPC64) in getMinCallArgumentsSize()
106 static unsigned getMinCallFrameSize(bool isPPC64, bool isDarwinABI) { in getMinCallFrameSize() argument
108 return getLinkageSize(isPPC64, isDarwinABI) + in getMinCallFrameSize()
[all …]
DPPCFrameLowering.cpp205 Subtarget.isDarwinABI()); in determineFrameLayout()
290 bool isDarwinABI = Subtarget.isDarwinABI(); in emitPrologue() local
297 int LROffset = PPCFrameLowering::getReturnSaveOffset(isPPC64, isDarwinABI); in emitPrologue()
307 FPOffset = PPCFrameLowering::getFramePointerSaveOffset(isPPC64, isDarwinABI); in emitPrologue()
533 bool isDarwinABI = Subtarget.isDarwinABI(); in emitEpilogue() local
540 int LROffset = PPCFrameLowering::getReturnSaveOffset(isPPC64, isDarwinABI); in emitEpilogue()
550 FPOffset = PPCFrameLowering::getFramePointerSaveOffset(isPPC64, isDarwinABI); in emitEpilogue()
746 bool isDarwinABI = Subtarget.isDarwinABI(); in processFunctionBeforeCalleeSavedScan() local
752 int FPOffset = getFramePointerSaveOffset(isPPC64, isDarwinABI); in processFunctionBeforeCalleeSavedScan()
DPPCSubtarget.h145 bool isDarwinABI() const { return isDarwin(); } in isDarwinABI() function
DPPCRegisterInfo.cpp213 if (Subtarget.isDarwinABI()) in getCalleeSavedRegs()
239 if (Subtarget.isDarwinABI()) { in getReservedRegs()
265 if (Subtarget.isDarwinABI()) { in getReservedRegs()
DPPCJITInfo.cpp387 } else if (TM.getSubtargetImpl()->isDarwinABI()){ in emitFunctionStub()
DPPCISelLowering.cpp1429 if (Subtarget.isDarwinABI() || Subtarget.isPPC64()) { in LowerVASTART()
2382 bool isDarwinABI, in EmitTailCallStoreFPAndRetAddr() argument
2388 isDarwinABI); in EmitTailCallStoreFPAndRetAddr()
2399 if (isDarwinABI) { in EmitTailCallStoreFPAndRetAddr()
2401 SPDiff + PPCFrameLowering::getFramePointerSaveOffset(isPPC64, isDarwinABI); in EmitTailCallStoreFPAndRetAddr()
2439 bool isDarwinABI, in EmitTailCallLoadFPAndRetAddr() argument
2451 if (isDarwinABI) { in EmitTailCallLoadFPAndRetAddr()
2507 SDValue LROp, SDValue FPOp, bool isDarwinABI, in PrepareTailCall() argument
2524 isPPC64, isDarwinABI, dl); in PrepareTailCall()
3502 bool isDarwinABI = PPCSubTarget.isDarwinABI(); in getReturnAddrFrameIndex() local
[all …]
DPPCInstrInfo.cpp397 unsigned ScratchReg = TM.getSubtargetImpl()->isDarwinABI() ? in StoreRegToStackSlot()
532 unsigned ScratchReg = TM.getSubtargetImpl()->isDarwinABI() ? in LoadRegFromStackSlot()
DPPCISelLowering.h383 bool isDarwinABI,
/external/llvm/lib/Target/PowerPC/
DPPCSubtarget.h292 bool isDarwinABI() const { return isTargetMachO() || isDarwin(); } in isDarwinABI() function
293 bool isSVR4ABI() const { return !isDarwinABI(); } in isSVR4ABI()
DPPCFrameLowering.cpp41 if (STI.isDarwinABI()) in computeReturnSaveOffset()
57 if (STI.isDarwinABI()) in computeFramePointerSaveOffset()
65 if (STI.isDarwinABI() || STI.isPPC64()) in computeLinkageSize()
73 if (STI.isDarwinABI()) in computeBasePointerSaveOffset()
94 if (Subtarget.isDarwinABI()) { in getCalleeSavedSpillSlots()
713 assert((Subtarget.isDarwinABI() || isSVR4ABI) && in emitPrologue()
1394 bool isDarwinABI = Subtarget.isDarwinABI(); in determineCalleeSaves() local
1432 if (!isPPC64 && !isDarwinABI && in determineCalleeSaves()
1734 if (Reg == PPC::VRSAVE && !Subtarget.isDarwinABI()) in spillCalleeSavedRegisters()
1887 if (Reg == PPC::VRSAVE && !Subtarget.isDarwinABI()) in restoreCalleeSavedRegisters()
DPPCRegisterInfo.cpp112 if (Subtarget.isDarwinABI()) in getCalleeSavedRegs()
138 if (Subtarget.isDarwinABI()) in getCalleeSavedRegsViaCopy()
171 if (Subtarget.isDarwinABI()) in getCallPreservedMask()
223 if (!Subtarget.isDarwinABI() || !Subtarget.hasAltivec()) in getReservedRegs()
DPPCISelLowering.cpp2569 if (Subtarget.isDarwinABI() || Subtarget.isPPC64()) { in LowerVASTART()
4201 if (Subtarget.isDarwinABI()) { in EmitTailCallStoreFPAndRetAddr()
4249 if (Subtarget.isDarwinABI()) { in EmitTailCallLoadFPAndRetAddr()
11661 bool isDarwinABI = Subtarget.isDarwinABI(); in getRegisterByName() local
11670 .Case("r2", (isDarwinABI || isPPC64) ? 0 : PPC::R2) in getRegisterByName()
11671 .Case("r13", (!isPPC64 && isDarwinABI) ? 0 : in getRegisterByName()
12080 if (Subtarget.isDarwinABI()) return; in initializeSplitCSR()