Home
last modified time | relevance | path

Searched refs:getNot (Results 1 – 17 of 17) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueLattice.h208 static ValueLatticeElement getNot(Constant *C) { in getNot() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp3018 if (AConst == ConstantExpr::getNot(BConst) && in getSelectCondition()
4393 return BinaryOperator::CreateLShr(ConstantExpr::getNot(C), Y); in foldNot()
4403 return BinaryOperator::CreateAShr(ConstantExpr::getNot(C), Y); in foldNot()
4408 return BinaryOperator::CreateSub(ConstantExpr::getNot(C), X); in foldNot()
4487 Sel->setTrueValue(ConstantExpr::getNot(cast<Constant>(TV))); in foldNot()
4491 Sel->setFalseValue(ConstantExpr::getNot(cast<Constant>(FV))); in foldNot()
4567 X, Constant::mergeUndefsWith(ConstantExpr::getNot(C2), C1)); in visitXor()
4575 Value *And = Builder.CreateAnd(X, ConstantExpr::getNot(C2)); in visitXor()
4576 return BinaryOperator::CreateXor(And, ConstantExpr::getNot(C1)); in visitXor()
4580 Value *Or = Builder.CreateOr(X, ConstantExpr::getNot(C2)); in visitXor()
[all …]
H A DInstCombineNegator.cpp447 Value *Xor = Builder.CreateXor(Ops[0], ConstantExpr::getNot(C)); in visitImpl()
H A DInstCombinePHI.cpp1354 else if (IsCorrectInput(cast<ConstantInt>(ConstantExpr::getNot(Input)))) in simplifyUsingControlFlow()
H A DInstCombineShifts.cpp262 NewMask = ConstantExpr::getNot(ExtendedInvertedMask); in dropRedundantMaskingOfLeftShiftInput()
H A DInstCombineCompares.cpp3416 Constant *NotBOC = ConstantExpr::getNot(cast<Constant>(BOp1)); in foldICmpBinOpEqualityWithConstant()
4595 Constant *C2 = ConstantExpr::getNot(C); in foldICmpBinOp()
4602 Constant *C2 = ConstantExpr::getNot(C); in foldICmpBinOp()
5334 Value *And = Builder.CreateAnd(Xor, ConstantExpr::getNot(C)); in foldICmpEquality()
H A DInstructionCombining.cpp2292 return ConstantExpr::getNot(C); in getFreelyInvertedImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp645 return ValueLatticeElement::getNot(ConstantPointerNull::get(PT)); in solveBlockValueImpl()
828 BBLV = ValueLatticeElement::getNot(ConstantPointerNull::get(PTy)); in intersectAssumeOrGuardBlockValueConstantRange()
1163 return ValueLatticeElement::getNot(cast<Constant>(RHS)); in getValueFromICmpCondition()
H A DInstructionSimplify.cpp1995 if (ConstantExpr::getNot(C1) == C2) { in simplifyLogicOfAddSub()
H A DScalarEvolution.cpp4618 cast<ConstantInt>(ConstantExpr::getNot(VC->getValue()))); in getNotSCEV()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp1263 return ConstantExpr::getXor(C1, ConstantExpr::getNot(C2)); in ConstantFoldCompareInstruction()
1264 return ConstantExpr::getXor(ConstantExpr::getNot(C1), C2); in ConstantFoldCompareInstruction()
H A DConstants.cpp2447 Constant *ConstantExpr::getNot(Constant *C) { in getNot() function in ConstantExpr
H A DCore.cpp1639 return wrap(ConstantExpr::getNot(unwrap<Constant>(ConstantVal))); in LLVMConstNot()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp1583 return ValueLatticeElement::getNot( in getValueFromMetadata()
1789 ValueLatticeElement::getNot(CondVal.getConstant())); in handleCallResult()
H A DLocal.cpp4089 return ConstantExpr::getNot(C); in invertCondition()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h1036 static Constant *getNot(Constant *C);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp716 R.first = ConstantExpr::getNot(R.first); in computeValueKnownInPredecessorsImpl()