Lines Matching refs:BPF
108 if (MRI->getRegClass(Reg) == &BPF::GPRRegClass) in isCopyFrom32Def()
135 if (PhiDef->getOpcode() == BPF::COPY && !isCopyFrom32Def(PhiDef)) in isPhiFrom32Def()
153 } else if (DefInsn->getOpcode() == BPF::COPY) { in isInsnFrom32Def()
194 if (MI.getOpcode() == BPF::SRL_ri && in eliminateZExtSeq()
205 SllMI->getOpcode() != BPF::SLL_ri || in eliminateZExtSeq()
215 MovMI->getOpcode() != BPF::MOV_32_64) in eliminateZExtSeq()
228 BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(BPF::SUBREG_TO_REG), DstReg) in eliminateZExtSeq()
229 .addImm(0).addReg(SubReg).addImm(BPF::sub_32); in eliminateZExtSeq()
257 if (MI.getOpcode() != BPF::MOV_32_64) in eliminateZExt()
279 BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(BPF::SUBREG_TO_REG), dst) in eliminateZExt()
280 .addImm(0).addReg(src).addImm(BPF::sub_32); in eliminateZExt()
373 if (Opcode == BPF::MOV_rr) { in eliminateRedundantMov()
466 BuildMI(MBB, UncondJmp->getDebugLoc(), TII->get(BPF::JMPL)).addMBB(JmpBB); in adjustBranch()
525 BuildMI(New_B0, CondJmp->getDebugLoc(), TII->get(BPF::JMP)).addMBB(FollowBB); in adjustBranch()
526 BuildMI(New_B1, CondJmp->getDebugLoc(), TII->get(BPF::JMPL)) in adjustBranch()
582 BuildMI(New_B, CondJmp->getDebugLoc(), TII->get(BPF::JMPL)).addMBB(CondTargetBB); in adjustBranch()
590 BuildMI(MBB, UncondJmp->getDebugLoc(), TII->get(BPF::JMPL)).addMBB(JmpBB); in adjustBranch()