Home
last modified time | relevance | path

Searched refs:LoopStart (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/llvm/lib/Target/ARM/
DMVEVPTOptimisationsPass.cpp98 MachineInstr *&LoopStart, MachineInstr *&LoopPhi, in findLoopComponents() argument
152 LoopStart = LookThroughCOPY(MRI->getVRegDef(StartReg), MRI); in findLoopComponents()
153 if (!LoopStart || LoopStart->getOpcode() != ARM::t2DoLoopStart) { in findLoopComponents()
157 LLVM_DEBUG(dbgs() << " found loop start: " << *LoopStart); in findLoopComponents()
166 MachineInstr *LoopEnd, *LoopPhi, *LoopStart, *LoopDec; in RevertLoopWithCall() local
167 if (!findLoopComponents(ML, MRI, LoopStart, LoopPhi, LoopDec, LoopEnd)) in RevertLoopWithCall()
176 RevertDoLoopStart(LoopStart, TII); in RevertLoopWithCall()
198 MachineInstr *LoopEnd, *LoopPhi, *LoopStart, *LoopDec; in ConvertTailPredLoop() local
199 if (!findLoopComponents(ML, MRI, LoopStart, LoopPhi, LoopDec, LoopEnd)) in ConvertTailPredLoop()
254 MachineBasicBlock *MBB = LoopStart->getParent(); in ConvertTailPredLoop()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp843 BasicBlock *LoopStart = Node->getEntry(); in handleLoops() local
845 if (!Loops.count(LoopStart)) { in handleLoops()
851 LoopStart = needPrefix(true); in handleLoops()
861 Function *LoopFunc = LoopStart->getParent(); in handleLoops()
862 if (LoopStart == &LoopFunc->getEntryBlock()) { in handleLoops()
863 LoopStart->setName("entry.orig"); in handleLoops()
866 BasicBlock::Create(LoopStart->getContext(), in handleLoops()
869 LoopStart); in handleLoops()
870 BranchInst::Create(LoopStart, NewEntry); in handleLoops()
877 LoopConds.push_back(BranchInst::Create(Next, LoopStart, in handleLoops()
[all …]
DLoopStrengthReduce.cpp1275 const SCEV *LoopStart = AR->getStart(); in RateRegister() local
1276 if (!isa<SCEVConstant>(LoopStart) && in RateRegister()
1277 SE->isLoopInvariant(LoopStart, L)) in RateRegister()
3562 const SCEV *LoopStart = AR->getStart(); in mayUsePostIncMode() local
3563 if (!isa<SCEVConstant>(LoopStart) && SE.isLoopInvariant(LoopStart, L)) in mayUsePostIncMode()
/external/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp825 BasicBlock *LoopStart = Node->getEntry(); in handleLoops() local
827 if (!Loops.count(LoopStart)) { in handleLoops()
833 LoopStart = needPrefix(true); in handleLoops()
843 Function *LoopFunc = LoopStart->getParent(); in handleLoops()
844 if (LoopStart == &LoopFunc->getEntryBlock()) { in handleLoops()
845 LoopStart->setName("entry.orig"); in handleLoops()
848 BasicBlock::Create(LoopStart->getContext(), in handleLoops()
851 LoopStart); in handleLoops()
852 BranchInst::Create(LoopStart, NewEntry); in handleLoops()
858 LoopConds.push_back(BranchInst::Create(Next, LoopStart, in handleLoops()
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp855 BasicBlock *LoopStart = Node->getEntry(); in handleLoops() local
857 if (!Loops.count(LoopStart)) { in handleLoops()
863 LoopStart = needPrefix(true); in handleLoops()
873 Function *LoopFunc = LoopStart->getParent(); in handleLoops()
874 if (LoopStart == &LoopFunc->getEntryBlock()) { in handleLoops()
875 LoopStart->setName("entry.orig"); in handleLoops()
878 BasicBlock::Create(LoopStart->getContext(), in handleLoops()
881 LoopStart); in handleLoops()
882 BranchInst::Create(LoopStart, NewEntry); in handleLoops()
889 LoopConds.push_back(BranchInst::Create(Next, LoopStart, in handleLoops()
[all …]
DLoopStrengthReduce.cpp1268 const SCEV *LoopStart = AR->getStart(); in RateRegister() local
1269 if (!isa<SCEVConstant>(LoopStart) && in RateRegister()
1270 SE->isLoopInvariant(LoopStart, L)) in RateRegister()
3563 const SCEV *LoopStart = AR->getStart(); in mayUsePostIncMode() local
3564 if (!isa<SCEVConstant>(LoopStart) && SE.isLoopInvariant(LoopStart, L)) in mayUsePostIncMode()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp1222 MachineBasicBlock *LoopStart = nullptr; in convertToHardwareLoop() local
1231 LoopStart = TB; in convertToHardwareLoop()
1233 LoopStart = FB; in convertToHardwareLoop()
1238 LoopStart = TopBlock; in convertToHardwareLoop()
1252 BuildMI(*Preheader, InsertPos, DL, TII->get(LOOP_r)).addMBB(LoopStart) in convertToHardwareLoop()
1265 .addMBB(LoopStart).addReg(CountReg); in convertToHardwareLoop()
1268 .addMBB(LoopStart).addImm(CountImm); in convertToHardwareLoop()
1274 LoopStart->setHasAddressTaken(); in convertToHardwareLoop()
1277 BlockAddress::get(const_cast<BasicBlock *>(LoopStart->getBasicBlock())); in convertToHardwareLoop()
1281 BuildMI(*LastMBB, LastI, LastIDL, TII->get(ENDLOOP)).addMBB(LoopStart); in convertToHardwareLoop()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp1222 MachineBasicBlock *LoopStart = nullptr; in convertToHardwareLoop() local
1231 LoopStart = TB; in convertToHardwareLoop()
1233 LoopStart = FB; in convertToHardwareLoop()
1238 LoopStart = TopBlock; in convertToHardwareLoop()
1252 BuildMI(*Preheader, InsertPos, DL, TII->get(LOOP_r)).addMBB(LoopStart) in convertToHardwareLoop()
1265 .addMBB(LoopStart).addReg(CountReg); in convertToHardwareLoop()
1268 .addMBB(LoopStart).addImm(CountImm); in convertToHardwareLoop()
1274 LoopStart->setHasAddressTaken(); in convertToHardwareLoop()
1277 BlockAddress::get(const_cast<BasicBlock *>(LoopStart->getBasicBlock())); in convertToHardwareLoop()
1281 BuildMI(*LastMBB, LastI, LastIDL, TII->get(ENDLOOP)).addMBB(LoopStart); in convertToHardwareLoop()
/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp1184 MachineBasicBlock *LoopStart = 0; in convertToHardwareLoop() local
1193 LoopStart = TB; in convertToHardwareLoop()
1195 LoopStart = FB; in convertToHardwareLoop()
1200 LoopStart = TopBlock; in convertToHardwareLoop()
1214 BuildMI(*Preheader, InsertPos, DL, TII->get(LOOP_r)).addMBB(LoopStart) in convertToHardwareLoop()
1227 .addMBB(LoopStart).addReg(CountReg); in convertToHardwareLoop()
1230 .addMBB(LoopStart).addImm(CountImm); in convertToHardwareLoop()
1236 LoopStart->setHasAddressTaken(); in convertToHardwareLoop()
1239 BlockAddress::get(const_cast<BasicBlock *>(LoopStart->getBasicBlock())); in convertToHardwareLoop()
1243 BuildMI(*LastMBB, LastI, LastIDL, TII->get(ENDLOOP)).addMBB(LoopStart); in convertToHardwareLoop()
/external/llvm-project/clang/lib/Sema/
DSemaOpenMP.cpp177 bool LoopStart = false; member
417 getTopOfStack().LoopStart = true; in loopInit()
423 getTopOfStack().LoopStart = false; in loopStart()
429 return !getTopOfStack().LoopStart; in isLoopStarted()