Home
last modified time | relevance | path

Searched refs:NegVal (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp2059 Value *NegVal; // Compute -Z in foldAddSubSelect() local
2061 NegVal = Builder.CreateFNeg(SubOp->getOperand(1)); in foldAddSubSelect()
2062 if (Instruction *NegInst = dyn_cast<Instruction>(NegVal)) { in foldAddSubSelect()
2068 NegVal = Builder.CreateNeg(SubOp->getOperand(1)); in foldAddSubSelect()
2072 Value *NewFalseOp = NegVal; in foldAddSubSelect()
H A DInstCombineCalls.cpp2205 Value *NegVal = ConstantExpr::getNeg(C); in visitCallInst() local
2210 Arg0, NegVal)); in visitCallInst()
2266 Value *NegVal = ConstantExpr::getNeg(C); in visitCallInst() local
2269 Intrinsic::sadd_sat, Arg0, NegVal)); in visitCallInst()
H A DInstCombineCompares.cpp3495 if (Value *NegVal = dyn_castNegVal(BOp1)) in foldICmpBinOpEqualityWithConstant() local
3496 return new ICmpInst(Pred, BOp0, NegVal); in foldICmpBinOpEqualityWithConstant()
3497 if (Value *NegVal = dyn_castNegVal(BOp0)) in foldICmpBinOpEqualityWithConstant() local
3498 return new ICmpInst(Pred, NegVal, BOp1); in foldICmpBinOpEqualityWithConstant()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp1014 Value *NegVal = NegateValue(Sub->getOperand(1), Sub, ToRedo); in BreakUpSubtract() local
1016 CreateAdd(Sub->getOperand(0), NegVal, "", Sub->getIterator(), Sub); in BreakUpSubtract()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp5355 int64_t NegVal = std::min(Val1, Val2); in LowerSaturatingConditional() local
5369 if (NegVal == 0) in LowerSaturatingConditional()