Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DDominators.cpp80 const BasicBlock *DefBB = Def->getParent(); in dominates() local
87 if (!isReachableFromEntry(DefBB)) in dominates()
101 if (DefBB != UseBB) in dominates()
102 return dominates(DefBB, UseBB); in dominates()
105 BasicBlock::const_iterator I = DefBB->begin(); in dominates()
116 const BasicBlock *DefBB = Def->getParent(); in dominates() local
123 if (!isReachableFromEntry(DefBB)) in dominates()
126 if (DefBB == UseBB) in dominates()
133 BasicBlockEdge E(DefBB, NormalDest); in dominates()
137 return dominates(DefBB, UseBB); 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.cpp711 BasicBlock *DefBB = CI->getParent(); in SinkCast() local
739 if (UserBB == DefBB) continue; in SinkCast()
857 BasicBlock *DefBB = CI->getParent(); in SinkCmpExpression() local
879 if (UserBB == DefBB) continue; in SinkCmpExpression()
1028 BasicBlock *DefBB = ShiftI->getParent(); in OptimizeExtractBits() local
1052 if (UserBB == DefBB) { in OptimizeExtractBits()
4197 BasicBlock *DefBB = I->getParent(); in optimizeExtUses() local
4211 if (!isa<Instruction>(Src) || DefBB != cast<Instruction>(Src)->getParent()) in optimizeExtUses()
4220 if (UserBB == DefBB) continue; in optimizeExtUses()
4231 if (UserBB == DefBB) continue; in optimizeExtUses()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp664 MachineBasicBlock *DefBB = MRI->getVRegDef(R)->getParent(); in getLoopTripCount() local
665 if (!MDT->properlyDominates(DefBB, Header)) in getLoopTripCount()
671 MachineBasicBlock *DefBB = MRI->getVRegDef(R)->getParent(); in getLoopTripCount() local
672 if (!MDT->properlyDominates(DefBB, Header)) in getLoopTripCount()