/external/swiftshader/third_party/subzero/src/ |
D | IceLoopAnalyzer.h | 22 Loop(CfgNode *Header, CfgNode *PreHeader, CfgUnorderedSet<SizeT> Body) in Loop() 23 : Header(Header), PreHeader(PreHeader), Body(Body) {} in Loop() 25 CfgNode *PreHeader; member
|
D | IceLoopAnalyzer.cpp | 291 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()
|
D | IceCfg.cpp | 679 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LoopUnrollRuntime.cpp | 70 BasicBlock *PreHeader, BasicBlock *NewPreHeader, in ConnectProlog() argument 92 PreHeader); in ConnectProlog() 94 NewPN->addIncoming(UndefValue::get(PN.getType()), PreHeader); in ConnectProlog() 167 BasicBlock *Exit, BasicBlock *PreHeader, in ConnectEpilog() argument 207 PN.addIncoming(UndefValue::get(PN.getType()), PreHeader); in ConnectEpilog() 243 NewPN->addIncoming(PN.getIncomingValueForBlock(NewPreHeader), PreHeader); in ConnectEpilog() 599 BasicBlock *PreHeader = L->getLoopPreheader(); in UnrollRuntimeLoopRemainder() local 600 BranchInst *PreHeaderBR = cast<BranchInst>(PreHeader->getTerminator()); in UnrollRuntimeLoopRemainder() 635 NewPreHeader = SplitBlock(PreHeader, PreHeader->getTerminator(), DT, LI); in UnrollRuntimeLoopRemainder() 636 NewPreHeader->setName(PreHeader->getName() + ".new"); in UnrollRuntimeLoopRemainder() [all …]
|
D | LoopUnrollPeel.cpp | 403 BasicBlock *PreHeader = L->getLoopPreheader(); in cloneLoopBlocks() local 463 VMap[&*I] = NewPHI->getIncomingValueForBlock(PreHeader); in cloneLoopBlocks() 513 BasicBlock *PreHeader = L->getLoopPreheader(); in peelLoop() local 564 BasicBlock *InsertTop = SplitEdge(PreHeader, Header, DT, LI); in peelLoop() 572 NewPreHeader->setName(PreHeader->getName() + ".peel.newph"); in peelLoop()
|
D | LoopUnroll.cpp | 245 BasicBlock *PreHeader = L->getLoopPreheader(); in isEpilogProfitable() local 247 assert(PreHeader && Header); in isEpilogProfitable() 249 if (isa<ConstantInt>(PN.getIncomingValueForBlock(PreHeader))) in isEpilogProfitable()
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUnrollRuntime.cpp | 63 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-7.0/llvm/lib/Analysis/ |
D | LoopInfo.cpp | 686 auto *PreHeader = L.getLoopPreheader(); in printLoop() local 687 if (PreHeader) { in printLoop() 689 PreHeader->print(OS); in printLoop()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 2733 BasicBlock *PreHeader = L->getLoopPreheader(); in optimizeGatherSequence() local 2734 if (!PreHeader) in optimizeGatherSequence() 2748 Insert->moveBefore(PreHeader->getTerminator()); in optimizeGatherSequence()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 3739 BasicBlock *PreHeader = L->getLoopPreheader(); in optimizeGatherSequence() local 3740 if (!PreHeader) in optimizeGatherSequence() 3754 I->moveBefore(PreHeader->getTerminator()); in optimizeGatherSequence()
|