Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1592 return BinaryOperator::CreateNot(AndOr); in matchDeMorgansLaws()
3090 D = Builder.CreateNot(D); in matchSelectFromAndOr()
4132 Value *NotC = Builder.CreateNot(C); in visitMaskedMerge()
4157 Value *NotY = Builder.CreateNot(Y); in foldNotXor()
4165 Value *NotX = Builder.CreateNot(X); in foldNotXor()
4358 Value *NotY = Builder.CreateNot(Y); in foldNot()
4437 Value *NotX = Builder.CreateNot(X); in foldNot()
4453 Value *NotY = Builder.CreateNot(Y); in foldNot()
4638 Value *NotX = Builder.CreateNot(X); in visitXor()
4768 Value *NotA = Builder.CreateNot(A); in visitXor()
[all …]
H A DInstCombineAddSub.cpp871 return BinaryOperator::CreateAdd(Builder.CreateNot(Y), X); in foldAddWithConstant()
972 return new ZExtInst(Builder.CreateNot(X), Ty); in foldAddWithConstant()
979 Value *NotX = Builder.CreateNot(X); in foldAddWithConstant()
1186 return BinaryOperator::CreateNot(NotMask, I.getName()); in canonicalizeLowbitMask()
2222 return BinaryOperator::CreateNot(Op1); in visitSub()
2429 Y, Builder.CreateNot(Op1, Op1->getName() + ".not")); in visitSub()
2447 Builder.CreateAnd(Op1, Builder.CreateNot(C))); in visitSub()
2510 Op0, Builder.CreateNot(Y, Y->getName() + ".not")); in visitSub()
2522 Value *Not = Builder.CreateNot(Op1); in visitSub()
2528 Value *Not = Builder.CreateNot(Op0); in visitSub()
[all …]
H A DInstCombineNegator.cpp172 return Builder.CreateNot(Ops[0], I->getName() + ".neg"); in visitImpl()
408 return Builder.CreateNot(Ops[0], I->getName() + ".neg"); in visitImpl()
H A DInstCombineCompares.cpp1906 R = Builder.CreateNot(R); in foldICmpAndConstant()
1920 return BinaryOperator::CreateNot(And); in foldICmpAndConstant()
2897 return Builder.CreateNot(Op0); in createLogicFromTable()
2901 return Builder.CreateNot(Op1); in createLogicFromTable()
4433 Res = Builder.CreateNot(Res, "mul.not.ov"); in foldMultiplicationOverflowCheck()
4583 return new ICmpInst(Pred, Builder.CreateNot(Op1), X); in foldICmpBinOp()
4587 return new ICmpInst(Pred, X, Builder.CreateNot(Op0)); in foldICmpBinOp()
5954 return BinaryOperator::CreateNot(Res); in processUMulZExtIdiom()
6584 return BinaryOperator::CreateNot(A); in canonicalizeICmpBool()
6593 return BinaryOperator::CreateNot(A); in canonicalizeICmpBool()
[all …]
H A DInstCombineSelect.cpp3043 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in foldSelectOfBools()
3048 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in foldSelectOfBools()
3057 return BinaryOperator::CreateNot(Builder.CreateSelect(A, One, B)); in foldSelectOfBools()
3064 return BinaryOperator::CreateNot(Builder.CreateSelect(A, B, Zero)); in foldSelectOfBools()
3420 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst()
3426 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst()
H A DInstCombineCalls.cpp513 return BinaryOperator::CreateNot(Op0); in foldCttzCtlz()
1731 return BinaryOperator::CreateAnd(I0, Builder.CreateNot(X)); in visitCallInst()
1748 return BinaryOperator::CreateNot(InvMaxMin); in visitCallInst()
2834 Builder.CreateNot(A), OpBundles, II->getName()); in visitCallInst()
2836 Builder.CreateNot(B), II->getName()); in visitCallInst()
H A DInstCombinePHI.cpp1375 return Self.Builder.CreateNot(Cond); in simplifyUsingControlFlow()
H A DInstCombineSimplifyDemanded.cpp508 Value *AndNot = Builder.CreateAnd(Builder.CreateNot(X), Y); in SimplifyDemandedUseBits()
H A DInstCombineShifts.cpp1677 return BinaryOperator::CreateNot(NewAShr); in visitAShr()
H A DInstructionCombining.cpp946 Value *NotX = Builder.CreateNot(X); in foldBinOpShiftWithShift()
3247 Value *NotX = Builder.CreateNot(X, "not." + X->getName()); in visitBranchInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerAtomic.cpp55 return Builder.CreateNot(Builder.CreateAnd(Loaded, Val), "new"); in buildAtomicRMWValue()
H A DAMDGPUEmitPrintf.cpp520 return Builder.CreateSExt(Builder.CreateNot(Cmp), Int32Ty, "printf_result"); in emitAMDGPUPrintfCall()
H A DSimplifyCFG.cpp4123 Value *PPred = PStore->getParent() == PTB ? PCond : QB.CreateNot(PCond); in mergeConditionalStoreToAddress()
4124 Value *QPred = QStore->getParent() == QTB ? QCond : QB.CreateNot(QCond); in mergeConditionalStoreToAddress()
4127 PPred = QB.CreateNot(PPred); in mergeConditionalStoreToAddress()
4129 QPred = QB.CreateNot(QPred); in mergeConditionalStoreToAddress()
4451 PBICond = Builder.CreateNot(PBICond, PBICond->getName() + ".not"); in SimplifyCondBranchToCondBranch()
4455 BICond = Builder.CreateNot(BICond, BICond->getName() + ".not"); in SimplifyCondBranchToCondBranch()
5297 Assumption = Builder.CreateAssumption(Builder.CreateNot(Cond)); in simplifyUnreachable()
7478 Assumption = Builder.CreateAssumption(Builder.CreateNot(Cond)); in removeUndefIntroducingPredecessor()
H A DLoopConstrainer.cpp626 : B.CreateNot(TakeBackedgeLoopCond); in changeIterationSpaceEnd()
/freebsd-14.2/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.cpp753 PMV.Inv_Mask = Builder.CreateNot(PMV.Mask, "Inv_Mask"); in createMaskInstrs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPoisonChecking.cpp252 CreateAssert(B, B.CreateNot(Cond)); in CreateAssertNot()
H A DMemorySanitizer.cpp2386 Value *V1 = IRB.CreateNot(I.getOperand(0)); in visitOr()
2387 Value *V2 = IRB.CreateNot(I.getOperand(1)); in visitOr()
2668 return IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaOtherBits)), in getLowestPossibleValue()
2672 return IRB.CreateAnd(A, IRB.CreateNot(Sa)); in getLowestPossibleValue()
2685 return IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaSignBit)), in getHighestPossibleValue()
3345 Value *OperandUnsetBits = IRB.CreateNot(I.getOperand(0)); in handleVectorReduceOrIntrinsic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp306 Builder.CreateSExt(Builder.CreateNot(cmp), I32Ty, "printf_res"); in lowerPrintfForGpu()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstrTypes.h397 static BinaryOperator *CreateNot(Value *Op, const Twine &Name = "",
399 static BinaryOperator *CreateNot(Value *Op, const Twine &Name,
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp2917 return Builder.CreateNot(Op, "not"); in VisitUnaryNot()
2943 BoolVal = Builder.CreateNot(BoolVal, "lnot"); in VisitUnaryLNot()
3557 llvm::Value *NotOverflow = Builder.CreateNot(overflow); in EmitOverflowCheckedBinOp()
3562 CGF.EmitTrapCheck(Builder.CreateNot(overflow), OverflowKind); in EmitOverflowCheckedBinOp()
4892 llvm::Value *tmp2 = Builder.CreateNot(tmp); in VisitAbstractConditionalOperator()
5456 auto *NoOffsetOverflow = Builder.CreateNot(EvaluatedGEP.OffsetOverflows); in EmitCheckedInBoundsGEP()
H A DCGAtomic.cpp742 Result = CGF.Builder.CreateNot(Result); in EmitAtomicOp()
1437 ResVal = Builder.CreateNot(ResVal); in EmitAtomicExpr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp2554 LHS = Builder.CreateNot(LHS); in UpgradeIntrinsicCall()
2570 LHS = Builder.CreateNot(LHS); in UpgradeIntrinsicCall()
2575 Rep = Builder.CreateNot(Rep); in UpgradeIntrinsicCall()
2905 Value *NotSel = Builder.CreateNot(Sel); in UpgradeIntrinsicCall()
3391 Rep = Builder.CreateNot(Builder.CreateBitCast(CI->getArgOperand(0), ITy)); in UpgradeIntrinsicCall()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A Darm_mve_defs.td66 def not: IRBuilder<"CreateNot">;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp296 return Builder.CreateNot(A, Name); in generateInstruction()

12