Home
last modified time | relevance | path

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

/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-10.0/llvm/lib/Transforms/Utils/
DLCSSA.cpp137 SSAUpdater SSAUpdate(&InsertedPHIs); in formLCSSAForInstructions() local
138 SSAUpdate.Initialize(I->getType(), I->getName()); in formLCSSAForInstructions()
152 if (SSAUpdate.HasValueForBlock(ExitBB)) in formLCSSAForInstructions()
175 SSAUpdate.AddAvailableValue(ExitBB, PN); in formLCSSAForInstructions()
215 SSAUpdate.RewriteUse(*UseToRewrite); in formLCSSAForInstructions()
231 : SSAUpdate.FindValueForBlock(UserBB); in formLCSSAForInstructions()
/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-10.0/llvm/lib/CodeGen/
DTailDuplicator.cpp175 MachineSSAUpdater SSAUpdate(*MF, &NewPHIs); in tailDuplicateAndUpdate() local
195 SSAUpdate.Initialize(VReg); in tailDuplicateAndUpdate()
203 SSAUpdate.AddAvailableValue(DefBB, VReg); in tailDuplicateAndUpdate()
212 SSAUpdate.AddAvailableValue(SrcBB, SrcReg); in tailDuplicateAndUpdate()
231 SSAUpdate.RewriteUse(UseMO); in tailDuplicateAndUpdate()
DWinEHPrepare.cpp922 SSAUpdater SSAUpdate; in cloneCommonBlocks() local
923 SSAUpdate.Initialize(OldI->getType(), OldI->getName()); in cloneCommonBlocks()
924 SSAUpdate.AddAvailableValue(OldI->getParent(), OldI); in cloneCommonBlocks()
925 SSAUpdate.AddAvailableValue(NewI->getParent(), NewI); in cloneCommonBlocks()
928 SSAUpdate.RewriteUseAfterInsertions(*UsesToRename.pop_back_val()); in cloneCommonBlocks()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp1941 SSAUpdater SSAUpdate; in UpdateSSA() local
1966 SSAUpdate.Initialize(I.getType(), I.getName()); in UpdateSSA()
1967 SSAUpdate.AddAvailableValue(BB, &I); in UpdateSSA()
1968 SSAUpdate.AddAvailableValue(NewBB, ValueMapping[&I]); in UpdateSSA()
1971 SSAUpdate.RewriteUse(*UsesToRename.pop_back_val()); in UpdateSSA()
DGVN.cpp747 SSAUpdater SSAUpdate(&NewPHIs); in ConstructSSAForLoadSet() local
748 SSAUpdate.Initialize(LI->getType(), LI->getName()); in ConstructSSAForLoadSet()
753 if (SSAUpdate.HasValueForBlock(BB)) in ConstructSSAForLoadSet()
765 SSAUpdate.AddAvailableValue(BB, AV.MaterializeAdjustedValue(LI, gvn)); in ConstructSSAForLoadSet()
769 return SSAUpdate.GetValueInMiddleOfBlock(LI->getParent()); in ConstructSSAForLoadSet()