Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBreakCriticalEdges.cpp391 BasicBlock *BodyBlock = Target->splitBasicBlock(FirstNonPHI, ".split"); in SplitIndirectBrCriticalEdges() local
394 for (unsigned I = 0, E = BodyBlock->getTerminator()->getNumSuccessors(); in SplitIndirectBrCriticalEdges()
396 BPI->setEdgeProbability(BodyBlock, I, in SplitIndirectBrCriticalEdges()
398 BFI->setBlockFreq(BodyBlock, BFI->getBlockFreq(Target).getFrequency()); in SplitIndirectBrCriticalEdges()
403 IBRPred = BodyBlock; in SplitIndirectBrCriticalEdges()
415 BasicBlock *Src = Pred != Target ? Pred : BodyBlock; in SplitIndirectBrCriticalEdges()
437 BasicBlock::iterator MergeInsert = BodyBlock->getFirstInsertionPt(); in SplitIndirectBrCriticalEdges()
/external/llvm-project/llvm/lib/Transforms/Utils/
DBreakCriticalEdges.cpp415 BasicBlock *BodyBlock = Target->splitBasicBlock(FirstNonPHI, ".split"); in SplitIndirectBrCriticalEdges() local
418 BPI->setEdgeProbability(BodyBlock, EdgeProbabilities); in SplitIndirectBrCriticalEdges()
419 BFI->setBlockFreq(BodyBlock, BFI->getBlockFreq(Target).getFrequency()); in SplitIndirectBrCriticalEdges()
424 IBRPred = BodyBlock; in SplitIndirectBrCriticalEdges()
436 BasicBlock *Src = Pred != Target ? Pred : BodyBlock; in SplitIndirectBrCriticalEdges()
457 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 …]
/external/llvm-project/clang/lib/Analysis/
DCFG.cpp3368 CFGBlock *BodyBlock = nullptr, *TransitionBlock = nullptr; in VisitForStmt() local
3413 BodyBlock = addStmt(F->getBody()); in VisitForStmt()
3415 if (!BodyBlock) { in VisitForStmt()
3418 BodyBlock = ContinueJumpTarget.block; in VisitForStmt()
3439 VisitLogicalOperator(Cond, F, BodyBlock, LoopSuccessor); in VisitForStmt()
3481 addSuccessor(ExitConditionBlock, KnownVal.isFalse() ? nullptr : BodyBlock); in VisitForStmt()
3614 CFGBlock *BodyBlock = addStmt(S->getBody()); in VisitObjCForCollectionStmt() local
3616 if (!BodyBlock) in VisitObjCForCollectionStmt()
3617 BodyBlock = ContinueJumpTarget.block; // can happen for "for (X in Y) ;" in VisitObjCForCollectionStmt()
3624 addSuccessor(ExitConditionBlock, BodyBlock); in VisitObjCForCollectionStmt()
[all …]