Home
last modified time | relevance | path

Searched refs:IsN64 (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsABIInfo.cpp35 if (IsN32() || IsN64()) in GetByValArgRegs()
47 if (IsN32() || IsN64()) in getVarArgRegs()
55 if (IsN32() || IsN64()) in GetCalleeAllocdArgSizeInBytes()
129 return IsN64() ? EhDataReg64[I] : EhDataReg[I]; in GetEhDataReg()
H A DMipsABIInfo.h42 bool IsN64() const { return ThisABI == ABI::N64; } in IsN64() function
73 inline bool ArePtrs64bit() const { return IsN64(); } in ArePtrs64bit()
74 inline bool AreGprs64bit() const { return IsN32() || IsN64(); } in AreGprs64bit()
H A DMipsOptionRecord.cpp32 if (MTS->getABI().IsN64()) { in EmitMipsOptionRecord()
H A DMipsTargetStreamer.cpp142 if (!getABI().IsN32() && !getABI().IsN64()) in emitDirectiveCpLocal()
1239 emitAddu(RegNo, RegNo, GPReg, getABI().IsN64(), &STI); in emitDirectiveCpAdd()
1250 if (!Pic || (getABI().IsN32() || getABI().IsN64())) in emitDirectiveCpLoad()
1309 if (!Pic || (getABI().IsN32() || getABI().IsN64())) in emitDirectiveCpRestore()
1323 if (!Pic || !(getABI().IsN32() || getABI().IsN64())) in emitDirectiveCpsetup()
1364 if (!Pic || !(getABI().IsN32() || getABI().IsN64())) in emitDirectiveCpreturn()
H A DMipsMCAsmInfo.cpp34 else if (ABI.IsN32() || ABI.IsN64()) in MipsELFMCAsmInfo()
H A DMipsELFObjectWriter.cpp603 bool IsN64 = TT.isArch64Bit() && !IsN32; in createMipsELFObjectWriter() local
606 IsN64); in createMipsELFObjectWriter()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsMachineFunction.cpp49 if (TM.getABI().IsN64()) in getGlobalBaseRegClass()
82 RC = (ABI.IsN64()) ? &Mips::GPR64RegClass : &Mips::GPR32RegClass; in initGlobalBaseReg()
87 if (ABI.IsN64()) { in initGlobalBaseReg()
161 static_cast<const MipsTargetMachine &>(MF.getTarget()).getABI().IsN64() in createEhDataRegsFI()
H A DMipsRegisterInfo.cpp275 bool IsN64 = in getFrameRegister() local
276 static_cast<const MipsTargetMachine &>(MF.getTarget()).getABI().IsN64(); in getFrameRegister()
281 return TFI->hasFP(MF) ? (IsN64 ? Mips::FP_64 : Mips::FP) : in getFrameRegister()
282 (IsN64 ? Mips::SP_64 : Mips::SP); in getFrameRegister()
H A DMipsBranchExpansion.cpp381 bool HasR6 = ABI.IsN64() ? STI->hasMips64r6() : STI->hasMips32r6(); in buildProperJumpMI()
384 unsigned JR = ABI.IsN64() ? Mips::JR64 : Mips::JR; in buildProperJumpMI()
385 unsigned JIC = ABI.IsN64() ? Mips::JIC64 : Mips::JIC; in buildProperJumpMI()
386 unsigned JR_HB = ABI.IsN64() ? Mips::JR_HB64 : Mips::JR_HB; in buildProperJumpMI()
387 unsigned JR_HB_R6 = ABI.IsN64() ? Mips::JR_HB64_R6 : Mips::JR_HB_R6; in buildProperJumpMI()
398 unsigned ATReg = ABI.IsN64() ? Mips::AT_64 : Mips::AT; in buildProperJumpMI()
437 if (!ABI.IsN64()) { in expandToLongBranch()
687 if (ABI.IsN64()) { in expandToLongBranch()
H A DMipsTargetMachine.cpp98 if (!ABI.IsN64()) in computeDataLayout()
108 if (ABI.IsN64() || ABI.IsN32()) in computeDataLayout()
H A DMipsFrameLowering.cpp134 unsigned SP = STI.getABI().IsN64() ? Mips::SP_64 : Mips::SP; in eliminateCallFramePseudoInstr()
H A DMipsISelLowering.h360 return ABI.IsN64() ? Mips::A0_64 : Mips::A0; in getExceptionPointerRegister()
367 return ABI.IsN64() ? Mips::A1_64 : Mips::A1; in getExceptionSelectorRegister()
484 SelectionDAG &DAG, bool IsN64) const { in getAddrGPRel() argument
488 DAG.getRegister(IsN64 ? Mips::GP_64 : Mips::GP, Ty), in getAddrGPRel()
H A DMipsISelLowering.cpp538 setMinStackArgumentAlignment((ABI.IsN32() || ABI.IsN64()) ? Align(8) in MipsTargetLowering()
541 setStackPointerRegisterToSaveRestore(ABI.IsN64() ? Mips::SP_64 : Mips::SP); in MipsTargetLowering()
2251 return getAddrGPRel(N, SDLoc(N), Ty, DAG, ABI.IsN64()); in lowerGlobalAddress()
2271 return getAddrLocal(N, SDLoc(N), Ty, DAG, ABI.IsN32() || ABI.IsN64()); in lowerGlobalAddress()
2281 (ABI.IsN32() || ABI.IsN64()) ? MipsII::MO_GOT_DISP : MipsII::MO_GOT, in lowerGlobalAddress()
2294 return getAddrLocal(N, SDLoc(N), Ty, DAG, ABI.IsN32() || ABI.IsN64()); in lowerBlockAddress()
2389 return getAddrLocal(N, SDLoc(N), Ty, DAG, ABI.IsN32() || ABI.IsN64()); in lowerJumpTable()
2406 return getAddrGPRel(N, SDLoc(N), Ty, DAG, ABI.IsN64()); in lowerConstantPool()
2412 return getAddrLocal(N, SDLoc(N), Ty, DAG, ABI.IsN32() || ABI.IsN64()); in lowerConstantPool()
2439 unsigned ArgSlotSizeInBytes = (ABI.IsN32() || ABI.IsN64()) ? 8 : 4; in lowerVAARG()
[all …]
H A DMipsSubtarget.cpp284 bool MipsSubtarget::isABI_N64() const { return getABI().IsN64(); } in isABI_N64()
H A DMipsSEFrameLowering.cpp416 unsigned AND = ABI.IsN64() ? Mips::AND64 : Mips::AND; in emitPrologue()
831 unsigned RA = ABI.IsN64() ? Mips::RA_64 : Mips::RA; in determineCalleeSaves()
833 unsigned BP = ABI.IsN64() ? Mips::S7_64 : Mips::S7; in determineCalleeSaves()
H A DMipsSEISelDAGToDAG.cpp1093 (ABI.IsN32() || ABI.IsN64()))) { in trySelect()
1143 (ABI.IsN32() || ABI.IsN64())) { in trySelect()
1260 } else if (ABI.IsN64() || ABI.IsN32()) { in trySelect()
H A DMipsInstrInfo.td223 def IsN64 : Predicate<"Subtarget->isABI_N64()">;
505 list<Predicate> AdditionalPredicates = [IsN64];
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/
H A DMips.cpp222 bool IsN64 = ABIName == "64"; in getMIPSTargetFeatures() local
248 if (IsN64 && NonPIC && (!ABICallsArg || UseAbiCalls)) { in getMIPSTargetFeatures()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp591 return ABI.IsN32() || ABI.IsN64(); in isJalrRelocAvailable()
597 bool isABI_N64() const { return ABI.IsN64(); } in isABI_N64()
3037 if (ABI.IsN32() || ABI.IsN64()) { in loadAndAddSymbolAddress()
3788 if (ABI.IsN64()) { in expandMem16Inst()