Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueLattice.h208 static ValueLatticeElement getNot(Constant *C) { in getNot() function
/src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp3148 if (AConst == ConstantExpr::getNot(BConst) && in getSelectCondition()
4521 return BinaryOperator::CreateLShr(ConstantExpr::getNot(C), Y); in foldNot()
4526 return BinaryOperator::CreateAShr(ConstantExpr::getNot(C), Y); in foldNot()
4530 return BinaryOperator::CreateSub(ConstantExpr::getNot(C), X); in foldNot()
4609 Sel->setTrueValue(ConstantExpr::getNot(cast<Constant>(TV))); in foldNot()
4613 Sel->setFalseValue(ConstantExpr::getNot(cast<Constant>(FV))); in foldNot()
4693 X, Constant::mergeUndefsWith(ConstantExpr::getNot(C2), C1)); in visitXor()
4701 Value *And = Builder.CreateAnd(X, ConstantExpr::getNot(C2)); in visitXor()
4702 return BinaryOperator::CreateXor(And, ConstantExpr::getNot(C1)); in visitXor()
4706 Value *Or = Builder.CreateOr(X, ConstantExpr::getNot(C2)); in visitXor()
[all …]
H A DInstCombineNegator.cpp464 Value *Xor = Builder.CreateXor(Ops[0], ConstantExpr::getNot(C)); in visitImpl()
H A DInstCombinePHI.cpp1355 else if (IsCorrectInput(cast<ConstantInt>(ConstantExpr::getNot(Input)))) in simplifyUsingControlFlow()
H A DInstCombineShifts.cpp265 NewMask = ConstantExpr::getNot(ExtendedInvertedMask); in dropRedundantMaskingOfLeftShiftInput()
H A DInstCombineCompares.cpp3528 Constant *NotBOC = ConstantExpr::getNot(cast<Constant>(BOp1)); in foldICmpBinOpEqualityWithConstant()
4926 Constant *C2 = ConstantExpr::getNot(C); in foldICmpBinOp()
4933 Constant *C2 = ConstantExpr::getNot(C); in foldICmpBinOp()
5663 Value *And = Builder.CreateAnd(Xor, ConstantExpr::getNot(C)); in foldICmpEquality()
H A DInstructionCombining.cpp2534 return ConstantExpr::getNot(C); in getFreelyInvertedImpl()
/src/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp653 return ValueLatticeElement::getNot(ConstantPointerNull::get(PT)); in solveBlockValueImpl()
840 BBLV = ValueLatticeElement::getNot(ConstantPointerNull::get(PTy)); in intersectAssumeOrGuardBlockValueConstantRange()
1174 return ValueLatticeElement::getNot(cast<Constant>(RHS)); in getValueFromICmpCondition()
H A DInstructionSimplify.cpp2005 if (ConstantExpr::getNot(C1) == C2) { in simplifyLogicOfAddSub()
H A DScalarEvolution.cpp4623 cast<ConstantInt>(ConstantExpr::getNot(VC->getValue()))); in getNotSCEV()
/src/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp1179 return ConstantExpr::getXor(C1, ConstantExpr::getNot(C2)); in ConstantFoldCompareInstruction()
1180 return ConstantExpr::getXor(ConstantExpr::getNot(C1), C2); in ConstantFoldCompareInstruction()
H A DConstants.cpp2593 Constant *ConstantExpr::getNot(Constant *C) { in getNot() function in ConstantExpr
H A DCore.cpp1765 return wrap(ConstantExpr::getNot(unwrap<Constant>(ConstantVal))); in LLVMConstNot()
/src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp1634 return ValueLatticeElement::getNot( in getValueFromMetadata()
1844 ValueLatticeElement::getNot(CondVal.getConstant())); in handleCallResult()
H A DLocal.cpp4195 return ConstantExpr::getNot(C); in invertCondition()
/src/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h1117 static Constant *getNot(Constant *C);
/src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp713 R.first = ConstantExpr::getNot(R.first); in computeValueKnownInPredecessorsImpl()