Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCFrameLowering.cpp45 return STI.isPPC64() ? 16 : 8; in computeReturnSaveOffset()
47 return STI.isPPC64() ? 16 : 4; in computeReturnSaveOffset()
52 return STI.isPPC64() ? 40 : 20; in computeTOCSaveOffset()
58 return STI.isPPC64() ? -8U : -4U; in computeFramePointerSaveOffset()
243 if (Subtarget.isPPC64()) { in getCalleeSavedSpillSlots()
620 bool isPPC64 = Subtarget.isPPC64(); in emitPrologue() local
917 if (isPPC64) in emitPrologue()
1222 bool isPPC64 = Subtarget.isPPC64(); in inlineStackProbe() local
1435 if (isPPC64) in inlineStackProbe()
1545 bool isPPC64 = Subtarget.isPPC64(); in emitEpilogue() local
[all …]
H A DPPCInstr64Bit.td1468 isPPC64;
1473 isPPC64;
1484 isPPC64;
1489 isPPC64;
1544 isPPC64;
1549 isPPC64;
1554 isPPC64;
1580 isPPC64;
1585 isPPC64;
1590 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.cpp220 CriticalPathRCs.push_back(isPPC64() ? in getCriticalPathRCs()
255 bool PPCSubtarget::isPPC64() const { return TM.isPPC64(); } in isPPC64() function in PPCSubtarget
258 return isPPC64() && hasPCRelativeMemops() && isELFv2ABI() && in isUsingPCRelativeCalls()
H A DPPCRegisterInfo.cpp174 if (TM.isPPC64()) in getPointerRegClass()
179 if (TM.isPPC64()) in getPointerRegClass()
219 if (TM.isPPC64()) { in getCalleeSavedRegs()
239 if (TM.isPPC64()) { in getCalleeSavedRegs()
286 return TM.isPPC64() in getCallPreservedMask()
296 if (TM.isPPC64()) in getCallPreservedMask()
310 if (TM.isPPC64()) in getCallPreservedMask()
382 if (TM.isPPC64()) in getReservedRegs()
713 bool LP64 = TM.isPPC64(); in lowerDynamicAlloc()
1667 if (!TM.isPPC64()) in getFrameRegister()
[all …]
H A DPPCSubtarget.h240 bool isPPC64() const;
325 if (isPPC64()) in getRedZoneSize()
371 bool is64BitELFABI() const { return isSVR4ABI() && isPPC64(); } in is64BitELFABI()
372 bool is32BitELFABI() const { return isSVR4ABI() && !isPPC64(); } in is32BitELFABI()
H A DPPCInstrInfo.cpp93 STI.isPPC64() ? PPC::BLR8 : PPC::BLR), in PPCInstrInfo()
1278 bool isPPC64 = Subtarget.isPPC64(); in analyzeBranch() local
1492 bool isPPC64 = Subtarget.isPPC64(); in insertBranch() local
2118 bool isPPC64 = Subtarget.isPPC64(); in onlyFoldImmediate() local
2119 ZeroReg = isPPC64 ? PPC::ZERO8 : PPC::ZERO; in onlyFoldImmediate()
2189 bool isPPC64 = Subtarget.isPPC64(); in PredicateInstruction() local
2212 bool isPPC64 = Subtarget.isPPC64(); in PredicateInstruction() local
2255 bool isPPC64 = Subtarget.isPPC64(); in PredicateInstruction() local
2408 bool isPPC64 = Subtarget.isPPC64(); in optimizeCompareInstr() local
2424 if (isPPC64) { in optimizeCompareInstr()
[all …]
H A DPPCAsmPrinter.cpp634 MCInstBuilder(Subtarget->isPPC64() ? Opcode in EmitTlsCall()
666 const bool IsPPC64 = Subtarget->isPPC64(); in emitInstruction()
1442 if (!Subtarget->isPPC64()) in emitInstruction()
1587 if (static_cast<const PPCTargetMachine &>(TM).isPPC64() || in emitStartOfAsmFile()
1616 if (!Subtarget->isPPC64() && in emitFunctionEntryLabel()
1621 if (!Subtarget->isPPC64()) { in emitFunctionEntryLabel()
1690 bool isPPC64 = DL.getPointerSizeInBits() == 64; in emitEndOfAsmFile() local
1698 const char *Name = isPPC64 ? ".toc" : ".got2"; in emitEndOfAsmFile()
1702 if (!isPPC64) in emitEndOfAsmFile()
1710 if (isPPC64 && TS != nullptr) in emitEndOfAsmFile()
[all …]
H A DPPCTargetTransformInfo.cpp300 if (ST->isPPC64() && in getIntImmCostInst()
455 isLargeIntegerTy(!TM.isPPC64(), SrcType) || in mightUseCTR()
456 isLargeIntegerTy(!TM.isPPC64(), DstType)) in mightUseCTR()
664 isLargeIntegerTy(!TM.isPPC64(), CI->getSrcTy()->getScalarType()) || in mightUseCTR()
665 isLargeIntegerTy(!TM.isPPC64(), CI->getDestTy()->getScalarType())) in mightUseCTR()
667 } else if (isLargeIntegerTy(!TM.isPPC64(), in mightUseCTR()
674 } else if (!TM.isPPC64() && in mightUseCTR()
791 HWLoopInfo.CountType = TM.isPPC64() ? in isHardwareLoopProfitable()
888 return TypeSize::getFixed(ST->isPPC64() ? 64 : 32); in getRegisterBitWidth()
1388 if ((!ST->hasP9Vector() && !ST->hasP10Vector()) || !ST->isPPC64()) in hasActiveVectorLength()
H A DPPCISelLowering.cpp162 bool isPPC64 = Subtarget.isPPC64(); in PPCTargetLowering() local
1323 if (!isPPC64) { in PPCTargetLowering()
1351 if (!isPPC64) in PPCTargetLowering()
5006 bool isPPC64 = Subtarget.isPPC64(); in EmitTailCallStoreFPAndRetAddr() local
7640 bool isPPC64 = Subtarget.isPPC64(); in LowerSTACKRESTORE() local
7661 bool isPPC64 = Subtarget.isPPC64(); in getReturnAddrFrameIndex() local
7684 bool isPPC64 = Subtarget.isPPC64(); in getFramePointerFrameIndex() local
7730 bool isPPC64 = Subtarget.isPPC64(); in LowerEH_DWARF_CFA() local
12038 const bool isPPC64 = Subtarget.isPPC64(); in emitProbedAlloca() local
16344 bool isPPC64 = Subtarget.isPPC64(); in LowerRETURNADDR() local
[all …]
H A DPPCTargetMachine.h60 bool isPPC64() const { in isPPC64() function
H A DPPCCTRLoops.cpp235 Start->getParent()->getParent()->getSubtarget<PPCSubtarget>().isPPC64(); in expandNormalLoops()
312 Start->getParent()->getParent()->getSubtarget<PPCSubtarget>().isPPC64(); in expandCTRLoops()
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.cpp51 bool Is64Bit = MBB.getParent()->getSubtarget<PPCSubtarget>().isPPC64(); in processBlock()
H A DPPCISelDAGToDAG.cpp4308 bool isPPC64 = (PtrVT == MVT::i64); in trySETCC() local
4330 if (isPPC64) break; in trySETCC()
4358 if (isPPC64) break; in trySETCC()
4368 if (isPPC64) break; in trySETCC()
5395 bool IsPPC64 = Subtarget->isPPC64(); in Select()
5418 bool IsPPC64 = Subtarget->isPPC64(); in Select()
5543 bool isPPC64 = (PtrVT == MVT::i64); in Select() local
5575 if (!isPPC64) in Select()
5797 const bool isPPC64 = Subtarget->isPPC64(); in Select() local
5864 assert((isPPC64 || (isAIXABI && !isPPC64)) && "We are dealing with 64-bit" in Select()
[all …]
H A DPPCBoolRetToInt.cpp95 Type *IntTy = ST->isPPC64() ? Type::getInt64Ty(V->getContext()) in translate()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCTargetDesc.cpp72 bool isPPC64 = in createPPCMCRegisterInfo() local
74 unsigned Flavour = isPPC64 ? 0 : 1; in createPPCMCRegisterInfo()
75 unsigned RA = isPPC64 ? PPC::LR8 : PPC::LR; in createPPCMCRegisterInfo()
100 bool isPPC64 = (TheTriple.getArch() == Triple::ppc64 || in createPPCMCAsmInfo() local
105 MAI = new PPCXCOFFMCAsmInfo(isPPC64, TheTriple); in createPPCMCAsmInfo()
107 MAI = new PPCELFMCAsmInfo(isPPC64, TheTriple); in createPPCMCAsmInfo()
110 unsigned Reg = isPPC64 ? PPC::X1 : PPC::R1; in createPPCMCAsmInfo()
H A DPPCAsmBackend.cpp225 bool Is64 = TT.isPPC64(); in createObjectTargetWriter()
248 if (TT.isPPC64()) { in getFixupKind()
H A DPPCMCCodeEmitter.cpp389 bool isPPC64 = TT.isPPC64(); in getTLSRegEncoding() local
390 return CTX.getRegisterInfo()->getEncodingValue(isPPC64 ? PPC::X13 : PPC::R2); in getTLSRegEncoding()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp104 bool isPPC64() const { return IsPPC64; } in isPPC64() function in __anon662ace330111::PPCAsmParser
148 IsPPC64 = TheTriple.isPPC64(); in PPCAsmParser()
245 bool isPPC64() const { return IsPPC64; } in isPPC64() function
447 if (isPPC64()) in addRegGxRCOperands()
454 if (isPPC64()) in addRegGxRCNoR0Operands()
1198 RegNo = isPPC64() ? PPC::LR8 : PPC::LR; in MatchRegisterName()
1201 RegNo = isPPC64() ? PPC::CTR8 : PPC::CTR; in MatchRegisterName()
1208 RegNo = isPPC64() ? XRegs[IntVal] : RRegs[IntVal]; in MatchRegisterName()
1427 Operands.push_back(PPCOperand::CreateImm(IntVal, S, E, isPPC64())); in ParseOperand()
1496 Operands.push_back(PPCOperand::CreateImm(IntVal, S, E, isPPC64())); in ParseOperand()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/Architecture/PPC64/
H A DArchitecturePPC64.cpp36 if (arch.GetTriple().isPPC64() && in Create()
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DPPCLinux.cpp73 if (!Triple.isLittleEndian() || !Triple.isPPC64()) in SupportIEEEFloat128()
/llvm-project-15.0.7/lldb/source/Plugins/Instruction/PPC64/
H A DEmulateInstructionPPC64.cpp51 if (arch.GetTriple().isPPC64()) in CreateInstance()
58 return arch.GetTriple().isPPC64(); in SetTargetTriple()
/llvm-project-15.0.7/lldb/source/Plugins/Process/Utility/
H A DNativeProcessSoftwareSingleStep.cpp168 } else if (arch.IsMIPS() || arch.GetTriple().isPPC64()) in SetupSoftwareSingleStepping()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DHost.cpp43 (Host.isPPC64() && Host.isOSLinux()) || in isSupportedArchAndOS()

12