Home
last modified time | relevance | path

Searched refs:InsPt (Results 1 – 19 of 19) sorted by relevance

/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelArguments.cpp63 BasicBlock::iterator InsPt = BB.getFirstInsertionPt(); in getInsertPt() local
64 for (BasicBlock::iterator E = BB.end(); InsPt != E; ++InsPt) { in getInsertPt()
65 AllocaInst *AI = dyn_cast<AllocaInst>(&*InsPt); in getInsertPt()
73 return InsPt; in getInsertPt()
DSILowerControlFlow.cpp494 MachineBasicBlock::iterator InsPt = MBB.begin(); in emitEndCf() local
501 for (MachineBasicBlock::iterator I = InsPt, E = MI.getIterator(); in emitEndCf()
514 InsPt = MI; in emitEndCf()
518 BuildMI(MBB, InsPt, DL, TII->get(Opcode), Exec) in emitEndCf()
529 CleanUpMI = BuildMI(MBB, InsPt, DL, TII->get(AMDGPU::SI_KILL_CLEANUP)); in emitEndCf()
DSIOptimizeExecMasking.cpp438 auto InsPt = SaveExecInst->getIterator(); in runOnMachineFunction() local
441 BuildMI(MBB, InsPt, DL, TII->get(getSaveExecOp(SaveExecInst->getOpcode())), in runOnMachineFunction()
DSIInsertSkips.cpp400 MachineBasicBlock::iterator InsPt = std::next(MI.getIterator()); in skipMaskBranch() local
402 BuildMI(SrcMBB, InsPt, DL, TII->get(AMDGPU::S_CBRANCH_EXECZ)) in skipMaskBranch()
DSIInstrInfo.h1011 MachineBasicBlock::iterator InsPt,
1016 MachineBasicBlock::iterator InsPt,
DSIInstrInfo.cpp7376 MachineBasicBlock &MBB, MachineBasicBlock::iterator InsPt, in createPHISourceCopy() argument
7378 if (InsPt != MBB.end() && in createPHISourceCopy()
7379 (InsPt->getOpcode() == AMDGPU::SI_IF || in createPHISourceCopy()
7380 InsPt->getOpcode() == AMDGPU::SI_ELSE || in createPHISourceCopy()
7381 InsPt->getOpcode() == AMDGPU::SI_IF_BREAK) && in createPHISourceCopy()
7382 InsPt->definesRegister(Src)) { in createPHISourceCopy()
7383 InsPt++; in createPHISourceCopy()
7384 return BuildMI(MBB, InsPt, DL, in createPHISourceCopy()
7391 return TargetInstrInfo::createPHISourceCopy(MBB, InsPt, DL, Src, SrcSubReg, in createPHISourceCopy()
DSIISelLowering.cpp3586 auto InsPt = emitLoadM0FromVGPRLoop(TII, MRI, MBB, *LoopBB, DL, *Idx, in loadM0FromVGPR() local
3601 return InsPt; in loadM0FromVGPR()
3721 auto InsPt = loadM0FromVGPR(TII, MBB, MI, InitReg, PhiReg, Offset, in emitIndirectSrc() local
3724 MachineBasicBlock *LoopBB = InsPt->getParent(); in emitIndirectSrc()
3730 BuildMI(*LoopBB, InsPt, DL, GPRIDXDesc, Dst) in emitIndirectSrc()
3735 BuildMI(*LoopBB, InsPt, DL, TII->get(AMDGPU::V_MOVRELS_B32_e32), Dst) in emitIndirectSrc()
3823 auto InsPt = loadM0FromVGPR(TII, MBB, MI, SrcVec->getReg(), PhiReg, Offset, in emitIndirectDst() local
3825 MachineBasicBlock *LoopBB = InsPt->getParent(); in emitIndirectDst()
3831 BuildMI(*LoopBB, InsPt, DL, GPRIDXDesc, Dst) in emitIndirectDst()
3839 BuildMI(*LoopBB, InsPt, DL, MovRelDesc, Dst) in emitIndirectDst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ExpandPseudo.cpp81 auto InsPt = MachineFunction::iterator(MBB); in INITIALIZE_PASS() local
82 ++InsPt; in INITIALIZE_PASS()
116 MF->insert(InsPt, ElseMBB); in INITIALIZE_PASS()
161 MF->insert(InsPt, ThenMBB); in INITIALIZE_PASS()
169 MF->insert(InsPt, P.first); in INITIALIZE_PASS()
/external/llvm-project/llvm/lib/Target/X86/
DX86ExpandPseudo.cpp81 auto InsPt = MachineFunction::iterator(MBB); in INITIALIZE_PASS() local
82 ++InsPt; in INITIALIZE_PASS()
116 MF->insert(InsPt, ElseMBB); in INITIALIZE_PASS()
161 MF->insert(InsPt, ThenMBB); in INITIALIZE_PASS()
169 MF->insert(InsPt, P.first); in INITIALIZE_PASS()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIOptimizeExecMasking.cpp406 auto InsPt = SaveExecInst->getIterator(); in runOnMachineFunction() local
409 BuildMI(MBB, InsPt, DL, TII->get(getSaveExecOp(SaveExecInst->getOpcode())), in runOnMachineFunction()
DSIInsertSkips.cpp329 MachineBasicBlock::iterator InsPt = std::next(MI.getIterator()); in skipMaskBranch() local
331 BuildMI(SrcMBB, InsPt, DL, TII->get(AMDGPU::S_CBRANCH_EXECZ)) in skipMaskBranch()
DSILowerControlFlow.cpp426 MachineBasicBlock::iterator InsPt = in emitEndCf() local
429 MachineInstr *NewMI = BuildMI(MBB, InsPt, DL, TII->get(OrOpc), Exec) in emitEndCf()
DSIInstrInfo.h979 MachineBasicBlock::iterator InsPt,
984 MachineBasicBlock::iterator InsPt,
DSIInstrInfo.cpp6577 MachineBasicBlock &MBB, MachineBasicBlock::iterator InsPt, in createPHISourceCopy() argument
6579 if (InsPt != MBB.end() && in createPHISourceCopy()
6580 (InsPt->getOpcode() == AMDGPU::SI_IF || in createPHISourceCopy()
6581 InsPt->getOpcode() == AMDGPU::SI_ELSE || in createPHISourceCopy()
6582 InsPt->getOpcode() == AMDGPU::SI_IF_BREAK) && in createPHISourceCopy()
6583 InsPt->definesRegister(Src)) { in createPHISourceCopy()
6584 InsPt++; in createPHISourceCopy()
6585 return BuildMI(MBB, InsPt, DL, in createPHISourceCopy()
6592 return TargetInstrInfo::createPHISourceCopy(MBB, InsPt, DL, Src, SrcSubReg, in createPHISourceCopy()
DSIISelLowering.cpp3310 auto InsPt = emitLoadM0FromVGPRLoop(TII, MRI, MBB, *LoopBB, DL, *Idx, in loadM0FromVGPR() local
3318 return InsPt; in loadM0FromVGPR()
3447 auto InsPt = loadM0FromVGPR(TII, MBB, MI, InitReg, PhiReg, in emitIndirectSrc() local
3449 MachineBasicBlock *LoopBB = InsPt->getParent(); in emitIndirectSrc()
3452 BuildMI(*LoopBB, InsPt, DL, TII->get(AMDGPU::V_MOV_B32_e32), Dst) in emitIndirectSrc()
3456 BuildMI(*LoopBB, InsPt, DL, TII->get(AMDGPU::S_SET_GPR_IDX_OFF)); in emitIndirectSrc()
3458 BuildMI(*LoopBB, InsPt, DL, TII->get(AMDGPU::V_MOVRELS_B32_e32), Dst) in emitIndirectSrc()
3559 auto InsPt = loadM0FromVGPR(TII, MBB, MI, SrcVec->getReg(), PhiReg, in emitIndirectDst() local
3561 MachineBasicBlock *LoopBB = InsPt->getParent(); in emitIndirectDst()
3564 BuildMI(*LoopBB, InsPt, DL, TII->get(AMDGPU::V_MOV_B32_indirect)) in emitIndirectDst()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h1732 MachineBasicBlock &MBB, MachineBasicBlock::iterator InsPt, in createPHIDestinationCopy() argument
1734 return BuildMI(MBB, InsPt, DL, get(TargetOpcode::COPY), Dst) in createPHIDestinationCopy()
1742 MachineBasicBlock::iterator InsPt, in createPHISourceCopy() argument
1746 return BuildMI(MBB, InsPt, DL, get(TargetOpcode::COPY), Dst) in createPHISourceCopy()
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp655 MachineBasicBlock::iterator InsPt, unsigned Size, in inlineStackProbe()
657 emitIncrement(InsMBB, InsPt, DL, SystemZ::R15D, -int64_t(Size), ZII); in inlineStackProbe()
660 buildCFAOffs(InsMBB, InsPt, DL, SPOffsetFromCFA, ZII); in inlineStackProbe()
665 BuildMI(InsMBB, InsPt, DL, ZII->get(SystemZ::CG)) in inlineStackProbe()
/external/llvm-project/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h1820 MachineBasicBlock &MBB, MachineBasicBlock::iterator InsPt, in createPHIDestinationCopy() argument
1822 return BuildMI(MBB, InsPt, DL, get(TargetOpcode::COPY), Dst) in createPHIDestinationCopy()
1830 MachineBasicBlock::iterator InsPt, in createPHISourceCopy() argument
1834 return BuildMI(MBB, InsPt, DL, get(TargetOpcode::COPY), Dst) in createPHISourceCopy()
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DMachineIRBuilder.h244 MachineIRBuilder(MachineBasicBlock &MBB, MachineBasicBlock::iterator InsPt) { in MachineIRBuilder() argument
246 setInsertPt(MBB, InsPt); in MachineIRBuilder()