Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1673 return BinaryOperator::CreateNot(AndOr); in matchDeMorgansLaws()
1685 return BinaryOperator::Create(Opcode, A, IC.Builder.CreateNot(FlippedBO)); in matchDeMorgansLaws()
1862 return BinaryOperator::CreateNot(Builder.CreateXor(A, B)); in foldAndToXor()
1880 return BinaryOperator::CreateNot(Builder.CreateXor(A, B)); in foldOrToXor()
1888 return BinaryOperator::CreateNot(Builder.CreateAnd(A, B)); in foldOrToXor()
1994 ? BinaryOperator::CreateAnd(Xor, Builder.CreateNot(A)) in foldComplexAndOrPatterns()
1995 : BinaryOperator::CreateNot(Builder.CreateAnd(Xor, A)); in foldComplexAndOrPatterns()
2004 ? BinaryOperator::CreateAnd(Xor, Builder.CreateNot(B)) in foldComplexAndOrPatterns()
2005 : BinaryOperator::CreateNot(Builder.CreateAnd(Xor, B)); in foldComplexAndOrPatterns()
2012 return BinaryOperator::CreateNot(Builder.CreateBinOp( in foldComplexAndOrPatterns()
[all …]
H A DInstCombineAddSub.cpp878 return BinaryOperator::CreateAdd(Builder.CreateNot(Y), X); in foldAddWithConstant()
985 return new ZExtInst(Builder.CreateNot(X), Ty); in foldAddWithConstant()
992 Value *NotX = Builder.CreateNot(X); in foldAddWithConstant()
1228 return BinaryOperator::CreateNot(NotMask, I.getName()); in canonicalizeLowbitMask()
2215 return BinaryOperator::CreateNot(Op1); in visitSub()
2220 return BinaryOperator::CreateAdd(Builder.CreateNot(Op1), X); in visitSub()
2424 Y, Builder.CreateNot(Op1, Op1->getName() + ".not")); in visitSub()
2442 Builder.CreateAnd(Op1, Builder.CreateNot(C))); in visitSub()
2520 Op0, Builder.CreateNot(Y, Y->getName() + ".not")); in visitSub()
2532 Value *Not = Builder.CreateNot(Op1); in visitSub()
[all …]
H A DInstCombineNegator.cpp172 return Builder.CreateNot(Ops[0], I->getName() + ".neg"); in visitImpl()
425 return Builder.CreateNot(Ops[0], I->getName() + ".neg"); in visitImpl()
H A DInstCombineCompares.cpp1945 R = Builder.CreateNot(R); in foldICmpAndConstant()
1959 return BinaryOperator::CreateNot(And); in foldICmpAndConstant()
2984 return HasOneUse ? Builder.CreateNot(Builder.CreateOr(Op0, Op1)) : nullptr; in createLogicFromTable()
2986 return HasOneUse ? Builder.CreateAnd(Builder.CreateNot(Op0), Op1) : nullptr; in createLogicFromTable()
2988 return Builder.CreateNot(Op0); in createLogicFromTable()
2990 return HasOneUse ? Builder.CreateAnd(Op0, Builder.CreateNot(Op1)) : nullptr; in createLogicFromTable()
2992 return Builder.CreateNot(Op1); in createLogicFromTable()
2996 return HasOneUse ? Builder.CreateNot(Builder.CreateAnd(Op0, Op1)) : nullptr; in createLogicFromTable()
3000 return HasOneUse ? Builder.CreateNot(Builder.CreateXor(Op0, Op1)) : nullptr; in createLogicFromTable()
3004 return HasOneUse ? Builder.CreateOr(Builder.CreateNot(Op0), Op1) : nullptr; in createLogicFromTable()
[all …]
H A DInstCombineSelect.cpp3242 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in foldSelectOfBools()
3247 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in foldSelectOfBools()
3256 return BinaryOperator::CreateNot(Builder.CreateSelect(A, One, B)); in foldSelectOfBools()
3263 return BinaryOperator::CreateNot(Builder.CreateSelect(A, B, Zero)); in foldSelectOfBools()
3641 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst()
3647 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst()
H A DInstCombineCalls.cpp500 return BinaryOperator::CreateNot(Op0); in foldCttzCtlz()
1817 return BinaryOperator::CreateAnd(I0, Builder.CreateNot(X)); in visitCallInst()
1834 return BinaryOperator::CreateNot(InvMaxMin); in visitCallInst()
3025 Builder.CreateNot(A), OpBundles, II->getName()); in visitCallInst()
3027 Builder.CreateNot(B), II->getName()); in visitCallInst()
H A DInstCombinePHI.cpp1376 return Self.Builder.CreateNot(Cond); in simplifyUsingControlFlow()
H A DInstCombineShifts.cpp1795 return BinaryOperator::CreateNot(NewAShr); in visitAShr()
H A DInstCombineSimplifyDemanded.cpp504 Value *AndNot = Builder.CreateAnd(Builder.CreateNot(X), Y); in SimplifyDemandedUseBits()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerAtomic.cpp55 return Builder.CreateNot(Builder.CreateAnd(Loaded, Val), "new"); in buildAtomicRMWValue()
H A DAMDGPUEmitPrintf.cpp518 return Builder.CreateSExt(Builder.CreateNot(Cmp), Int32Ty, "printf_result"); in emitAMDGPUPrintfCall()
H A DSimplifyCFG.cpp4191 Value *PPred = PStore->getParent() == PTB ? PCond : QB.CreateNot(PCond); in mergeConditionalStoreToAddress()
4192 Value *QPred = QStore->getParent() == QTB ? QCond : QB.CreateNot(QCond); in mergeConditionalStoreToAddress()
4195 PPred = QB.CreateNot(PPred); in mergeConditionalStoreToAddress()
4197 QPred = QB.CreateNot(QPred); in mergeConditionalStoreToAddress()
4519 PBICond = Builder.CreateNot(PBICond, PBICond->getName() + ".not"); in SimplifyCondBranchToCondBranch()
4523 BICond = Builder.CreateNot(BICond, BICond->getName() + ".not"); in SimplifyCondBranchToCondBranch()
5365 Assumption = Builder.CreateAssumption(Builder.CreateNot(Cond)); in simplifyUnreachable()
7729 Assumption = Builder.CreateAssumption(Builder.CreateNot(Cond)); in removeUndefIntroducingPredecessor()
H A DLoopConstrainer.cpp632 : B.CreateNot(TakeBackedgeLoopCond); in changeIterationSpaceEnd()
H A DBasicBlockUtils.cpp2209 NewCond = Builder.CreateNot(NewCond, NewCond->getName() + ".not"); in InvertBranch()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp198 V = Builder.CreateNot(V); in LowerCTLZ()
266 Value *NotSrc = Builder.CreateNot(Src); in LowerIntrinsicCall()
H A DAtomicExpandPass.cpp799 PMV.Inv_Mask = Builder.CreateNot(PMV.Mask, "Inv_Mask"); in createMaskInstrs()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPoisonChecking.cpp253 CreateAssert(B, B.CreateNot(Cond)); in CreateAssertNot()
H A DMemorySanitizer.cpp2416 Value *V1 = IRB.CreateNot(I.getOperand(0)); in visitOr()
2417 Value *V2 = IRB.CreateNot(I.getOperand(1)); in visitOr()
2709 return IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaOtherBits)), in getLowestPossibleValue()
2713 return IRB.CreateAnd(A, IRB.CreateNot(Sa)); in getLowestPossibleValue()
2726 return IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaSignBit)), in getHighestPossibleValue()
3486 Value *OperandUnsetBits = IRB.CreateNot(I.getOperand(0)); in handleVectorReduceOrIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp307 Builder.CreateSExt(Builder.CreateNot(cmp), I32Ty, "printf_res"); in lowerPrintfForGpu()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp3191 return Builder.CreateNot(Op, "not"); in VisitUnaryNot()
3217 BoolVal = Builder.CreateNot(BoolVal, "lnot"); in VisitUnaryLNot()
3843 llvm::Value *NotOverflow = Builder.CreateNot(overflow); in EmitOverflowCheckedBinOp()
3848 CGF.EmitTrapCheck(Builder.CreateNot(overflow), OverflowKind); in EmitOverflowCheckedBinOp()
5234 llvm::Value *tmp2 = Builder.CreateNot(tmp); in VisitAbstractConditionalOperator()
5796 auto *NoOffsetOverflow = Builder.CreateNot(EvaluatedGEP.OffsetOverflows); in EmitCheckedInBoundsGEP()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp2407 LHS = Builder.CreateNot(LHS); in upgradeX86IntrinsicCall()
2423 LHS = Builder.CreateNot(LHS); in upgradeX86IntrinsicCall()
2428 Rep = Builder.CreateNot(Rep); in upgradeX86IntrinsicCall()
2744 Value *NotSel = Builder.CreateNot(Sel); in upgradeX86IntrinsicCall()
3215 Rep = Builder.CreateNot(Builder.CreateBitCast(CI->getArgOperand(0), ITy)); in upgradeX86IntrinsicCall()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A Darm_mve_defs.td66 def not: IRBuilder<"CreateNot">;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstrTypes.h439 static BinaryOperator *CreateNot(Value *Op, const Twine &Name = "",
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp994 LV = BinaryOperator::CreateNot(LV, "notinit", ICI->getIterator()); in OptimizeGlobalAddressOfAllocation()

12