Home
last modified time | relevance | path

Searched refs:SSAUpdate (Results 1 – 14 of 14) 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLCSSA.cpp133 SSAUpdater SSAUpdate(&InsertedPHIs); in formLCSSAForInstructions() local
134 SSAUpdate.Initialize(I->getType(), I->getName()); in formLCSSAForInstructions()
143 if (SSAUpdate.HasValueForBlock(ExitBB)) in formLCSSAForInstructions()
166 SSAUpdate.AddAvailableValue(ExitBB, PN); in formLCSSAForInstructions()
202 SSAUpdate.RewriteUse(*UseToRewrite); in formLCSSAForInstructions()
216 if (Value *V = SSAUpdate.FindValueForBlock(UserBB)) in formLCSSAForInstructions()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTailDuplicator.cpp169 MachineSSAUpdater SSAUpdate(*MF, &NewPHIs); in tailDuplicateAndUpdate() local
189 SSAUpdate.Initialize(VReg); in tailDuplicateAndUpdate()
197 SSAUpdate.AddAvailableValue(DefBB, VReg); in tailDuplicateAndUpdate()
206 SSAUpdate.AddAvailableValue(SrcBB, SrcReg); in tailDuplicateAndUpdate()
225 SSAUpdate.RewriteUse(UseMO); in tailDuplicateAndUpdate()
DWinEHPrepare.cpp921 SSAUpdater SSAUpdate; in cloneCommonBlocks() local
922 SSAUpdate.Initialize(OldI->getType(), OldI->getName()); in cloneCommonBlocks()
923 SSAUpdate.AddAvailableValue(OldI->getParent(), OldI); in cloneCommonBlocks()
924 SSAUpdate.AddAvailableValue(NewI->getParent(), NewI); in cloneCommonBlocks()
927 SSAUpdate.RewriteUseAfterInsertions(*UsesToRename.pop_back_val()); in cloneCommonBlocks()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp2020 SSAUpdater SSAUpdate; in ThreadEdge() local
2046 SSAUpdate.Initialize(I.getType(), I.getName()); in ThreadEdge()
2047 SSAUpdate.AddAvailableValue(BB, &I); in ThreadEdge()
2048 SSAUpdate.AddAvailableValue(NewBB, ValueMapping[&I]); in ThreadEdge()
2051 SSAUpdate.RewriteUse(*UsesToRename.pop_back_val()); in ThreadEdge()
2341 SSAUpdater SSAUpdate; in DuplicateCondBranchOnPHIIntoPred() local
2366 SSAUpdate.Initialize(I.getType(), I.getName()); in DuplicateCondBranchOnPHIIntoPred()
2367 SSAUpdate.AddAvailableValue(BB, &I); in DuplicateCondBranchOnPHIIntoPred()
2368 SSAUpdate.AddAvailableValue(PredBB, ValueMapping[&I]); in DuplicateCondBranchOnPHIIntoPred()
2371 SSAUpdate.RewriteUse(*UsesToRename.pop_back_val()); in DuplicateCondBranchOnPHIIntoPred()
DGVN.cpp760 SSAUpdater SSAUpdate(&NewPHIs); in ConstructSSAForLoadSet() local
761 SSAUpdate.Initialize(LI->getType(), LI->getName()); in ConstructSSAForLoadSet()
766 if (SSAUpdate.HasValueForBlock(BB)) in ConstructSSAForLoadSet()
778 SSAUpdate.AddAvailableValue(BB, AV.MaterializeAdjustedValue(LI, gvn)); in ConstructSSAForLoadSet()
782 return SSAUpdate.GetValueInMiddleOfBlock(LI->getParent()); in ConstructSSAForLoadSet()