/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | LCSSA.cpp | 212 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/ |
D | LCSSA.cpp | 133 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/ |
D | LCSSA.cpp | 106 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/ |
D | JumpThreading.cpp | 1393 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()
|
D | GVN.cpp | 1218 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/ |
D | JumpThreading.cpp | 1533 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()
|
D | GVN.cpp | 1158 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/ |
D | TailDuplicator.cpp | 169 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()
|
D | WinEHPrepare.cpp | 921 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/ |
D | TailDuplicator.cpp | 136 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()
|
D | WinEHPrepare.cpp | 917 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/ |
D | TailDuplication.cpp | 202 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/ |
D | JumpThreading.cpp | 2020 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()
|
D | GVN.cpp | 760 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()
|