OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ExitBlock
(Results
1 - 25
of
34
) sorted by relevancy
1
2
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
LoopDeletion.cpp
56
BasicBlock *
ExitBlock
, bool &Changed,
66
for (PHINode &P :
ExitBlock
->phis()) {
189
BasicBlock *
ExitBlock
= L->getUniqueExitBlock();
191
if (
ExitBlock
&& isLoopNeverExecuted(L)) {
198
for (PHINode &P :
ExitBlock
->phis()) {
221
if (!
ExitBlock
&& !L->hasNoExitBlocks()) {
227
if (!isLoopDead(L, SE, ExitingBlocks,
ExitBlock
, Changed, Preheader)) {
LoopFuse.cpp
157
BasicBlock *
ExitBlock
;
190
ExitingBlock(L->getExitingBlock()),
ExitBlock
(L->getExitBlock()),
236
return Preheader && Header && ExitingBlock &&
ExitBlock
&& Latch && L &&
248
assert(
ExitBlock
== L->getExitBlock() && "Exit block is out of sync");
270
ExitBlock
= L->getExitBlock();
307
<< "\tExitBB: " << (
ExitBlock
?
ExitBlock
->getName() : "nullptr")
328
if (!
ExitBlock
)
797
FC0.GuardBranch ? FC0.
ExitBlock
->getUniqueSuccessor() : FC1.Preheader;
802
if (Pred != FC0.
ExitBlock
) {
[
all
...]
LoopUnswitch.cpp
263
BasicBlock *
ExitBlock
, Instruction *TI);
1096
BasicBlock *
ExitBlock
,
1121
assert(!L->contains(
ExitBlock
) && "Exit block is in the loop?");
1123
SplitBlock(
ExitBlock
, &
ExitBlock
->front(), DT, LI, MSSAU.get());
1314
BasicBlock *
ExitBlock
= ExitBlocks[I];
1315
SmallVector<BasicBlock *, 4> Preds(pred_begin(
ExitBlock
),
1316
pred_end(
ExitBlock
));
1320
SplitBlockPredecessors(
ExitBlock
, Preds, ".us-lcssa", DT, LI, MSSAU.get(),
LICM.cpp
179
Instruction &I, BasicBlock &
ExitBlock
, PHINode &PN, const LoopInfo *LI,
443
for (BasicBlock *
ExitBlock
: ExitBlocks) {
444
InsertPts.push_back(&*
ExitBlock
->getFirstInsertionPt());
1449
Instruction &I, BasicBlock &
ExitBlock
, PHINode &PN, const LoopInfo *LI,
1469
const ColorVector &CV = BlockColors.find(&
ExitBlock
)->second;
1482
ExitBlock
.getInstList().insert(
ExitBlock
.getFirstInsertionPt(), New);
1512
OInst->getName() + ".lcssa", &
ExitBlock
.front());
1553
BasicBlock *
ExitBlock
= TPN->getParent();
1555
auto It = SunkCopies.find(
ExitBlock
);
[
all
...]
LoopSimplifyCFG.cpp
268
for (auto *
ExitBlock
: ExitBlocks)
269
if (!LiveExitBlocks.count(
ExitBlock
) &&
270
UniqueDeadExits.insert(
ExitBlock
).second)
271
DeadExitBlocks.push_back(
ExitBlock
);
IndVarSimplify.cpp
1209
BasicBlock *
ExitBlock
= L->getExitBlock();
1210
if (!
ExitBlock
) return false;
1216
BasicBlock::iterator InsertPt =
ExitBlock
->getFirstInsertionPt();
1286
ToMove->moveBefore(*
ExitBlock
, InsertPt);
1600
BasicBlock *
ExitBlock
=
1602
if (!
ExitBlock
->phis().empty())
LoopDistribute.cpp
447
BasicBlock *
ExitBlock
= L->getExitBlock();
448
assert(
ExitBlock
&& "No single exit block");
472
Part->getVMap()[
ExitBlock
] = TopPH;
/src/external/apache2/llvm/dist/llvm/lib/Analysis/
SyncDependenceAnalysis.cpp
302
bool visitLoopExitEdge(const BasicBlock &
ExitBlock
,
306
return visitEdge(
ExitBlock
, DefBlock);
308
if (!computeJoin(
ExitBlock
, DefBlock))
312
DivDesc->LoopDivBlocks.insert(&
ExitBlock
);
313
LLVM_DEBUG(dbgs() << "\tDivergent loop exit: " <<
ExitBlock
.getName()
LoopNestAnalysis.cpp
257
// Returns whether the block `
ExitBlock
` contains at least one LCSSA Phi node.
258
auto ContainsLCSSAPhi = [](const BasicBlock &
ExitBlock
) {
259
return any_of(
ExitBlock
.phis(), [](const PHINode &PN) {
MustExecute.cpp
116
/// Return true if we can prove that the given
ExitBlock
is not reached on the
118
/// be executed before the
ExitBlock
is executed in any dynamic execution trace.
119
static bool CanProveNotTakenFirstIteration(const BasicBlock *
ExitBlock
,
122
auto *CondExitBlock =
ExitBlock
->getSinglePredecessor();
130
// If condition is constant and false leads to
ExitBlock
then we always
133
return BI->getSuccessor(Cond->getZExtValue() ? 1 : 0) ==
ExitBlock
;
144
auto DL =
ExitBlock
->getModule()->getDataLayout();
153
if (
ExitBlock
== BI->getSuccessor(0))
155
assert(
ExitBlock
== BI->getSuccessor(1) && "implied by above");
/src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
CodeExtractor.h
187
BasicBlock *&
ExitBlock
) const;
209
Instruction *Addr, BasicBlock *
ExitBlock
) const;
/src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
PartialInlining.cpp
178
BasicBlock *EntryBlock, BasicBlock *
ExitBlock
,
181
ExitBlock
(
ExitBlock
), ReturnBlock(ReturnBlock) {}
184
BasicBlock *
ExitBlock
;
421
BasicBlock *
ExitBlock
= nullptr;
425
if (
ExitBlock
) {
436
ExitBlock
= Block;
440
return
ExitBlock
;
514
BasicBlock *
ExitBlock
= nullptr;
516
if (!(
ExitBlock
= IsSingleExit(DominateVector)))
[
all
...]
LoopExtractor.cpp
207
for (auto *
ExitBlock
: ExitBlocks)
208
if (!isa<ReturnInst>(
ExitBlock
->getTerminator())) {
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
LoopUtils.cpp
590
auto *
ExitBlock
= L->getUniqueExitBlock();
592
if (
ExitBlock
) {
593
assert(
ExitBlock
&& "Should have a unique exit block!");
596
Builder.CreateCondBr(Builder.getFalse(), L->getHeader(),
ExitBlock
);
602
for (PHINode &P :
ExitBlock
->phis()) {
624
DTU.applyUpdates({{DominatorTree::Insert, Preheader,
ExitBlock
}});
626
MSSAU->applyUpdates({{DominatorTree::Insert, Preheader,
ExitBlock
}},
635
Builder.CreateBr(
ExitBlock
);
664
if (
ExitBlock
) {
706
DIBuilder DIB(*
ExitBlock
->getModule())
[
all
...]
CodeExtractor.cpp
447
BasicBlock *
ExitBlock
) const {
488
if (Info.HoistLifeEnd && !
ExitBlock
)
496
BasicBlock *&
ExitBlock
) const {
498
ExitBlock
= getCommonExitBlock(Blocks);
529
LifetimeMarkerInfo MarkerInfo = getLifetimeMarkers(CEAC, AI,
ExitBlock
);
583
LifetimeMarkerInfo LMI = getLifetimeMarkers(CEAC, Bitcast,
ExitBlock
);
/src/external/apache2/llvm/dist/llvm/lib/Remarks/
BitstreamRemarkSerializer.cpp
229
Bitstream.
ExitBlock
();
264
Bitstream.
ExitBlock
();
314
Bitstream.
ExitBlock
();
/src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGCUDANV.cpp
801
llvm::BasicBlock *
ExitBlock
=
822
CtorBuilder.CreateCondBr(EQZero, IfBlock,
ExitBlock
);
831
CtorBuilder.CreateBr(
ExitBlock
);
834
CtorBuilder.SetInsertPoint(
ExitBlock
);
960
llvm::BasicBlock *
ExitBlock
=
964
DtorBuilder.CreateCondBr(NEZero, IfBlock,
ExitBlock
);
969
DtorBuilder.CreateBr(
ExitBlock
);
971
DtorBuilder.SetInsertPoint(
ExitBlock
);
CGDeclCXX.cpp
758
llvm::BasicBlock *
ExitBlock
= nullptr;
766
ExitBlock
= createBasicBlock("exit");
767
EmitCXXGuardedInitBranch(Uninit, InitBlock,
ExitBlock
,
797
if (
ExitBlock
) {
798
Builder.CreateBr(
ExitBlock
);
799
EmitBlock(
ExitBlock
);
CGStmt.cpp
836
llvm::BasicBlock *
ExitBlock
= LoopExit.getBlock();
838
ExitBlock
= createBasicBlock("while.exit");
844
Builder.CreateCondBr(BoolCondVal, LoopBody,
ExitBlock
, Weights);
846
if (
ExitBlock
!= LoopExit.getBlock()) {
847
EmitBlock(
ExitBlock
);
1007
llvm::BasicBlock *
ExitBlock
= LoopExit.getBlock();
1011
ExitBlock
= createBasicBlock("for.cond.cleanup");
1025
Builder.CreateCondBr(BoolCondVal, ForBody,
ExitBlock
, Weights);
1027
if (
ExitBlock
!= LoopExit.getBlock()) {
1028
EmitBlock(
ExitBlock
);
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
ControlHeightReduction.cpp
375
BasicBlock *
ExitBlock
,
1571
BasicBlock *EntryBlock, BasicBlock *
ExitBlock
,
1592
!(isa<PHINode>(UI) && UI->getParent() ==
ExitBlock
)) {
1609
//
ExitBlock
. Replace I with the new phi in UI unless UI is another
1610
// phi at
ExitBlock
.
1611
PHINode *PN = PHINode::Create(I.getType(), pred_size(
ExitBlock
), "",
1612
&
ExitBlock
->front());
1613
for (BasicBlock *Pred : predecessors(
ExitBlock
)) {
1696
BasicBlock *
ExitBlock
= LastRegion->getExit();
1699
if (
ExitBlock
) {
[
all
...]
InstrProfiling.cpp
195
BasicBlock *
ExitBlock
= ExitBlocks[i];
197
// Get LiveIn value into the
ExitBlock
. If there are multiple
200
Value *LiveInValue = SSA.GetValueInMiddleOfBlock(
ExitBlock
);
217
auto *TargetLoop = LI.getLoopFor(
ExitBlock
);
253
for (BasicBlock *
ExitBlock
: LoopExitBlocks) {
254
if (BlockSet.insert(
ExitBlock
).second) {
255
ExitBlocks.push_back(
ExitBlock
);
256
InsertPts.push_back(&*
ExitBlock
->getFirstInsertionPt());
/src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/
BitcodeWriter.cpp
822
Stream.
ExitBlock
();
844
Stream.
ExitBlock
();
1022
Stream.
ExitBlock
();
2265
Stream.
ExitBlock
();
2276
Stream.
ExitBlock
();
2322
Stream.
ExitBlock
();
2346
Stream.
ExitBlock
();
2373
Stream.
ExitBlock
();
2391
Stream.
ExitBlock
();
2658
Stream.
ExitBlock
();
[
all
...]
/src/external/apache2/llvm/dist/clang/lib/Frontend/
SerializedDiagnosticPrinter.cpp
514
Stream.
ExitBlock
();
524
Stream.
ExitBlock
();
683
State->Stream.
ExitBlock
();
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
VPlan.h
1661
/// Set \p
ExitBlock
as the exit VPBlockBase of this VPRegionBlock. \p
1662
///
ExitBlock
must have no successors.
1663
void setExit(VPBlockBase *
ExitBlock
) {
1664
assert(
ExitBlock
->getSuccessors().empty() &&
1666
Exit =
ExitBlock
;
1667
ExitBlock
->setParent(this);
/src/external/apache2/llvm/dist/clang/lib/Serialization/
GlobalModuleIndex.cpp
507
Stream.
ExitBlock
();
847
Stream.
ExitBlock
();
Completed in 92 milliseconds
1
2
Indexes created Tue Jun 09 00:24:00 UTC 2026