Home
last modified time | relevance | path

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

1234567

/external/swiftshader/third_party/LLVM/lib/Analysis/
DPathProfileInfo.cpp152 next->getSource()->getBlock(), in getPathEdges()
153 next->getTarget()->getBlock(), in getPathEdges()
159 next->getRealEdge()->getSource()->getBlock(), in getPathEdges()
160 next->getRealEdge()->getTarget()->getBlock(), in getPathEdges()
166 next->getRealEdge()->getSource()->getBlock(), in getPathEdges()
167 next->getRealEdge()->getTarget()->getBlock(), in getPathEdges()
188 pbv->push_back (currentNode->getBlock()); in getPathBlocks()
191 pbv->push_back (currentNode->getBlock()); in getPathBlocks()
192 pbv->push_back (next->getRealEdge()->getTarget()->getBlock()); in getPathBlocks()
208 return edge->getTarget()->getBlock(); in getFirstBlockInPath()
[all …]
DPathNumbering.cpp56 BasicBlock* BallLarusNode::getBlock() { in getBlock() function in BallLarusNode
140 if(getBlock() != NULL) { in getName()
141 if(getBlock()->hasName()) { in getName()
142 std::string tempName(getBlock()->getName()); in getName()
292 succ != end; oldTarget = (*succ)->getTarget()->getBlock(), succ++ ) { in calculatePathNumbers()
296 if( oldTarget != (*succ)->getTarget()->getBlock() ) in calculatePathNumbers()
367 BasicBlock* currentBlock = currentNode->getBlock(); in buildNode()
376 for( BasicBlock::iterator bbCurrent = currentNode->getBlock()->begin(), in buildNode()
377 bbEnd = currentNode->getBlock()->end(); bbCurrent != bbEnd; in buildNode()
388 TerminatorInst* terminator = currentNode->getBlock()->getTerminator(); in buildNode()
DDominanceFrontier.cpp41 BasicBlock *BB = Node->getBlock(); in calculate()
80 BasicBlock *childBB = IDominee->getBlock(); in calculate()
/external/llvm/lib/Transforms/Utils/
DMemorySSA.cpp227 IncomingVal = renameBlock(Root->getBlock(), IncomingVal); in renamePass()
229 Visited.insert(Root->getBlock()); in renamePass()
241 BasicBlock *BB = Child->getBlock(); in renamePass()
427 BasicBlock *BB = DomNode->getBlock(); in buildMemorySSA()
498 assert(I->getParent() == InsertPt->getBlock() && in createMemoryAccessBefore()
501 auto *Accesses = getOrCreateAccessList(InsertPt->getBlock()); in createMemoryAccessBefore()
509 assert(I->getParent() == InsertPt->getBlock() && in createMemoryAccessAfter()
512 auto *Accesses = getOrCreateAccessList(InsertPt->getBlock()); in createMemoryAccessAfter()
563 auto It = PerBlockAccesses.find(CurrNode->getBlock()); in findDominatingDef()
580 return DT->dominates(Replacer->getBlock(), Replacee->getBlock()); in dominatesUse()
[all …]
/external/clang/include/clang/Analysis/
DCFGStmtMap.h44 CFGBlock *getBlock(Stmt * S);
46 const CFGBlock *getBlock(const Stmt * S) const { in getBlock() function
47 return const_cast<CFGStmtMap*>(this)->getBlock(const_cast<Stmt*>(S)); in getBlock()
/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/
DPathProfiling.cpp486 BasicBlock* source = sourceNode->getBlock(); in getSuccessorNumber()
487 BasicBlock* target = targetNode->getBlock(); in getSuccessorNumber()
932 BasicBlock* block = node->getBlock(); in preparePHI()
934 pred_iterator PB = pred_begin(node->getBlock()), in preparePHI()
935 PE = pred_end(node->getBlock()); in preparePHI()
956 if(target->getBlock() == NULL) in pushValueIntoNode()
987 phi->removeIncomingValue(source->getBlock(), false); in pushValueIntoPHI()
988 phi->addIncoming(source->getEndingPathNumber(), source->getBlock()); in pushValueIntoPHI()
995 BasicBlock* block = node->getBlock(); in insertNumberIncrement()
1096 if( sourceNode->getBlock() && sourceNode->getNumberSuccEdges() <= 1) { in insertInstrumentationStartingAt()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DBranchFolding.h41 MachineBasicBlock *getBlock() const { return Block; } in getBlock() function
72 MachineBasicBlock *getBlock() const { in getBlock() function
73 return getMergePotentialsElt().getBlock(); in getBlock()
76 return TailStartPos == getBlock()->begin(); in tailIsWholeBlock()
DBranchFolding.cpp478 else if (getBlock()->getNumber() < o.getBlock()->getNumber()) in operator <()
480 else if (getBlock()->getNumber() > o.getBlock()->getNumber()) in operator <()
598 if (ProfitableToMerge(CurMPIter->getBlock(), I->getBlock(), in ComputeSameTails()
629 MachineBasicBlock *CurMBB = CurMPIter->getBlock(); in RemoveBlocksWithHash()
649 if (SameTails[i].getBlock() == PredBB) { in CreateCommonTailOnlyBlock()
655 unsigned t = EstimateRuntime(SameTails[i].getBlock()->begin(), in CreateCommonTailOnlyBlock()
665 MachineBasicBlock *MBB = SameTails[commonTailIndex].getBlock(); in CreateCommonTailOnlyBlock()
706 dbgs() << "BB#" << MergePotentials[i].getBlock()->getNumber() in TryTailMergeBlocks()
745 MachineBasicBlock *EntryBB = MergePotentials.begin()->getBlock()-> in TryTailMergeBlocks()
751 SameTails[0].getBlock()->isLayoutSuccessor(SameTails[1].getBlock()) && in TryTailMergeBlocks()
[all …]
DLiveRangeCalc.cpp35 MachineBasicBlock *MBB = I->DomNode->getBlock(); in updateLiveIns()
162 assert(LiveIn.back().DomNode->getBlock() == KillMBB); in findReachingDefs()
189 MachineBasicBlock *MBB = Node->getBlock(); in updateSSA()
195 bool needPHI = !IDom || !Seen.test(IDom->getBlock()->getNumber()); in updateSSA()
201 IDomValue = LiveOut[IDom->getBlock()]; in updateSSA()
205 LiveOut[IDom->getBlock()].second = IDomValue.second = in updateSSA()
DScheduleDAGInstrs.h60 const MachineBasicBlock *MBB = Node->getBlock(); in VisitLoop()
92 MachineBasicBlock *ChildBlock = ChildNode->getBlock(); in VisitRegion()
/external/llvm/lib/CodeGen/
DBranchFolding.cpp531 if (getBlock()->getNumber() < o.getBlock()->getNumber()) in operator <()
533 if (getBlock()->getNumber() > o.getBlock()->getNumber()) in operator <()
681 if (ProfitableToMerge(CurMPIter->getBlock(), I->getBlock(), in ComputeSameTails()
713 MachineBasicBlock *CurMBB = CurMPIter->getBlock(); in RemoveBlocksWithHash()
734 if (SameTails[i].getBlock() == PredBB) { in CreateCommonTailOnlyBlock()
740 unsigned t = EstimateRuntime(SameTails[i].getBlock()->begin(), in CreateCommonTailOnlyBlock()
750 MachineBasicBlock *MBB = SameTails[commonTailIndex].getBlock(); in CreateCommonTailOnlyBlock()
836 dbgs() << "BB#" << MergePotentials[i].getBlock()->getNumber() in TryTailMergeBlocks()
876 &MergePotentials.front().getBlock()->getParent()->front(); in TryTailMergeBlocks()
881 SameTails[0].getBlock()->isLayoutSuccessor(SameTails[1].getBlock()) && in TryTailMergeBlocks()
[all …]
DBranchFolding.h50 MachineBasicBlock *getBlock() const { return Block; } in getBlock() function
82 MachineBasicBlock *getBlock() const { in getBlock() function
83 return getMergePotentialsElt().getBlock(); in getBlock()
86 return TailStartPos == getBlock()->begin(); in tailIsWholeBlock()
DLiveRangeCalc.cpp218 MachineBasicBlock *MBB = I.DomNode->getBlock(); in updateFromLiveIns()
403 MachineBasicBlock *MBB = Node->getBlock(); in updateSSA()
409 bool needPHI = !IDom || !Seen.test(IDom->getBlock()->getNumber()); in updateSSA()
415 IDomValue = Map[IDom->getBlock()]; in updateSSA()
419 Map[IDom->getBlock()].second = IDomValue.second = in updateSSA()
/external/clang/lib/CodeGen/
DCGStmt.cpp482 ResolveBranchFixups(Dest.getBlock()); in EmitLabel()
485 EmitBlock(Dest.getBlock()); in EmitLabel()
664 EmitBlock(LoopHeader.getBlock()); in EmitWhileStmt()
666 LoopStack.push(LoopHeader.getBlock(), CGM.getContext(), WhileAttrs, in EmitWhileStmt()
703 llvm::BasicBlock *ExitBlock = LoopExit.getBlock(); in EmitWhileStmt()
710 if (ExitBlock != LoopExit.getBlock()) { in EmitWhileStmt()
732 EmitBranch(LoopHeader.getBlock()); in EmitWhileStmt()
737 EmitBlock(LoopExit.getBlock(), true); in EmitWhileStmt()
742 SimplifyForwardingBlocks(LoopHeader.getBlock()); in EmitWhileStmt()
767 EmitBlock(LoopCond.getBlock()); in EmitDoStmt()
[all …]
/external/clang/include/clang/Analysis/Analyses/
DDominators.h71 if (!R || !OtherR || R->getBlock() != OtherR->getBlock()) in compare()
98 << DT->getNode(*I)->getIDom()->getBlock()->getBlockID() in dump()
/external/llvm/include/llvm/Support/
DGenericDomTree.h88 NodeT *getBlock() const { return TheBB; } in getBlock() function
113 const NodeT *Nd = I->getBlock(); in compare()
118 const NodeT *N = I->getBlock(); in compare()
158 if (Node->getBlock())
159 Node->getBlock()->printAsOperand(o, false);
406 Result.push_back(N->getBlock()); in getDescendants()
515 return IDomA->getBlock(); in findNearestCommonDominator()
534 return IDomB->getBlock(); in findNearestCommonDominator()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DDominators.h82 NodeT *getBlock() const { return TheBB; } in getBlock() function
110 NodeT *Nd = (*I)->getBlock(); in compare()
115 NodeT *N = (*I)->getBlock(); in compare()
157 if (Node->getBlock())
158 WriteAsOperand(o, Node->getBlock(), false);
463 return IDomB->getBlock(); in findNearestCommonDominator()
727 if (!R || !OtherR || R->getBlock() != OtherR->getBlock()) in compare()
/external/llvm/lib/Analysis/
DIteratedDominanceFrontier.cpp64 BasicBlock *BB = Node->getBlock(); in calculate()
85 BasicBlock *SuccBB = SuccNode->getBlock(); in calculate()
/external/clang/lib/StaticAnalyzer/Core/
DCoreEngine.cpp279 HandlePostStmt(WU.getBlock(), WU.getIndex(), Pred); in dispatchWorkItem()
340 unsigned BlockId = L.getBlock()->getBlockID(); in HandleBlockEntrance()
348 NodeBuilderContext Ctx(*this, L.getBlock(), Pred); in HandleBlockEntrance()
352 HandleBlockExit(L.getBlock(), Pred); in HandleBlockEntrance()
691 Eng.G.getNode(BlockEdge(Src, I.getBlock(), Pred->getLocationContext()), in generateNode()
711 Eng.G.getNode(BlockEdge(Src, I.getBlock(), Pred->getLocationContext()), in generateCaseStmtNode()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyFixIrreducibleControlFlow.cpp99 MachineBasicBlock *getBlock() const { return Block; } in getBlock() function in __anon38cb28ba0211::MetaBlock
165 RewriteSuccs.insert(Top.getBlock()); in VisitLoop()
169 OnStack.erase(Top.getBlock()); in VisitLoop()
/external/llvm/include/llvm/CodeGen/
DMachineDominators.h251 if (!R || !OtherR || R->getBlock() != OtherR->getBlock()) in compare()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.hpp131 const BufferBlock& getBlock (int ndx) const { return *m_bufferBlocks[ndx]; } in getBlock() function in vkt::ssbo::ShaderInterface
132 BufferBlock& getBlock (int ndx) { return *m_bufferBlocks[ndx]; } in getBlock() function in vkt::ssbo::ShaderInterface
/external/pdfium/third_party/bigint/
DBigInteger.hh94 Blk getBlock(Index i) const { return mag.getBlock(i); } in getBlock() function in BigInteger
/external/llvm/include/llvm/IR/
DDominators.h118 if (!R || !OtherR || R->getBlock() != OtherR->getBlock())
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
DDataCommandConsolidator.java217 if (node.getBlock() != null) { in caseAIfCommand()
219 node.getBlock().apply(this); in caseAIfCommand()

1234567