Home
last modified time | relevance | path

Searched refs:MachineIRBuilder (Results 1 – 25 of 133) sorted by relevance

123456

/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.h39 MachineIRBuilder &B) const;
42 MachineIRBuilder &B) const;
44 MachineIRBuilder &B) const;
46 MachineIRBuilder &B) const;
48 MachineIRBuilder &B) const;
50 MachineIRBuilder &B) const;
52 MachineIRBuilder &B, bool Signed) const;
54 MachineIRBuilder &B, bool Signed) const;
57 MachineIRBuilder &B) const;
59 MachineIRBuilder &B) const;
[all …]
DAMDGPUCallLowering.h26 void lowerParameterPtr(Register DstReg, MachineIRBuilder &B, Type *ParamTy,
29 void lowerParameter(MachineIRBuilder &B, Type *ParamTy, uint64_t Offset,
35 void splitToValueTypes(MachineIRBuilder &B,
43 bool lowerReturnVal(MachineIRBuilder &B, const Value *Val,
49 bool lowerReturn(MachineIRBuilder &B, const Value *Val,
52 bool lowerFormalArgumentsKernel(MachineIRBuilder &B, const Function &F,
55 bool lowerFormalArguments(MachineIRBuilder &B, const Function &F,
58 bool passSpecialInputs(MachineIRBuilder &MIRBuilder,
63 bool lowerCall(MachineIRBuilder &MIRBuilder,
DAMDGPURegisterBankInfo.h29 class MachineIRBuilder; variable
48 bool buildVCopy(MachineIRBuilder &B, Register DstReg, Register SrcReg) const;
57 MachineIRBuilder &B,
62 bool executeInWaterfallLoop(MachineIRBuilder &B,
87 void lowerScalarMinMax(MachineIRBuilder &B, MachineInstr &MI) const;
89 Register handleD16VData(MachineIRBuilder &B, MachineRegisterInfo &MRI,
93 splitBufferOffsets(MachineIRBuilder &B, Register Offset) const;
95 MachineInstr *selectStoreIntrinsic(MachineIRBuilder &B,
127 void split64BitValueForMapping(MachineIRBuilder &B,
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DIRTranslator.h208 MachineIRBuilder &MIRBuilder);
212 bool translateBitCast(const User &U, MachineIRBuilder &MIRBuilder);
215 bool translateLoad(const User &U, MachineIRBuilder &MIRBuilder);
218 bool translateStore(const User &U, MachineIRBuilder &MIRBuilder);
221 bool translateMemFunc(const CallInst &CI, MachineIRBuilder &MIRBuilder,
224 void getStackGuard(Register DstReg, MachineIRBuilder &MIRBuilder);
227 MachineIRBuilder &MIRBuilder);
229 MachineIRBuilder &MIRBuilder);
240 MachineIRBuilder &MIRBuilder);
243 MachineIRBuilder &MIRBuilder);
[all …]
DCallLowering.h34 class MachineIRBuilder; variable
113 ValueHandler(bool IsIncoming, MachineIRBuilder &MIRBuilder, in ValueHandler()
178 MachineIRBuilder &MIRBuilder;
188 IncomingValueHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI, in IncomingValueHandler()
194 OutgoingValueHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI, in OutgoingValueHandler()
234 MachineIRBuilder &MIRBuilder) const;
242 MachineIRBuilder &MIRBuilder) const;
248 bool handleAssignments(MachineIRBuilder &MIRBuilder,
253 MachineIRBuilder &MIRBuilder,
303 virtual bool lowerReturn(MachineIRBuilder &MIRBuilder, const Value *Val, in lowerReturn()
[all …]
DCSEMIRBuilder.h32 class CSEMIRBuilder : public MachineIRBuilder {
92 using MachineIRBuilder::MachineIRBuilder;
98 using MachineIRBuilder::buildConstant;
104 using MachineIRBuilder::buildFConstant;
DConstantFoldingMIRBuilder.h19 class ConstantFoldingMIRBuilder : public MachineIRBuilder {
22 using MachineIRBuilder::MachineIRBuilder;
69 return MachineIRBuilder::buildInstr(Opc, DstOps, SrcOps);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DIRTranslator.h207 bool translateBitCast(const User &U, MachineIRBuilder &MIRBuilder);
210 bool translateLoad(const User &U, MachineIRBuilder &MIRBuilder);
213 bool translateStore(const User &U, MachineIRBuilder &MIRBuilder);
216 bool translateMemFunc(const CallInst &CI, MachineIRBuilder &MIRBuilder,
219 void getStackGuard(Register DstReg, MachineIRBuilder &MIRBuilder);
222 MachineIRBuilder &MIRBuilder);
233 MachineIRBuilder &MIRBuilder);
236 MachineIRBuilder &MIRBuilder);
238 bool translateInlineAsm(const CallInst &CI, MachineIRBuilder &MIRBuilder);
248 MachineIRBuilder &MIRBuilder);
[all …]
DCallLowering.h33 class MachineIRBuilder; variable
113 ValueHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI, in ValueHandler()
163 MachineIRBuilder &MIRBuilder;
195 MachineIRBuilder &MIRBuilder) const;
203 MachineIRBuilder &MIRBuilder) const;
209 bool handleAssignments(MachineIRBuilder &MIRBuilder,
214 MachineIRBuilder &MIRBuilder,
264 virtual bool lowerReturn(MachineIRBuilder &MIRBuilder, const Value *Val, in lowerReturn()
276 virtual bool lowerReturn(MachineIRBuilder &MIRBuilder, const Value *Val, in lowerReturn()
291 virtual bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, in lowerFormalArguments()
[all …]
DCSEMIRBuilder.h32 class CSEMIRBuilder : public MachineIRBuilder {
92 using MachineIRBuilder::MachineIRBuilder;
98 using MachineIRBuilder::buildConstant;
104 using MachineIRBuilder::buildFConstant;
DConstantFoldingMIRBuilder.h19 class ConstantFoldingMIRBuilder : public MachineIRBuilder {
22 using MachineIRBuilder::MachineIRBuilder;
69 return MachineIRBuilder::buildInstr(Opc, DstOps, SrcOps);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.h36 MachineIRBuilder &B,
41 MachineIRBuilder &B) const;
44 MachineIRBuilder &B) const;
46 MachineIRBuilder &B) const;
48 MachineIRBuilder &B) const;
50 MachineIRBuilder &B) const;
52 MachineIRBuilder &B, bool Signed) const;
54 MachineIRBuilder &B) const;
56 MachineIRBuilder &B) const;
58 MachineIRBuilder &B) const;
[all …]
DAMDGPURegisterBankInfo.h29 class MachineIRBuilder; variable
48 bool buildVCopy(MachineIRBuilder &B, Register DstReg, Register SrcReg) const;
57 MachineIRBuilder &B,
62 bool executeInWaterfallLoop(MachineIRBuilder &B,
80 void lowerScalarMinMax(MachineIRBuilder &B, MachineInstr &MI) const;
82 Register handleD16VData(MachineIRBuilder &B, MachineRegisterInfo &MRI,
86 splitBufferOffsets(MachineIRBuilder &B, Register Offset) const;
88 MachineInstr *selectStoreIntrinsic(MachineIRBuilder &B,
118 void split64BitValueForMapping(MachineIRBuilder &B,
DAMDGPUCallLowering.h26 Register lowerParameterPtr(MachineIRBuilder &B, Type *ParamTy,
29 void lowerParameter(MachineIRBuilder &B, Type *ParamTy, uint64_t Offset,
41 bool lowerReturnVal(MachineIRBuilder &B, const Value *Val,
47 bool lowerReturn(MachineIRBuilder &B, const Value *Val,
50 bool lowerFormalArgumentsKernel(MachineIRBuilder &B, const Function &F,
53 bool lowerFormalArguments(MachineIRBuilder &B, const Function &F,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp26 void MachineIRBuilder::setMF(MachineFunction &MF) { in setMF()
36 void MachineIRBuilder::setMBB(MachineBasicBlock &MBB) { in setMBB()
43 void MachineIRBuilder::setInstr(MachineInstr &MI) { in setInstr()
49 void MachineIRBuilder::setCSEInfo(GISelCSEInfo *Info) { State.CSEInfo = Info; } in setCSEInfo()
51 void MachineIRBuilder::setInsertPt(MachineBasicBlock &MBB, in setInsertPt()
59 void MachineIRBuilder::recordInsertion(MachineInstr *InsertedInstr) const { in recordInsertion()
64 void MachineIRBuilder::setChangeObserver(GISelChangeObserver &Observer) { in setChangeObserver()
68 void MachineIRBuilder::stopObservingChanges() { State.Observer = nullptr; } in stopObservingChanges()
74 MachineInstrBuilder MachineIRBuilder::buildInstr(unsigned Opcode) { in buildInstr()
78 MachineInstrBuilder MachineIRBuilder::buildInstrNoInsert(unsigned Opcode) { in buildInstrNoInsert()
[all …]
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp26 void MachineIRBuilder::setMF(MachineFunction &MF) { in setMF()
40 MachineInstrBuilder MachineIRBuilder::buildInstrNoInsert(unsigned Opcode) { in buildInstrNoInsert()
45 MachineInstrBuilder MachineIRBuilder::insertInstr(MachineInstrBuilder MIB) { in insertInstr()
52 MachineIRBuilder::buildDirectDbgValue(Register Reg, const MDNode *Variable, in buildDirectDbgValue()
65 MachineIRBuilder::buildIndirectDbgValue(Register Reg, const MDNode *Variable, in buildIndirectDbgValue()
77 MachineInstrBuilder MachineIRBuilder::buildFIDbgValue(int FI, in buildFIDbgValue()
92 MachineInstrBuilder MachineIRBuilder::buildConstDbgValue(const Constant &C, in buildConstDbgValue()
117 MachineInstrBuilder MachineIRBuilder::buildDbgLabel(const MDNode *Label) { in buildDbgLabel()
126 MachineInstrBuilder MachineIRBuilder::buildDynStackAlloc(const DstOp &Res, in buildDynStackAlloc()
137 MachineInstrBuilder MachineIRBuilder::buildFrameIndex(const DstOp &Res, in buildFrameIndex()
[all …]
/external/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp23 void MachineIRBuilder::setMF(MachineFunction &MF) { in setMF()
31 void MachineIRBuilder::setMBB(MachineBasicBlock &MBB, bool Beginning) { in setMBB()
38 void MachineIRBuilder::setInstr(MachineInstr &MI, bool Before) { in setInstr()
45 MachineBasicBlock::iterator MachineIRBuilder::getInsertPt() { in getInsertPt()
59 MachineInstr *MachineIRBuilder::buildInstr(unsigned Opcode, Type *Ty) { in buildInstr()
72 MachineInstr *MachineIRBuilder::buildInstr(unsigned Opcode, unsigned Res, in buildInstr()
77 MachineInstr *MachineIRBuilder::buildInstr(unsigned Opcode, Type *Ty, in buildInstr()
88 MachineInstr *MachineIRBuilder::buildInstr(unsigned Opcode, unsigned Res, in buildInstr()
95 MachineInstr *MachineIRBuilder::buildInstr(unsigned Opcode) { in buildInstr()
99 MachineInstr *MachineIRBuilder::buildInstr(unsigned Opcode, Type *Ty, in buildInstr()
/external/llvm-project/llvm/lib/Target/AArch64/GISel/
DAArch64CallLowering.h28 class MachineIRBuilder; variable
36 bool lowerReturn(MachineIRBuilder &MIRBuilder, const Value *Val,
42 bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F,
45 bool lowerCall(MachineIRBuilder &MIRBuilder,
50 isEligibleForTailCallOptimization(MachineIRBuilder &MIRBuilder,
58 using RegHandler = std::function<void(MachineIRBuilder &, Type *, unsigned,
62 std::function<void(MachineIRBuilder &, int, CCValAssign &)>;
69 bool lowerTailCall(MachineIRBuilder &MIRBuilder, CallLoweringInfo &Info,
DAArch64LegalizerInfo.h38 MachineIRBuilder &MIRBuilder) const;
40 MachineIRBuilder &MIRBuilder,
43 MachineIRBuilder &MIRBuilder,
47 MachineIRBuilder &MIRBuilder,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64CallLowering.h28 class MachineIRBuilder; variable
36 bool lowerReturn(MachineIRBuilder &MIRBuilder, const Value *Val,
40 bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F,
43 bool lowerCall(MachineIRBuilder &MIRBuilder,
48 isEligibleForTailCallOptimization(MachineIRBuilder &MIRBuilder,
56 using RegHandler = std::function<void(MachineIRBuilder &, Type *, unsigned,
60 std::function<void(MachineIRBuilder &, int, CCValAssign &)>;
67 bool lowerTailCall(MachineIRBuilder &MIRBuilder, CallLoweringInfo &Info,
DAArch64LegalizerInfo.h31 MachineIRBuilder &MIRBuilder,
35 MachineIRBuilder &MIRBuilder) const override;
39 MachineIRBuilder &MIRBuilder) const;
41 MachineIRBuilder &MIRBuilder,
44 MachineIRBuilder &MIRBuilder,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMCallLowering.h28 class MachineIRBuilder; variable
35 bool lowerReturn(MachineIRBuilder &MIRBuilder, const Value *Val,
38 bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F,
41 bool lowerCall(MachineIRBuilder &MIRBuilder,
45 bool lowerReturnVal(MachineIRBuilder &MIRBuilder, const Value *Val,
/external/llvm-project/llvm/lib/Target/ARM/
DARMCallLowering.h28 class MachineIRBuilder; variable
35 bool lowerReturn(MachineIRBuilder &MIRBuilder, const Value *Val,
38 bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F,
41 bool lowerCall(MachineIRBuilder &MIRBuilder,
45 bool lowerReturnVal(MachineIRBuilder &MIRBuilder, const Value *Val,
/external/llvm-project/llvm/lib/Target/Mips/
DMipsCallLowering.h29 MipsHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI) in MipsHandler()
43 MachineIRBuilder &MIRBuilder;
66 bool lowerReturn(MachineIRBuilder &MIRBuilder, const Value *Val,
69 bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F,
72 bool lowerCall(MachineIRBuilder &MIRBuilder,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsCallLowering.h28 MipsHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI) in MipsHandler()
42 MachineIRBuilder &MIRBuilder;
65 bool lowerReturn(MachineIRBuilder &MIRBuilder, const Value *Val,
68 bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F,
71 bool lowerCall(MachineIRBuilder &MIRBuilder,

123456