OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SuccToSinkTo
(Results
1 - 2
of
2
) sorted by null
/external/llvm/lib/CodeGen/
MachineSink.cpp
96
MachineBasicBlock *
SuccToSinkTo
);
433
MachineBasicBlock *
SuccToSinkTo
) {
435
assert (
SuccToSinkTo
&& "Invalid SinkTo Candidate BB");
437
if (MBB ==
SuccToSinkTo
)
440
// It is profitable if
SuccToSinkTo
does not post dominate current block.
441
if (!isPostDominatedBy(MBB,
SuccToSinkTo
))
451
if (UseBlock ==
SuccToSinkTo
&& !UseInst->isPHI())
457
// If
SuccToSinkTo
post dominates then also it may be profitable if MI
461
if (MachineBasicBlock *MBB2 = FindSuccToSinkTo(MI,
SuccToSinkTo
, BreakPHIEdge))
462
return isProfitableToSinkTo(Reg, MI,
SuccToSinkTo
, MBB2)
[
all
...]
/external/llvm/lib/Transforms/Scalar/
Sink.cpp
59
bool IsAcceptableTarget(Instruction *Inst, BasicBlock *
SuccToSinkTo
) const;
181
BasicBlock *
SuccToSinkTo
) const {
183
assert(
SuccToSinkTo
&& "Candidate sink target is null");
187
if (Inst->getParent() ==
SuccToSinkTo
)
194
if (
SuccToSinkTo
->getUniquePredecessor() != Inst->getParent()) {
202
if (!DT->dominates(Inst->getParent(),
SuccToSinkTo
))
206
Loop *succ = LI->getLoopFor(
SuccToSinkTo
);
214
return AllUsesDominatedByBlock(Inst,
SuccToSinkTo
);
233
//
SuccToSinkTo
- This is the successor to sink this instruction to, once we
235
BasicBlock *
SuccToSinkTo
= 0
[
all
...]
Completed in 459 milliseconds