/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 | 582 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/ |
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-10.0/llvm/lib/Transforms/Utils/ |
D | LoopUnrollRuntime.cpp | 70 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 …]
|
D | LoopUnrollPeel.cpp | 498 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()
|
D | LoopUnroll.cpp | 187 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/ |
D | LoopUnrollRuntime.cpp | 71 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 …]
|
D | LoopPeel.cpp | 510 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()
|
D | LoopUnroll.cpp | 192 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/ |
D | LoopInfo.cpp | 952 auto *PreHeader = L.getLoopPreheader(); in printLoop() local 953 if (PreHeader) { in printLoop() 955 PreHeader->print(OS); in printLoop()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | LoopInfo.cpp | 974 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/ |
D | PPCInstrInfo.h | 497 findLoopInstr(MachineBasicBlock &PreHeader,
|
D | PPCInstrInfo.cpp | 4245 MachineBasicBlock &PreHeader, in findLoopInstr() argument 4251 for (auto &I : PreHeader.instrs()) in findLoopInstr()
|
/external/llvm-project/llvm/lib/Target/PowerPC/ |
D | PPCInstrInfo.h | 669 findLoopInstr(MachineBasicBlock &PreHeader,
|
D | PPCInstrInfo.cpp | 5028 MachineBasicBlock &PreHeader, in findLoopInstr() argument 5034 for (auto &I : PreHeader.instrs()) in findLoopInstr()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 1809 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/ |
D | TargetInstrInfo.h | 742 MachineBasicBlock &PreHeader, in reduceLoopCount() argument
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | TargetInstrInfo.h | 749 MachineBasicBlock &PreHeader, in reduceLoopCount() argument
|
/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-10.0/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 4751 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/ |
D | SLPVectorizer.cpp | 5017 BasicBlock *PreHeader = L->getLoopPreheader(); in optimizeGatherSequence() local 5018 if (!PreHeader) in optimizeGatherSequence() 5032 I->moveBefore(PreHeader->getTerminator()); in optimizeGatherSequence()
|