Home
last modified time | relevance | path

Searched refs:SSAUpdate (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLCSSA.cpp212 SSAUpdater SSAUpdate; in ProcessInstruction() local
213 SSAUpdate.Initialize(Inst->getType(), Inst->getName()); in ProcessInstruction()
223 if (SSAUpdate.HasValueForBlock(ExitBB)) continue; in ProcessInstruction()
246 SSAUpdate.AddAvailableValue(ExitBB, PN); in ProcessInstruction()
268 SSAUpdate.RewriteUse(*UsesToRewrite[i]); in ProcessInstruction()
/external/llvm/lib/Transforms/Utils/
DLCSSA.cpp106 SSAUpdater SSAUpdate; in processInstruction() local
107 SSAUpdate.Initialize(Inst.getType(), Inst.getName()); in processInstruction()
116 if (SSAUpdate.HasValueForBlock(ExitBB)) in processInstruction()
138 SSAUpdate.AddAvailableValue(ExitBB, PN); in processInstruction()
174 SSAUpdate.RewriteUse(*UseToRewrite); in processInstruction()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DJumpThreading.cpp1393 SSAUpdater SSAUpdate; in ThreadEdge() local
1419 SSAUpdate.Initialize(I->getType(), I->getName()); in ThreadEdge()
1420 SSAUpdate.AddAvailableValue(BB, I); in ThreadEdge()
1421 SSAUpdate.AddAvailableValue(NewBB, ValueMapping[I]); in ThreadEdge()
1424 SSAUpdate.RewriteUse(*UsesToRename.pop_back_val()); in ThreadEdge()
1548 SSAUpdater SSAUpdate; in DuplicateCondBranchOnPHIIntoPred() local
1574 SSAUpdate.Initialize(I->getType(), I->getName()); in DuplicateCondBranchOnPHIIntoPred()
1575 SSAUpdate.AddAvailableValue(BB, I); in DuplicateCondBranchOnPHIIntoPred()
1576 SSAUpdate.AddAvailableValue(PredBB, ValueMapping[I]); in DuplicateCondBranchOnPHIIntoPred()
1579 SSAUpdate.RewriteUse(*UsesToRename.pop_back_val()); in DuplicateCondBranchOnPHIIntoPred()
DGVN.cpp1218 SSAUpdater SSAUpdate(&NewPHIs); in ConstructSSAForLoadSet() local
1219 SSAUpdate.Initialize(LI->getType(), LI->getName()); in ConstructSSAForLoadSet()
1227 if (SSAUpdate.HasValueForBlock(BB)) in ConstructSSAForLoadSet()
1230 SSAUpdate.AddAvailableValue(BB, AV.MaterializeAdjustedValue(LoadTy, gvn)); in ConstructSSAForLoadSet()
1234 Value *V = SSAUpdate.GetValueInMiddleOfBlock(LI->getParent()); in ConstructSSAForLoadSet()
/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp1533 SSAUpdater SSAUpdate; in ThreadEdge() local
1558 SSAUpdate.Initialize(I.getType(), I.getName()); in ThreadEdge()
1559 SSAUpdate.AddAvailableValue(BB, &I); in ThreadEdge()
1560 SSAUpdate.AddAvailableValue(NewBB, ValueMapping[&I]); in ThreadEdge()
1563 SSAUpdate.RewriteUse(*UsesToRename.pop_back_val()); in ThreadEdge()
1778 SSAUpdater SSAUpdate; in DuplicateCondBranchOnPHIIntoPred() local
1803 SSAUpdate.Initialize(I.getType(), I.getName()); in DuplicateCondBranchOnPHIIntoPred()
1804 SSAUpdate.AddAvailableValue(BB, &I); in DuplicateCondBranchOnPHIIntoPred()
1805 SSAUpdate.AddAvailableValue(PredBB, ValueMapping[&I]); in DuplicateCondBranchOnPHIIntoPred()
1808 SSAUpdate.RewriteUse(*UsesToRename.pop_back_val()); in DuplicateCondBranchOnPHIIntoPred()
DGVN.cpp1158 SSAUpdater SSAUpdate(&NewPHIs); in ConstructSSAForLoadSet() local
1159 SSAUpdate.Initialize(LI->getType(), LI->getName()); in ConstructSSAForLoadSet()
1164 if (SSAUpdate.HasValueForBlock(BB)) in ConstructSSAForLoadSet()
1167 SSAUpdate.AddAvailableValue(BB, AV.MaterializeAdjustedValue(LI, gvn)); in ConstructSSAForLoadSet()
1171 return SSAUpdate.GetValueInMiddleOfBlock(LI->getParent()); in ConstructSSAForLoadSet()
/external/llvm/lib/CodeGen/
DTailDuplicator.cpp136 MachineSSAUpdater SSAUpdate(MF, &NewPHIs); in tailDuplicateAndUpdate() local
156 SSAUpdate.Initialize(VReg); in tailDuplicateAndUpdate()
164 SSAUpdate.AddAvailableValue(DefBB, VReg); in tailDuplicateAndUpdate()
173 SSAUpdate.AddAvailableValue(SrcBB, SrcReg); in tailDuplicateAndUpdate()
192 SSAUpdate.RewriteUse(UseMO); in tailDuplicateAndUpdate()
DWinEHPrepare.cpp917 SSAUpdater SSAUpdate; in cloneCommonBlocks() local
918 SSAUpdate.Initialize(OldI->getType(), OldI->getName()); in cloneCommonBlocks()
919 SSAUpdate.AddAvailableValue(OldI->getParent(), OldI); in cloneCommonBlocks()
920 SSAUpdate.AddAvailableValue(NewI->getParent(), NewI); in cloneCommonBlocks()
923 SSAUpdate.RewriteUseAfterInsertions(*UsesToRename.pop_back_val()); in cloneCommonBlocks()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DTailDuplication.cpp202 MachineSSAUpdater SSAUpdate(MF, &NewPHIs); in TailDuplicateAndUpdate() local
222 SSAUpdate.Initialize(VReg); in TailDuplicateAndUpdate()
230 SSAUpdate.AddAvailableValue(DefBB, VReg); in TailDuplicateAndUpdate()
239 SSAUpdate.AddAvailableValue(SrcBB, SrcReg); in TailDuplicateAndUpdate()
258 SSAUpdate.RewriteUse(UseMO); in TailDuplicateAndUpdate()