Home
last modified time | relevance | path

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

/external/llvm/lib/VMCore/
DDominators.cpp89 const BasicBlock *DefBB = Def->getParent(); in dominates() local
96 if (!isReachableFromEntry(DefBB)) in dominates()
110 if (DefBB != UseBB) in dominates()
111 return dominates(DefBB, UseBB); in dominates()
114 BasicBlock::const_iterator I = DefBB->begin(); in dominates()
125 const BasicBlock *DefBB = Def->getParent(); in dominates() local
132 if (!isReachableFromEntry(DefBB)) in dominates()
135 if (DefBB == UseBB) in dominates()
140 return dominates(DefBB, UseBB); in dominates()
176 if (BB == DefBB) in dominates()
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h47 BBInfo *DefBB; // Block that defines the available value. variable
55 : BB(ThisBB), AvailableVal(V), DefBB(V ? this : 0), BlkNum(0), IDom(0), in BBInfo()
93 return BBMap[BB]->DefBB->AvailableVal; in GetValue()
244 Pred->DefBB = Pred; in FindDominators()
270 if (Pred->DefBB == Pred) in IsDefInDomFrontier()
290 if (Info->DefBB == Info) in FindPHIPlacement()
294 BBInfo *NewDefBB = Info->IDom->DefBB; in FindPHIPlacement()
304 if (NewDefBB != Info->DefBB) { in FindPHIPlacement()
305 Info->DefBB = NewDefBB; in FindPHIPlacement()
325 if (Info->DefBB != Info) in FindAvailableVals()
[all …]
/external/llvm/lib/Transforms/Scalar/
DCodeGenPrepare.cpp418 BasicBlock *DefBB = CI->getParent(); in OptimizeNoopCopyExpression() local
440 if (UserBB == DefBB) continue; in OptimizeNoopCopyExpression()
474 BasicBlock *DefBB = CI->getParent(); in OptimizeCmpExpression() local
496 if (UserBB == DefBB) continue; in OptimizeCmpExpression()
1021 BasicBlock *DefBB = I->getParent(); in OptimizeExtUses() local
1035 if (!isa<Instruction>(Src) || DefBB != cast<Instruction>(Src)->getParent()) in OptimizeExtUses()
1045 if (UserBB == DefBB) continue; in OptimizeExtUses()
1057 if (UserBB == DefBB) continue; in OptimizeExtUses()
1075 if (UserBB == DefBB) continue; in OptimizeExtUses()
/external/llvm/lib/CodeGen/
DTailDuplication.cpp228 MachineBasicBlock *DefBB = 0; in TailDuplicateAndUpdate() local
230 DefBB = DefMI->getParent(); in TailDuplicateAndUpdate()
231 SSAUpdate.AddAvailableValue(DefBB, VReg); in TailDuplicateAndUpdate()
257 if (UseMI->getParent() == DefBB && !UseMI->isPHI()) in TailDuplicateAndUpdate()