Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCFrameLowering.cpp53 return STI.isPPC64() ? 16 : 8; in computeReturnSaveOffset()
55 return STI.isPPC64() ? 16 : 4; in computeReturnSaveOffset()
72 return STI.isPPC64() ? -8U : -4U; in computeFramePointerSaveOffset()
88 return STI.isPPC64() in computeBasePointerSaveOffset()
107 if (Subtarget.isPPC64()) { in getCalleeSavedSpillSlots()
267 if (Subtarget.isPPC64()) { in getCalleeSavedSpillSlots()
730 bool isPPC64 = Subtarget.isPPC64(); in emitPrologue() local
955 if (isPPC64) in emitPrologue()
1264 bool isPPC64 = Subtarget.isPPC64(); in emitEpilogue() local
1628 bool isPPC64 = Subtarget.isPPC64(); in determineCalleeSaves() local
[all …]
H A DPPCInstr64Bit.td1098 isPPC64;
1103 isPPC64;
1114 isPPC64;
1119 isPPC64;
1130 isPPC64;
1148 isPPC64;
1153 isPPC64;
1162 isPPC64;
1181 isPPC64;
1186 isPPC64;
[all …]
H A DPPCRegisterInfo.cpp125 if (TM.isPPC64()) in getPointerRegClass()
130 if (TM.isPPC64()) in getPointerRegClass()
147 return TM.isPPC64() in getCalleeSavedRegs()
163 return TM.isPPC64() in getCalleeSavedRegs()
173 return TM.isPPC64() in getCalleeSavedRegs()
188 if (!TM.isPPC64()) in getCalleeSavedRegsViaCopy()
292 if (TM.isPPC64()) in getReservedRegs()
324 if (!TM.isPPC64()) in isCallerPreservedPhysReg()
817 if (TM.isPPC64()) in hasReservedSpillSlot()
1022 if (!TM.isPPC64()) in getFrameRegister()
[all …]
H A DPPCAsmPrinter.cpp494 bool isPPC64 = Subtarget->isPPC64(); in EmitInstruction() local
1094 if (!Subtarget->isPPC64()) in EmitInstruction()
1269 if (!Subtarget->isPPC64() && in EmitFunctionEntryLabel()
1274 if (!Subtarget->isPPC64()) { in EmitFunctionEntryLabel()
1343 bool isPPC64 = DL.getPointerSizeInBits() == 64; in doFinalization() local
1351 if (isPPC64) in doFinalization()
1363 if (isPPC64) { in doFinalization()
1483 if (Subtarget->isPPC64()) { in EmitFunctionBodyEnd()
1528 if (STI.isPPC64() && Directive < PPC::DIR_64) in EmitStartOfAsmFile()
1593 EmitAlignment(isPPC64 ? 3 : 2); in doFinalization()
[all …]
H A DPPCSubtarget.cpp195 CriticalPathRCs.push_back(isPPC64() ? in getCriticalPathRCs()
235 bool PPCSubtarget::isPPC64() const { return TM.isPPC64(); } in isPPC64() function in PPCSubtarget
H A DPPCInstrInfo.cpp104 STI.isPPC64() ? PPC::BLR8 : PPC::BLR), in PPCInstrInfo()
488 bool isPPC64 = Subtarget.isPPC64(); in analyzeBranch() local
702 bool isPPC64 = Subtarget.isPPC64(); in insertBranch() local
1361 bool isPPC64 = Subtarget.isPPC64(); in FoldImmediate() local
1362 ZeroReg = isPPC64 ? PPC::ZERO8 : PPC::ZERO; in FoldImmediate()
1427 bool isPPC64 = Subtarget.isPPC64(); in PredicateInstruction() local
1446 bool isPPC64 = Subtarget.isPPC64(); in PredicateInstruction() local
1483 bool isPPC64 = Subtarget.isPPC64(); in PredicateInstruction() local
1643 bool isPPC64 = Subtarget.isPPC64(); in optimizeCompareInstr() local
1654 if (isPPC64) { in optimizeCompareInstr()
[all …]
H A DPPCISelLowering.cpp134 bool isPPC64 = Subtarget.isPPC64(); in PPCTargetLowering() local
428 if (isPPC64) { in PPCTargetLowering()
4765 bool isPPC64 = Subtarget.isPPC64(); in EmitTailCallStoreFPAndRetAddr() local
4917 bool isPPC64 = Subtarget.isPPC64(); in PrepareCall() local
6332 if (isPPC64) in LowerCall_Darwin()
6726 bool isPPC64 = Subtarget.isPPC64(); in LowerSTACKRESTORE() local
6747 bool isPPC64 = Subtarget.isPPC64(); in getReturnAddrFrameIndex() local
6770 bool isPPC64 = Subtarget.isPPC64(); in getFramePointerFrameIndex() local
6814 bool isPPC64 = Subtarget.isPPC64(); in LowerEH_DWARF_CFA() local
13784 bool isPPC64 = Subtarget.isPPC64(); in LowerRETURNADDR() local
[all …]
H A DPPCCTRLoops.cpp435 isLargeIntegerTy(!TM->isPPC64(), CI->getSrcTy()->getScalarType()) || in mightUseCTR()
436 isLargeIntegerTy(!TM->isPPC64(), CI->getDestTy()->getScalarType())) in mightUseCTR()
438 } else if (isLargeIntegerTy(!TM->isPPC64(), in mightUseCTR()
445 } else if (!TM->isPPC64() && in mightUseCTR()
580 if (SE->getTypeSizeInBits(EC->getType()) > (TM->isPPC64() ? 64 : 32)) in convertToCTRLoop()
654 Type *CountType = TM->isPPC64() ? Type::getInt64Ty(C) : Type::getInt32Ty(C); in convertToCTRLoop()
H A DPPCSubtarget.h205 bool isPPC64() const;
284 return isDarwinABI() ? 224 : (isPPC64() ? 288 : 0); in getRedZoneSize()
H A DPPCTargetMachine.h58 bool isPPC64() const { in isPPC64() function
H A DPPCCallingConv.td53 CCIfType<[i32, i1], CCIfSubtarget<"isPPC64()", CCPromoteToType<i64>>>,
54 CCIfType<[i1], CCIfNotSubtarget<"isPPC64()", CCPromoteToType<i32>>>,
77 CCIfType<[i32, i1], CCIfSubtarget<"isPPC64()", CCPromoteToType<i64>>>,
78 CCIfType<[i1], CCIfNotSubtarget<"isPPC64()", CCPromoteToType<i32>>>,
H A DPPCRegisterInfo.td265 return S.isPPC64() && S.isSVR4ABI();
277 return S.isPPC64() && S.isSVR4ABI();
290 return S.isPPC64() && S.isSVR4ABI();
300 return S.isPPC64() && S.isSVR4ABI();
H A DPPCTargetTransformInfo.cpp181 if (ST->isPPC64() && in getIntImmCost()
272 if (ST->isPPC64()) in getRegisterBitWidth()
H A DPPCTLSDynamicCall.cpp56 bool Is64Bit = MBB.getParent()->getSubtarget<PPCSubtarget>().isPPC64(); in processBlock()
H A DPPCBoolRetToInt.cpp94 Type *IntTy = ST->isPPC64() ? Type::getInt64Ty(V->getContext()) in translate()
H A DPPCISelDAGToDAG.cpp3984 bool isPPC64 = (PtrVT == MVT::i64); in trySETCC() local
4003 if (isPPC64) break; in trySETCC()
4031 if (isPPC64) break; in trySETCC()
4041 if (isPPC64) break; in trySETCC()
4666 bool IsPPC64 = PPCSubTarget->isPPC64(); in Select()
4689 bool IsPPC64 = PPCSubTarget->isPPC64(); in Select()
4773 bool isPPC64 = (PtrVT == MVT::i64); in Select() local
4806 if (!isPPC64) in Select()
4950 bool IsPPC64 = PPCSubTarget->isPPC64(); in Select()
6124 if (!PPCSubTarget->isPPC64()) in PeepholePPC64ZExt()
[all …]
H A DPPCInstrFormats.td20 bit PPC64 = 0; // Default value, override with isPPC64
90 bit PPC64 = 0; // Default value, override with isPPC64
H A DPPCFastISel.cpp2473 if (Subtarget.isPPC64() && Subtarget.isSVR4ABI()) in createFastISel()
H A DPPCInstrInfo.td464 class isPPC64 { bit PPC64 = 1; }
901 def In32BitMode : Predicate<"!PPCSubTarget->isPPC64()">;
902 def In64BitMode : Predicate<"PPCSubTarget->isPPC64()">;
4234 bit PPC64 = 0; // Default value, override with isPPC64
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCTargetDesc.cpp63 bool isPPC64 = in createPPCMCRegisterInfo() local
65 unsigned Flavour = isPPC64 ? 0 : 1; in createPPCMCRegisterInfo()
66 unsigned RA = isPPC64 ? PPC::LR8 : PPC::LR; in createPPCMCRegisterInfo()
80 bool isPPC64 = (TheTriple.getArch() == Triple::ppc64 || in createPPCMCAsmInfo() local
85 MAI = new PPCMCAsmInfoDarwin(isPPC64, TheTriple); in createPPCMCAsmInfo()
87 MAI = new PPCELFMCAsmInfo(isPPC64, TheTriple); in createPPCMCAsmInfo()
90 unsigned Reg = isPPC64 ? PPC::X1 : PPC::R1; in createPPCMCAsmInfo()
H A DPPCMCCodeEmitter.cpp220 bool isPPC64 = TT.getArch() == Triple::ppc64 || TT.getArch() == Triple::ppc64le; in getTLSRegEncoding() local
221 return CTX.getRegisterInfo()->getEncodingValue(isPPC64 ? PPC::X13 : PPC::R2); in getTLSRegEncoding()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp106 bool isPPC64() const { return IsPPC64; } in isPPC64() function in __anonf2e8cc480111::PPCAsmParser
248 bool isPPC64() const { return IsPPC64; } in isPPC64() function
435 if (isPPC64()) in addRegGxRCOperands()
442 if (isPPC64()) in addRegGxRCNoR0Operands()
1178 RegNo = isPPC64()? PPC::LR8 : PPC::LR; in MatchRegisterName()
1181 RegNo = isPPC64()? PPC::CTR8 : PPC::CTR; in MatchRegisterName()
1188 RegNo = isPPC64()? XRegs[IntVal] : RRegs[IntVal]; in MatchRegisterName()
1456 Operands.push_back(PPCOperand::CreateImm(IntVal, S, E, isPPC64())); in ParseOperand()
1636 ParseDirectiveTC(isPPC64() ? 8 : 4, DirectiveID); in ParseDirective()
1738 check(isPPC64() && (CPU == "ppc7400" || CPU == "ppc"), L, in ParseDarwinDirectiveMachine()
[all …]