Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1336 return BinaryOperator::CreateNot(AndOr); in matchDeMorgansLaws()
3327 Value *NotC = Builder.CreateNot(C); in visitMaskedMerge()
3496 Value *NotY = Builder.CreateNot(Y); in foldNot()
3562 Value *NotX = Builder.CreateNot(X); in foldNot()
3563 Value *NotY = Builder.CreateNot(Y); in foldNot()
3569 Value *NotY = Builder.CreateNot(Y); in foldNot()
3726 Value *NotX = Builder.CreateNot(X); in visitXor()
3732 Value *NotX = Builder.CreateNot(X); in visitXor()
3790 Builder.CreateAnd(Builder.CreateNot(A), C), B); in visitXor()
3796 Builder.CreateAnd(Builder.CreateNot(B), C), A); in visitXor()
[all …]
H A DInstCombineAddSub.cpp960 return new ZExtInst(Builder.CreateNot(X), Ty); in foldAddWithConstant()
967 Value *NotX = Builder.CreateNot(X); in foldAddWithConstant()
1110 return BinaryOperator::CreateNot(NotMask, I.getName()); in canonicalizeLowbitMask()
1890 return BinaryOperator::CreateNot(Op1); in visitSub()
1920 Value *NotOp0 = Builder.CreateNot(Op0); in visitSub()
1921 Value *NotOp1 = Builder.CreateNot(Op1); in visitSub()
2062 Builder.CreateAnd(Op1, Builder.CreateNot(C))); in visitSub()
2122 Op0, Builder.CreateNot(Y, Y->getName() + ".not")); in visitSub()
2134 Value *Not = Builder.CreateNot(Op1); in visitSub()
2140 Value *Not = Builder.CreateNot(Op0); in visitSub()
[all …]
H A DInstCombineNegator.cpp179 return Builder.CreateNot(Ops[0], I->getName() + ".neg"); in visitImpl()
400 return Builder.CreateNot(Ops[0], I->getName() + ".neg"); in visitImpl()
H A DInstCombineSelect.cpp2694 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst()
2699 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst()
2724 return BinaryOperator::CreateNot(Builder.CreateSelect(A, One, B)); in visitSelectInst()
2731 return BinaryOperator::CreateNot(Builder.CreateSelect(A, B, Zero)); in visitSelectInst()
2853 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst()
2859 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst()
H A DInstCombineCompares.cpp4038 Res = Builder.CreateNot(Res, "mul.not.ov"); in foldMultiplicationOverflowCheck()
4089 return new ICmpInst(Pred, Builder.CreateNot(Op1), X); in foldICmpBinOp()
4093 return new ICmpInst(Pred, X, Builder.CreateNot(Op0)); in foldICmpBinOp()
5302 return BinaryOperator::CreateNot(Res); in processUMulZExtIdiom()
5873 return BinaryOperator::CreateNot(A); in canonicalizeICmpBool()
5882 return BinaryOperator::CreateNot(A); in canonicalizeICmpBool()
5893 return BinaryOperator::CreateNot(Builder.CreateXor(A, B)); in canonicalizeICmpBool()
5905 return BinaryOperator::CreateAnd(Builder.CreateNot(A), B); in canonicalizeICmpBool()
5913 return BinaryOperator::CreateAnd(Builder.CreateNot(B), A); in canonicalizeICmpBool()
5921 return BinaryOperator::CreateOr(Builder.CreateNot(A), B); in canonicalizeICmpBool()
[all …]
H A DInstCombineCalls.cpp522 return BinaryOperator::CreateNot(Op0); in foldCttzCtlz()
1371 Value *NotY = Builder.CreateNot(Y); in visitCallInst()
1374 return BinaryOperator::CreateNot(InvMaxMin); in visitCallInst()
2210 Builder.CreateNot(A), OpBundles, II->getName()); in visitCallInst()
2212 Builder.CreateNot(B), II->getName()); in visitCallInst()
H A DInstCombinePHI.cpp1364 return Self.Builder.CreateNot(Cond); in simplifyUsingControlFlow()
H A DInstCombineCasts.cpp1071 X = Builder.CreateNot(X); in transformZExtICmp()
1382 In = Builder.CreateNot(In, In->getName() + ".not"); in transformSExtICmp()
H A DInstCombineSimplifyDemanded.cpp480 Value *AndNot = Builder.CreateAnd(Builder.CreateNot(X), Y); in SimplifyDemandedUseBits()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLowerAtomic.cpp56 return Builder.CreateNot(Builder.CreateAnd(Loaded, Inc), "new"); in buildAtomicRMWValue()
H A DFlattenCFG.cpp497 CInst2 = cast<Instruction>(Builder.CreateNot(CInst2)); in MergeIfRegion()
H A DSimplifyCFG.cpp3444 Builder.CreateNot(NewCond, PBI->getCondition()->getName() + ".not"); in performBranchToCommonDestFolding()
3853 Value *PPred = PStore->getParent() == PTB ? PCond : QB.CreateNot(PCond); in mergeConditionalStoreToAddress()
3854 Value *QPred = QStore->getParent() == QTB ? QCond : QB.CreateNot(QCond); in mergeConditionalStoreToAddress()
3857 PPred = QB.CreateNot(PPred); in mergeConditionalStoreToAddress()
3859 QPred = QB.CreateNot(QPred); in mergeConditionalStoreToAddress()
4159 PBICond = Builder.CreateNot(PBICond, PBICond->getName() + ".not"); in SimplifyCondBranchToCondBranch()
4163 BICond = Builder.CreateNot(BICond, BICond->getName() + ".not"); in SimplifyCondBranchToCondBranch()
4991 Builder.CreateAssumption(Builder.CreateNot(Cond)); in simplifyUnreachable()
7035 Builder.CreateAssumption(Builder.CreateNot(Cond)); in removeUndefIntroducingPredecessor()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp198 V = Builder.CreateNot(V); in LowerCTLZ()
261 Value *NotSrc = Builder.CreateNot(Src); in LowerIntrinsicCall()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DPoisonChecking.cpp252 CreateAssert(B, B.CreateNot(Cond)); in CreateAssertNot()
H A DMemorySanitizer.cpp2084 Value *V1 = IRB.CreateNot(I.getOperand(0)); in visitOr()
2085 Value *V2 = IRB.CreateNot(I.getOperand(1)); in visitOr()
2369 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaOtherBits)), SaSignBit); in getLowestPossibleValue()
2372 return IRB.CreateAnd(A, IRB.CreateNot(Sa)); in getLowestPossibleValue()
2386 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaSignBit)), SaOtherBits); in getHighestPossibleValue()
3019 Value *OperandUnsetBits = IRB.CreateNot(I.getOperand(0)); in handleVectorReduceOrIntrinsic()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp364 Builder.CreateSExt(Builder.CreateNot(cmp), I32Ty, "printf_res"); in lowerPrintfForGpu()
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DIslNodeBuilder.cpp1213 Value *OverflowHappened = Builder.CreateNot(ExprBuilder.getOverflowState(), in preloadInvariantLoad()
1535 Builder.CreateNot(ExprBuilder.getOverflowState(), "polly.rtc.overflown"); in createRTC()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DGuardWidening.cpp569 Cond1 = BinaryOperator::CreateNot(Cond1, "inverted", InsertPt); in widenCondCommon()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstrTypes.h387 static BinaryOperator *CreateNot(Value *Op, const Twine &Name = "",
389 static BinaryOperator *CreateNot(Value *Op, const Twine &Name,
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprScalar.cpp2844 return Builder.CreateNot(Op, "neg"); in VisitUnaryNot()
2870 BoolVal = Builder.CreateNot(BoolVal, "lnot"); in VisitUnaryLNot()
3381 llvm::Value *NotOverflow = Builder.CreateNot(overflow); in EmitOverflowCheckedBinOp()
3386 CGF.EmitTrapCheck(Builder.CreateNot(overflow), OverflowKind); in EmitOverflowCheckedBinOp()
4623 llvm::Value *tmp2 = Builder.CreateNot(tmp); in VisitAbstractConditionalOperator()
5159 auto *NoOffsetOverflow = Builder.CreateNot(EvaluatedGEP.OffsetOverflows); in EmitCheckedInBoundsGEP()
H A DCGAtomic.cpp709 Result = CGF.Builder.CreateNot(Result); in EmitAtomicOp()
1330 ResVal = Builder.CreateNot(ResVal); in EmitAtomicExpr()
/llvm-project-15.0.7/llvm/lib/IR/
H A DAutoUpgrade.cpp2184 LHS = Builder.CreateNot(LHS); in UpgradeIntrinsicCall()
2200 LHS = Builder.CreateNot(LHS); in UpgradeIntrinsicCall()
2205 Rep = Builder.CreateNot(Rep); in UpgradeIntrinsicCall()
2535 Value *NotSel = Builder.CreateNot(Sel); in UpgradeIntrinsicCall()
3027 Rep = Builder.CreateNot(Builder.CreateBitCast(CI->getArgOperand(0), ITy)); in UpgradeIntrinsicCall()
/llvm-project-15.0.7/mlir/docs/Rationale/
H A DRationaleGenericDAGRewriter.md122 return BinaryOperator::CreateAdd(Builder.CreateNot(X), Op0);
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp204 Value *V = Builder.CreateNot(A, Name); in generateInstruction()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A Darm_mve_defs.td66 def not: IRBuilder<"CreateNot">;

12