Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/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);
DLegalizerHelper.h52 MachineIRBuilder &B);
54 GISelChangeObserver &Observer, MachineIRBuilder &B);
93 MachineIRBuilder &MIRBuilder;
254 createLibcall(MachineIRBuilder &MIRBuilder, RTLIB::Libcall Libcall,
259 LegalizerHelper::LegalizeResult createMemLibcall(MachineIRBuilder &MIRBuilder,
DCombinerInfo.h22 class MachineIRBuilder; variable
68 MachineIRBuilder &B) const = 0;
DCombinerHelper.h26 class MachineIRBuilder; variable
53 MachineIRBuilder &Builder;
60 CombinerHelper(GISelChangeObserver &Observer, MachineIRBuilder &B,
/third_party/skia/third_party/externals/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,
DAMDGPUCallLowering.cpp34 OutgoingValueHandler(MachineIRBuilder &B, MachineRegisterInfo &MRI, in OutgoingValueHandler()
78 IncomingArgHandler(MachineIRBuilder &B, MachineRegisterInfo &MRI, in IncomingArgHandler()
138 FormalArgHandler(MachineIRBuilder &B, MachineRegisterInfo &MRI, in FormalArgHandler()
218 static void unpackRegsToOrigType(MachineIRBuilder &B, in unpackRegsToOrigType()
261 bool AMDGPUCallLowering::lowerReturnVal(MachineIRBuilder &B, in lowerReturnVal()
291 bool AMDGPUCallLowering::lowerReturn(MachineIRBuilder &B, in lowerReturn()
340 Register AMDGPUCallLowering::lowerParameterPtr(MachineIRBuilder &B, in lowerParameterPtr()
364 void AMDGPUCallLowering::lowerParameter(MachineIRBuilder &B, in lowerParameter()
386 MachineIRBuilder &B, in allocateHSAUserSGPRs()
437 MachineIRBuilder &B, const Function &F, in lowerFormalArgumentsKernel()
[all …]
DAMDGPULegalizerInfo.cpp1136 MachineIRBuilder &B, in legalizeCustom()
1183 MachineIRBuilder &B) const { in getSegmentAperture()
1252 MachineIRBuilder &B) const { in legalizeAddrSpaceCast()
1358 MachineIRBuilder &B) const { in legalizeFrint()
1385 MachineIRBuilder &B) const { in legalizeFceil()
1413 MachineIRBuilder &B) { in extractF64Exponent()
1430 MachineIRBuilder &B) const { in legalizeIntrinsicTrunc()
1476 MachineIRBuilder &B, bool Signed) const { in legalizeITOFP()
1508 MachineIRBuilder &B) const { in legalizeMinNumMaxNum()
1523 MachineIRBuilder HelperBuilder(MI); in legalizeMinNumMaxNum()
[all …]
/third_party/skia/third_party/externals/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 …]
DCSEMIRBuilder.cpp179 return MachineIRBuilder::buildInstr(Opc, DstOps, SrcOps, Flag); in buildInstr()
183 auto MIB = MachineIRBuilder::buildInstr(Opc, DstOps, SrcOps, Flag); in buildInstr()
200 MachineIRBuilder::buildInstr(Opc, DstOps, SrcOps, Flag); in buildInstr()
208 return MachineIRBuilder::buildConstant(Res, Val); in buildConstant()
227 MachineInstrBuilder NewMIB = MachineIRBuilder::buildConstant(Res, Val); in buildConstant()
235 return MachineIRBuilder::buildFConstant(Res, Val); in buildFConstant()
253 MachineInstrBuilder NewMIB = MachineIRBuilder::buildFConstant(Res, Val); in buildFConstant()
DIRTranslator.cpp289 MachineIRBuilder &MIRBuilder) { in translateBinaryOp()
307 bool IRTranslator::translateFSub(const User &U, MachineIRBuilder &MIRBuilder) { in translateFSub()
325 bool IRTranslator::translateFNeg(const User &U, MachineIRBuilder &MIRBuilder) { in translateFNeg()
338 MachineIRBuilder &MIRBuilder) { in translateCompare()
363 bool IRTranslator::translateRet(const User &U, MachineIRBuilder &MIRBuilder) { in translateRet()
385 bool IRTranslator::translateBr(const User &U, MachineIRBuilder &MIRBuilder) { in translateBr()
436 bool IRTranslator::translateSwitch(const User &U, MachineIRBuilder &MIB) { in translateSwitch()
512 MachineIRBuilder MIB(*MBB->getParent()); in emitJumpTable()
526 MachineIRBuilder MIB(*HeaderBB->getParent()); in emitJumpTableHeader()
569 MachineIRBuilder &MIB) { in emitSwitchCase()
[all …]
/third_party/skia/third_party/externals/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,
DAArch64InstructionSelector.cpp102 MachineIRBuilder &MIRBuilder) const;
113 MachineIRBuilder &MIRBuilder) const;
136 MachineIRBuilder &MIRBuilder) const;
141 MachineIRBuilder &MIRBuilder) const;
144 MachineIRBuilder &MIRBuilder) const;
146 MachineIRBuilder &MIRBuilder) const;
148 MachineIRBuilder &MIRBuilder) const;
150 MachineIRBuilder &MIRBuilder) const;
154 MachineIRBuilder &MIRBuilder) const;
164 MachineIRBuilder &MIRBuilder) const;
[all …]
/third_party/skia/third_party/externals/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,
/third_party/skia/third_party/externals/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,
DMipsLegalizerInfo.h29 MachineIRBuilder &MIRBuilder,
33 MachineIRBuilder &MIRBuilder) const override;
DMipsPreLegalizerCombiner.cpp34 MachineIRBuilder &B) const override;
39 MachineIRBuilder &B) const { in combine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVCallLowering.h30 bool lowerReturn(MachineIRBuilder &MIRBuiler, const Value *Val,
33 bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F,
36 bool lowerCall(MachineIRBuilder &MIRBuilder,
DRISCVCallLowering.cpp24 bool RISCVCallLowering::lowerReturn(MachineIRBuilder &MIRBuilder, in lowerReturn()
38 MachineIRBuilder &MIRBuilder, const Function &F, in lowerFormalArguments()
47 bool RISCVCallLowering::lowerCall(MachineIRBuilder &MIRBuilder, in lowerCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86CallLowering.h31 bool lowerReturn(MachineIRBuilder &MIRBuilder, const Value *Val,
34 bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F,
37 bool lowerCall(MachineIRBuilder &MIRBuilder,

123