Home
last modified time | relevance | path

Searched refs:HexagonSubtarget (Results 1 – 25 of 74) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonSubtarget.cpp80 HexagonSubtarget::HexagonSubtarget(const Triple &TT, StringRef CPU, in HexagonSubtarget() function in HexagonSubtarget
92 HexagonSubtarget &
93 HexagonSubtarget::initializeSubtargetDependencies(StringRef CPU, StringRef FS) { in initializeSubtargetDependencies()
129 void HexagonSubtarget::UsrOverflowMutation::apply(ScheduleDAGInstrs *DAG) { in apply()
142 void HexagonSubtarget::HVXMemLatencyMutation::apply(ScheduleDAGInstrs *DAG) { in apply()
181 bool HexagonSubtarget::CallMutation::shouldTFRICallBind( in shouldTFRICallBind()
193 void HexagonSubtarget::CallMutation::apply(ScheduleDAGInstrs *DAGInstrs) { in apply()
202 auto &HII = *DAG->MF.getSubtarget<HexagonSubtarget>().getInstrInfo(); in apply()
264 void HexagonSubtarget::BankConflictMutation::apply(ScheduleDAGInstrs *DAG) { in apply()
312 bool HexagonSubtarget::useAA() const { in useAA()
[all …]
DHexagonRegisterInfo.cpp121 switch (MF->getSubtarget<HexagonSubtarget>().getHexagonArchVersion()) { in getCalleeSavedRegs()
182 if (MF.getSubtarget<HexagonSubtarget>().hasReservedR19()) in getReservedRegs()
202 auto &HST = MF.getSubtarget<HexagonSubtarget>(); in eliminateFrameIndex()
256 const HexagonSubtarget &HST = MF.getSubtarget<HexagonSubtarget>(); in shouldCoalesce()
343 return MF.getSubtarget<HexagonSubtarget>().getFrameLowering()->hasFP(MF); in useFPForScavengingIndex()
DHexagonTargetMachine.h28 mutable StringMap<std::unique_ptr<HexagonSubtarget>> SubtargetMap;
36 const HexagonSubtarget *getSubtargetImpl(const Function &F) const override;
DHexagonAsmPrinter.h32 const HexagonSubtarget *Subtarget = nullptr;
40 Subtarget = &Fn.getSubtarget<HexagonSubtarget>(); in runOnMachineFunction()
DHexagonTargetMachine.cpp111 DAG->addMutation(make_unique<HexagonSubtarget::UsrOverflowMutation>()); in createVLIWMachineSched()
112 DAG->addMutation(make_unique<HexagonSubtarget::HVXMemLatencyMutation>()); in createVLIWMachineSched()
113 DAG->addMutation(make_unique<HexagonSubtarget::CallMutation>()); in createVLIWMachineSched()
228 const HexagonSubtarget *
249 I = llvm::make_unique<HexagonSubtarget>(TargetTriple, CPU, FS, *this); in getSubtargetImpl()
DHexagonSubtarget.h43 class HexagonSubtarget : public HexagonGenSubtargetInfo {
94 HexagonSubtarget(const Triple &TT, StringRef CPU, StringRef FS,
116 HexagonSubtarget &initializeSubtargetDependencies(StringRef CPU,
DHexagonFrameLowering.cpp226 auto &HFI = *MF.getSubtarget<HexagonSubtarget>().getFrameLowering(); in runOnMachineFunction()
405 auto &HRI = *MF.getSubtarget<HexagonSubtarget>().getRegisterInfo(); in findShrunkPrologEpilog()
506 auto &HRI = *MF.getSubtarget<HexagonSubtarget>().getRegisterInfo(); in emitPrologue()
557 auto &HST = MF.getSubtarget<HexagonSubtarget>(); in insertPrologueInBlock()
618 auto &HST = MF.getSubtarget<HexagonSubtarget>(); in insertEpilogueInBlock()
706 auto &HST = MF.getSubtarget<HexagonSubtarget>(); in insertAllocframe()
854 auto &HST = MF.getSubtarget<HexagonSubtarget>(); in insertCFIInstructionsAt()
967 auto &HRI = *MF.getSubtarget<HexagonSubtarget>().getRegisterInfo(); in hasFP()
1083 auto &HRI = *MF.getSubtarget<HexagonSubtarget>().getRegisterInfo(); in getFrameIndexReference()
1189 auto &HST = MF.getSubtarget<HexagonSubtarget>(); in insertCSRSpillsInBlock()
[all …]
DHexagonTargetTransformInfo.h40 const HexagonSubtarget &ST;
43 const HexagonSubtarget *getST() const { return &ST; } in getST()
DHexagonISelDAGToDAG.h32 const HexagonSubtarget *HST;
43 HST = &MF.getSubtarget<HexagonSubtarget>(); in runOnMachineFunction()
DHexagonVExtract.cpp54 const HexagonSubtarget *HST = nullptr;
102 HST = &MF.getSubtarget<HexagonSubtarget>(); in runOnMachineFunction()
DHexagonVectorPrint.cpp54 const HexagonSubtarget *QST = nullptr;
133 QST = &Fn.getSubtarget<HexagonSubtarget>(); in runOnMachineFunction()
DHexagonCallingConv.td76 : CCIf<"State.getMachineFunction().getSubtarget<HexagonSubtarget>()"
80 : CCIf<"State.getMachineFunction().getSubtarget<HexagonSubtarget>()"
DHexagonInstrInfo.h32 class HexagonSubtarget; variable
40 const HexagonSubtarget &Subtarget;
49 explicit HexagonInstrInfo(HexagonSubtarget &ST);
DHexagonHazardRecognizer.h47 const HexagonSubtarget &ST) in HexagonHazardRecognizer()
DHexagonBlockRanges.h22 class HexagonSubtarget; variable
169 const HexagonSubtarget &HST;
DHexagonVLIWPacketizer.cpp134 HII = MF.getSubtarget<HexagonSubtarget>().getInstrInfo(); in INITIALIZE_PASS_DEPENDENCY()
135 HRI = MF.getSubtarget<HexagonSubtarget>().getRegisterInfo(); in INITIALIZE_PASS_DEPENDENCY()
137 addMutation(llvm::make_unique<HexagonSubtarget::UsrOverflowMutation>()); in INITIALIZE_PASS_DEPENDENCY()
138 addMutation(llvm::make_unique<HexagonSubtarget::HVXMemLatencyMutation>()); in INITIALIZE_PASS_DEPENDENCY()
139 addMutation(llvm::make_unique<HexagonSubtarget::BankConflictMutation>()); in INITIALIZE_PASS_DEPENDENCY()
202 auto &HST = MF.getSubtarget<HexagonSubtarget>(); in runOnMachineFunction()
1101 if (MF->getSubtarget<HexagonSubtarget>().hasV60OpsOnly() && in cannotCoexistAsymm()
1523 if (Slot1Store && MF.getSubtarget<HexagonSubtarget>().hasV65Ops() && in isLegalToPacketizeTogether()
/external/llvm/lib/Target/Hexagon/
DHexagonSubtarget.cpp60 void HexagonSubtarget::initializeEnvironment() { in initializeEnvironment()
66 HexagonSubtarget &
67 HexagonSubtarget::initializeSubtargetDependencies(StringRef CPU, StringRef FS) { in initializeSubtargetDependencies()
95 HexagonSubtarget::HexagonSubtarget(const Triple &TT, StringRef CPU, in HexagonSubtarget() function in HexagonSubtarget
123 void HexagonSubtarget::anchor() {} in anchor()
125 bool HexagonSubtarget::enableMachineScheduler() const { in enableMachineScheduler()
131 bool HexagonSubtarget::enableSubRegLiveness() const { in enableSubRegLiveness()
DHexagonRegisterInfo.cpp123 switch (MF->getSubtarget<HexagonSubtarget>().getHexagonArchVersion()) { in getCalleeSavedRegs()
124 case HexagonSubtarget::V4: in getCalleeSavedRegs()
125 case HexagonSubtarget::V5: in getCalleeSavedRegs()
126 case HexagonSubtarget::V55: in getCalleeSavedRegs()
127 case HexagonSubtarget::V60: in getCalleeSavedRegs()
168 auto &HST = MF.getSubtarget<HexagonSubtarget>(); in eliminateFrameIndex()
239 return MF.getSubtarget<HexagonSubtarget>().getFrameLowering()->hasFP(MF); in useFPForScavengingIndex()
DHexagonSubtarget.h34 class HexagonSubtarget : public HexagonGenSubtargetInfo {
60 HexagonSubtarget(const Triple &TT, StringRef CPU, StringRef FS,
82 HexagonSubtarget &initializeSubtargetDependencies(StringRef CPU,
DHexagonTargetMachine.h28 mutable StringMap<std::unique_ptr<HexagonSubtarget>> SubtargetMap;
36 const HexagonSubtarget *getSubtargetImpl(const Function &F) const override;
DHexagonAsmPrinter.h25 const HexagonSubtarget *Subtarget;
32 Subtarget = &Fn.getSubtarget<HexagonSubtarget>(); in runOnMachineFunction()
DHexagonTargetTransformInfo.h32 const HexagonSubtarget *ST;
35 const HexagonSubtarget *getST() const { return ST; } in getST()
DHexagonFrameLowering.cpp183 auto &HFI = *MF.getSubtarget<HexagonSubtarget>().getFrameLowering(); in runOnMachineFunction()
345 auto &HST = static_cast<const HexagonSubtarget&>(MF.getSubtarget()); in findShrunkPrologEpilog()
443 auto &HST = static_cast<const HexagonSubtarget&>(MF.getSubtarget()); in emitPrologue()
498 auto &HST = MF.getSubtarget<HexagonSubtarget>(); in insertPrologueInBlock()
584 auto &HST = static_cast<const HexagonSubtarget&>(MF.getSubtarget()); in insertEpilogueInBlock()
734 auto &HST = MF.getSubtarget<HexagonSubtarget>(); in insertCFIInstructionsAt()
845 auto &HRI = *MF.getSubtarget<HexagonSubtarget>().getRegisterInfo(); in hasFP()
962 auto &HRI = *MF.getSubtarget<HexagonSubtarget>().getRegisterInfo(); in getFrameIndexReference()
1052 auto &HII = *MF.getSubtarget<HexagonSubtarget>().getInstrInfo(); in insertCSRSpillsInBlock()
1107 auto &HII = *MF.getSubtarget<HexagonSubtarget>().getInstrInfo(); in insertCSRRestoresInBlock()
[all …]
DHexagonISelLowering.h90 class HexagonSubtarget; variable
99 const HexagonSubtarget &Subtarget;
103 const HexagonSubtarget &ST);
DHexagonBlockRanges.h21 class HexagonSubtarget; variable
159 const HexagonSubtarget &HST;

123