Home
last modified time | relevance | path

Searched refs:StartBlock (Results 1 – 25 of 37) sorted by relevance

12

/external/llvm-project/polly/lib/CodeGen/
DUtils.cpp143 BasicBlock *StartBlock = in executeScopConditionally() local
149 BranchInst *CondBr = Builder.CreateCondBr(RTC, StartBlock, S.getEntry()); in executeScopConditionally()
152 L->addBasicBlockToLoop(StartBlock, LI); in executeScopConditionally()
155 DT.addNewBlock(StartBlock, SplitBlock); in executeScopConditionally()
156 DT.addNewBlock(ExitingBlock, StartBlock); in executeScopConditionally()
157 RI.setRegionFor(StartBlock, RI.getRegionFor(SplitBlock)); in executeScopConditionally()
175 Builder.SetInsertPoint(StartBlock); in executeScopConditionally()
177 DT.changeImmediateDominator(ExitingBlock, StartBlock); in executeScopConditionally()
218 return std::make_pair(std::make_pair(StartBlock, ExitingBlock), CondBr); in executeScopConditionally()
DCodeGeneration.cpp222 BasicBlock *StartBlock = std::get<0>(StartExitBlocks); in CodeGen() local
226 auto *SplitBlock = StartBlock->getSinglePredecessor(); in CodeGen()
228 IslNodeBuilder NodeBuilder(Builder, Annotator, DL, LI, SE, DT, S, StartBlock); in CodeGen()
259 auto *ExitingBlock = StartBlock->getUniqueSuccessor(); in CodeGen()
263 markBlockUnreachable(*StartBlock, Builder); in CodeGen()
283 Builder.SetInsertPoint(StartBlock->getTerminator()); in CodeGen()
DIslExprBuilder.cpp43 BasicBlock *StartBlock) in IslExprBuilder() argument
45 DL(DL), SE(SE), DT(DT), LI(LI), StartBlock(StartBlock) { in IslExprBuilder()
323 StartBlock->getSinglePredecessor()); in createAccessAddress()
DBlockGenerators.cpp59 ValueMapT &GlobalMap, IslExprBuilder *ExprBuilder, BasicBlock *StartBlock) in BlockGenerator() argument
62 GlobalMap(GlobalMap), StartBlock(StartBlock) {} in BlockGenerator()
91 StartBlock->getSinglePredecessor()); in trySynthesizeNewValue()
816 Builder.SetInsertPoint(&*StartBlock->begin()); in createScalarInitialization()
DPPCGCodeGeneration.cpp329 DominatorTree &DT, Scop &S, BasicBlock *StartBlock, in GPUNodeBuilder() argument
331 : IslNodeBuilder(Builder, Annotator, DL, LI, SE, DT, S, StartBlock), in GPUNodeBuilder()
3469 BasicBlock *StartBlock = std::get<0>(StartExitBlocks); in generateCode() local
3474 StartBlock, Prog, Runtime, Architecture); in generateCode()
3477 auto SplitBlock = StartBlock->getSinglePredecessor(); in generateCode()
3499 auto *ExitingBlock = StartBlock->getUniqueSuccessor(); in generateCode()
3503 polly::markBlockUnreachable(*StartBlock, Builder); in generateCode()
3524 auto *ExitingBlock = StartBlock->getUniqueSuccessor(); in generateCode()
3534 Builder.SetInsertPoint(&*StartBlock->begin()); in generateCode()
/external/llvm-project/polly/include/polly/CodeGen/
DIslNodeBuilder.h70 DominatorTree &DT, Scop &S, BasicBlock *StartBlock) in IslNodeBuilder() argument
73 StartBlock), in IslNodeBuilder()
75 &ExprBuilder, StartBlock), in IslNodeBuilder()
77 StartBlock(StartBlock) {} in IslNodeBuilder()
157 BasicBlock *StartBlock; variable
DIslExprBuilder.h125 llvm::LoopInfo &LI, llvm::BasicBlock *StartBlock);
208 llvm::BasicBlock *StartBlock;
DBlockGenerators.h70 IslExprBuilder *ExprBuilder, BasicBlock *StartBlock);
271 BasicBlock *StartBlock; variable
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCBranchSelector.cpp202 unsigned StartBlock = Src->getNumber(); in computeBranchSize() local
203 BranchSize = BlockSizes[StartBlock].first - BrOffset; in computeBranchSize()
206 for (unsigned i = StartBlock+1, e = Dest->getNumber(); i != e; ++i) { in computeBranchSize()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCBranchSelector.cpp233 unsigned StartBlock = Src->getNumber(); in computeBranchSize() local
234 BranchSize = BlockSizes[StartBlock].first - BrOffset; in computeBranchSize()
237 for (unsigned i = StartBlock+1, e = Dest->getNumber(); i != e; ++i) { in computeBranchSize()
/external/llvm/lib/CodeGen/
DAntiDepBreaker.h38 virtual void StartBlock(MachineBasicBlock *BB) =0;
DCriticalAntiDepBreaker.h73 void StartBlock(MachineBasicBlock *BB) override;
DAggressiveAntiDepBreaker.h133 void StartBlock(MachineBasicBlock *BB) override;
DCodeGenPrepare.cpp1697 BasicBlock *StartBlock = CountZeros->getParent(); in despeculateCountZeros() local
1698 BasicBlock *CallBlock = StartBlock->splitBasicBlock(CountZeros, "cond.false"); in despeculateCountZeros()
1708 Builder.SetInsertPoint(StartBlock->getTerminator()); in despeculateCountZeros()
1716 StartBlock->getTerminator()->eraseFromParent(); in despeculateCountZeros()
1724 PN->addIncoming(BitWidth, StartBlock); in despeculateCountZeros()
4635 BasicBlock *StartBlock = SI->getParent(); in optimizeSelectInst() local
4637 BasicBlock *EndBlock = StartBlock->splitBasicBlock(SplitPt, "select.end"); in optimizeSelectInst()
4640 StartBlock->getTerminator()->eraseFromParent(); in optimizeSelectInst()
4682 TrueBlock = StartBlock; in optimizeSelectInst()
4685 FalseBlock = StartBlock; in optimizeSelectInst()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DAntiDepBreaker.h39 virtual void StartBlock(MachineBasicBlock *BB) = 0;
DCriticalAntiDepBreaker.h78 void StartBlock(MachineBasicBlock *BB) override;
DAggressiveAntiDepBreaker.h138 void StartBlock(MachineBasicBlock *BB) override;
DExpandMemCmp.cpp617 BasicBlock *StartBlock = CI->getParent(); in getMemCmpExpansion() local
618 EndBlock = StartBlock->splitBasicBlock(CI, "endblock"); in getMemCmpExpansion()
633 StartBlock->getTerminator()->setSuccessor(0, LoadCmpBlocks[0]); in getMemCmpExpansion()
DCodeGenPrepare.cpp1836 BasicBlock *StartBlock = CountZeros->getParent(); in despeculateCountZeros() local
1837 BasicBlock *CallBlock = StartBlock->splitBasicBlock(CountZeros, "cond.false"); in despeculateCountZeros()
1847 Builder.SetInsertPoint(StartBlock->getTerminator()); in despeculateCountZeros()
1855 StartBlock->getTerminator()->eraseFromParent(); in despeculateCountZeros()
1863 PN->addIncoming(BitWidth, StartBlock); in despeculateCountZeros()
6122 BasicBlock *StartBlock = SI->getParent(); in optimizeSelectInst() local
6124 BasicBlock *EndBlock = StartBlock->splitBasicBlock(SplitPt, "select.end"); in optimizeSelectInst()
6125 BFI->setBlockFreq(EndBlock, BFI->getBlockFreq(StartBlock).getFrequency()); in optimizeSelectInst()
6128 StartBlock->getTerminator()->eraseFromParent(); in optimizeSelectInst()
6183 TrueBlock = StartBlock; in optimizeSelectInst()
[all …]
/external/llvm-project/llvm/include/llvm/CodeGen/
DAntiDepBreaker.h40 virtual void StartBlock(MachineBasicBlock *BB) = 0;
/external/llvm-project/llvm/lib/CodeGen/
DCriticalAntiDepBreaker.h78 void StartBlock(MachineBasicBlock *BB) override;
DAggressiveAntiDepBreaker.h138 void StartBlock(MachineBasicBlock *BB) override;
DExpandMemCmp.cpp599 BasicBlock *StartBlock = CI->getParent(); in getMemCmpExpansion() local
600 EndBlock = StartBlock->splitBasicBlock(CI, "endblock"); in getMemCmpExpansion()
615 StartBlock->getTerminator()->setSuccessor(0, LoadCmpBlocks[0]); in getMemCmpExpansion()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemorySSAUpdater.cpp269 BasicBlock *StartBlock = MU->getBlock(); in insertUse() local
271 if (auto *Defs = MSSA->getWritableBlockDefs(StartBlock)) { in insertUse()
432 BasicBlock *StartBlock = MD->getBlock(); in insertDef() local
435 MemoryAccess *FirstDef = &*MSSA->getWritableBlockDefs(StartBlock)->begin(); in insertDef()
/external/llvm-project/llvm/lib/Analysis/
DMemorySSAUpdater.cpp271 BasicBlock *StartBlock = MU->getBlock(); in insertUse() local
273 if (auto *Defs = MSSA->getWritableBlockDefs(StartBlock)) { in insertUse()
437 BasicBlock *StartBlock = MD->getBlock(); in insertDef() local
440 MemoryAccess *FirstDef = &*MSSA->getWritableBlockDefs(StartBlock)->begin(); in insertDef()

12