Home
last modified time | relevance | path

Searched refs:PreHeader (Results 1 – 22 of 22) sorted by relevance

/external/swiftshader/third_party/subzero/src/
DIceLoopAnalyzer.h22 Loop(CfgNode *Header, CfgNode *PreHeader, CfgUnorderedSet<SizeT> Body) in Loop()
23 : Header(Header), PreHeader(PreHeader), Body(Body) {} in Loop()
25 CfgNode *PreHeader; member
DIceLoopAnalyzer.cpp291 CfgNode *PreHeader = nullptr; in ComputeLoopInfo() local
294 if (PreHeader == nullptr) { in ComputeLoopInfo()
295 PreHeader = Prev; in ComputeLoopInfo()
297 PreHeader = nullptr; in ComputeLoopInfo()
303 Loops.emplace_back(Header, PreHeader, LoopBody); in ComputeLoopInfo()
DIceCfg.cpp582 CfgNode *PreHeader = Loop.PreHeader; in loopInvariantCodeMotion() local
583 if (PreHeader == nullptr || PreHeader->getInsts().size() == 0) { in loopInvariantCodeMotion()
587 auto &Insts = PreHeader->getInsts(); in loopInvariantCodeMotion()
592 PreHeader->appendInst(Inst); in loopInvariantCodeMotion()
594 PreHeader->appendInst(&LastInst); in loopInvariantCodeMotion()
/external/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp63 BasicBlock *PrologExit, BasicBlock *PreHeader, in ConnectProlog() argument
89 PreHeader); in ConnectProlog()
91 NewPN->addIncoming(UndefValue::get(PN->getType()), PreHeader); in ConnectProlog()
152 BasicBlock *Exit, BasicBlock *PreHeader, in ConnectEpilog() argument
196 PN->addIncoming(UndefValue::get(PN->getType()), PreHeader); in ConnectEpilog()
236 NewPN->addIncoming(PN->getIncomingValueForBlock(NewPreHeader), PreHeader); in ConnectEpilog()
469 BasicBlock *PreHeader = L->getLoopPreheader(); in UnrollRuntimeLoopRemainder() local
470 BranchInst *PreHeaderBR = cast<BranchInst>(PreHeader->getTerminator()); in UnrollRuntimeLoopRemainder()
506 NewPreHeader = SplitBlock(PreHeader, PreHeader->getTerminator(), DT, LI); in UnrollRuntimeLoopRemainder()
507 NewPreHeader->setName(PreHeader->getName() + ".new"); in UnrollRuntimeLoopRemainder()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp70 BasicBlock *PreHeader, BasicBlock *NewPreHeader, in ConnectProlog() argument
109 PreHeader); in ConnectProlog()
112 NewPN->addIncoming(UndefValue::get(PN.getType()), PreHeader); in ConnectProlog()
184 BasicBlock *Exit, BasicBlock *PreHeader, in ConnectEpilog() argument
224 PN.addIncoming(UndefValue::get(PN.getType()), PreHeader); in ConnectEpilog()
260 NewPN->addIncoming(PN.getIncomingValueForBlock(NewPreHeader), PreHeader); in ConnectEpilog()
635 BasicBlock *PreHeader = L->getLoopPreheader(); in UnrollRuntimeLoopRemainder() local
636 BranchInst *PreHeaderBR = cast<BranchInst>(PreHeader->getTerminator()); in UnrollRuntimeLoopRemainder()
671 NewPreHeader = SplitBlock(PreHeader, PreHeader->getTerminator(), DT, LI); in UnrollRuntimeLoopRemainder()
672 NewPreHeader->setName(PreHeader->getName() + ".new"); in UnrollRuntimeLoopRemainder()
[all …]
DLoopUnrollPeel.cpp498 BasicBlock *PreHeader = L->getLoopPreheader(); in cloneLoopBlocks() local
560 VMap[&*I] = NewPHI->getIncomingValueForBlock(PreHeader); in cloneLoopBlocks()
610 BasicBlock *PreHeader = L->getLoopPreheader(); in peelLoop() local
693 BasicBlock *InsertTop = SplitEdge(PreHeader, Header, DT, LI); in peelLoop()
701 NewPreHeader->setName(PreHeader->getName() + ".peel.newph"); in peelLoop()
DLoopUnroll.cpp187 BasicBlock *PreHeader = L->getLoopPreheader(); in isEpilogProfitable() local
189 assert(PreHeader && Header); in isEpilogProfitable()
191 if (isa<ConstantInt>(PN.getIncomingValueForBlock(PreHeader))) in isEpilogProfitable()
/external/llvm-project/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp71 BasicBlock *PreHeader, BasicBlock *NewPreHeader, in ConnectProlog() argument
110 PreHeader); in ConnectProlog()
113 NewPN->addIncoming(UndefValue::get(PN.getType()), PreHeader); in ConnectProlog()
185 BasicBlock *Exit, BasicBlock *PreHeader, in ConnectEpilog() argument
225 PN.addIncoming(UndefValue::get(PN.getType()), PreHeader); in ConnectEpilog()
261 NewPN->addIncoming(PN.getIncomingValueForBlock(NewPreHeader), PreHeader); in ConnectEpilog()
660 BasicBlock *PreHeader = L->getLoopPreheader(); in UnrollRuntimeLoopRemainder() local
661 BranchInst *PreHeaderBR = cast<BranchInst>(PreHeader->getTerminator()); in UnrollRuntimeLoopRemainder()
697 NewPreHeader = SplitBlock(PreHeader, PreHeader->getTerminator(), DT, LI); in UnrollRuntimeLoopRemainder()
698 NewPreHeader->setName(PreHeader->getName() + ".new"); in UnrollRuntimeLoopRemainder()
[all …]
DLoopPeel.cpp510 BasicBlock *PreHeader = L->getLoopPreheader(); in cloneLoopBlocks() local
581 VMap[&*I] = NewPHI->getIncomingValueForBlock(PreHeader); in cloneLoopBlocks()
665 BasicBlock *PreHeader = L->getLoopPreheader(); in peelLoop() local
748 BasicBlock *InsertTop = SplitEdge(PreHeader, Header, DT, LI); in peelLoop()
756 NewPreHeader->setName(PreHeader->getName() + ".peel.newph"); in peelLoop()
DLoopUnroll.cpp192 BasicBlock *PreHeader = L->getLoopPreheader(); in isEpilogProfitable() local
194 assert(PreHeader && Header); in isEpilogProfitable()
196 if (isa<ConstantInt>(PN.getIncomingValueForBlock(PreHeader))) in isEpilogProfitable()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopInfo.cpp952 auto *PreHeader = L.getLoopPreheader(); in printLoop() local
953 if (PreHeader) { in printLoop()
955 PreHeader->print(OS); in printLoop()
/external/llvm-project/llvm/lib/Analysis/
DLoopInfo.cpp974 auto *PreHeader = L.getLoopPreheader(); in printLoop() local
975 if (PreHeader) { in printLoop()
977 PreHeader->print(OS); in printLoop()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCInstrInfo.h497 findLoopInstr(MachineBasicBlock &PreHeader,
DPPCInstrInfo.cpp4245 MachineBasicBlock &PreHeader, in findLoopInstr() argument
4251 for (auto &I : PreHeader.instrs()) in findLoopInstr()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCInstrInfo.h669 findLoopInstr(MachineBasicBlock &PreHeader,
DPPCInstrInfo.cpp5028 MachineBasicBlock &PreHeader, in findLoopInstr() argument
5034 for (auto &I : PreHeader.instrs()) in findLoopInstr()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp1809 BasicBlock *PreHeader = L->getLoopPreheader(); in run() local
1810 BranchInst *PreHeaderBR = cast<BranchInst>(PreHeader->getTerminator()); in run()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h742 MachineBasicBlock &PreHeader, in reduceLoopCount() argument
/external/llvm-project/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h749 MachineBasicBlock &PreHeader, in reduceLoopCount() argument
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp2733 BasicBlock *PreHeader = L->getLoopPreheader(); in optimizeGatherSequence() local
2734 if (!PreHeader) in optimizeGatherSequence()
2748 Insert->moveBefore(PreHeader->getTerminator()); in optimizeGatherSequence()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp4751 BasicBlock *PreHeader = L->getLoopPreheader(); in optimizeGatherSequence() local
4752 if (!PreHeader) in optimizeGatherSequence()
4766 I->moveBefore(PreHeader->getTerminator()); in optimizeGatherSequence()
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp5017 BasicBlock *PreHeader = L->getLoopPreheader(); in optimizeGatherSequence() local
5018 if (!PreHeader) in optimizeGatherSequence()
5032 I->moveBefore(PreHeader->getTerminator()); in optimizeGatherSequence()