Home
last modified time | relevance | path

Searched refs:isPPC64 (Results 1 – 25 of 27) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCFrameLowering.cpp51 return STI.isPPC64() ? 16 : 8; in computeReturnSaveOffset()
53 return STI.isPPC64() ? 16 : 4; in computeReturnSaveOffset()
58 return STI.isPPC64() ? 40 : 20; in computeTOCSaveOffset()
69 return STI.isPPC64() ? -8U : -4U; in computeFramePointerSaveOffset()
72 return STI.isPPC64() ? -8U : -4U; in computeFramePointerSaveOffset()
76 if ((STI.isDarwinABI() || STI.isAIXABI()) || STI.isPPC64()) in computeLinkageSize()
77 return (STI.isELFv2ABI() ? 4 : 6) * (STI.isPPC64() ? 8 : 4); in computeLinkageSize()
85 return STI.isPPC64() ? -16U : -8U; in computeBasePointerSaveOffset()
88 return STI.isPPC64() in computeBasePointerSaveOffset()
113 if (Subtarget.isPPC64()) { in getCalleeSavedSpillSlots()
[all …]
DPPCInstr64Bit.td262 "ldat $rD, $rA, $FC", IIC_LdStLoad>, isPPC64,
272 "stdat $rS, $rA, $FC", IIC_LdStStore>, isPPC64,
522 "ldx $rD, $rA, $rB", IIC_LdStLD, []>, isPPC64;
543 "stdx $rS, $rA, $rB", IIC_LdStSTD, []>, isPPC64,
627 "ldx $rD, $rA, $rB", IIC_LdStLD, []>, isPPC64;
641 "stdx $rS, $rA, $rB", IIC_LdStSTD, []>, isPPC64,
659 "cmpd $crD, $rA, $rB", IIC_IntCompare>, isPPC64;
661 "cmpld $crD, $rA, $rB", IIC_IntCompare>, isPPC64;
663 "cmpdi $crD, $rA, $imm", IIC_IntCompare>, isPPC64;
666 IIC_IntCompare>, isPPC64;
[all …]
DPPCRegisterInfo.cpp81 : PPCGenRegisterInfo(TM.isPPC64() ? PPC::LR8 : PPC::LR, in PPCRegisterInfo()
82 TM.isPPC64() ? 0 : 1, in PPCRegisterInfo()
83 TM.isPPC64() ? 0 : 1), in PPCRegisterInfo()
131 if (TM.isPPC64()) in getPointerRegClass()
136 if (TM.isPPC64()) in getPointerRegClass()
153 return TM.isPPC64() in getCalleeSavedRegs()
159 if (TM.isPPC64() && MF->getInfo<PPCFunctionInfo>()->isSplitCSR()) in getCalleeSavedRegs()
167 if (TM.isPPC64()) { in getCalleeSavedRegs()
182 if (TM.isPPC64()) { in getCalleeSavedRegs()
203 if (!TM.isPPC64()) in getCalleeSavedRegsViaCopy()
[all …]
DPPCTOCRegDeps.cpp113 const bool isPPC64 = in processBlock() local
114 MBB.getParent()->getSubtarget<PPCSubtarget>().isPPC64(); in processBlock()
115 const unsigned TOCReg = isPPC64 ? PPC::X2 : PPC::R2; in processBlock()
DPPCSubtarget.h212 bool isPPC64() const;
300 return isDarwinABI() ? 224 : (isPPC64() ? 288 : 0); in getRedZoneSize()
329 bool is64BitELFABI() const { return isSVR4ABI() && isPPC64(); } in is64BitELFABI()
330 bool is32BitELFABI() const { return isSVR4ABI() && !isPPC64(); } in is32BitELFABI()
DPPCSubtarget.cpp210 CriticalPathRCs.push_back(isPPC64() ? in getCriticalPathRCs()
245 bool PPCSubtarget::isPPC64() const { return TM.isPPC64(); } in isPPC64() function in PPCSubtarget
DPPCInstrInfo.cpp102 STI.isPPC64() ? PPC::BLR8 : PPC::BLR), in PPCInstrInfo()
500 bool isPPC64 = Subtarget.isPPC64(); in analyzeBranch() local
566 Cond.push_back(MachineOperand::CreateReg(isPPC64 ? PPC::CTR8 : PPC::CTR, in analyzeBranch()
577 Cond.push_back(MachineOperand::CreateReg(isPPC64 ? PPC::CTR8 : PPC::CTR, in analyzeBranch()
634 Cond.push_back(MachineOperand::CreateReg(isPPC64 ? PPC::CTR8 : PPC::CTR, in analyzeBranch()
648 Cond.push_back(MachineOperand::CreateReg(isPPC64 ? PPC::CTR8 : PPC::CTR, in analyzeBranch()
714 bool isPPC64 = Subtarget.isPPC64(); in insertBranch() local
722 (isPPC64 ? PPC::BDNZ8 : PPC::BDNZ) : in insertBranch()
723 (isPPC64 ? PPC::BDZ8 : PPC::BDZ))).addMBB(TBB); in insertBranch()
739 (isPPC64 ? PPC::BDNZ8 : PPC::BDNZ) : in insertBranch()
[all …]
DPPCAsmPrinter.cpp487 ((Subtarget->isPPC64() && MI->getOperand(0).getReg() == PPC::X3) || in EmitTlsCall()
488 (!Subtarget->isPPC64() && MI->getOperand(0).getReg() == PPC::R3)) && in EmitTlsCall()
491 ((Subtarget->isPPC64() && MI->getOperand(1).getReg() == PPC::X3) || in EmitTlsCall()
492 (!Subtarget->isPPC64() && MI->getOperand(1).getReg() == PPC::R3)) && in EmitTlsCall()
511 MCInstBuilder(Subtarget->isPPC64() ? in EmitTlsCall()
540 const bool IsPPC64 = Subtarget->isPPC64(); in EmitInstruction()
1186 if (!Subtarget->isPPC64()) in EmitInstruction()
1332 if (static_cast<const PPCTargetMachine &>(TM).isPPC64() || in EmitStartOfAsmFile()
1361 if (!Subtarget->isPPC64() && in EmitFunctionEntryLabel()
1366 if (!Subtarget->isPPC64()) { in EmitFunctionEntryLabel()
[all …]
DPPCTargetTransformInfo.cpp189 if (ST->isPPC64() && in getIntImmCostInst()
423 isLargeIntegerTy(!TM.isPPC64(), CI->getSrcTy()->getScalarType()) || in mightUseCTR()
424 isLargeIntegerTy(!TM.isPPC64(), CI->getDestTy()->getScalarType())) in mightUseCTR()
426 } else if (isLargeIntegerTy(!TM.isPPC64(), in mightUseCTR()
433 } else if (!TM.isPPC64() && in mightUseCTR()
531 HWLoopInfo.CountType = TM.isPPC64() ? in isHardwareLoopProfitable()
629 if (ST->isPPC64()) in getRegisterBitWidth()
DPPCISelLowering.cpp142 bool isPPC64 = Subtarget.isPPC64(); in PPCTargetLowering() local
143 setMinStackArgumentAlignment(isPPC64 ? Align(8) : Align(4)); in PPCTargetLowering()
202 if (isPPC64 || Subtarget.hasFPCVT()) { in PPCTargetLowering()
205 isPPC64 ? MVT::i64 : MVT::i32); in PPCTargetLowering()
208 isPPC64 ? MVT::i64 : MVT::i32); in PPCTargetLowering()
388 if (Subtarget.hasDirectMove() && isPPC64) { in PPCTargetLowering()
521 if (Subtarget.hasLFIWAX() || Subtarget.isPPC64()) in PPCTargetLowering()
773 if (Subtarget.hasDirectMove() && isPPC64) { in PPCTargetLowering()
1125 setOperationAction(ISD::READCYCLECOUNTER, MVT::i64, isPPC64 ? Legal : Custom); in PPCTargetLowering()
1127 if (!isPPC64) { in PPCTargetLowering()
[all …]
DPPCTargetMachine.h57 bool isPPC64() const { in isPPC64() function
DPPCCallingConv.td53 CCIfType<[i32, i1], CCIfSubtarget<"isPPC64()", CCPromoteToType<i64>>>,
54 CCIfType<[i1], CCIfNotSubtarget<"isPPC64()", CCPromoteToType<i32>>>,
78 CCIfType<[i32, i1], CCIfSubtarget<"isPPC64()", CCPromoteToType<i64>>>,
79 CCIfType<[i1], CCIfNotSubtarget<"isPPC64()", CCPromoteToType<i32>>>,
DPPCTLSDynamicCall.cpp52 bool Is64Bit = MBB.getParent()->getSubtarget<PPCSubtarget>().isPPC64(); in processBlock()
DPPCISelDAGToDAG.cpp3646 if (TM.getOptLevel() == CodeGenOpt::None || !TM.isPPC64()) in tryIntCompareInGPR()
4039 bool isPPC64 = (PtrVT == MVT::i64); in trySETCC() local
4058 if (isPPC64) break; in trySETCC()
4086 if (isPPC64) break; in trySETCC()
4096 if (isPPC64) break; in trySETCC()
4759 bool IsPPC64 = PPCSubTarget->isPPC64(); in Select()
4782 bool IsPPC64 = PPCSubTarget->isPPC64(); in Select()
4866 bool isPPC64 = (PtrVT == MVT::i64); in Select() local
4873 if (PPCSubTarget->isISA3_0() && PPCSubTarget->isPPC64()) { in Select()
4899 if (!isPPC64) in Select()
[all …]
DPPCBoolRetToInt.cpp93 Type *IntTy = ST->isPPC64() ? Type::getInt64Ty(V->getContext()) in translate()
DPPCInstrFormats.td19 bit PPC64 = 0; // Default value, override with isPPC64
80 bit PPC64 = 0; // Default value, override with isPPC64
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCTargetDesc.cpp64 bool isPPC64 = in createPPCMCRegisterInfo() local
66 unsigned Flavour = isPPC64 ? 0 : 1; in createPPCMCRegisterInfo()
67 unsigned RA = isPPC64 ? PPC::LR8 : PPC::LR; in createPPCMCRegisterInfo()
82 bool isPPC64 = (TheTriple.getArch() == Triple::ppc64 || in createPPCMCAsmInfo() local
87 MAI = new PPCXCOFFMCAsmInfo(isPPC64, TheTriple); in createPPCMCAsmInfo()
89 MAI = new PPCELFMCAsmInfo(isPPC64, TheTriple); in createPPCMCAsmInfo()
92 unsigned Reg = isPPC64 ? PPC::X1 : PPC::R1; in createPPCMCAsmInfo()
DPPCAsmBackend.cpp210 bool Is64 = TT.isPPC64(); in createObjectTargetWriter()
225 bool Is64 = TT.isPPC64(); in createObjectTargetWriter()
246 if (TT.isPPC64()) { in getFixupKind()
DPPCMCCodeEmitter.cpp219 bool isPPC64 = TT.isPPC64(); in getTLSRegEncoding() local
220 return CTX.getRegisterInfo()->getEncodingValue(isPPC64 ? PPC::X13 : PPC::R2); in getTLSRegEncoding()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp106 bool isPPC64() const { return IsPPC64; } in isPPC64() function in __anon755c60ed0111::PPCAsmParser
150 IsPPC64 = TheTriple.isPPC64(); in PPCAsmParser()
247 bool isPPC64() const { return IsPPC64; } in isPPC64() function
434 if (isPPC64()) in addRegGxRCOperands()
441 if (isPPC64()) in addRegGxRCNoR0Operands()
1177 RegNo = isPPC64()? PPC::LR8 : PPC::LR; in MatchRegisterName()
1180 RegNo = isPPC64()? PPC::CTR8 : PPC::CTR; in MatchRegisterName()
1187 RegNo = isPPC64()? XRegs[IntVal] : RRegs[IntVal]; in MatchRegisterName()
1455 Operands.push_back(PPCOperand::CreateImm(IntVal, S, E, isPPC64())); in ParseOperand()
1475 Operands.push_back(PPCOperand::CreateImm(IntVal, S, E, isPPC64())); in ParseOperand()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
DTargetMachine.cpp190 if (Arch == Triple::ppc || TT.isPPC64()) in shouldAssumeDSOLocal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/PowerPC/
DPPCGenCallingConv.inc394 if (static_cast<const PPCSubtarget&>(State.getMachineFunction().getSubtarget()).isPPC64()) {
406 if (!static_cast<const PPCSubtarget&>(State.getMachineFunction().getSubtarget()).isPPC64()) {
692 if (static_cast<const PPCSubtarget&>(State.getMachineFunction().getSubtarget()).isPPC64()) {
704 if (!static_cast<const PPCSubtarget&>(State.getMachineFunction().getSubtarget()).isPPC64()) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DTriple.h725 bool isPPC64() const { in isPPC64() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTargetLibraryInfo.cpp94 if (T.isPPC64() || T.getArch() == Triple::sparcv9 || in initialize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetLoweringBase.cpp135 if (TT.getArch() == Triple::ppc || TT.isPPC64()) { in InitLibcalls()

12