Home
last modified time | relevance | path

Searched refs:CreateNot (Results 1 – 25 of 37) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1545 return BinaryOperator::CreateNot(AndOr); in matchDeMorgansLaws()
3169 Value *NotC = Builder.CreateNot(C); in visitMaskedMerge()
3364 Value *NotY = Builder.CreateNot(Y); in visitXor()
3460 Value *NotX = Builder.CreateNot(X); in visitXor()
3466 Value *NotX = Builder.CreateNot(X); in visitXor()
3562 Value *NotA = Builder.CreateNot(A); in visitXor()
3587 Value *NotY = Builder.CreateNot(Y); in visitXor()
3613 Value *NotY = Builder.CreateNot(RHS); in visitXor()
3621 Value *NotX = Builder.CreateNot(LHS); in visitXor()
3630 Value *NotLHS = Builder.CreateNot(LHS); in visitXor()
[all …]
H A DInstCombineAddSub.cpp885 return BinaryOperator::CreateAdd(Builder.CreateNot(Y), X); in foldAddWithConstant()
974 return new ZExtInst(Builder.CreateNot(X), Ty); in foldAddWithConstant()
981 Value *NotX = Builder.CreateNot(X); in foldAddWithConstant()
1124 return BinaryOperator::CreateNot(NotMask, I.getName()); in canonicalizeLowbitMask()
1818 return BinaryOperator::CreateNot(Op1); in visitSub()
1827 return BinaryOperator::CreateAdd(Builder.CreateNot(Op1), X); in visitSub()
1965 Y, Builder.CreateNot(Op1, Op1->getName() + ".not")); in visitSub()
1983 Builder.CreateAnd(Op1, Builder.CreateNot(C))); in visitSub()
2040 Op0, Builder.CreateNot(Y, Y->getName() + ".not")); in visitSub()
2066 Value *Not = Builder.CreateNot(MinMax); in visitSub()
[all …]
H A DInstCombineNegator.cpp179 return Builder.CreateNot(Ops[0], I->getName() + ".neg"); in visitImpl()
372 return Builder.CreateNot(Ops[0], I->getName() + ".neg"); in visitImpl()
H A DInstCombineSelect.cpp1702 NotA = Builder.CreateNot(A); in foldSPFofSPF()
1704 NotB = Builder.CreateNot(B); in foldSPFofSPF()
1706 NotC = Builder.CreateNot(C); in foldSPFofSPF()
1710 Value *NewOuter = Builder.CreateNot( in foldSPFofSPF()
2684 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst()
2689 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst()
2714 return BinaryOperator::CreateNot(Builder.CreateSelect(A, One, B)); in visitSelectInst()
2721 return BinaryOperator::CreateNot(Builder.CreateSelect(A, B, Zero)); in visitSelectInst()
2829 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst()
3025 Value *B = Builder.CreateNot(Y); in visitSelectInst()
[all …]
H A DInstCombineCompares.cpp3806 Res = Builder.CreateNot(Res, "umul.not.ov"); in foldUnsignedMultiplicationOverflowCheck()
3857 return new ICmpInst(Pred, Builder.CreateNot(Op1), X); in foldICmpBinOp()
3861 return new ICmpInst(Pred, X, Builder.CreateNot(Op0)); in foldICmpBinOp()
4934 return BinaryOperator::CreateNot(Res); in processUMulZExtIdiom()
5496 return BinaryOperator::CreateNot(A); in canonicalizeICmpBool()
5505 return BinaryOperator::CreateNot(A); in canonicalizeICmpBool()
5516 return BinaryOperator::CreateNot(Builder.CreateXor(A, B)); in canonicalizeICmpBool()
5528 return BinaryOperator::CreateAnd(Builder.CreateNot(A), B); in canonicalizeICmpBool()
5536 return BinaryOperator::CreateAnd(Builder.CreateNot(B), A); in canonicalizeICmpBool()
5544 return BinaryOperator::CreateOr(Builder.CreateNot(A), B); in canonicalizeICmpBool()
[all …]
H A DInstCombineCalls.cpp451 return BinaryOperator::CreateNot(Op0); in foldCttzCtlz()
1016 return BinaryOperator::CreateNot(InvMaxMin); in visitCallInst()
1022 return BinaryOperator::CreateNot(InvMaxMin); in visitCallInst()
1739 Builder.CreateNot(A), OpBundles, II->getName()); in visitCallInst()
1741 Builder.CreateNot(B), II->getName()); in visitCallInst()
H A DInstCombineSimplifyDemanded.cpp469 Value *AndNot = Builder.CreateAnd(Builder.CreateNot(X), Y); in SimplifyDemandedUseBits()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DNoFolder.h169 Instruction *CreateNot(Constant *C) const override { in CreateNot() function
170 return BinaryOperator::CreateNot(C); in CreateNot()
H A DIRBuilderFolder.h68 virtual Value *CreateNot(Constant *C) const = 0;
H A DConstantFolder.h136 Constant *CreateNot(Constant *C) const override { in CreateNot() function
H A DInstrTypes.h388 static BinaryOperator *CreateNot(Value *Op, const Twine &Name = "",
390 static BinaryOperator *CreateNot(Value *Op, const Twine &Name,
H A DIRBuilder.h1613 Value *CreateNot(Value *V, const Twine &Name = "") {
1615 return Insert(Folder.CreateNot(VC), Name);
1616 return Insert(BinaryOperator::CreateNot(V), Name);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerAtomic.cpp66 Res = Builder.CreateNot(Builder.CreateAnd(Orig, Val)); in lowerAtomicRMWInst()
H A DGuardWidening.cpp571 Cond1 = BinaryOperator::CreateNot(Cond1, "inverted", InsertPt); in widenCondCommon()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp198 V = Builder.CreateNot(V); in LowerCTLZ()
261 Value *NotSrc = Builder.CreateNot(Src); in LowerIntrinsicCall()
H A DAtomicExpandPass.cpp546 return Builder.CreateNot(Builder.CreateAnd(Loaded, Inc), "new"); in performAtomicOp()
723 PMV.Inv_Mask = Builder.CreateNot(PMV.Mask, "Inv_Mask"); in createMaskInstrs()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPoisonChecking.cpp258 CreateAssert(B, B.CreateNot(Cond)); in CreateAssertNot()
H A DMemorySanitizer.cpp2097 Value *V1 = IRB.CreateNot(I.getOperand(0)); in visitOr()
2098 Value *V2 = IRB.CreateNot(I.getOperand(1)); in visitOr()
2382 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaOtherBits)), SaSignBit); in getLowestPossibleValue()
2385 return IRB.CreateAnd(A, IRB.CreateNot(Sa)); in getLowestPossibleValue()
2399 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaSignBit)), SaOtherBits); in getHighestPossibleValue()
3030 Value *OperandUnsetBits = IRB.CreateNot(I.getOperand(0)); in handleVectorReduceOrIntrinsic()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetFolder.h128 Constant *CreateNot(Constant *C) const override { in CreateNot() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFlattenCFG.cpp497 CInst2 = cast<Instruction>(Builder.CreateNot(CInst2)); in MergeIfRegion()
H A DSimplifyCFG.cpp3025 Builder.CreateNot(NewCond, PBI->getCondition()->getName() + ".not"); in performBranchToCommonDestFolding()
3420 Value *PPred = PStore->getParent() == PTB ? PCond : QB.CreateNot(PCond); in mergeConditionalStoreToAddress()
3421 Value *QPred = QStore->getParent() == QTB ? QCond : QB.CreateNot(QCond); in mergeConditionalStoreToAddress()
3424 PPred = QB.CreateNot(PPred); in mergeConditionalStoreToAddress()
3426 QPred = QB.CreateNot(QPred); in mergeConditionalStoreToAddress()
3777 PBICond = Builder.CreateNot(PBICond, PBICond->getName() + ".not"); in SimplifyCondBranchToCondBranch()
3781 BICond = Builder.CreateNot(BICond, BICond->getName() + ".not"); in SimplifyCondBranchToCondBranch()
4609 Builder.CreateAssumption(Builder.CreateNot(Cond)); in simplifyUnreachable()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp363 Builder.CreateSExt(Builder.CreateNot(cmp), I32Ty, "printf_res"); in lowerPrintfForGpu()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp2781 return Builder.CreateNot(Op, "neg"); in VisitUnaryNot()
2807 BoolVal = Builder.CreateNot(BoolVal, "lnot"); in VisitUnaryLNot()
3318 llvm::Value *NotOverflow = Builder.CreateNot(overflow); in EmitOverflowCheckedBinOp()
3323 CGF.EmitTrapCheck(Builder.CreateNot(overflow), OverflowKind); in EmitOverflowCheckedBinOp()
4560 llvm::Value *tmp2 = Builder.CreateNot(tmp); in VisitAbstractConditionalOperator()
5094 auto *NoOffsetOverflow = Builder.CreateNot(EvaluatedGEP.OffsetOverflows); in EmitCheckedInBoundsGEP()
H A DCGAtomic.cpp688 Result = CGF.Builder.CreateNot(Result); in EmitAtomicOp()
1273 ResVal = Builder.CreateNot(ResVal); in EmitAtomicExpr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp2029 LHS = Builder.CreateNot(LHS); in UpgradeIntrinsicCall()
2045 LHS = Builder.CreateNot(LHS); in UpgradeIntrinsicCall()
2050 Rep = Builder.CreateNot(Rep); in UpgradeIntrinsicCall()
2383 Value *NotSel = Builder.CreateNot(Sel); in UpgradeIntrinsicCall()
2875 Rep = Builder.CreateNot(Builder.CreateBitCast(CI->getArgOperand(0), ITy)); in UpgradeIntrinsicCall()

12