Lines Matching refs:BPF
29 : BPFGenInstrInfo(BPF::ADJCALLSTACKDOWN, BPF::ADJCALLSTACKUP) {} in BPFInstrInfo()
35 if (BPF::GPRRegClass.contains(DestReg, SrcReg)) in copyPhysReg()
36 BuildMI(MBB, I, DL, get(BPF::MOV_rr), DestReg) in copyPhysReg()
38 else if (BPF::GPR32RegClass.contains(DestReg, SrcReg)) in copyPhysReg()
39 BuildMI(MBB, I, DL, get(BPF::MOV_rr_32), DestReg) in copyPhysReg()
57 LdOpc = BPF::LDB; in expandMEMCPY()
58 StOpc = BPF::STB; in expandMEMCPY()
61 LdOpc = BPF::LDH; in expandMEMCPY()
62 StOpc = BPF::STH; in expandMEMCPY()
65 LdOpc = BPF::LDW; in expandMEMCPY()
66 StOpc = BPF::STW; in expandMEMCPY()
69 LdOpc = BPF::LDD; in expandMEMCPY()
70 StOpc = BPF::STD; in expandMEMCPY()
92 BuildMI(*BB, MI, dl, get(BPF::LDW)) in expandMEMCPY()
94 BuildMI(*BB, MI, dl, get(BPF::STW)) in expandMEMCPY()
99 BuildMI(*BB, MI, dl, get(BPF::LDH)) in expandMEMCPY()
101 BuildMI(*BB, MI, dl, get(BPF::STH)) in expandMEMCPY()
106 BuildMI(*BB, MI, dl, get(BPF::LDB)) in expandMEMCPY()
108 BuildMI(*BB, MI, dl, get(BPF::STB)) in expandMEMCPY()
116 if (MI.getOpcode() == BPF::MEMCPY) { in expandPostRAPseudo()
133 if (RC == &BPF::GPRRegClass) in storeRegToStackSlot()
134 BuildMI(MBB, I, DL, get(BPF::STD)) in storeRegToStackSlot()
138 else if (RC == &BPF::GPR32RegClass) in storeRegToStackSlot()
139 BuildMI(MBB, I, DL, get(BPF::STW32)) in storeRegToStackSlot()
156 if (RC == &BPF::GPRRegClass) in loadRegFromStackSlot()
157 BuildMI(MBB, I, DL, get(BPF::LDD), DestReg).addFrameIndex(FI).addImm(0); in loadRegFromStackSlot()
158 else if (RC == &BPF::GPR32RegClass) in loadRegFromStackSlot()
159 BuildMI(MBB, I, DL, get(BPF::LDW32), DestReg).addFrameIndex(FI).addImm(0); in loadRegFromStackSlot()
188 if (I->getOpcode() == BPF::JMP) { in analyzeBranch()
233 BuildMI(&MBB, DL, get(BPF::JMP)).addMBB(TBB); in insertBranch()
251 if (I->getOpcode() != BPF::JMP) in removeBranch()