Home
last modified time | relevance | path

Searched refs:OtherVal (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp85 APSInt OtherVal = Other.getValue(); in compare() local
87 bool OtherSigned = OtherVal.isSigned(); in compare()
94 OtherVal = OtherVal.extOrTrunc(CommonWidth); in compare()
97 OtherVal = OtherVal.shl(Other.getLsbWeight() - CommonLsb); in compare()
100 if (ThisVal.sgt(OtherVal)) in compare()
102 else if (ThisVal.slt(OtherVal)) in compare()
105 if (ThisVal.ugt(OtherVal)) in compare()
107 else if (ThisVal.ult(OtherVal)) in compare()
112 else if (ThisVal.ugt(OtherVal)) in compare()
114 else if (ThisVal.ult(OtherVal)) in compare()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DValue.cpp51 llvm::Value *OtherVal = OtherV->Val; in replaceUsesWithIf() local
54 OtherVal, [&ShouldReplace, this, OtherV](llvm::Use &LLVMUse) -> bool { in replaceUsesWithIf()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp509 Value *OtherVal = Other ? Other : V; in visitBinaryOperator() local
513 std::swap(ConstVal, OtherVal); in visitBinaryOperator()
516 simplifyBinOp(I.getOpcode(), ConstVal, OtherVal, SimplifyQuery(DL))); in visitBinaryOperator()
H A DGlobalOpt.cpp1169 static bool TryToShrinkGlobalToBoolean(GlobalVariable *GV, Constant *OtherVal) { in TryToShrinkGlobalToBoolean() argument
1215 auto *CI = dyn_cast<ConstantInt>(OtherVal); in TryToShrinkGlobalToBoolean()
1266 bool StoringOther = SI->getOperand(0) == OtherVal; in TryToShrinkGlobalToBoolean()
1310 NSI = SelectInst::Create(NLI, OtherVal, InitVal, "", LI->getIterator()); in TryToShrinkGlobalToBoolean()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DIRSimilarityIdentifier.cpp727 for (unsigned OtherVal : ValueMappingIt->second) { in compareAssignmentMapping() local
728 if (OtherVal == InstValB) in compareAssignmentMapping()
730 auto OtherValIt = ValueNumberMappingA.find(OtherVal); in compareAssignmentMapping()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp310 SDValue OtherVal = DAG.getNode(ISD::SCALAR_TO_VECTOR, dl, OtherVT, in ScalarizeVecRes_UnaryOpWithTwoResults() local
312 ReplaceValueWith(SDValue(N, OtherNo), OtherVal); in ScalarizeVecRes_UnaryOpWithTwoResults()
385 SDValue OtherVal = DAG.getNode( in ScalarizeVecRes_OverflowOp() local
387 ReplaceValueWith(SDValue(N, OtherNo), OtherVal); in ScalarizeVecRes_OverflowOp()
1974 SDValue OtherVal = DAG.getNode( in SplitVecRes_OverflowOp() local
1977 ReplaceValueWith(SDValue(N, OtherNo), OtherVal); in SplitVecRes_OverflowOp()
2687 SDValue OtherVal = in SplitVecRes_UnaryOpWithTwoResults() local
2690 ReplaceValueWith(SDValue(N, OtherNo), OtherVal); in SplitVecRes_UnaryOpWithTwoResults()
5402 SDValue OtherVal = DAG.getNode( in WidenVecRes_OverflowOp() local
5404 ReplaceValueWith(SDValue(N, OtherNo), OtherVal); in WidenVecRes_OverflowOp()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp5981 Value *OtherVal = A == Op1 ? B : A; in foldICmpEquality() local
5982 return new ICmpInst(Pred, OtherVal, Constant::getNullValue(A->getType())); in foldICmpEquality()
6009 Value *OtherVal = A == Op0 ? B : A; in foldICmpEquality() local
6010 return new ICmpInst(Pred, OtherVal, Constant::getNullValue(A->getType())); in foldICmpEquality()
6551 const APInt *OtherVal, in processUMulZExtIdiom() argument
6622 MaxVal = MaxVal.zext(OtherVal->getBitWidth()); in processUMulZExtIdiom()
6623 if (MaxVal.eq(*OtherVal)) in processUMulZExtIdiom()
6632 APInt MaxVal = APInt::getOneBitSet(OtherVal->getBitWidth(), MulWidth); in processUMulZExtIdiom()
6633 if (MaxVal.eq(*OtherVal)) in processUMulZExtIdiom()