Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCFrameLowering.cpp44 return STI.isPPC64() ? 16 : 8; in computeReturnSaveOffset()
46 return STI.isPPC64() ? 16 : 4; in computeReturnSaveOffset()
51 return STI.isPPC64() ? 40 : 20; in computeTOCSaveOffset()
57 return STI.isPPC64() ? -8U : -4U; in computeFramePointerSaveOffset()
242 if (Subtarget.isPPC64()) { in getCalleeSavedSpillSlots()
620 bool isPPC64 = Subtarget.isPPC64(); in emitPrologue() local
920 if (isPPC64) in emitPrologue()
1233 bool isPPC64 = Subtarget.isPPC64(); in inlineStackProbe() local
1446 if (isPPC64) in inlineStackProbe()
1556 bool isPPC64 = Subtarget.isPPC64(); in emitEpilogue() local
[all …]
H A DPPCInstr64Bit.td1368 isPPC64;
1373 isPPC64;
1384 isPPC64;
1389 isPPC64;
1444 isPPC64;
1449 isPPC64;
1454 isPPC64;
1480 isPPC64;
1485 isPPC64;
1490 isPPC64;
[all …]
H A 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()
H A DPPCSubtarget.cpp208 CriticalPathRCs.push_back(isPPC64() ? in getCriticalPathRCs()
243 bool PPCSubtarget::isPPC64() const { return TM.isPPC64(); } in isPPC64() function in PPCSubtarget
246 return isPPC64() && hasPCRelativeMemops() && isELFv2ABI() && in isUsingPCRelativeCalls()
H A DPPCRegisterInfo.cpp152 if (TM.isPPC64()) in getPointerRegClass()
157 if (TM.isPPC64()) in getPointerRegClass()
195 if (TM.isPPC64()) { in getCalleeSavedRegs()
210 if (TM.isPPC64()) { in getCalleeSavedRegs()
251 return TM.isPPC64() in getCallPreservedMask()
335 if (TM.isPPC64()) in getReservedRegs()
644 bool LP64 = TM.isPPC64(); in lowerDynamicAlloc()
704 bool LP64 = TM.isPPC64(); in prepareDynamicAlloca()
790 bool LP64 = TM.isPPC64(); in lowerPrepareProbedAlloca()
1519 if (!TM.isPPC64()) in getFrameRegister()
[all …]
H A DPPCSubtarget.h229 bool isPPC64() const;
314 if (isPPC64()) in getRedZoneSize()
349 bool is64BitELFABI() const { return isSVR4ABI() && isPPC64(); } in is64BitELFABI()
350 bool is32BitELFABI() const { return isSVR4ABI() && !isPPC64(); } in is32BitELFABI()
H A DPPCAsmPrinter.cpp610 MCInstBuilder(Subtarget->isPPC64() ? Opcode in EmitTlsCall()
639 const bool IsPPC64 = Subtarget->isPPC64(); in emitInstruction()
1392 if (!Subtarget->isPPC64()) in emitInstruction()
1537 if (static_cast<const PPCTargetMachine &>(TM).isPPC64() || in emitStartOfAsmFile()
1566 if (!Subtarget->isPPC64() && in emitFunctionEntryLabel()
1571 if (!Subtarget->isPPC64()) { in emitFunctionEntryLabel()
1640 bool isPPC64 = DL.getPointerSizeInBits() == 64; in emitEndOfAsmFile() local
1646 const char *Name = isPPC64 ? ".toc" : ".got2"; in emitEndOfAsmFile()
1650 if (!isPPC64) in emitEndOfAsmFile()
1658 if (isPPC64 && TS != nullptr) in emitEndOfAsmFile()
[all …]
H A DPPCInstrInfo.cpp93 STI.isPPC64() ? PPC::BLR8 : PPC::BLR), in PPCInstrInfo()
631 if (!(Subtarget.isPPC64() && Subtarget.hasP9Vector() && in shouldReduceRegisterPressure()
1276 bool isPPC64 = Subtarget.isPPC64(); in analyzeBranch() local
1490 bool isPPC64 = Subtarget.isPPC64(); in insertBranch() local
2111 bool isPPC64 = Subtarget.isPPC64(); in onlyFoldImmediate() local
2112 ZeroReg = isPPC64 ? PPC::ZERO8 : PPC::ZERO; in onlyFoldImmediate()
2183 bool isPPC64 = Subtarget.isPPC64(); in PredicateInstruction() local
2206 bool isPPC64 = Subtarget.isPPC64(); in PredicateInstruction() local
2247 bool isPPC64 = Subtarget.isPPC64(); in PredicateInstruction() local
2398 bool isPPC64 = Subtarget.isPPC64(); in optimizeCompareInstr() local
[all …]
H A DPPCTargetTransformInfo.cpp305 if (ST->isPPC64() && in getIntImmCostInst()
454 isLargeIntegerTy(!TM.isPPC64(), SrcType) || in mightUseCTR()
455 isLargeIntegerTy(!TM.isPPC64(), DstType)) in mightUseCTR()
659 isLargeIntegerTy(!TM.isPPC64(), CI->getSrcTy()->getScalarType()) || in mightUseCTR()
660 isLargeIntegerTy(!TM.isPPC64(), CI->getDestTy()->getScalarType())) in mightUseCTR()
662 } else if (isLargeIntegerTy(!TM.isPPC64(), in mightUseCTR()
669 } else if (!TM.isPPC64() && in mightUseCTR()
786 HWLoopInfo.CountType = TM.isPPC64() ? in isHardwareLoopProfitable()
882 return TypeSize::getFixed(ST->isPPC64() ? 64 : 32); in getRegisterBitWidth()
H A DPPCISelLowering.cpp152 bool isPPC64 = Subtarget.isPPC64(); in PPCTargetLowering() local
1284 if (!isPPC64) { in PPCTargetLowering()
1306 if (!isPPC64) in PPCTargetLowering()
4960 bool isPPC64 = Subtarget.isPPC64(); in EmitTailCallStoreFPAndRetAddr() local
7581 bool isPPC64 = Subtarget.isPPC64(); in LowerSTACKRESTORE() local
7602 bool isPPC64 = Subtarget.isPPC64(); in getReturnAddrFrameIndex() local
7625 bool isPPC64 = Subtarget.isPPC64(); in getFramePointerFrameIndex() local
7671 bool isPPC64 = Subtarget.isPPC64(); in LowerEH_DWARF_CFA() local
11695 const bool isPPC64 = Subtarget.isPPC64(); in emitProbedAlloca() local
15959 bool isPPC64 = Subtarget.isPPC64(); in LowerRETURNADDR() local
[all …]
H A DPPCTargetMachine.h60 bool isPPC64() const { in isPPC64() function
H A DPPCCallingConv.td53 CCIfType<[i32, i1], CCIfSubtarget<"isPPC64()", CCPromoteToType<i64>>>,
54 CCIfType<[i1], CCIfNotSubtarget<"isPPC64()", CCPromoteToType<i32>>>,
75 CCIfType<[i32, i1], CCIfSubtarget<"isPPC64()", CCPromoteToType<i64>>>,
76 CCIfType<[i1], CCIfNotSubtarget<"isPPC64()", CCPromoteToType<i32>>>,
H A DPPCTLSDynamicCall.cpp52 bool Is64Bit = MBB.getParent()->getSubtarget<PPCSubtarget>().isPPC64(); in processBlock()
H A DPPCBoolRetToInt.cpp95 Type *IntTy = ST->isPPC64() ? Type::getInt64Ty(V->getContext()) in translate()
H A DPPCISelDAGToDAG.cpp4295 bool isPPC64 = (PtrVT == MVT::i64); in trySETCC() local
4317 if (isPPC64) break; in trySETCC()
4345 if (isPPC64) break; in trySETCC()
4355 if (isPPC64) break; in trySETCC()
5257 bool IsPPC64 = Subtarget->isPPC64(); in Select()
5390 bool isPPC64 = (PtrVT == MVT::i64); in Select() local
5422 if (!isPPC64) in Select()
5644 const bool isPPC64 = Subtarget->isPPC64(); in Select() local
5662 if (!isPPC64) { in Select()
5695 assert((isPPC64 || (isAIXABI && !isPPC64)) && "We are dealing with 64-bit" in Select()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCTargetDesc.cpp70 bool isPPC64 = in createPPCMCRegisterInfo() local
72 unsigned Flavour = isPPC64 ? 0 : 1; in createPPCMCRegisterInfo()
73 unsigned RA = isPPC64 ? PPC::LR8 : PPC::LR; in createPPCMCRegisterInfo()
98 bool isPPC64 = (TheTriple.getArch() == Triple::ppc64 || in createPPCMCAsmInfo() local
103 MAI = new PPCXCOFFMCAsmInfo(isPPC64, TheTriple); in createPPCMCAsmInfo()
105 MAI = new PPCELFMCAsmInfo(isPPC64, TheTriple); in createPPCMCAsmInfo()
108 unsigned Reg = isPPC64 ? PPC::X1 : PPC::R1; in createPPCMCAsmInfo()
H A DPPCAsmBackend.cpp222 bool Is64 = TT.isPPC64(); in createObjectTargetWriter()
245 if (TT.isPPC64()) { in getFixupKind()
H A DPPCMCCodeEmitter.cpp388 bool isPPC64 = TT.isPPC64(); in getTLSRegEncoding() local
389 return CTX.getRegisterInfo()->getEncodingValue(isPPC64 ? PPC::X13 : PPC::R2); in getTLSRegEncoding()
H A DPPCInstPrinter.cpp460 if (!TT.isPPC64()) in printBranchOperand()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp104 bool isPPC64() const { return IsPPC64; } in isPPC64() function in __anonf4b79b370111::PPCAsmParser
147 IsPPC64 = TheTriple.isPPC64(); in PPCAsmParser()
243 bool isPPC64() const { return IsPPC64; } in isPPC64() function
479 if (isPPC64()) in addRegGxRCOperands()
486 if (isPPC64()) in addRegGxRCNoR0Operands()
1211 RegNo = isPPC64() ? PPC::LR8 : PPC::LR; in MatchRegisterName()
1214 RegNo = isPPC64() ? PPC::CTR8 : PPC::CTR; in MatchRegisterName()
1221 RegNo = isPPC64() ? XRegs[IntVal] : RRegs[IntVal]; in MatchRegisterName()
1440 Operands.push_back(PPCOperand::CreateImm(IntVal, S, E, isPPC64())); in ParseOperand()
1509 Operands.push_back(PPCOperand::CreateImm(IntVal, S, E, isPPC64())); in ParseOperand()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Architecture/PPC64/
H A DArchitecturePPC64.cpp40 if (arch.GetTriple().isPPC64() && in Create()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Instruction/PPC64/
H A DEmulateInstructionPPC64.cpp61 if (arch.GetTriple().isPPC64()) in CreateInstance()
68 return arch.GetTriple().isPPC64(); in SetTargetTriple()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DNativeProcessSoftwareSingleStep.cpp168 } else if (arch.IsMIPS() || arch.GetTriple().isPPC64()) in SetupSoftwareSingleStepping()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DTriple.h768 bool isPPC64() const { in isPPC64() function
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/PowerPC/
H A DABISysV_ppc64.cpp74 if (arch.GetTriple().isPPC64()) in CreateInstance()

12