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.cpp36 if (IsN32() || IsN64()) in GetByValArgRegs()
44 if (IsN32() || IsN64()) in GetVarArgRegs()
52 if (IsN32() || IsN64()) in GetCalleeAllocdArgSizeInBytes()
126 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 DMipsMCAsmInfo.cpp32 else if (ABI.IsN32() || ABI.IsN64()) in MipsMCAsmInfo()
H A DMipsTargetStreamer.cpp132 if (!getABI().IsN32() && !getABI().IsN64()) in emitDirectiveCpLocal()
1147 emitAddu(RegNo, RegNo, GPReg, getABI().IsN64(), &STI); in emitDirectiveCpAdd()
1158 if (!Pic || (getABI().IsN32() || getABI().IsN64())) in emitDirectiveCpLoad()
1225 if (!Pic || (getABI().IsN32() || getABI().IsN64())) in emitDirectiveCpRestore()
1239 if (!Pic || !(getABI().IsN32() || getABI().IsN64())) in emitDirectiveCpsetup()
1280 if (!Pic || !(getABI().IsN32() || getABI().IsN64())) in emitDirectiveCpreturn()
H A DMipsOptionRecord.cpp32 if (MTS->getABI().IsN64()) { in EmitMipsOptionRecord()
H A DMipsELFObjectWriter.cpp668 bool IsN64 = TT.isArch64Bit() && !IsN32; in createMipsELFObjectWriter() local
671 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.cpp274 bool IsN64 = in getFrameRegister() local
275 static_cast<const MipsTargetMachine &>(MF.getTarget()).getABI().IsN64(); in getFrameRegister()
280 return TFI->hasFP(MF) ? (IsN64 ? Mips::FP_64 : Mips::FP) : in getFrameRegister()
281 (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 DMipsISelLowering.h358 return ABI.IsN64() ? Mips::A0_64 : Mips::A0; in getExceptionPointerRegister()
365 return ABI.IsN64() ? Mips::A1_64 : Mips::A1; in getExceptionSelectorRegister()
480 SelectionDAG &DAG, bool IsN64) const { in getAddrGPRel() argument
484 DAG.getRegister(IsN64 ? Mips::GP_64 : Mips::GP, Ty), in getAddrGPRel()
H A DMipsTargetMachine.cpp91 if (!ABI.IsN64()) in computeDataLayout()
101 if (ABI.IsN64() || ABI.IsN32()) in computeDataLayout()
H A DMipsFrameLowering.cpp140 unsigned SP = STI.getABI().IsN64() ? Mips::SP_64 : Mips::SP; in eliminateCallFramePseudoInstr()
H A DMipsISelLowering.cpp529 setMinStackArgumentAlignment((ABI.IsN32() || ABI.IsN64()) ? Align(8) in MipsTargetLowering()
532 setStackPointerRegisterToSaveRestore(ABI.IsN64() ? Mips::SP_64 : Mips::SP); in MipsTargetLowering()
2110 return getAddrGPRel(N, SDLoc(N), Ty, DAG, ABI.IsN64()); in lowerGlobalAddress()
2130 return getAddrLocal(N, SDLoc(N), Ty, DAG, ABI.IsN32() || ABI.IsN64()); in lowerGlobalAddress()
2140 (ABI.IsN32() || ABI.IsN64()) ? MipsII::MO_GOT_DISP : MipsII::MO_GOT, in lowerGlobalAddress()
2153 return getAddrLocal(N, SDLoc(N), Ty, DAG, ABI.IsN32() || ABI.IsN64()); in lowerBlockAddress()
2248 return getAddrLocal(N, SDLoc(N), Ty, DAG, ABI.IsN32() || ABI.IsN64()); in lowerJumpTable()
2265 return getAddrGPRel(N, SDLoc(N), Ty, DAG, ABI.IsN64()); in lowerConstantPool()
2271 return getAddrLocal(N, SDLoc(N), Ty, DAG, ABI.IsN32() || ABI.IsN64()); in lowerConstantPool()
2298 unsigned ArgSlotSizeInBytes = (ABI.IsN32() || ABI.IsN64()) ? 8 : 4; in lowerVAARG()
[all …]
H A DMipsSubtarget.cpp279 bool MipsSubtarget::isABI_N64() const { return getABI().IsN64(); } in isABI_N64()
H A DMipsSEFrameLowering.cpp419 unsigned AND = ABI.IsN64() ? Mips::AND64 : Mips::AND; in emitPrologue()
867 unsigned RA = ABI.IsN64() ? Mips::RA_64 : Mips::RA; in determineCalleeSaves()
869 unsigned BP = ABI.IsN64() ? Mips::S7_64 : Mips::S7; in determineCalleeSaves()
H A DMipsSEISelDAGToDAG.cpp1147 (ABI.IsN32() || ABI.IsN64()))) { in trySelect()
1197 (ABI.IsN32() || ABI.IsN64())) { in trySelect()
1314 } 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.cpp221 bool IsN64 = ABIName == "64"; in getMIPSTargetFeatures() local
247 if (IsN64 && NonPIC && (!ABICallsArg || UseAbiCalls)) { in getMIPSTargetFeatures()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp593 return ABI.IsN32() || ABI.IsN64(); in isJalrRelocAvailable()
599 bool isABI_N64() const { return ABI.IsN64(); } in isABI_N64()
3083 if (ABI.IsN32() || ABI.IsN64()) { in loadAndAddSymbolAddress()
3845 if (ABI.IsN64()) { in expandMem16Inst()