Home
last modified time | relevance | path

Searched refs:CreateNeg (Results 1 – 25 of 61) sorted by relevance

123

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp110 return BinaryOperator::CreateNeg(Op0, I.getName()); in visitMul()
153 Sub = Builder->CreateSub(Builder->CreateNeg(C1), Y, "subc"); in visitMul()
202 return BinaryOperator::CreateNeg(Op0BO); in visitMul()
516 return BinaryOperator::CreateNeg(Op0); in visitSDiv()
DInstCombineAddSub.cpp163 return BinaryOperator::CreateNeg(NewAdd); in visitAdd()
523 Result = Builder->CreateNeg(Result, "diff.neg"); in OptimizePointerDifference()
597 return BinaryOperator::CreateNeg(Y); in visitSub()
601 return BinaryOperator::CreateNeg(Y); in visitSub()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DNoFolder.h156 Instruction *CreateNeg(Constant *C,
158 BinaryOperator *BO = BinaryOperator::CreateNeg(C);
DIRBuilder.h717 Value *CreateNeg(Value *V, const Twine &Name = "",
720 return Insert(Folder.CreateNeg(VC, HasNUW, HasNSW), Name);
721 BinaryOperator *BO = Insert(BinaryOperator::CreateNeg(V), Name);
727 return CreateNeg(V, Name, false, true);
730 return CreateNeg(V, Name, true, false);
DConstantFolder.h106 Constant *CreateNeg(Constant *C,
DTargetFolder.h118 Constant *CreateNeg(Constant *C,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DNoFolder.h183 Instruction *CreateNeg(Constant *C,
185 BinaryOperator *BO = BinaryOperator::CreateNeg(C);
DConstantFolder.h125 Constant *CreateNeg(Constant *C,
DIRBuilder.h1256 Value *CreateNeg(Value *V, const Twine &Name = "",
1259 return Insert(Folder.CreateNeg(VC, HasNUW, HasNSW), Name);
1260 BinaryOperator *BO = Insert(BinaryOperator::CreateNeg(V), Name);
1267 return CreateNeg(V, Name, false, true);
1271 return CreateNeg(V, Name, true, false);
/external/llvm/include/llvm/IR/
DNoFolder.h156 Instruction *CreateNeg(Constant *C,
158 BinaryOperator *BO = BinaryOperator::CreateNeg(C);
DConstantFolder.h106 Constant *CreateNeg(Constant *C,
DIRBuilder.h1009 Value *CreateNeg(Value *V, const Twine &Name = "",
1012 return Insert(Folder.CreateNeg(VC, HasNUW, HasNSW), Name);
1013 BinaryOperator *BO = Insert(BinaryOperator::CreateNeg(V), Name);
1019 return CreateNeg(V, Name, false, true);
1022 return CreateNeg(V, Name, true, false);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1210 return BinaryOperator::CreateNeg(Builder.CreateAdd(A, B)); in visitAdd()
1569 Result = Builder.CreateNeg(Result, "diff.neg"); in OptimizePointerDifference()
1713 return BinaryOperator::CreateNeg(Y); in visitSub()
1717 return BinaryOperator::CreateNeg(Y); in visitSub()
1817 Value *Neg = Builder.CreateNeg(A, "", I.hasNoUnsignedWrap(), in visitSub()
DInstCombineMulDivRem.cpp145 BinaryOperator *BO = BinaryOperator::CreateNeg(Op0, I.getName()); in visitMul()
205 Sub = Builder.CreateSub(Builder.CreateNeg(C1), Y, "subc"); in visitMul()
269 return BinaryOperator::CreateNeg(X); in visitMul()
1043 return BinaryOperator::CreateNeg(Op0); in visitSDiv()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp600 return Builder.CreateNeg(C.Stride); in emitBump()
616 return Builder.CreateNeg(Builder.CreateShl(ExtendedStride, Exponent)); in emitBump()
DReassociate.cpp256 static BinaryOperator *CreateNeg(Value *S1, const Twine &Name, in CreateNeg() function
259 return BinaryOperator::CreateNeg(S1, Name, InsertBefore); in CreateNeg()
894 BinaryOperator *NewNeg = CreateNeg(V, V->getName() + ".neg", BI, BI); in NegateValue()
1084 V = CreateNeg(V, "neg", &*InsertPt, BO); in RemoveFactorFromExpression()
/external/swiftshader/third_party/LLVM/include/llvm/
DInstrTypes.h289 static BinaryOperator *CreateNeg(Value *Op, const Twine &Name = "",
291 static BinaryOperator *CreateNeg(Value *Op, const Twine &Name,
/external/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp566 return Builder.CreateNeg(C.Stride); in emitBump()
582 return Builder.CreateNeg(Builder.CreateShl(ExtendedStride, Exponent)); in emitBump()
DReassociate.cpp241 static BinaryOperator *CreateNeg(Value *S1, const Twine &Name, in CreateNeg() function
244 return BinaryOperator::CreateNeg(S1, Name, InsertBefore); in CreateNeg()
869 BinaryOperator *NewNeg = CreateNeg(V, V->getName() + ".neg", BI, BI); in NegateValue()
1060 V = CreateNeg(V, "neg", &*InsertPt, BO); in RemoveFactorFromExpression()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp190 BinaryOperator *BO = BinaryOperator::CreateNeg(Op0, I.getName()); in visitMul()
258 Sub = Builder->CreateSub(Builder->CreateNeg(C1), Y, "subc"); in visitMul()
327 return BinaryOperator::CreateNeg(Op0BO); in visitMul()
1146 return BinaryOperator::CreateNeg(Op0); in visitSDiv()
DInstCombineAddSub.cpp1128 return BinaryOperator::CreateNeg(NewAdd); in visitAdd()
1467 Result = Builder->CreateNeg(Result, "diff.neg"); in OptimizePointerDifference()
1576 return BinaryOperator::CreateNeg(Y); in visitSub()
1580 return BinaryOperator::CreateNeg(Y); in visitSub()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetFolder.h117 Constant *CreateNeg(Constant *C,
/external/llvm/include/llvm/Analysis/
DTargetFolder.h118 Constant *CreateNeg(Constant *C,
/external/clang/lib/CodeGen/
DCGExprComplex.cpp515 ResR = Builder.CreateNeg(Op.first, "neg.r"); in VisitUnaryMinus()
516 ResI = Builder.CreateNeg(Op.second, "neg.i"); in VisitUnaryMinus()
530 ResI = Builder.CreateNeg(Op.second, "conj.i"); in VisitUnaryNot()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DReassociate.cpp465 return BinaryOperator::CreateNeg(V, V->getName() + ".neg", BI); in NegateValue()
620 V = BinaryOperator::CreateNeg(V, "neg", InsertPt); in RemoveFactorFromExpression()

123