Searched refs:CommonValue (Results 1 – 7 of 7) sorted by relevance
143 Value *CommonValue = nullptr; in simplifyCommonValuePhi() local148 } else if (!CommonValue) { in simplifyCommonValuePhi()150 CommonValue = Incoming; in simplifyCommonValuePhi()151 } else if (Incoming != CommonValue) { in simplifyCommonValuePhi()157 if (!CommonValue || IncomingConstants.empty()) in simplifyCommonValuePhi()162 if (auto *CommonInst = dyn_cast<Instruction>(CommonValue)) in simplifyCommonValuePhi()172 if (C != LVI->getConstantOnEdge(CommonValue, IncomingBB, ToBB, P)) in simplifyCommonValuePhi()178 P->replaceAllUsesWith(CommonValue); in simplifyCommonValuePhi()
472 Value *CommonValue = nullptr; in ThreadBinOpOverPHI() local481 if (!V || (CommonValue && V != CommonValue)) in ThreadBinOpOverPHI()483 CommonValue = V; in ThreadBinOpOverPHI()486 return CommonValue; in ThreadBinOpOverPHI()512 Value *CommonValue = nullptr; in ThreadCmpOverPHI() local519 if (!V || (CommonValue && V != CommonValue)) in ThreadCmpOverPHI()521 CommonValue = V; in ThreadCmpOverPHI()524 return CommonValue; in ThreadCmpOverPHI()3713 Value *CommonValue = nullptr; in SimplifyPHINode() local3723 if (CommonValue && Incoming != CommonValue) in SimplifyPHINode()[all …]
973 Constant *CommonValue = nullptr; in ConstantFoldInstruction() local991 if (CommonValue && C != CommonValue) in ConstantFoldInstruction()993 CommonValue = C; in ConstantFoldInstruction()998 return CommonValue ? CommonValue : UndefValue::get(PN->getType()); in ConstantFoldInstruction()
501 Value *CommonValue = nullptr; in ThreadBinOpOverPHI() local510 if (!V || (CommonValue && V != CommonValue)) in ThreadBinOpOverPHI()512 CommonValue = V; in ThreadBinOpOverPHI()515 return CommonValue; in ThreadBinOpOverPHI()541 Value *CommonValue = nullptr; in ThreadCmpOverPHI() local548 if (!V || (CommonValue && V != CommonValue)) in ThreadCmpOverPHI()550 CommonValue = V; in ThreadCmpOverPHI()553 return CommonValue; in ThreadCmpOverPHI()4109 Value *CommonValue = nullptr; in SimplifyPHINode() local4119 if (CommonValue && Incoming != CommonValue) in SimplifyPHINode()[all …]
1095 Constant *CommonValue = nullptr; in ConstantFoldInstruction() local1114 if (CommonValue && C != CommonValue) in ConstantFoldInstruction()1116 CommonValue = C; in ConstantFoldInstruction()1120 return CommonValue ? CommonValue : UndefValue::get(PN->getType()); in ConstantFoldInstruction()
1045 Value *CommonValue = PN->getIncomingValue(0); in NormalizeReturnBlock() local1047 [&](Value *V) { return V == CommonValue; })) in NormalizeReturnBlock()1048 return CommonValue; in NormalizeReturnBlock()
2843 Value *CommonValue = findCommon(Map); in combineAddrModes() local2844 if (CommonValue) in combineAddrModes()2845 AddrModes[0].SetCombinedField(DifferentField, CommonValue, AddrModes); in combineAddrModes()2846 return CommonValue != nullptr; in combineAddrModes()