Home
last modified time | relevance | path

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

123

/external/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.cpp43 BasicBlock *BB = Node->getBlock(); in calculate()
82 BasicBlock *childBB = IDominee->getBlock(); in calculate()
/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()
DProgramPoint.h166 const CFGBlock *getBlock() const { in getBlock() function
171 const CFGBlock *B = getBlock(); in getFirstElement()
185 const CFGBlock *getBlock() const { in getBlock() function
190 return getBlock()->getTerminator(); in getTerminator()
/external/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()
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()
DBranchFolding.cpp488 else if (getBlock()->getNumber() < o.getBlock()->getNumber()) in operator <()
490 else if (getBlock()->getNumber() > o.getBlock()->getNumber()) in operator <()
609 if (ProfitableToMerge(CurMPIter->getBlock(), I->getBlock(), in ComputeSameTails()
640 MachineBasicBlock *CurMBB = CurMPIter->getBlock(); in RemoveBlocksWithHash()
660 if (SameTails[i].getBlock() == PredBB) { in CreateCommonTailOnlyBlock()
666 unsigned t = EstimateRuntime(SameTails[i].getBlock()->begin(), in CreateCommonTailOnlyBlock()
676 MachineBasicBlock *MBB = SameTails[commonTailIndex].getBlock(); in CreateCommonTailOnlyBlock()
717 dbgs() << "BB#" << MergePotentials[i].getBlock()->getNumber() in TryTailMergeBlocks()
756 MachineBasicBlock *EntryBB = MergePotentials.begin()->getBlock()-> in TryTailMergeBlocks()
762 SameTails[0].getBlock()->isLayoutSuccessor(SameTails[1].getBlock()) && in TryTailMergeBlocks()
[all …]
/external/clang/lib/CodeGen/
DCGStmt.cpp322 Dest = JumpDest(Dest.getBlock(), in EmitLabel()
326 ResolveBranchFixups(Dest.getBlock()); in EmitLabel()
329 EmitBlock(Dest.getBlock()); in EmitLabel()
445 EmitBlock(LoopHeader.getBlock()); in EmitWhileStmt()
481 llvm::BasicBlock *ExitBlock = LoopExit.getBlock(); in EmitWhileStmt()
487 if (ExitBlock != LoopExit.getBlock()) { in EmitWhileStmt()
507 EmitBranch(LoopHeader.getBlock()); in EmitWhileStmt()
510 EmitBlock(LoopExit.getBlock(), true); in EmitWhileStmt()
515 SimplifyForwardingBlocks(LoopHeader.getBlock()); in EmitWhileStmt()
535 EmitBlock(LoopCond.getBlock()); in EmitDoStmt()
[all …]
DCodeGenFunction.cpp116 if (CurBB->empty() || ReturnBlock.getBlock()->use_empty()) { in EmitReturnBlock()
117 ReturnBlock.getBlock()->replaceAllUsesWith(CurBB); in EmitReturnBlock()
118 delete ReturnBlock.getBlock(); in EmitReturnBlock()
120 EmitBlock(ReturnBlock.getBlock()); in EmitReturnBlock()
127 if (ReturnBlock.getBlock()->hasOneUse()) { in EmitReturnBlock()
129 dyn_cast<llvm::BranchInst>(*ReturnBlock.getBlock()->use_begin()); in EmitReturnBlock()
131 BI->getSuccessor(0) == ReturnBlock.getBlock()) { in EmitReturnBlock()
136 delete ReturnBlock.getBlock(); in EmitReturnBlock()
145 EmitBlock(ReturnBlock.getBlock()); in EmitReturnBlock()
823 llvm::BasicBlock *BB = getJumpDestForLabel(L).getBlock(); in GetAddrOfLabel()
/external/llvm/lib/Transforms/Instrumentation/
DPathProfiling.cpp486 BasicBlock* source = sourceNode->getBlock(); in getSuccessorNumber()
487 BasicBlock* target = targetNode->getBlock(); in getSuccessorNumber()
933 BasicBlock* block = node->getBlock(); in preparePHI()
935 pred_iterator PB = pred_begin(node->getBlock()), in preparePHI()
936 PE = pred_end(node->getBlock()); in preparePHI()
957 if(target->getBlock() == NULL) in pushValueIntoNode()
988 phi->removeIncomingValue(source->getBlock(), false); in pushValueIntoPHI()
989 phi->addIncoming(source->getEndingPathNumber(), source->getBlock()); in pushValueIntoPHI()
996 BasicBlock* block = node->getBlock(); in insertNumberIncrement()
1097 if( sourceNode->getBlock() && sourceNode->getNumberSuccEdges() <= 1) { in insertInstrumentationStartingAt()
[all …]
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/
DCipherInputStream.java82 private void getBlock() throws IOException in getBlock() method in CipherInputStream
119 getBlock(); in read()
137 getBlock(); in read()
/external/dexmaker/src/dx/java/com/android/dx/ssa/
DNormalSsaInsn.java47 getBlock().getParent().onSourcesChanged(this, oldSources); in mapSourceRegisters()
75 getBlock().getParent().onSourceChanged(this, origSpec, newSpec); in changeOneSource()
172 getBlock().getParent().onSourcesChanged(this, oldSources); in upgradeToLiteral()
DConstCollector.java185 int pred = insn.getBlock().getPredecessors().nextSetBit(0); in getConstsSortedByCountUse()
203 if (insn.getBlock().getSuccessors().cardinality() > 1) { in getConstsSortedByCountUse()
307 use.getBlock()); in fixLocalAssignment()
309 ArrayList<SsaInsn> insns = use.getBlock().getInsns(); in fixLocalAssignment()
392 && use.getBlock().getSuccessors().cardinality() > 1) { in updateConstUses()
DLiteralOpUpgrader.java161 int pred = insn.getBlock().getPredecessors().nextSetBit(0); in tryReplacingWithConstant()
199 NormalSsaInsn newInsn = new NormalSsaInsn(newRopInsn, insn.getBlock()); in replacePlainInsn()
201 List<SsaInsn> insns = insn.getBlock().getInsns(); in replacePlainInsn()
DEscapeAnalysis.java144 int pred = moveInsn.getBlock().getPredecessors().nextSetBit(0); in getInsnForMove()
157 int succ = insn.getBlock().getSuccessors().nextSetBit(0); in getMoveForInsn()
588 deletedInsns.add(next.getBlock().getInsns().get(2)); in replaceUse()
744 SsaBasicBlock currBlock = insn.getBlock(); in insertExceptionThrow()
805 NormalSsaInsn newInsn = new NormalSsaInsn(newRopInsn, insn.getBlock()); in insertPlainInsnBefore()
806 List<SsaInsn> insns = insn.getBlock().getInsns(); in insertPlainInsnBefore()
837 NormalSsaInsn newInsn = new NormalSsaInsn(newRopInsn, insn.getBlock()); in insertThrowingInsnBefore()
838 List<SsaInsn> insns = insn.getBlock().getInsns(); in insertThrowingInsnBefore()
DSCCP.java340 SsaBasicBlock block = insn.getBlock(); in simulateBranch()
483 SsaBasicBlock succ = insn.getBlock().getPrimarySuccessor(); in simulateStmt()
567 if (!executableBlocks.get(insn.getBlock().getIndex())) { in run()
581 if (!executableBlocks.get(insn.getBlock().getIndex())) { in run()
659 SsaBasicBlock block = insn.getBlock(); in replaceBranches()
/external/clang/include/clang/Analysis/Analyses/
DDominators.h68 if (!R || !OtherR || R->getBlock() != OtherR->getBlock()) in compare()
95 << DT->getNode(*I)->getIDom()->getBlock()->getBlockID() in dump()
/external/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);
459 return IDomB->getBlock(); in findNearestCommonDominator()
750 if (!R || !OtherR || R->getBlock() != OtherR->getBlock()) in compare()
/external/clang/lib/StaticAnalyzer/Core/
DCoreEngine.cpp265 HandlePostStmt(WU.getBlock(), WU.getIndex(), Pred); in dispatchWorkItem()
326 unsigned BlockId = L.getBlock()->getBlockID(); in HandleBlockEntrance()
334 NodeBuilderContext Ctx(*this, L.getBlock(), Pred); in HandleBlockEntrance()
338 HandleBlockExit(L.getBlock(), Pred); in HandleBlockEntrance()
631 ExplodedNode *Succ = Eng.G->getNode(BlockEdge(Src, I.getBlock(), in generateNode()
651 ExplodedNode *Succ = Eng.G->getNode(BlockEdge(Src, I.getBlock(), in generateCaseStmtNode()
/external/clang/lib/StaticAnalyzer/Checkers/
DIdempotentOperationChecker.cpp373 AC->getCFGStmtMap()->getBlock(B), in checkEndAnalysis()
582 B = CBM->getBlock(SP->getStmt()); in pathWasCompletelyAnalyzed()
588 B = BEnt->getBlock(); in pathWasCompletelyAnalyzed()
591 B = BExit->getBlock(); in pathWasCompletelyAnalyzed()
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
DDataCommandConsolidator.java217 if (node.getBlock() != null) { in caseAIfCommand()
219 node.getBlock().apply(this); in caseAIfCommand()
/external/llvm/include/llvm/CodeGen/
DScheduleDAGInstrs.h62 const MachineBasicBlock *MBB = Node->getBlock(); in VisitLoop()
94 MachineBasicBlock *ChildBlock = ChildNode->getBlock(); in VisitRegion()
/external/clang/lib/Analysis/
DCFGStmtMap.cpp27 CFGBlock *CFGStmtMap::getBlock(Stmt *S) { in getBlock() function in CFGStmtMap
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DWorkList.h57 const CFGBlock *getBlock() const { return block; } in getBlock() function

123