/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | MachineIRBuilder.h | 85 void addDefToMIB(MachineRegisterInfo &MRI, MachineInstrBuilder &MIB) const { in addDefToMIB() 133 MachineInstrBuilder SrcMIB; 143 SrcOp(const MachineInstrBuilder &MIB) : SrcMIB(MIB), Ty(SrcType::Ty_MIB) {} in SrcOp() 153 void addSrcToMIB(MachineInstrBuilder &MIB) const { in addSrcToMIB() 406 MachineInstrBuilder buildInstr(unsigned Opcode) { in buildInstr() 415 MachineInstrBuilder buildInstrNoInsert(unsigned Opcode); 418 MachineInstrBuilder insertInstr(MachineInstrBuilder MIB); 422 MachineInstrBuilder buildDirectDbgValue(Register Reg, const MDNode *Variable, 428 MachineInstrBuilder buildIndirectDbgValue(Register Reg, 435 MachineInstrBuilder buildFIDbgValue(int FI, const MDNode *Variable, [all …]
|
H A D | CSEMIRBuilder.h | 50 MachineInstrBuilder getDominatingInstrForID(FoldingSetNodeID &ID, 78 MachineInstrBuilder memoizeMI(MachineInstrBuilder MIB, void *NodeInsertPos); 82 MachineInstrBuilder generateCopiesIfRequired(ArrayRef<DstOp> DstOps, 83 MachineInstrBuilder &MIB); 94 MachineInstrBuilder 100 MachineInstrBuilder buildConstant(const DstOp &Res, 105 MachineInstrBuilder buildFConstant(const DstOp &Res,
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachineInstrBuilder.h | 71 class MachineInstrBuilder { 76 MachineInstrBuilder() = default; 80 MachineInstrBuilder(MachineFunction &F, MachineInstr *I) : MF(&F), MI(I) {} in MachineInstrBuilder() function 81 MachineInstrBuilder(MachineFunction &F, MachineBasicBlock::iterator I) in MachineInstrBuilder() function 99 const MachineInstrBuilder &addReg(Register RegNo, unsigned flags = 0, 118 const MachineInstrBuilder &addDef(Register RegNo, unsigned Flags = 0, 125 const MachineInstrBuilder &addUse(Register RegNo, unsigned Flags = 0, 133 const MachineInstrBuilder &addImm(int64_t Val) const { in addImm() 138 const MachineInstrBuilder &addCImm(const ConstantInt *Val) const { in addCImm() 143 const MachineInstrBuilder &addFPImm(const ConstantFP *Val) const { in addFPImm() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | MachineIRBuilder.cpp | 40 MachineInstrBuilder MachineIRBuilder::buildInstrNoInsert(unsigned Opcode) { in buildInstrNoInsert() 45 MachineInstrBuilder MachineIRBuilder::insertInstr(MachineInstrBuilder MIB) { in insertInstr() 51 MachineInstrBuilder 64 MachineInstrBuilder 77 MachineInstrBuilder MachineIRBuilder::buildFIDbgValue(int FI, in buildFIDbgValue() 92 MachineInstrBuilder MachineIRBuilder::buildConstDbgValue(const Constant &C, in buildConstDbgValue() 127 MachineInstrBuilder MachineIRBuilder::buildDbgLabel(const MDNode *Label) { in buildDbgLabel() 136 MachineInstrBuilder MachineIRBuilder::buildDynStackAlloc(const DstOp &Res, in buildDynStackAlloc() 147 MachineInstrBuilder MachineIRBuilder::buildFrameIndex(const DstOp &Res, in buildFrameIndex() 156 MachineInstrBuilder MachineIRBuilder::buildGlobalValue(const DstOp &Res, in buildGlobalValue() [all …]
|
H A D | CSEMIRBuilder.cpp | 37 MachineInstrBuilder 61 return MachineInstrBuilder(getMF(), MI); in getDominatingInstrForID() 63 return MachineInstrBuilder(); in getDominatingInstrForID() 128 MachineInstrBuilder CSEMIRBuilder::memoizeMI(MachineInstrBuilder MIB, in memoizeMI() 147 MachineInstrBuilder 149 MachineInstrBuilder &MIB) { in generateCopiesIfRequired() 175 MachineInstrBuilder CSEMIRBuilder::buildInstr(unsigned Opc, in buildInstr() 317 MachineInstrBuilder MIB = getDominatingInstrForID(ID, InsertPos); in buildInstr() 323 MachineInstrBuilder NewMIB = in buildInstr() 328 MachineInstrBuilder CSEMIRBuilder::buildConstant(const DstOp &Res, in buildConstant() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstrBuilder.h | 123 static inline const MachineInstrBuilder & 124 addDirectMem(const MachineInstrBuilder &MIB, unsigned Reg) { in addDirectMem() 142 static inline const MachineInstrBuilder & 143 addOffset(const MachineInstrBuilder &MIB, int Offset) { in addOffset() 147 static inline const MachineInstrBuilder & 148 addOffset(const MachineInstrBuilder &MIB, const MachineOperand& Offset) { in addOffset() 156 static inline const MachineInstrBuilder & 157 addRegOffset(const MachineInstrBuilder &MIB, in addRegOffset() 164 static inline const MachineInstrBuilder &addRegReg(const MachineInstrBuilder &MIB, in addRegReg() 171 static inline const MachineInstrBuilder & [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
H A D | M68kInstrBuilder.h | 40 static inline const MachineInstrBuilder & 41 addOffset(const MachineInstrBuilder &MIB, int Offset) { in addOffset() 48 static inline const MachineInstrBuilder & 49 addRegIndirectWithDisp(const MachineInstrBuilder &MIB, Register Reg, in addRegIndirectWithDisp() 58 static inline const MachineInstrBuilder & 59 addFrameReference(const MachineInstrBuilder &MIB, int FI, int Offset = 0) { 75 static inline const MachineInstrBuilder & 76 addMemOperand(const MachineInstrBuilder &MIB, int FI, int Offset = 0) {
|
H A D | M68kInstrInfo.h | 306 bool ExpandMOVI(MachineInstrBuilder &MIB, MVT MVTSize) const; 309 bool ExpandMOVX_RR(MachineInstrBuilder &MIB, MVT MVTDst, MVT MVTSrc) const; 312 bool ExpandMOVSZX_RR(MachineInstrBuilder &MIB, bool IsSigned, MVT MVTDst, 316 bool ExpandMOVSZX_RM(MachineInstrBuilder &MIB, bool IsSigned, 320 bool ExpandPUSH_POP(MachineInstrBuilder &MIB, const MCInstrDesc &Desc, 324 bool ExpandCCR(MachineInstrBuilder &MIB, bool IsToCCR) const; 327 bool ExpandMOVEM(MachineInstrBuilder &MIB, const MCInstrDesc &Desc,
|
H A D | M68kInstrInfo.cpp | 351 bool M68kInstrInfo::ExpandMOVI(MachineInstrBuilder &MIB, MVT MVTSize) const { in ExpandMOVI() 383 bool M68kInstrInfo::ExpandMOVX_RR(MachineInstrBuilder &MIB, MVT MVTDst, in ExpandMOVX_RR() 422 bool M68kInstrInfo::ExpandMOVSZX_RR(MachineInstrBuilder &MIB, bool IsSigned, in ExpandMOVSZX_RR() 472 bool M68kInstrInfo::ExpandMOVSZX_RM(MachineInstrBuilder &MIB, bool IsSigned, in ExpandMOVSZX_RM() 509 bool M68kInstrInfo::ExpandPUSH_POP(MachineInstrBuilder &MIB, in ExpandPUSH_POP() 525 bool M68kInstrInfo::ExpandCCR(MachineInstrBuilder &MIB, bool IsToCCR) const { in ExpandCCR() 542 bool M68kInstrInfo::ExpandMOVEM(MachineInstrBuilder &MIB, in ExpandMOVEM() 596 static bool Expand2AddrUndef(MachineInstrBuilder &MIB, in Expand2AddrUndef() 612 MachineInstrBuilder MIB(*MI.getParent()->getParent(), MI); in expandPostRAPseudo() 689 MachineInstrBuilder MIB(*MBB.getParent(), MI); in copyPhysReg()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUInstructionSelector.h | 324 void renderTruncImm32(MachineInstrBuilder &MIB, const MachineInstr &MI, 327 void renderTruncTImm(MachineInstrBuilder &MIB, const MachineInstr &MI, 330 void renderOpSelTImm(MachineInstrBuilder &MIB, const MachineInstr &MI, 333 void renderNegateImm(MachineInstrBuilder &MIB, const MachineInstr &MI, 336 void renderBitcastImm(MachineInstrBuilder &MIB, const MachineInstr &MI, 339 void renderPopcntImm(MachineInstrBuilder &MIB, const MachineInstr &MI, 341 void renderExtractCPol(MachineInstrBuilder &MIB, const MachineInstr &MI, 343 void renderExtractSWZ(MachineInstrBuilder &MIB, const MachineInstr &MI, 345 void renderExtractCpolSetGLC(MachineInstrBuilder &MIB, const MachineInstr &MI, 348 void renderFrameIndex(MachineInstrBuilder &MIB, const MachineInstr &MI, [all …]
|
H A D | AMDGPUInstructionSelector.cpp | 557 MachineInstrBuilder MIB = in selectG_MERGE_VALUES() 1372 MachineInstrBuilder SelectedMI; in selectIntrinsicCmp() 1604 MachineInstrBuilder DS = in selectDSOrderedIntrinsic() 3652 [=](MachineInstrBuilder &MIB) { MIB.add(Root); } in selectVCSRC() 3716 [=](MachineInstrBuilder &MIB) { MIB.add(Root); } in selectVSRC0() 3727 [=](MachineInstrBuilder &MIB) { in selectVOP3Mods0() 3730 [=](MachineInstrBuilder &MIB) { MIB.addImm(Mods); }, // src0_mods in selectVOP3Mods0() 3731 [=](MachineInstrBuilder &MIB) { MIB.addImm(0); }, // clamp in selectVOP3Mods0() 3732 [=](MachineInstrBuilder &MIB) { MIB.addImm(0); } // omod in selectVOP3Mods0() 3745 [=](MachineInstrBuilder &MIB) { in selectVOP3BMods0() [all …]
|
H A D | R600InstrInfo.h | 35 class MachineInstrBuilder; variable 47 MachineInstrBuilder buildIndirectRead(MachineBasicBlock *MBB, 53 MachineInstrBuilder buildIndirectWrite(MachineBasicBlock *MBB, 243 MachineInstrBuilder buildIndirectWrite(MachineBasicBlock *MBB, 251 MachineInstrBuilder buildIndirectRead(MachineBasicBlock *MBB, 265 MachineInstrBuilder buildDefaultInstruction(MachineBasicBlock &MBB,
|
H A D | AMDGPUCallLowering.h | 23 class MachineInstrBuilder; variable 38 ArrayRef<Register> VRegs, MachineInstrBuilder &Ret) const; 76 MachineIRBuilder &MIRBuilder, MachineInstrBuilder &CallInst,
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | InstrEmitter.h | 24 class MachineInstrBuilder; variable 51 MachineInstrBuilder &MIB, 64 void AddRegisterOperand(MachineInstrBuilder &MIB, 75 void AddOperand(MachineInstrBuilder &MIB, 110 void AddDbgValueLocationOps(MachineInstrBuilder &MIB,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | MVETailPredUtils.h | 108 MachineInstrBuilder MIB = 115 MachineInstrBuilder MIB = 126 MachineInstrBuilder MIB = 149 MachineInstrBuilder MIB = 173 MachineInstrBuilder MIB = 182 MachineInstrBuilder MIB =
|
H A D | ARMInstructionSelector.cpp | 47 bool selectCmp(CmpConstants Helper, MachineInstrBuilder &MIB, 60 bool selectGlobal(MachineInstrBuilder &MIB, MachineRegisterInfo &MRI) const; 61 bool selectSelect(MachineInstrBuilder &MIB, MachineRegisterInfo &MRI) const; 62 bool selectShift(unsigned ShiftOpc, MachineInstrBuilder &MIB) const; 141 void renderVFPF32Imm(MachineInstrBuilder &New, const MachineInstr &Old, 143 void renderVFPF64Imm(MachineInstrBuilder &New, const MachineInstr &Old, 145 void renderInvertedImm(MachineInstrBuilder &MIB, const MachineInstr &MI, 233 static bool selectMergeValues(MachineInstrBuilder &MIB, in selectMergeValues() 264 static bool selectUnmergeValues(MachineInstrBuilder &MIB, in selectUnmergeValues() 485 InsertInfo(MachineInstrBuilder &MIB) in InsertInfo() [all …]
|
H A D | ARMCallLowering.h | 26 class MachineInstrBuilder; variable 50 MachineInstrBuilder &Ret) const;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
H A D | RISCVInstructionSelector.cpp | 104 void renderNegImm(MachineInstrBuilder &MIB, const MachineInstr &MI, 106 void renderImmSubFromXLen(MachineInstrBuilder &MIB, const MachineInstr &MI, 108 void renderImmSubFrom32(MachineInstrBuilder &MIB, const MachineInstr &MI, 110 void renderImmPlus1(MachineInstrBuilder &MIB, const MachineInstr &MI, 112 void renderImm(MachineInstrBuilder &MIB, const MachineInstr &MI, 115 void renderTrailingZeros(MachineInstrBuilder &MIB, const MachineInstr &MI, 220 return {{[=](MachineInstrBuilder &MIB) { in selectShiftMask() 230 return {{[=](MachineInstrBuilder &MIB) { in selectShiftMask() 239 return {{[=](MachineInstrBuilder &MIB) { MIB.addReg(ShAmtReg); }}}; in selectShiftMask() 279 return {{[=](MachineInstrBuilder &MIB) { in selectSHXADDOp() [all …]
|
H A D | RISCVCallLowering.h | 22 class MachineInstrBuilder; variable 44 ArrayRef<Register> VRegs, MachineInstrBuilder &Ret) const;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/GISel/ |
H A D | M68kCallLowering.h | 25 class MachineInstrBuilder; variable
|
H A D | M68kCallLowering.cpp | 37 MachineInstrBuilder &MIB) in CallReturnHandler() 44 MachineInstrBuilder &MIB; 54 MachineInstrBuilder MIB) in M68kOutgoingArgHandler() 89 MachineInstrBuilder MIB; 178 MachineInstrBuilder AddrReg = MIRBuilder.buildFrameIndex(FramePtr, FI); in getStackAddress()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCInstrBuilder.h | 31 static inline const MachineInstrBuilder& 32 addFrameReference(const MachineInstrBuilder &MIB, int FI, int Offset = 0,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | VEInstrBuilder.h | 31 static inline const MachineInstrBuilder & 32 addFrameReference(const MachineInstrBuilder &MIB, int FI, int Offset = 0,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | Mips16InstrInfo.cpp | 90 MachineInstrBuilder MIB = BuildMI(MBB, I, DL, get(Opc)); in copyPhysReg() 184 static void addSaveRestoreRegs(MachineInstrBuilder &MIB, in addSaveRestoreRegs() 218 MachineInstrBuilder MIB; in makeFrame() 248 MachineInstrBuilder MIB; in restoreFrame() 287 MachineInstrBuilder MIB1 = BuildMI(MBB, I, DL, get(Mips::LwConstant32), Reg1); in adjustStackPtrBig() 289 MachineInstrBuilder MIB2 = BuildMI(MBB, I, DL, get(Mips::MoveR3216), Reg2); in adjustStackPtrBig() 291 MachineInstrBuilder MIB3 = BuildMI(MBB, I, DL, get(Mips::AdduRxRyRz16), Reg1); in adjustStackPtrBig() 294 MachineInstrBuilder MIB4 = BuildMI(MBB, I, DL, get(Mips::Move32R16), in adjustStackPtrBig()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZInstrBuilder.h | 24 static inline const MachineInstrBuilder & 25 addFrameReference(const MachineInstrBuilder &MIB, int FI) { in addFrameReference()
|