/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 379 PredValueInfoTy LHSVals, RHSVals; in ComputeValueKnownInPredecessors() local 388 ComputeValueKnownInPredecessors(I->getOperand(0), BB, LHSVals, in ComputeValueKnownInPredecessors() 393 if (LHSVals.empty() && RHSVals.empty()) in ComputeValueKnownInPredecessors() 406 for (unsigned i = 0, e = LHSVals.size(); i != e; ++i) in ComputeValueKnownInPredecessors() 407 if (LHSVals[i].first == InterestingVal || in ComputeValueKnownInPredecessors() 408 isa<UndefValue>(LHSVals[i].first)) { in ComputeValueKnownInPredecessors() 409 Result.push_back(LHSVals[i]); in ComputeValueKnownInPredecessors() 411 LHSKnownBBs.insert(LHSVals[i].second); in ComputeValueKnownInPredecessors() 448 PredValueInfoTy LHSVals; in ComputeValueKnownInPredecessors() local 449 ComputeValueKnownInPredecessors(BO->getOperand(0), BB, LHSVals, in ComputeValueKnownInPredecessors() [all …]
|
/external/llvm/lib/CodeGen/ |
D | RegisterCoalescer.cpp | 2550 JoinVals LHSVals(LRange, CP.getDstReg(), CP.getDstIdx(), LaneMask, in joinSubRegRanges() local 2558 if (!LHSVals.mapValues(RHSVals) || !RHSVals.mapValues(LHSVals)) { in joinSubRegRanges() 2563 if (!LHSVals.resolveConflicts(RHSVals) || in joinSubRegRanges() 2564 !RHSVals.resolveConflicts(LHSVals)) { in joinSubRegRanges() 2575 LHSVals.pruneValues(RHSVals, EndPoints, false); in joinSubRegRanges() 2576 RHSVals.pruneValues(LHSVals, EndPoints, false); in joinSubRegRanges() 2578 LHSVals.removeImplicitDefs(); in joinSubRegRanges() 2585 LRange.join(RRange, LHSVals.getAssignments(), RHSVals.getAssignments(), in joinSubRegRanges() 2646 JoinVals LHSVals(LHS, CP.getDstReg(), CP.getDstIdx(), 0, NewVNInfo, CP, LIS, in joinVirtRegs() local 2655 if (!LHSVals.mapValues(RHSVals) || !RHSVals.mapValues(LHSVals)) in joinVirtRegs() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | RegisterCoalescer.cpp | 3048 JoinVals LHSVals(LRange, CP.getDstReg(), CP.getDstIdx(), LaneMask, in joinSubRegRanges() local 3056 if (!LHSVals.mapValues(RHSVals) || !RHSVals.mapValues(LHSVals)) { in joinSubRegRanges() 3061 if (!LHSVals.resolveConflicts(RHSVals) || in joinSubRegRanges() 3062 !RHSVals.resolveConflicts(LHSVals)) { in joinSubRegRanges() 3073 LHSVals.pruneValues(RHSVals, EndPoints, false); in joinSubRegRanges() 3074 RHSVals.pruneValues(LHSVals, EndPoints, false); in joinSubRegRanges() 3076 LHSVals.removeImplicitDefs(); in joinSubRegRanges() 3083 LRange.join(RRange, LHSVals.getAssignments(), RHSVals.getAssignments(), in joinSubRegRanges() 3129 JoinVals LHSVals(LHS, CP.getDstReg(), CP.getDstIdx(), LaneBitmask::getNone(), in joinVirtRegs() local 3136 if (!LHSVals.mapValues(RHSVals) || !RHSVals.mapValues(LHSVals)) in joinVirtRegs() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 463 PredValueInfoTy LHSVals, RHSVals; in ComputeValueKnownInPredecessors() local 472 ComputeValueKnownInPredecessors(I->getOperand(0), BB, LHSVals, in ComputeValueKnownInPredecessors() 477 if (LHSVals.empty() && RHSVals.empty()) in ComputeValueKnownInPredecessors() 490 for (const auto &LHSVal : LHSVals) in ComputeValueKnownInPredecessors() 527 PredValueInfoTy LHSVals; in ComputeValueKnownInPredecessors() local 528 ComputeValueKnownInPredecessors(BO->getOperand(0), BB, LHSVals, in ComputeValueKnownInPredecessors() 532 for (const auto &LHSVal : LHSVals) { in ComputeValueKnownInPredecessors() 604 PredValueInfoTy LHSVals; in ComputeValueKnownInPredecessors() local 605 ComputeValueKnownInPredecessors(I->getOperand(0), BB, LHSVals, in ComputeValueKnownInPredecessors() 608 for (const auto &LHSVal : LHSVals) { in ComputeValueKnownInPredecessors()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 673 PredValueInfoTy LHSVals, RHSVals; in ComputeValueKnownInPredecessors() local 675 ComputeValueKnownInPredecessors(I->getOperand(0), BB, LHSVals, in ComputeValueKnownInPredecessors() 680 if (LHSVals.empty() && RHSVals.empty()) in ComputeValueKnownInPredecessors() 693 for (const auto &LHSVal : LHSVals) in ComputeValueKnownInPredecessors() 730 PredValueInfoTy LHSVals; in ComputeValueKnownInPredecessors() local 731 ComputeValueKnownInPredecessors(BO->getOperand(0), BB, LHSVals, in ComputeValueKnownInPredecessors() 735 for (const auto &LHSVal : LHSVals) { in ComputeValueKnownInPredecessors() 876 PredValueInfoTy LHSVals; in ComputeValueKnownInPredecessors() local 877 ComputeValueKnownInPredecessors(I->getOperand(0), BB, LHSVals, in ComputeValueKnownInPredecessors() 880 for (const auto &LHSVal : LHSVals) { in ComputeValueKnownInPredecessors()
|