Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp2409 if (AConst == ConstantExpr::getNot(BConst) && in getSelectCondition()
3517 return BinaryOperator::CreateLShr(ConstantExpr::getNot(C), Y); in foldNot()
3527 return BinaryOperator::CreateAShr(ConstantExpr::getNot(C), Y); in foldNot()
3532 return BinaryOperator::CreateSub(ConstantExpr::getNot(C), X); in foldNot()
3595 Sel->setTrueValue(ConstantExpr::getNot(cast<Constant>(TV))); in foldNot()
3599 Sel->setFalseValue(ConstantExpr::getNot(cast<Constant>(FV))); in foldNot()
3670 X, Constant::mergeUndefsWith(ConstantExpr::getNot(C2), C1)); in visitXor()
3678 Value *And = Builder.CreateAnd(X, ConstantExpr::getNot(C2)); in visitXor()
3679 return BinaryOperator::CreateXor(And, ConstantExpr::getNot(C1)); in visitXor()
3683 Value *Or = Builder.CreateOr(X, ConstantExpr::getNot(C2)); in visitXor()
[all …]
H A DInstCombineNegator.cpp438 Value *Xor = Builder.CreateXor(Ops[0], ConstantExpr::getNot(C)); in visitImpl()
H A DInstCombinePHI.cpp1343 else if (IsCorrectInput(cast<ConstantInt>(ConstantExpr::getNot(Input)))) in simplifyUsingControlFlow()
H A DInstCombineShifts.cpp253 NewMask = ConstantExpr::getNot(ExtendedInvertedMask); in dropRedundantMaskingOfLeftShiftInput()
H A DInstCombineCompares.cpp3212 Constant *NotBOC = ConstantExpr::getNot(cast<Constant>(BOp1)); in foldICmpBinOpEqualityWithConstant()
4101 Constant *C2 = ConstantExpr::getNot(C); in foldICmpBinOp()
4108 Constant *C2 = ConstantExpr::getNot(C); in foldICmpBinOp()
4670 Value *And = Builder.CreateAnd(Xor, ConstantExpr::getNot(C)); in foldICmpEquality()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DValueLattice.h211 static ValueLatticeElement getNot(Constant *C) { in getNot() function
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DValueLatticeTest.cpp40 EXPECT_TRUE(ValueLatticeElement::getNot(C2).isNotConstant()); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLazyValueInfo.cpp612 return ValueLatticeElement::getNot(ConstantPointerNull::get(PT)); in solveBlockValueImpl()
793 BBLV = ValueLatticeElement::getNot(ConstantPointerNull::get(PTy)); in intersectAssumeOrGuardBlockValueConstantRange()
1088 return ValueLatticeElement::getNot(cast<Constant>(RHS)); in getValueFromICmpCondition()
H A DInstructionSimplify.cpp2030 if (ConstantExpr::getNot(C1) == C2) { in simplifyLogicOfAddSub()
H A DScalarEvolution.cpp4459 cast<ConstantInt>(ConstantExpr::getNot(VC->getValue()))); in getNotSCEV()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp1115 return ValueLatticeElement::getNot( in getValueFromMetadata()
1321 ValueLatticeElement::getNot(CondVal.getConstant())); in handleCallResult()
H A DLocal.cpp3344 return ConstantExpr::getNot(C); in invertCondition()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DConstants.h1017 static Constant *getNot(Constant *C);
/llvm-project-15.0.7/llvm/unittests/IR/
H A DConstantsTest.cpp245 CHECK(ConstantExpr::getNot(P0), "xor i32 " P0STR ", -1"); in TEST()
/llvm-project-15.0.7/llvm/lib/IR/
H A DConstantFold.cpp1660 return ConstantExpr::getXor(C1, ConstantExpr::getNot(C2)); in ConstantFoldCompareInstruction()
1661 return ConstantExpr::getXor(ConstantExpr::getNot(C1), C2); in ConstantFoldCompareInstruction()
H A DConstants.cpp2658 Constant *ConstantExpr::getNot(Constant *C) { in getNot() function in ConstantExpr
H A DCore.cpp1557 return wrap(ConstantExpr::getNot(unwrap<Constant>(ConstantVal))); in LLVMConstNot()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp781 R.first = ConstantExpr::getNot(R.first); in computeValueKnownInPredecessorsImpl()
/llvm-project-15.0.7/llvm/bindings/ocaml/llvm/
H A Dllvm.mli1085 See the method [llvm::ConstantExpr::getNot]. *)