Lines Matching defs:SIFoldOperands
1 //===-- SIFoldOperands.cpp - Fold operands --- ----------------------------===//
69 class SIFoldOperands : public MachineFunctionPass {
124 SIFoldOperands() : MachineFunctionPass(ID) {
140 INITIALIZE_PASS(SIFoldOperands, DEBUG_TYPE,
143 char SIFoldOperands::ID = 0;
145 char &llvm::SIFoldOperandsID = SIFoldOperands::ID;
180 bool SIFoldOperands::frameIndexMayFold(const MachineInstr &UseMI, int OpNo,
200 return new SIFoldOperands();
203 bool SIFoldOperands::canUseImmWithOpSel(FoldCandidate &Fold) const {
233 bool SIFoldOperands::tryFoldImmWithOpSel(FoldCandidate &Fold) const {
357 bool SIFoldOperands::updateOperand(FoldCandidate &Fold) const {
467 bool SIFoldOperands::tryAddToFoldList(SmallVectorImpl<FoldCandidate> &FoldList,
648 bool SIFoldOperands::isUseSafeToFold(const MachineInstr &MI,
657 bool SIFoldOperands::getRegSeqInit(
689 bool SIFoldOperands::tryToFoldACImm(
755 void SIFoldOperands::foldOperand(
1190 SIFoldOperands::getImmOrMaterializedImm(MachineOperand &Op) const {
1209 bool SIFoldOperands::tryConstantFoldOp(MachineInstr *MI) const {
1310 bool SIFoldOperands::tryFoldCndMask(MachineInstr &MI) const {
1349 bool SIFoldOperands::tryFoldZeroHighBits(MachineInstr &MI) const {
1371 bool SIFoldOperands::foldInstOperand(MachineInstr &MI,
1445 bool SIFoldOperands::tryFoldFoldableCopy(
1514 const MachineOperand *SIFoldOperands::isClamp(const MachineInstr &MI) const {
1562 bool SIFoldOperands::tryFoldClamp(MachineInstr &MI) {
1657 SIFoldOperands::isOMod(const MachineInstr &MI) const {
1735 bool SIFoldOperands::tryFoldOMod(MachineInstr &MI) {
1774 bool SIFoldOperands::tryFoldRegSequence(MachineInstr &MI) {
1921 bool SIFoldOperands::tryFoldPhiAGPR(MachineInstr &PHI) {
2025 bool SIFoldOperands::tryFoldLoad(MachineInstr &MI) {
2112 bool SIFoldOperands::tryOptimizeAGPRPhis(MachineBasicBlock &MBB) {
2177 bool SIFoldOperands::runOnMachineFunction(MachineFunction &MF) {