Home
last modified time | relevance | path

Searched refs:DefBB (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/IR/
DDominators.cpp84 const BasicBlock *DefBB = Def->getParent(); in dominates() local
91 if (!isReachableFromEntry(DefBB)) in dominates()
105 if (DefBB != UseBB) in dominates()
106 return dominates(DefBB, UseBB); in dominates()
109 BasicBlock::const_iterator I = DefBB->begin(); in dominates()
120 const BasicBlock *DefBB = Def->getParent(); in dominates() local
127 if (!isReachableFromEntry(DefBB)) in dominates()
130 if (DefBB == UseBB) in dominates()
135 return dominates(DefBB, UseBB); in dominates()
140 BasicBlockEdge E(DefBB, NormalDest); in dominates()
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h49 BBInfo *DefBB; // Block that defines the available value. variable
57 : BB(ThisBB), AvailableVal(V), DefBB(V ? this : nullptr), BlkNum(0), in BBInfo()
95 return BBMap[BB]->DefBB->AvailableVal; in GetValue()
246 Pred->DefBB = Pred; in FindDominators()
272 if (Pred->DefBB == Pred) in IsDefInDomFrontier()
292 if (Info->DefBB == Info) in FindPHIPlacement()
296 BBInfo *NewDefBB = Info->IDom->DefBB; in FindPHIPlacement()
306 if (NewDefBB != Info->DefBB) { in FindPHIPlacement()
307 Info->DefBB = NewDefBB; in FindPHIPlacement()
327 if (Info->DefBB != Info) in FindAvailableVals()
[all …]
/external/llvm/lib/CodeGen/
DTailDuplication.cpp252 MachineBasicBlock *DefBB = nullptr; in TailDuplicateAndUpdate() local
254 DefBB = DefMI->getParent(); in TailDuplicateAndUpdate()
255 SSAUpdate.AddAvailableValue(DefBB, VReg); in TailDuplicateAndUpdate()
281 if (UseMI->getParent() == DefBB && !UseMI->isPHI()) in TailDuplicateAndUpdate()
DCodeGenPrepare.cpp664 BasicBlock *DefBB = CI->getParent(); in SinkCast() local
686 if (UserBB == DefBB) continue; in SinkCast()
804 BasicBlock *DefBB = CI->getParent(); in SinkCmpExpression() local
826 if (UserBB == DefBB) continue; in SinkCmpExpression()
973 BasicBlock *DefBB = ShiftI->getParent(); in OptimizeExtractBits() local
997 if (UserBB == DefBB) { in OptimizeExtractBits()
3711 BasicBlock *DefBB = I->getParent(); in OptimizeExtUses() local
3725 if (!isa<Instruction>(Src) || DefBB != cast<Instruction>(Src)->getParent()) in OptimizeExtUses()
3734 if (UserBB == DefBB) continue; in OptimizeExtUses()
3745 if (UserBB == DefBB) continue; in OptimizeExtUses()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp588 MachineBasicBlock *DefBB = MRI->getVRegDef(R)->getParent(); in getLoopTripCount() local
589 if (!MDT->properlyDominates(DefBB, Header)) in getLoopTripCount()
595 MachineBasicBlock *DefBB = MRI->getVRegDef(R)->getParent(); in getLoopTripCount() local
596 if (!MDT->properlyDominates(DefBB, Header)) in getLoopTripCount()