Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h742 MachineBasicBlock &PreHeader, in reduceLoopCount() argument
/third_party/skia/third_party/externals/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()