Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp601 return ValueLatticeElement::getNot(ConstantPointerNull::get(PT)); in solveBlockValueImpl()
800 BBLV = ValueLatticeElement::getNot(ConstantPointerNull::get(PTy)); in intersectAssumeOrGuardBlockValueConstantRange()
1209 return ValueLatticeElement::getNot(cast<Constant>(RHS)); in getValueFromICmpCondition()
1291 return ValueLatticeElement::getNot(NullVal); in getValueFromICmpCondition()
1315 return ValueLatticeElement::getNot(Constant::getNullValue(Ty)); in getValueFromTrunc()
1316 return ValueLatticeElement::getNot(Constant::getAllOnesValue(Ty)); in getValueFromTrunc()
H A DInstructionSimplify.cpp1960 if (ConstantExpr::getNot(C1) == C2) { in simplifyLogicOfAddSub()
H A DScalarEvolution.cpp4589 cast<ConstantInt>(ConstantExpr::getNot(VC->getValue()))); in getNotSCEV()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueLattice.h206 static ValueLatticeElement getNot(Constant *C) { in getNot() function
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp3206 if (AConst == ConstantExpr::getNot(BConst) && in getSelectCondition()
4787 return BinaryOperator::CreateLShr(ConstantExpr::getNot(C), Y); in foldNot()
4792 return BinaryOperator::CreateAShr(ConstantExpr::getNot(C), Y); in foldNot()
4796 return BinaryOperator::CreateSub(ConstantExpr::getNot(C), X); in foldNot()
4875 Sel->setTrueValue(ConstantExpr::getNot(cast<Constant>(TV))); in foldNot()
4879 Sel->setFalseValue(ConstantExpr::getNot(cast<Constant>(FV))); in foldNot()
4970 X, Constant::mergeUndefsWith(ConstantExpr::getNot(C2), C1)); in visitXor()
4978 Value *And = Builder.CreateAnd(X, ConstantExpr::getNot(C2)); in visitXor()
4979 return BinaryOperator::CreateXor(And, ConstantExpr::getNot(C1)); in visitXor()
4983 Value *Or = Builder.CreateOr(X, ConstantExpr::getNot(C2)); in visitXor()
[all …]
H A DInstCombineNegator.cpp463 Value *Xor = Builder.CreateXor(Ops[0], ConstantExpr::getNot(C)); in visitImpl()
H A DInstCombinePHI.cpp1358 else if (IsCorrectInput(cast<ConstantInt>(ConstantExpr::getNot(Input)))) in simplifyUsingControlFlow()
H A DInstCombineShifts.cpp265 NewMask = ConstantExpr::getNot(ExtendedInvertedMask); in dropRedundantMaskingOfLeftShiftInput()
H A DInstCombineCompares.cpp3675 Constant *NotBOC = ConstantExpr::getNot(cast<Constant>(BOp1)); in foldICmpBinOpEqualityWithConstant()
5172 Constant *C2 = ConstantExpr::getNot(C); in foldICmpBinOp()
5179 Constant *C2 = ConstantExpr::getNot(C); in foldICmpBinOp()
6067 Value *And = Builder.CreateAnd(Xor, ConstantExpr::getNot(C)); in foldICmpEquality()
H A DInstructionCombining.cpp2764 return ConstantExpr::getNot(C); in getFreelyInvertedImpl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp888 return ValueLatticeElement::getNot(Constant::getNullValue(A->getType())); in getArgAttributeVL()
1749 return ValueLatticeElement::getNot( in getValueFromMetadata()
1758 return ValueLatticeElement::getNot( in getValueFromMetadata()
1971 ValueLatticeElement::getNot(CondVal.getConstant())); in handleCallResult()
H A DLocal.cpp4296 return ConstantExpr::getNot(C); in invertCondition()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp1155 return ConstantExpr::getXor(C1, ConstantExpr::getNot(C2)); in ConstantFoldCompareInstruction()
1156 return ConstantExpr::getXor(ConstantExpr::getNot(C1), C2); in ConstantFoldCompareInstruction()
H A DConstants.cpp2622 Constant *ConstantExpr::getNot(Constant *C) { in getNot() function in ConstantExpr
H A DCore.cpp1781 return wrap(ConstantExpr::getNot(unwrap<Constant>(ConstantVal))); in LLVMConstNot()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h1153 LLVM_ABI static Constant *getNot(Constant *C);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp710 R.first = ConstantExpr::getNot(R.first); in computeValueKnownInPredecessorsImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc20944 {"_ZN4llvm12ConstantExpr6getNotEPNS_8ConstantE", "llvm::ConstantExpr::getNot(llvm::Constant*)"},