Home
last modified time | relevance | path

Searched refs:PreHeader (Results 1 – 5 of 5) 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.cpp679 CfgNode *PreHeader = Loop.PreHeader; in loopInvariantCodeMotion() local
680 if (PreHeader == nullptr || PreHeader->getInsts().size() == 0) { in loopInvariantCodeMotion()
684 auto &Insts = PreHeader->getInsts(); in loopInvariantCodeMotion()
689 PreHeader->appendInst(Inst); in loopInvariantCodeMotion()
691 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/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()