Searched refs:CommonValue (Results 1 – 5 of 5) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | CorrelatedValuePropagation.cpp | 159 Value *CommonValue = nullptr; in simplifyCommonValuePhi() local 164 } else if (!CommonValue) { in simplifyCommonValuePhi() 166 CommonValue = Incoming; in simplifyCommonValuePhi() 167 } else if (Incoming != CommonValue) { in simplifyCommonValuePhi() 173 if (!CommonValue || IncomingConstants.empty()) in simplifyCommonValuePhi() 178 if (auto *CommonInst = dyn_cast<Instruction>(CommonValue)) in simplifyCommonValuePhi() 188 if (C != LVI->getConstantOnEdge(CommonValue, IncomingBB, ToBB, P)) in simplifyCommonValuePhi() 195 if (!isGuaranteedNotToBePoison(CommonValue, nullptr, P, DT)) in simplifyCommonValuePhi() 200 P->replaceAllUsesWith(CommonValue); in simplifyCommonValuePhi()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 498 Value *CommonValue = nullptr; in threadBinOpOverPHI() local 511 if (!V || (CommonValue && V != CommonValue)) in threadBinOpOverPHI() 513 CommonValue = V; in threadBinOpOverPHI() 516 return CommonValue; in threadBinOpOverPHI() 542 Value *CommonValue = nullptr; in threadCmpOverPHI() local 556 if (!V || (CommonValue && V != CommonValue)) in threadCmpOverPHI() 558 CommonValue = V; in threadCmpOverPHI() 561 return CommonValue; in threadCmpOverPHI() 5314 Value *CommonValue = nullptr; in simplifyPHINode() local 5330 if (CommonValue && Incoming != CommonValue) in simplifyPHINode() [all …]
|
| H A D | ConstantFolding.cpp | 1140 Constant *CommonValue = nullptr; in ConstantFoldInstruction() local 1158 if (CommonValue && C != CommonValue) in ConstantFoldInstruction() 1160 CommonValue = C; in ConstantFoldInstruction() 1164 return CommonValue ? CommonValue : UndefValue::get(PN->getType()); in ConstantFoldInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 4138 Value *CommonValue = nullptr; member in __anon1d600f580f11::AddressingModeCombiner 4230 CommonValue = findCommon(Map); in combineAddrModes() 4231 if (CommonValue) in combineAddrModes() 4232 AddrModes[0].SetCombinedField(DifferentField, CommonValue, AddrModes); in combineAddrModes() 4233 return CommonValue != nullptr; in combineAddrModes() 4240 if (CommonValue && CommonValue->use_empty()) in eraseCommonValueIfDead() 4241 if (Instruction *CommonInst = dyn_cast<Instruction>(CommonValue)) in eraseCommonValueIfDead()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 6586 SDValue CommonValue, Operand1, Operand2; in foldAndOrOfSETCC() local 6590 CommonValue = LHS0; in foldAndOrOfSETCC() 6595 CommonValue = LHS1; in foldAndOrOfSETCC() 6603 CommonValue = LHS0; in foldAndOrOfSETCC() 6608 CommonValue = LHS1; in foldAndOrOfSETCC() 6617 if (CC == ISD::SETLT && isNullOrNullSplat(CommonValue)) in foldAndOrOfSETCC() 6619 else if (CC == ISD::SETGT && isAllOnesOrAllOnesSplat(CommonValue)) in foldAndOrOfSETCC() 6641 return DAG.getSetCC(DL, VT, MinMaxValue, CommonValue, CC); in foldAndOrOfSETCC()
|