Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1447 return BinaryOperator::CreateNot(AndOr); in matchDeMorgansLaws()
1459 return BinaryOperator::Create(Opcode, A, Builder.CreateNot(FlippedBO)); in matchDeMorgansLaws()
1630 return BinaryOperator::CreateNot(Builder.CreateXor(A, B)); in foldAndToXor()
1648 return BinaryOperator::CreateNot(Builder.CreateXor(A, B)); in foldOrToXor()
1656 return BinaryOperator::CreateNot(Builder.CreateAnd(A, B)); in foldOrToXor()
1762 ? BinaryOperator::CreateAnd(Xor, Builder.CreateNot(A)) in foldComplexAndOrPatterns()
1763 : BinaryOperator::CreateNot(Builder.CreateAnd(Xor, A)); in foldComplexAndOrPatterns()
1772 ? BinaryOperator::CreateAnd(Xor, Builder.CreateNot(B)) in foldComplexAndOrPatterns()
1773 : BinaryOperator::CreateNot(Builder.CreateAnd(Xor, B)); in foldComplexAndOrPatterns()
1780 return BinaryOperator::CreateNot(Builder.CreateBinOp( in foldComplexAndOrPatterns()
[all …]
H A DInstCombineAddSub.cpp871 return BinaryOperator::CreateAdd(Builder.CreateNot(Y), X); in foldAddWithConstant()
966 return new ZExtInst(Builder.CreateNot(X), Ty); in foldAddWithConstant()
973 Value *NotX = Builder.CreateNot(X); in foldAddWithConstant()
1107 return BinaryOperator::CreateNot(NotMask, I.getName()); in canonicalizeLowbitMask()
2007 return BinaryOperator::CreateNot(Op1); in visitSub()
2012 return BinaryOperator::CreateAdd(Builder.CreateNot(Op1), X); in visitSub()
2037 Value *NotOp0 = Builder.CreateNot(Op0); in visitSub()
2038 Value *NotOp1 = Builder.CreateNot(Op1); in visitSub()
2183 Y, Builder.CreateNot(Op1, Op1->getName() + ".not")); in visitSub()
2201 Builder.CreateAnd(Op1, Builder.CreateNot(C))); in visitSub()
[all …]
H A DInstCombineNegator.cpp177 return Builder.CreateNot(Ops[0], I->getName() + ".neg"); in visitImpl()
411 return Builder.CreateNot(Ops[0], I->getName() + ".neg"); in visitImpl()
H A DInstCombineCompares.cpp1858 return BinaryOperator::CreateNot(And); in foldICmpAndConstant()
3021 Value *Cast = Builder.CreateBitCast(Builder.CreateNot(BCSrcOp), DstType); in foldICmpBitCast()
3997 Res = Builder.CreateNot(Res, "mul.not.ov"); in foldMultiplicationOverflowCheck()
4048 return new ICmpInst(Pred, Builder.CreateNot(Op1), X); in foldICmpBinOp()
4052 return new ICmpInst(Pred, X, Builder.CreateNot(Op0)); in foldICmpBinOp()
5301 return BinaryOperator::CreateNot(Res); in processUMulZExtIdiom()
5878 return BinaryOperator::CreateNot(A); in canonicalizeICmpBool()
5887 return BinaryOperator::CreateNot(A); in canonicalizeICmpBool()
5898 return BinaryOperator::CreateNot(Builder.CreateXor(A, B)); in canonicalizeICmpBool()
5910 return BinaryOperator::CreateAnd(Builder.CreateNot(A), B); in canonicalizeICmpBool()
[all …]
H A DInstCombineSelect.cpp2937 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in foldSelectOfBools()
2942 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in foldSelectOfBools()
2951 return BinaryOperator::CreateNot(Builder.CreateSelect(A, One, B)); in foldSelectOfBools()
2958 return BinaryOperator::CreateNot(Builder.CreateSelect(A, B, Zero)); in foldSelectOfBools()
3159 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst()
3165 Value *NotCond = Builder.CreateNot(CondVal, "not." + CondVal->getName()); in visitSelectInst()
H A DInstCombineCalls.cpp529 return BinaryOperator::CreateNot(Op0); in foldCttzCtlz()
1392 Value *NotY = Builder.CreateNot(Y); in visitCallInst()
1395 return BinaryOperator::CreateNot(InvMaxMin); in visitCallInst()
2367 Builder.CreateNot(A), OpBundles, II->getName()); in visitCallInst()
2369 Builder.CreateNot(B), II->getName()); in visitCallInst()
H A DInstCombinePHI.cpp1371 return Self.Builder.CreateNot(Cond); in simplifyUsingControlFlow()
H A DInstCombineSimplifyDemanded.cpp487 Value *AndNot = Builder.CreateAnd(Builder.CreateNot(X), Y); in SimplifyDemandedUseBits()
H A DInstCombineShifts.cpp1595 return BinaryOperator::CreateNot(NewAShr); in visitAShr()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLowerAtomic.cpp56 return Builder.CreateNot(Builder.CreateAnd(Loaded, Val), "new"); in buildAtomicRMWValue()
H A DFlattenCFG.cpp496 CInst2 = cast<Instruction>(Builder.CreateNot(CInst2)); in MergeIfRegion()
H A DSimplifyCFG.cpp3604 Builder.CreateNot(NewCond, PBI->getCondition()->getName() + ".not"); in performBranchToCommonDestFolding()
4015 Value *PPred = PStore->getParent() == PTB ? PCond : QB.CreateNot(PCond); in mergeConditionalStoreToAddress()
4016 Value *QPred = QStore->getParent() == QTB ? QCond : QB.CreateNot(QCond); in mergeConditionalStoreToAddress()
4019 PPred = QB.CreateNot(PPred); in mergeConditionalStoreToAddress()
4021 QPred = QB.CreateNot(QPred); in mergeConditionalStoreToAddress()
4326 PBICond = Builder.CreateNot(PBICond, PBICond->getName() + ".not"); in SimplifyCondBranchToCondBranch()
4330 BICond = Builder.CreateNot(BICond, BICond->getName() + ".not"); in SimplifyCondBranchToCondBranch()
5158 Builder.CreateAssumption(Builder.CreateNot(Cond)); in simplifyUnreachable()
7204 Builder.CreateAssumption(Builder.CreateNot(Cond)); in removeUndefIntroducingPredecessor()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp198 V = Builder.CreateNot(V); in LowerCTLZ()
261 Value *NotSrc = Builder.CreateNot(Src); in LowerIntrinsicCall()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DPoisonChecking.cpp252 CreateAssert(B, B.CreateNot(Cond)); in CreateAssertNot()
H A DMemorySanitizer.cpp2312 Value *V1 = IRB.CreateNot(I.getOperand(0)); in visitOr()
2313 Value *V2 = IRB.CreateNot(I.getOperand(1)); in visitOr()
2596 return IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaOtherBits)), in getLowestPossibleValue()
2600 return IRB.CreateAnd(A, IRB.CreateNot(Sa)); in getLowestPossibleValue()
2613 return IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaSignBit)), in getHighestPossibleValue()
3277 Value *OperandUnsetBits = IRB.CreateNot(I.getOperand(0)); in handleVectorReduceOrIntrinsic()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp339 Builder.CreateSExt(Builder.CreateNot(cmp), I32Ty, "printf_res"); in lowerPrintfForGpu()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DGuardWidening.cpp572 Cond1 = BinaryOperator::CreateNot(Cond1, "inverted", InsertPt); in widenCondCommon()
H A DInductiveRangeCheckElimination.cpp1310 : B.CreateNot(TakeBackedgeLoopCond); in changeIterationSpaceEnd()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DInstrTypes.h386 static BinaryOperator *CreateNot(Value *Op, const Twine &Name = "",
388 static BinaryOperator *CreateNot(Value *Op, const Twine &Name,
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGExprScalar.cpp2902 return Builder.CreateNot(Op, "not"); in VisitUnaryNot()
2928 BoolVal = Builder.CreateNot(BoolVal, "lnot"); in VisitUnaryLNot()
3552 llvm::Value *NotOverflow = Builder.CreateNot(overflow); in EmitOverflowCheckedBinOp()
3557 CGF.EmitTrapCheck(Builder.CreateNot(overflow), OverflowKind); in EmitOverflowCheckedBinOp()
4794 llvm::Value *tmp2 = Builder.CreateNot(tmp); in VisitAbstractConditionalOperator()
5339 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()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DAutoUpgrade.cpp2330 LHS = Builder.CreateNot(LHS); in UpgradeIntrinsicCall()
2346 LHS = Builder.CreateNot(LHS); in UpgradeIntrinsicCall()
2351 Rep = Builder.CreateNot(Rep); in UpgradeIntrinsicCall()
2681 Value *NotSel = Builder.CreateNot(Sel); in UpgradeIntrinsicCall()
3173 Rep = Builder.CreateNot(Builder.CreateBitCast(CI->getArgOperand(0), ITy)); in UpgradeIntrinsicCall()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp209 Value *V = Builder.CreateNot(A, Name); in generateInstruction()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A Darm_mve_defs.td66 def not: IRBuilder<"CreateNot">;
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp961 LV = BinaryOperator::CreateNot(LV, "notinit", ICI); in OptimizeGlobalAddressOfAllocation()

12