Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1280 return BinaryOperator::CreateNot(AndOr); in matchDeMorgansLaws()
2513 return BinaryOperator::CreateNot(Builder.CreateXor(A, B)); in foldXorToXor()
2625 Value *NotC = Builder.CreateNot(C); in visitMaskedMerge()
2655 Value *NotX = Builder.CreateNot(X, X->getName() + ".not"); in sinkNotIntoXor()
2707 Value *NotY = Builder.CreateNot(Y, Y->getName() + ".not"); in visitXor()
2880 Builder.CreateAnd(Builder.CreateNot(A), C), B); in visitXor()
2886 Builder.CreateAnd(Builder.CreateNot(B), C), A); in visitXor()
2954 Value *NotY = Builder.CreateNot(RHS); in visitXor()
2962 Value *NotX = Builder.CreateNot(LHS); in visitXor()
2971 Value *NotLHS = Builder.CreateNot(LHS); in visitXor()
[all …]
H A DInstCombineAddSub.cpp840 return BinaryOperator::CreateAdd(Builder.CreateNot(Y), X); in foldAddWithConstant()
890 return new ZExtInst(Builder.CreateNot(X), Ty); in foldAddWithConstant()
897 Value *NotX = Builder.CreateNot(X); in foldAddWithConstant()
1032 return BinaryOperator::CreateNot(NotMask, I.getName()); in canonicalizeLowbitMask()
1488 return BinaryOperator::CreateNot(Op1); in visitSub()
1497 return BinaryOperator::CreateAdd(Builder.CreateNot(Op1), X); in visitSub()
1501 return BinaryOperator::CreateAdd(Builder.CreateNot(X), Op0); in visitSub()
1611 Y, Builder.CreateNot(Op1, Op1->getName() + ".not")); in visitSub()
1626 Builder.CreateNot(Y, Y->getName() + ".not")); in visitSub()
1688 Value *Not = Builder.CreateNot(MinMax); in visitSub()
H A DInstCombineSelect.cpp1193 NotA = Builder.CreateNot(A); in foldSPFofSPF()
1195 NotB = Builder.CreateNot(B); in foldSPFofSPF()
1197 NotC = Builder.CreateNot(C); in foldSPFofSPF()
1201 Value *NewOuter = Builder.CreateNot( in foldSPFofSPF()
1664 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst()
1673 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst()
1710 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst()
1716 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst()
1876 Value *B = Builder.CreateNot(Y); in visitSelectInst()
1887 return BinaryOperator::CreateNot(NewMinMax); in visitSelectInst()
H A DInstCombineCompares.cpp3117 return new ICmpInst(Pred, Builder.CreateNot(Op1), X); in foldICmpBinOp()
3120 return new ICmpInst(Pred, X, Builder.CreateNot(Op0)); in foldICmpBinOp()
3813 return BinaryOperator::CreateNot(Result); in foldICmpWithCastAndCast()
4151 return BinaryOperator::CreateNot(Res); in processUMulZExtIdiom()
4626 return BinaryOperator::CreateNot(A); in canonicalizeICmpBool()
4635 return BinaryOperator::CreateNot(A); in canonicalizeICmpBool()
4646 return BinaryOperator::CreateNot(Builder.CreateXor(A, B)); in canonicalizeICmpBool()
4658 return BinaryOperator::CreateAnd(Builder.CreateNot(A), B); in canonicalizeICmpBool()
4666 return BinaryOperator::CreateAnd(Builder.CreateNot(B), A); in canonicalizeICmpBool()
4674 return BinaryOperator::CreateOr(Builder.CreateNot(A), B); in canonicalizeICmpBool()
[all …]
H A DInstCombineCalls.cpp3931 Builder.CreateCall(AssumeIntrinsic, Builder.CreateNot(A), II->getName()); in visitCallInst()
3932 Builder.CreateCall(AssumeIntrinsic, Builder.CreateNot(B), II->getName()); in visitCallInst()
H A DInstCombineCasts.cpp1244 In = Builder.CreateNot(In, In->getName() + ".not"); in transformSExtICmp()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DNoFolder.h203 Instruction *CreateNot(Constant *C) const { in CreateNot() function
204 return BinaryOperator::CreateNot(C); in CreateNot()
H A DConstantFolder.h134 Constant *CreateNot(Constant *C) const { in CreateNot() function
H A DInstrTypes.h311 static BinaryOperator *CreateNot(Value *Op, const Twine &Name = "",
313 static BinaryOperator *CreateNot(Value *Op, const Twine &Name,
H A DIRBuilder.h1334 Value *CreateNot(Value *V, const Twine &Name = "") {
1336 return Insert(Folder.CreateNot(VC), Name);
1337 return Insert(BinaryOperator::CreateNot(V), Name);
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLowerAtomic.cpp66 Res = Builder.CreateNot(Builder.CreateAnd(Orig, Val)); in LowerAtomicRMWInst()
H A DStructurizeCFG.cpp418 return BinaryOperator::CreateNot(Condition, "", Parent->getTerminator()); in invert()
423 return BinaryOperator::CreateNot(Condition, in invert()
H A DGuardWidening.cpp590 Cond1 = BinaryOperator::CreateNot(Cond1, "inverted", InsertPt); in widenCondCommon()
H A DInductiveRangeCheckElimination.cpp1279 : B.CreateNot(TakeBackedgeLoopCond); in changeIterationSpaceEnd()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp310 V = Builder.CreateNot(V); in LowerCTLZ()
403 Value *NotSrc = Builder.CreateNot(Src); in LowerIntrinsicCall()
H A DAtomicExpandPass.cpp521 return Builder.CreateNot(Builder.CreateAnd(Loaded, Inc), "new"); in performAtomicOp()
654 Ret.Inv_Mask = Builder.CreateNot(Ret.Mask, "Inv_Mask"); in createMaskInstrs()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DTargetFolder.h124 Constant *CreateNot(Constant *C) const { in CreateNot() function
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp2685 Builder.CreateNot(NewCond, PBI->getCondition()->getName() + ".not"); in FoldBranchToCommonDest()
2792 Builder.CreateNot(PBI->getCondition(), "not.cond")); in FoldBranchToCommonDest()
2807 Builder.CreateNot(PBI->getCondition(), "not.cond")); in FoldBranchToCommonDest()
3017 Value *PPred = PStore->getParent() == PTB ? PCond : QB.CreateNot(PCond); in mergeConditionalStoreToAddress()
3018 Value *QPred = QStore->getParent() == QTB ? QCond : QB.CreateNot(QCond); in mergeConditionalStoreToAddress()
3021 PPred = QB.CreateNot(PPred); in mergeConditionalStoreToAddress()
3023 QPred = QB.CreateNot(QPred); in mergeConditionalStoreToAddress()
3325 PBICond = Builder.CreateNot(PBICond, PBICond->getName() + ".not"); in SimplifyCondBranchToCondBranch()
3329 BICond = Builder.CreateNot(BICond, BICond->getName() + ".not"); in SimplifyCondBranchToCondBranch()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprScalar.cpp954 Check = Builder.CreateNot(Builder.CreateAnd(GE, LE)); in EmitFloatConversionCheck()
2575 return Builder.CreateNot(Op, "neg"); in VisitUnaryNot()
2597 BoolVal = Builder.CreateNot(BoolVal, "lnot"); in VisitUnaryLNot()
3067 llvm::Value *NotOverflow = Builder.CreateNot(overflow); in EmitOverflowCheckedBinOp()
3072 CGF.EmitTrapCheck(Builder.CreateNot(overflow)); in EmitOverflowCheckedBinOp()
4058 llvm::Value *tmp2 = Builder.CreateNot(tmp); in VisitAbstractConditionalOperator()
4503 auto *NoOffsetOverflow = Builder.CreateNot(OffsetOverflows); in EmitCheckedInBoundsGEP()
H A DCGAtomic.cpp651 Result = CGF.Builder.CreateNot(Result); in EmitAtomicOp()
1189 ResVal = Builder.CreateNot(ResVal); in EmitAtomicExpr()
H A DCGBuiltin.cpp725 Mask = CGF.Builder.CreateNot(Mask); in EmitBitTestIntrinsic()
742 NewByte = CGF.Builder.CreateAnd(OldByte, CGF.Builder.CreateNot(Mask)); in EmitBitTestIntrinsic()
1771 Value *Inverse = Builder.CreateNot(ArgValue, "not"); in EmitBuiltinExpr()
6696 Value *EltsFromTbl = Builder.CreateAnd(Builder.CreateNot(CmpRes), TblRes); in EmitAArch64TblBuiltinExpr()
6715 Value *EltsFromTbl = Builder.CreateAnd(Builder.CreateNot(CmpRes), TblRes); in EmitAArch64TblBuiltinExpr()
7807 Ops[2] = Builder.CreateAnd(Builder.CreateNot(Ops[0]), Ops[2], "vbsl"); in EmitAArch64BuiltinExpr()
9164 LHS = CGF.Builder.CreateNot(LHS); in EmitX86MaskLogic()
10816 return Builder.CreateBitCast(Builder.CreateNot(Res), in EmitX86BuiltinExpr()
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DVPlan.cpp302 Value *V = Builder.CreateNot(A); in generateInstruction()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp1939 Value *V1 = IRB.CreateNot(I.getOperand(0)); in visitOr()
1940 Value *V2 = IRB.CreateNot(I.getOperand(1)); in visitOr()
2221 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaOtherBits)), SaSignBit); in getLowestPossibleValue()
2224 return IRB.CreateAnd(A, IRB.CreateNot(Sa)); in getLowestPossibleValue()
2238 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaSignBit)), SaOtherBits); in getHighestPossibleValue()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DAutoUpgrade.cpp1717 LHS = Builder.CreateNot(LHS); in UpgradeIntrinsicCall()
1733 LHS = Builder.CreateNot(LHS); in UpgradeIntrinsicCall()
1738 Rep = Builder.CreateNot(Rep); in UpgradeIntrinsicCall()
2041 Value *NotSel = Builder.CreateNot(Sel); in UpgradeIntrinsicCall()
2521 Rep = Builder.CreateNot(Builder.CreateBitCast(CI->getArgOperand(0), ITy)); in UpgradeIntrinsicCall()
H A DInstructions.cpp2234 BinaryOperator *BinaryOperator::CreateNot(Value *Op, const Twine &Name, in CreateNot() function in BinaryOperator
2241 BinaryOperator *BinaryOperator::CreateNot(Value *Op, const Twine &Name, in CreateNot() function in BinaryOperator

12