Home
last modified time | relevance | path

Searched refs:MachineInstrBuilder (Results 1 – 25 of 262) sorted by relevance

1234567891011

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
DMachineIRBuilder.h79 void addUseFromArg(MachineInstrBuilder &MIB, unsigned Reg) { in addUseFromArg()
83 void addUseFromArg(MachineInstrBuilder &MIB, const MachineInstrBuilder &UseMIB) { in addUseFromArg()
87 void addUsesFromArgs(MachineInstrBuilder &MIB) { } in addUsesFromArgs()
89 void addUsesFromArgs(MachineInstrBuilder &MIB, UseArgTy &&Arg1, UseArgsTy &&... Args) { in addUsesFromArgs()
94 unsigned getRegFromArg(const MachineInstrBuilder &MIB) { in getRegFromArg()
175 MachineInstrBuilder buildInstr(unsigned Opcode);
182 MachineInstrBuilder buildInstrNoInsert(unsigned Opcode);
185 MachineInstrBuilder insertInstr(MachineInstrBuilder MIB);
189 MachineInstrBuilder buildDirectDbgValue(unsigned Reg, const MDNode *Variable,
195 MachineInstrBuilder buildIndirectDbgValue(unsigned Reg,
[all …]
DConstantFoldingMIRBuilder.h82 MachineInstrBuilder buildBinaryOp(unsigned Opcode, unsigned Dst, in buildBinaryOp()
92 MachineInstrBuilder buildInstr(unsigned Opc, DstTy &&Ty, UseArg1Ty &&Arg1, in buildInstr()
101 MachineInstrBuilder buildInstr(unsigned Opc, unsigned Dst, unsigned Src0, in buildInstr()
127 MachineInstrBuilder buildInstr(unsigned Opc, DstTy &&Ty, in buildInstr()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DMachineInstrBuilder.h42 class MachineInstrBuilder {
45 MachineInstrBuilder() : MI(0) {} in MachineInstrBuilder() function
46 explicit MachineInstrBuilder(MachineInstr *mi) : MI(mi) {} in MachineInstrBuilder() function
57 MachineInstrBuilder &addReg(unsigned RegNo, unsigned flags = 0,
75 const MachineInstrBuilder &addImm(int64_t Val) const { in addImm()
80 const MachineInstrBuilder &addCImm(const ConstantInt *Val) const { in addCImm()
85 const MachineInstrBuilder &addFPImm(const ConstantFP *Val) const { in addFPImm()
90 const MachineInstrBuilder &addMBB(MachineBasicBlock *MBB,
96 const MachineInstrBuilder &addFrameIndex(int Idx) const { in addFrameIndex()
101 const MachineInstrBuilder &addConstantPoolIndex(unsigned Idx,
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMachineInstrBuilder.h61 class MachineInstrBuilder {
66 MachineInstrBuilder() = default;
70 MachineInstrBuilder(MachineFunction &F, MachineInstr *I) : MF(&F), MI(I) {} in MachineInstrBuilder() function
71 MachineInstrBuilder(MachineFunction &F, MachineBasicBlock::iterator I) in MachineInstrBuilder() function
84 const MachineInstrBuilder &addReg(unsigned RegNo, unsigned flags = 0,
103 const MachineInstrBuilder &addDef(unsigned RegNo, unsigned Flags = 0,
110 const MachineInstrBuilder &addUse(unsigned RegNo, unsigned Flags = 0,
118 const MachineInstrBuilder &addImm(int64_t Val) const { in addImm()
123 const MachineInstrBuilder &addCImm(const ConstantInt *Val) const { in addCImm()
128 const MachineInstrBuilder &addFPImm(const ConstantFP *Val) const { in addFPImm()
[all …]
/external/llvm/include/llvm/CodeGen/
DMachineInstrBuilder.h47 class MachineInstrBuilder {
51 MachineInstrBuilder() : MF(nullptr), MI(nullptr) {} in MachineInstrBuilder() function
55 MachineInstrBuilder(MachineFunction &F, MachineInstr *I) : MF(&F), MI(I) {} in MachineInstrBuilder() function
56 MachineInstrBuilder(MachineFunction &F, MachineBasicBlock::iterator I) in MachineInstrBuilder() function
69 const MachineInstrBuilder &addReg(unsigned RegNo, unsigned flags = 0,
87 const MachineInstrBuilder &addImm(int64_t Val) const { in addImm()
92 const MachineInstrBuilder &addCImm(const ConstantInt *Val) const { in addCImm()
97 const MachineInstrBuilder &addFPImm(const ConstantFP *Val) const { in addFPImm()
102 const MachineInstrBuilder &addMBB(MachineBasicBlock *MBB,
108 const MachineInstrBuilder &addFrameIndex(int Idx) const { in addFrameIndex()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp74 MachineInstrBuilder MachineIRBuilderBase::buildInstr(unsigned Opcode) { in buildInstr()
78 MachineInstrBuilder MachineIRBuilderBase::buildInstrNoInsert(unsigned Opcode) { in buildInstrNoInsert()
79 MachineInstrBuilder MIB = BuildMI(getMF(), getDL(), getTII().get(Opcode)); in buildInstrNoInsert()
83 MachineInstrBuilder MachineIRBuilderBase::insertInstr(MachineInstrBuilder MIB) { in insertInstr()
89 MachineInstrBuilder
102 MachineInstrBuilder MachineIRBuilderBase::buildIndirectDbgValue( in buildIndirectDbgValue()
114 MachineInstrBuilder
129 MachineInstrBuilder MachineIRBuilderBase::buildConstDbgValue( in buildConstDbgValue()
152 MachineInstrBuilder MachineIRBuilderBase::buildFrameIndex(unsigned Res, in buildFrameIndex()
160 MachineInstrBuilder
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/
DSystemZInstrBuilder.h58 static inline const MachineInstrBuilder &
59 addDirectMem(const MachineInstrBuilder &MIB, unsigned Reg) { in addDirectMem()
65 static inline const MachineInstrBuilder &
66 addOffset(const MachineInstrBuilder &MIB, int Offset) { in addOffset()
74 static inline const MachineInstrBuilder &
75 addRegOffset(const MachineInstrBuilder &MIB, in addRegOffset()
82 static inline const MachineInstrBuilder &
83 addRegReg(const MachineInstrBuilder &MIB, in addRegReg()
89 static inline const MachineInstrBuilder &
90 addFullAddress(const MachineInstrBuilder &MIB, const SystemZAddressMode &AM) { in addFullAddress()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86InstrBuilder.h90 static inline const MachineInstrBuilder &
91 addDirectMem(const MachineInstrBuilder &MIB, unsigned Reg) { in addDirectMem()
98 static inline const MachineInstrBuilder &
99 addOffset(const MachineInstrBuilder &MIB, int Offset) { in addOffset()
107 static inline const MachineInstrBuilder &
108 addRegOffset(const MachineInstrBuilder &MIB, in addRegOffset()
115 static inline const MachineInstrBuilder &addRegReg(const MachineInstrBuilder &MIB, in addRegReg()
122 static inline const MachineInstrBuilder &
123 addFullAddress(const MachineInstrBuilder &MIB, in addFullAddress()
148 static inline const MachineInstrBuilder &
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86InstrBuilder.h124 static inline const MachineInstrBuilder &
125 addDirectMem(const MachineInstrBuilder &MIB, unsigned Reg) { in addDirectMem()
143 static inline const MachineInstrBuilder &
144 addOffset(const MachineInstrBuilder &MIB, int Offset) { in addOffset()
148 static inline const MachineInstrBuilder &
149 addOffset(const MachineInstrBuilder &MIB, const MachineOperand& Offset) { in addOffset()
157 static inline const MachineInstrBuilder &
158 addRegOffset(const MachineInstrBuilder &MIB, in addRegOffset()
165 static inline const MachineInstrBuilder &addRegReg(const MachineInstrBuilder &MIB, in addRegReg()
172 static inline const MachineInstrBuilder &
[all …]
/external/llvm/lib/Target/X86/
DX86InstrBuilder.h118 static inline const MachineInstrBuilder &
119 addDirectMem(const MachineInstrBuilder &MIB, unsigned Reg) { in addDirectMem()
126 static inline const MachineInstrBuilder &
127 addOffset(const MachineInstrBuilder &MIB, int Offset) { in addOffset()
135 static inline const MachineInstrBuilder &
136 addRegOffset(const MachineInstrBuilder &MIB, in addRegOffset()
143 static inline const MachineInstrBuilder &addRegReg(const MachineInstrBuilder &MIB, in addRegReg()
150 static inline const MachineInstrBuilder &
151 addFullAddress(const MachineInstrBuilder &MIB, in addFullAddress()
176 static inline const MachineInstrBuilder &
[all …]
/external/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h201 const MachineInstrBuilder &AddDReg(MachineInstrBuilder &MIB, unsigned Reg,
399 const MachineInstrBuilder &AddDefaultPred(const MachineInstrBuilder &MIB) { in AddDefaultPred()
404 const MachineInstrBuilder &AddDefaultCC(const MachineInstrBuilder &MIB) { in AddDefaultCC()
409 const MachineInstrBuilder &AddDefaultT1CC(const MachineInstrBuilder &MIB,
415 const MachineInstrBuilder &AddNoT1CC(const MachineInstrBuilder &MIB) { in AddNoT1CC()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMBaseInstrInfo.h294 const MachineInstrBuilder &AddDefaultPred(const MachineInstrBuilder &MIB) { in AddDefaultPred()
299 const MachineInstrBuilder &AddDefaultCC(const MachineInstrBuilder &MIB) { in AddDefaultCC()
304 const MachineInstrBuilder &AddDefaultT1CC(const MachineInstrBuilder &MIB,
310 const MachineInstrBuilder &AddNoT1CC(const MachineInstrBuilder &MIB) { in AddNoT1CC()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ExpandPseudoInsts.cpp93 static void transferImpOps(MachineInstr &OldMI, MachineInstrBuilder &UseMI, in transferImpOps()
94 MachineInstrBuilder &DefMI) { in transferImpOps()
157 MachineInstrBuilder MIB = in tryToreplicateChunks()
177 MachineInstrBuilder MIB1 = in tryToreplicateChunks()
202 MachineInstrBuilder MIB2 = in tryToreplicateChunks()
339 MachineInstrBuilder MIB = in trySequenceOfOnes()
350 MachineInstrBuilder MIB1 = in trySequenceOfOnes()
367 MachineInstrBuilder MIB2 = in trySequenceOfOnes()
417 MachineInstrBuilder MIB = in expandMOVImm()
456 MachineInstrBuilder MIB = in expandMOVImm()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DInstrEmitter.h25 class MachineInstrBuilder; variable
52 MachineInstrBuilder &MIB,
65 void AddRegisterOperand(MachineInstrBuilder &MIB,
76 void AddOperand(MachineInstrBuilder &MIB,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DInstrEmitter.h25 class MachineInstrBuilder; variable
52 MachineInstrBuilder &MIB,
65 void AddRegisterOperand(MachineInstrBuilder &MIB,
76 void AddOperand(MachineInstrBuilder &MIB,
/external/llvm/lib/Target/AArch64/
DAArch64ExpandPseudoInsts.cpp71 static void transferImpOps(MachineInstr &OldMI, MachineInstrBuilder &UseMI, in transferImpOps()
72 MachineInstrBuilder &DefMI) { in transferImpOps()
119 MachineInstrBuilder MIB = in tryOrrMovk()
129 MachineInstrBuilder MIB1 = in tryOrrMovk()
186 MachineInstrBuilder MIB = in tryToreplicateChunks()
206 MachineInstrBuilder MIB1 = in tryToreplicateChunks()
231 MachineInstrBuilder MIB2 = in tryToreplicateChunks()
369 MachineInstrBuilder MIB = in trySequenceOfOnes()
380 MachineInstrBuilder MIB1 = in trySequenceOfOnes()
397 MachineInstrBuilder MIB2 = in trySequenceOfOnes()
[all …]
/external/llvm/lib/Target/AMDGPU/
DR600InstrInfo.h26 class MachineInstrBuilder; variable
38 MachineInstrBuilder buildIndirectRead(MachineBasicBlock *MBB,
44 MachineInstrBuilder buildIndirectWrite(MachineBasicBlock *MBB,
243 MachineInstrBuilder buildIndirectWrite(MachineBasicBlock *MBB,
251 MachineInstrBuilder buildIndirectRead(MachineBasicBlock *MBB,
265 MachineInstrBuilder buildDefaultInstruction(MachineBasicBlock &MBB,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DR600InstrInfo.h37 class MachineInstrBuilder; variable
49 MachineInstrBuilder buildIndirectRead(MachineBasicBlock *MBB,
55 MachineInstrBuilder buildIndirectWrite(MachineBasicBlock *MBB,
245 MachineInstrBuilder buildIndirectWrite(MachineBasicBlock *MBB,
253 MachineInstrBuilder buildIndirectRead(MachineBasicBlock *MBB,
267 MachineInstrBuilder buildDefaultInstruction(MachineBasicBlock &MBB,
DAMDGPUInstructionSelector.cpp658 [=](MachineInstrBuilder &MIB) { MIB.add(Root); } in selectVCSRC()
669 [=](MachineInstrBuilder &MIB) { MIB.add(Root); } in selectVSRC0()
676 [=](MachineInstrBuilder &MIB) { MIB.add(Root); }, in selectVOP3Mods0()
677 [=](MachineInstrBuilder &MIB) { MIB.addImm(0); }, // src0_mods in selectVOP3Mods0()
678 [=](MachineInstrBuilder &MIB) { MIB.addImm(0); }, // clamp in selectVOP3Mods0()
679 [=](MachineInstrBuilder &MIB) { MIB.addImm(0); } // omod in selectVOP3Mods0()
685 [=](MachineInstrBuilder &MIB) { MIB.add(Root); }, in selectVOP3OMods()
686 [=](MachineInstrBuilder &MIB) { MIB.addImm(0); }, // clamp in selectVOP3OMods()
687 [=](MachineInstrBuilder &MIB) { MIB.addImm(0); } // omod in selectVOP3OMods()
694 [=](MachineInstrBuilder &MIB) { MIB.add(Root); }, in selectVOP3Mods()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMInstructionSelector.cpp47 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;
166 static bool selectMergeValues(MachineInstrBuilder &MIB, in selectMergeValues()
197 static bool selectUnmergeValues(MachineInstrBuilder &MIB, in selectUnmergeValues()
373 InsertInfo(MachineInstrBuilder &MIB) in InsertInfo()
417 MachineInstrBuilder &MIB, in selectCmp()
498 bool ARMInstructionSelector::selectGlobal(MachineInstrBuilder &MIB, in selectGlobal()
520 Size](MachineInstrBuilder &MIB, in selectGlobal()
[all …]
/external/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp81 MachineInstrBuilder(getMF(), NewMI) in buildInstr()
91 MachineInstrBuilder(getMF(), NewMI).addReg(Res, RegState::Define).addReg(Op0); in buildInstr()
102 MachineInstrBuilder(getMF(), NewMI).addMBB(&BB); in buildInstr()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCInstrBuilder.h32 static inline const MachineInstrBuilder&
33 addFrameReference(const MachineInstrBuilder &MIB, int FI, int Offset = 0,
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/
DSPUInstrBuilder.h32 inline const MachineInstrBuilder&
33 addFrameReference(const MachineInstrBuilder &MIB, int FI, int Offset = 0,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCInstrBuilder.h32 static inline const MachineInstrBuilder&
33 addFrameReference(const MachineInstrBuilder &MIB, int FI, int Offset = 0,
/external/llvm/lib/Target/PowerPC/
DPPCInstrBuilder.h32 static inline const MachineInstrBuilder&
33 addFrameReference(const MachineInstrBuilder &MIB, int FI, int Offset = 0,

1234567891011