Home
last modified time | relevance | path

Searched refs:BodyBlock (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DBreakCriticalEdges.cpp368 BasicBlock *BodyBlock = Target->splitBasicBlock(FirstNonPHI, ".split"); in SplitIndirectBrCriticalEdges() local
371 for (unsigned I = 0, E = BodyBlock->getTerminator()->getNumSuccessors(); in SplitIndirectBrCriticalEdges()
373 BPI->setEdgeProbability(BodyBlock, I, in SplitIndirectBrCriticalEdges()
375 BFI->setBlockFreq(BodyBlock, BFI->getBlockFreq(Target).getFrequency()); in SplitIndirectBrCriticalEdges()
380 IBRPred = BodyBlock; in SplitIndirectBrCriticalEdges()
392 BasicBlock *Src = Pred != Target ? Pred : BodyBlock; in SplitIndirectBrCriticalEdges()
414 BasicBlock::iterator MergeInsert = BodyBlock->getFirstInsertionPt(); in SplitIndirectBrCriticalEdges()
/external/clang/lib/Analysis/
DCFG.cpp2429 CFGBlock *BodyBlock = nullptr, *TransitionBlock = nullptr; in VisitForStmt() local
2474 BodyBlock = addStmt(F->getBody()); in VisitForStmt()
2476 if (!BodyBlock) { in VisitForStmt()
2479 BodyBlock = ContinueJumpTarget.block; in VisitForStmt()
2499 VisitLogicalOperator(Cond, F, BodyBlock, LoopSuccessor); in VisitForStmt()
2535 addSuccessor(ExitConditionBlock, KnownVal.isFalse() ? nullptr : BodyBlock); in VisitForStmt()
2658 CFGBlock *BodyBlock = addStmt(S->getBody()); in VisitObjCForCollectionStmt() local
2660 if (!BodyBlock) in VisitObjCForCollectionStmt()
2661 BodyBlock = ContinueJumpTarget.block; // can happen for "for (X in Y) ;" in VisitObjCForCollectionStmt()
2668 addSuccessor(ExitConditionBlock, BodyBlock); in VisitObjCForCollectionStmt()
[all …]