Home
last modified time | relevance | path

Searched refs:LoongArchSubtarget (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchSubtarget.cpp28 void LoongArchSubtarget::anchor() {} in anchor()
32 bool LoongArchSubtarget::useAA() const { return UseAA; } in useAA()
34 LoongArchSubtarget &LoongArchSubtarget::initializeSubtargetDependencies( in initializeSubtargetDependencies()
65 void LoongArchSubtarget::initializeProperties(StringRef TuneCPU) { in initializeProperties()
91 LoongArchSubtarget::LoongArchSubtarget(const Triple &TT, StringRef CPU, in LoongArchSubtarget() function in LoongArchSubtarget
H A DLoongArchTargetMachine.h24 mutable StringMap<std::unique_ptr<LoongArchSubtarget>> SubtargetMap;
35 const LoongArchSubtarget *getSubtargetImpl(const Function &F) const override;
36 const LoongArchSubtarget *getSubtargetImpl() const = delete;
H A DLoongArchFrameLowering.h19 class LoongArchSubtarget; variable
22 const LoongArchSubtarget &STI;
25 explicit LoongArchFrameLowering(const LoongArchSubtarget &STI) in LoongArchFrameLowering()
H A DLoongArchSubtarget.h32 class LoongArchSubtarget : public LoongArchGenSubtargetInfo {
58 LoongArchSubtarget &initializeSubtargetDependencies(const Triple &TT,
69 LoongArchSubtarget(const Triple &TT, StringRef CPU, StringRef TuneCPU,
H A DLoongArchOptWInstrs.cpp68 const LoongArchSubtarget &ST,
71 const LoongArchSubtarget &ST,
74 const LoongArchSubtarget &ST,
99 const LoongArchSubtarget &ST, in hasAllNBitUsers()
346 const LoongArchSubtarget &ST, in hasAllWUsers()
508 static bool isSignExtendedW(Register SrcReg, const LoongArchSubtarget &ST, in isSignExtendedW()
716 const LoongArchSubtarget &ST, in removeSExtWInstrs()
768 const LoongArchSubtarget &ST, in convertToDSuffixes()
794 const LoongArchSubtarget &ST, in convertToWSuffixes()
849 const LoongArchSubtarget &ST = MF.getSubtarget<LoongArchSubtarget>(); in runOnMachineFunction()
H A DLoongArchInstrInfo.h24 class LoongArchSubtarget; variable
28 explicit LoongArchInstrInfo(LoongArchSubtarget &STI);
100 const LoongArchSubtarget &STI;
H A DLoongArchTargetTransformInfo.h32 const LoongArchSubtarget *ST;
35 const LoongArchSubtarget *getST() const { return ST; } in getST()
H A DLoongArchRegisterInfo.cpp40 auto &Subtarget = MF->getSubtarget<LoongArchSubtarget>(); in getCalleeSavedRegs()
62 auto &Subtarget = MF.getSubtarget<LoongArchSubtarget>(); in getCallPreservedMask()
128 const LoongArchSubtarget &STI = MF.getSubtarget<LoongArchSubtarget>(); in eliminateFrameIndex()
H A DLoongArchExpandPseudoInsts.cpp188 const auto &STI = MF->getSubtarget<LoongArchSubtarget>(); in expandPcalau12iInstPair()
265 assert(MF->getSubtarget<LoongArchSubtarget>().is64Bit() && in expandLargeAddressLoad()
327 const auto &STI = MF->getSubtarget<LoongArchSubtarget>(); in expandLoadAddressPcrel()
346 const auto &STI = MF->getSubtarget<LoongArchSubtarget>(); in expandLoadAddressGot()
381 const auto &STI = MF->getSubtarget<LoongArchSubtarget>(); in expandLoadAddressTLSLE()
430 const auto &STI = MF->getSubtarget<LoongArchSubtarget>(); in expandLoadAddressTLSIE()
449 const auto &STI = MF->getSubtarget<LoongArchSubtarget>(); in expandLoadAddressTLSLD()
468 const auto &STI = MF->getSubtarget<LoongArchSubtarget>(); in expandLoadAddressTLSGD()
481 const auto &STI = MF->getSubtarget<LoongArchSubtarget>(); in expandLoadAddressTLSDesc()
508 assert(MBB.getParent()->getSubtarget<LoongArchSubtarget>().is64Bit() && in expandLoadAddressTLSDesc()
H A DLoongArchISelDAGToDAG.h24 const LoongArchSubtarget *Subtarget = nullptr;
34 Subtarget = &MF.getSubtarget<LoongArchSubtarget>(); in runOnMachineFunction()
H A DLoongArchISelLowering.h23 class LoongArchSubtarget; variable
185 const LoongArchSubtarget &Subtarget;
189 const LoongArchSubtarget &STI);
191 const LoongArchSubtarget &getSubtarget() const { return Subtarget; } in getSubtarget()
H A DLoongArchTargetMachine.cpp105 const LoongArchSubtarget *
135 I = std::make_unique<LoongArchSubtarget>(TargetTriple, CPU, TuneCPU, FS, in getSubtargetImpl()
H A DLoongArchFrameLowering.cpp132 if (!MF.getSubtarget<LoongArchSubtarget>().hasBasicF()) in needScavSlotForCFR()
165 (MF.getSubtarget<LoongArchSubtarget>().hasExtLSX() && in processFunctionBeforeFrameFinalized()
H A DLoongArchISelLowering.cpp48 const LoongArchSubtarget &STI) in LoongArchTargetLowering()
567 const LoongArchSubtarget &Subtarget) { in combineSelectToBinOp()
641 const LoongArchSubtarget &Subtarget) { in foldBinOpIntoSelectIfProfitable()
3875 SelectionDAG &DAG, const LoongArchSubtarget &Subtarget, in replaceVPICKVE2GRResults()
3898 const LoongArchSubtarget &Subtarget, in replaceVecCondBranchResults()
3911 const LoongArchSubtarget &Subtarget) { in replaceINTRINSIC_WO_CHAINResults()
4380 const LoongArchSubtarget &Subtarget) { in performANDCombine()
4470 const LoongArchSubtarget &Subtarget) { in performSRLCombine()
4572 const LoongArchSubtarget &Subtarget) { in performSETCC_BITCASTCombine()
4645 const LoongArchSubtarget &Subtarget) { in performBITCASTCombine()
[all …]
H A DLoongArchMergeBaseOffset.cpp31 const LoongArchSubtarget *ST = nullptr;
808 ST = &Fn.getSubtarget<LoongArchSubtarget>(); in runOnMachineFunction()
H A DLoongArchInstrInfo.cpp28 LoongArchInstrInfo::LoongArchInstrInfo(LoongArchSubtarget &STI) in LoongArchInstrInfo()
454 const auto &STI = MF.getSubtarget<LoongArchSubtarget>(); in isSafeToMove()
H A DLoongArchExpandAtomicPseudoInsts.cpp624 if (!(hint == 0x700 && MF->getSubtarget<LoongArchSubtarget>().hasLD_SEQ_SA())) in expandAtomicCmpXchg()
729 if (!(hint == 0x700 && MF->getSubtarget<LoongArchSubtarget>().hasLD_SEQ_SA())) in expandAtomicCmpXchg128()