Home
last modified time | relevance | path

Searched refs:getBlock (Results 1 – 25 of 100) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemorySSAUpdater.cpp146 return getPreviousDefRecursive(MA->getBlock(), CachedPreviousDef); in getPreviousDef()
153 auto *Defs = MSSA->getWritableBlockDefs(MA->getBlock()); in getPreviousDefInBlock()
165 auto End = MSSA->getWritableBlockAccesses(MA->getBlock())->rend(); in getPreviousDefInBlock()
261 auto *Defs = MSSA->getBlockDefs(MU->getBlock()); in insertUse()
269 BasicBlock *StartBlock = MU->getBlock(); in insertUse()
278 MSSA->renamePass(MU->getBlock(), FirstDef, Visited); in insertUse()
284 MSSA->renamePass(Phi->getBlock(), nullptr, Visited); in insertUse()
318 if (DefBefore->getBlock() == MD->getBlock() && in insertDef()
367 auto IterEnd = MSSA->getBlockDefs(MD->getBlock())->end(); in insertDef()
369 DefiningBlocks.insert(MD->getBlock()); in insertDef()
[all …]
DMemorySSA.cpp529 BasicBlock *BB = From->getBlock(); in getWalkTarget()
533 auto *Defs = MSSA.getBlockDefs(Node->getBlock()); in getWalkTarget()
881 const BasicBlock *ChainBB = DefChainEnd->getBlock(); in tryOptimizePhi()
885 if (DT.dominates(ChainBB, TP.Clobber->getBlock())) in tryOptimizePhi()
1147 bool AlreadyVisited = !Visited.insert(Root->getBlock()).second; in renamePass()
1151 IncomingVal = renameBlock(Root->getBlock(), IncomingVal, RenameAllUses); in renamePass()
1152 renameSuccessorPhis(Root->getBlock(), IncomingVal, RenameAllUses); in renamePass()
1165 BasicBlock *BB = Child->getBlock(); in renamePass()
1342 BasicBlock *BackBlock = VersionStack.back()->getBlock(); in optimizeUsesInBlock()
1345 while (VersionStack.back()->getBlock() == BackBlock) in optimizeUsesInBlock()
[all …]
DLegacyDivergenceAnalysis.cpp168 BasicBlock *IPostDom = ThisNode->getIDom()->getBlock(); in exploreSyncDependency()
213 InfluencedBB = IDomNode->getBlock(); in exploreSyncDependency()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DGenericDomTreeConstruction.h199 BlockNamePrinter(TreeNodePtr TN) : N(TN ? TN->getBlock() : nullptr) {} in BlockNamePrinter()
596 NodeToInfo[NumToNode[1]].IDom = AttachTo->getBlock(); in attachNewSubtree()
619 NodeToInfo[NumToNode[1]].IDom = AttachTo->getBlock(); in reattachExistingSubtree()
690 auto RIt = llvm::find(DT.Roots, To->getBlock()); in UpdateRootsBeforeInsertion()
743 LLVM_DEBUG(dbgs() << "\tReachable " << BlockNamePrinter(From->getBlock()) in InsertReachable()
744 << " -> " << BlockNamePrinter(To->getBlock()) << "\n"); in InsertReachable()
750 (From->getBlock() && To->getBlock()) in InsertReachable()
751 ? DT.findNearestCommonDominator(From->getBlock(), To->getBlock()) in InsertReachable()
787 assert(TN->getBlock() && II.Visited.count(TN) && "Preconditions!"); in InsertReachable()
799 ChildrenGetter<IsPostDom>::Get(TN->getBlock(), BUI)) { in InsertReachable()
[all …]
DGenericDomTree.h81 NodeT *getBlock() const { return TheBB; }
105 const NodeT *Nd = I->getBlock();
110 const NodeT *N = I->getBlock();
168 if (Node->getBlock())
169 Node->getBlock()->printAsOperand(O, false);
361 Result.push_back(N->getBlock());
471 return NodeA ? NodeA->getBlock() : nullptr;
483 return isPostDominator() && !A->getBlock();
DGenericIteratedDominanceFrontier.h173 NodeTy *BB = Node->getBlock(); in calculate()
186 NodeTy *SuccBB = SuccNode->getBlock(); in calculate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DBranchFolding.cpp491 if (getBlock()->getNumber() < o.getBlock()->getNumber()) in operator <()
493 if (getBlock()->getNumber() > o.getBlock()->getNumber()) in operator <()
713 if (ProfitableToMerge(CurMPIter->getBlock(), I->getBlock(), in ComputeSameTails()
744 MachineBasicBlock *CurMBB = CurMPIter->getBlock(); in RemoveBlocksWithHash()
763 if (SameTails[i].getBlock() == PredBB) { in CreateCommonTailOnlyBlock()
769 unsigned t = EstimateRuntime(SameTails[i].getBlock()->begin(), in CreateCommonTailOnlyBlock()
779 MachineBasicBlock *MBB = SameTails[commonTailIndex].getBlock(); in CreateCommonTailOnlyBlock()
856 MachineBasicBlock *MBB = SameTails[commonTailIndex].getBlock(); in mergeCommonTails()
878 assert(Pos != SameTails[i].getBlock()->end() && in mergeCommonTails()
882 assert(Pos != SameTails[i].getBlock()->end() && in mergeCommonTails()
[all …]
DBranchFolding.h66 MachineBasicBlock *getBlock() const { return Block; } in getBlock() function
105 MachineBasicBlock *getBlock() const { in getBlock() function
106 return getMergePotentialsElt().getBlock(); in getBlock()
110 return TailStartPos == getBlock()->begin(); in tailIsWholeBlock()
DLiveRangeCalc.cpp221 MachineBasicBlock *MBB = I.DomNode->getBlock(); in updateFromLiveIns()
497 MachineBasicBlock *MBB = Node->getBlock(); in updateSSA()
503 bool needPHI = !IDom || !Seen.test(IDom->getBlock()->getNumber()); in updateSSA()
509 IDomValue = Map[IDom->getBlock()]; in updateSSA()
514 Map[IDom->getBlock()].second = IDomValue.second = in updateSSA()
DMachineOptimizationRemarkEmitter.cpp44 const MachineBasicBlock *MBB = Remark.getBlock(); in computeHotness()
DMachineCSE.cpp726 ExitScope(Node->getBlock()); in ExitScopeIfDone()
733 ExitScope(Parent->getBlock()); in ExitScopeIfDone()
759 MachineBasicBlock *MBB = Node->getBlock(); in PerformCSE()
862 MachineBasicBlock *MBB = Node->getBlock(); in PerformSimplePRE()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DSpirvShaderControlFlow.cpp125 for(auto out : getBlock(id).outs) in TraverseReachableBlocks()
162 auto block = getBlock(blockId); in ForeachBlockDependency()
186 for(auto out : getBlock(id).outs) in ExistsPath()
239 auto const &block = function.getBlock(id); in EmitBlocks()
291 auto block = function.getBlock(blockId); in EmitNonLoop()
329 auto &block = function.getBlock(blockId); in EmitLoop()
331 auto &mergeBlock = function.getBlock(mergeBlockId); in EmitLoop()
376 for(auto in : function.getBlock(mergeBlockId).ins) in EmitLoop()
429 for(auto in : function.getBlock(mergeBlockId).ins) in EmitLoop()
506 auto block = function.getBlock(state->block); in EmitBranchConditional()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
DJITLink.cpp133 OS << " " << Sym.getBlock().getSection().getName(); in operator <<()
207 if (&Sym->getBlock() == &B) in splitBlock()
241 for (auto &E : Sym->getBlock().edges()) { in dump()
248 printEdge(OS, Sym->getBlock(), E, EdgeName); in dump()
251 printEdge(OS, Sym->getBlock(), E, EdgeNumberString); in dump()
/third_party/glslang/SPIRV/
DInReadableOrder.cpp86 mergeBlock = block->getParent().getParent().getInstruction(mergeId)->getBlock(); in visit()
91 block->getParent().getParent().getInstruction(continueId)->getBlock(); in visit()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyExceptionInfo.cpp51 MachineBasicBlock *EHPad = DomNode->getBlock(); in recalculate()
61 MachineBasicBlock *MBB = DomNode->getBlock(); in recalculate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp195 while (IDom->getBlock()->isEHPad()) { in findMatInsertPt()
196 assert(Entry != IDom->getBlock() && "eh pad in entry block"); in findMatInsertPt()
200 return IDom->getBlock()->getTerminator(); in findMatInsertPt()
234 Node = DT.getNode(Node)->getIDom()->getBlock(); in findBestInsertionSet()
254 if (Candidates.count(ChildDomNode->getBlock())) in findBestInsertionSet()
255 Orders.push_back(ChildDomNode->getBlock()); in findBestInsertionSet()
284 BasicBlock *Parent = DT.getNode(Node)->getIDom()->getBlock(); in findBestInsertionSet()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.hpp141 const BufferBlock& getBlock (int ndx) const { return *m_bufferBlocks[ndx]; } in getBlock() function in vkt::ssbo::ShaderInterface
142 BufferBlock& getBlock (int ndx) { return *m_bufferBlocks[ndx]; } in getBlock() function in vkt::ssbo::ShaderInterface
DvktSSBOLayoutCase.cpp720 BufferBlock& block = interface.getBlock(blockNdx); in computeReferenceLayout()
855 collectUniqueBasicTypes(basicTypes, interface.getBlock(ndx)); in collectUniqueBasicTypes()
884 if (interface.getBlock(ndx).getFlags() & LAYOUT_RELAXED) in usesRelaxedLayout()
895 if (interface.getBlock(ndx).getFlags() & LAYOUT_16BIT_STORAGE) in uses16BitStorage()
906 if (interface.getBlock(ndx).getFlags() & LAYOUT_8BIT_STORAGE) in uses8BitStorage()
917 if (interface.getBlock(ndx).getFlags() & LAYOUT_SCALAR) in usesScalarLayout()
928 if (interface.getBlock(ndx).getFlags() & LAYOUT_DESCRIPTOR_INDEXING) in usesDescriptorIndexing()
1284 const BufferBlock& block = interface.getBlock(declNdx); in generateCompareSrc()
1395 const BufferBlock& block = interface.getBlock(declNdx); in generateWriteSrc()
1453 const BufferBlock& block = interface.getBlock(blockNdx); in generateComputeShader()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationPlanner.h82 VPBasicBlock *getBlock() const { return Block; } in getBlock() function
89 setInsertPoint(IP.getBlock(), IP.getPoint()); in restoreIP()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Frontend/OpenMP/
DOMPIRBuilder.cpp157 !Function.empty() ? Function : Loc.IP.getBlock()->getParent()->getName(); in getOrCreateSrcLocStr()
376 if (IP.getBlock()->end() == IP.getPoint()) { in CreateParallel()
382 assert(IP.getBlock()->getTerminator()->getNumSuccessors() == 1 && in CreateParallel()
383 IP.getBlock()->getTerminator()->getSuccessor(0) == PRegExitBB && in CreateParallel()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DDominanceFrontierImpl.h162 BlockT *BB = Node->getBlock(); in calculate()
199 BlockT *childBB = IDominee->getBlock(); in calculate()
DTrace.h47 BasicBlock *getBlock(unsigned i) const { return BasicBlocks[i]; } in getBlock() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp368 GCOVBlock &getBlock(BasicBlock *BB) { in getBlock() function in __anon821923f40311::GCOVFunction
381 GCOVBlock &Block = getBlock(&I); in getEdgeDestinations()
424 GCOVBlock &Block = getBlock(&I); in writeOut()
440 getBlock(&I).writeOut(); in writeOut()
720 Func.getBlock(&EntryBlock).getFile(Filename).addLine(Line); in emitProfileNotes()
723 GCOVBlock &Block = Func.getBlock(&BB); in emitProfileNotes()
727 Block.addEdge(Func.getBlock(TI->getSuccessor(i))); in emitProfileNotes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/JITLink/
DJITLink.h443 Block &getBlock() { in getBlock() function
450 const Block &getBlock() const { in getBlock() function
467 bool isSymbolZeroFill() const { return getBlock().isZeroFill(); } in isSymbolZeroFill()
472 return getBlock().getContent().substr(Offset, Size); in getSymbolContent()
954 Section &Sec = Sym.getBlock().getSection(); in makeExternal()
987 Sym.getBlock().getSection().removeSymbol(Sym); in removeDefinedSymbol()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DInstrEmitter.h124 MachineBasicBlock *getBlock() { return MBB; } in getBlock() function

1234