Home
last modified time | relevance | path

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

/external/llvm/include/llvm/IR/
DNoFolder.h156 Instruction *CreateNeg(Constant *C,
158 BinaryOperator *BO = BinaryOperator::CreateNeg(C);
DInstrTypes.h282 static BinaryOperator *CreateNeg(Value *Op, const Twine &Name = "",
284 static BinaryOperator *CreateNeg(Value *Op, const Twine &Name,
DConstantFolder.h106 Constant *CreateNeg(Constant *C,
DIRBuilder.h925 Value *CreateNeg(Value *V, const Twine &Name = "",
928 return Insert(Folder.CreateNeg(VC, HasNUW, HasNSW), Name);
929 BinaryOperator *BO = Insert(BinaryOperator::CreateNeg(V), Name);
935 return CreateNeg(V, Name, false, true);
938 return CreateNeg(V, Name, true, false);
/external/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp558 return Builder.CreateNeg(C.Stride); in emitBump()
574 return Builder.CreateNeg(Builder.CreateShl(ExtendedStride, Exponent)); in emitBump()
DReassociate.cpp374 static BinaryOperator *CreateNeg(Value *S1, const Twine &Name, in CreateNeg() function
377 return BinaryOperator::CreateNeg(S1, Name, InsertBefore); in CreateNeg()
985 return CreateNeg(V, V->getName() + ".neg", BI, BI); in NegateValue()
1177 V = CreateNeg(V, "neg", InsertPt, BO); in RemoveFactorFromExpression()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp183 BinaryOperator *BO = BinaryOperator::CreateNeg(Op0, I.getName()); in visitMul()
247 Sub = Builder->CreateSub(Builder->CreateNeg(C1), Y, "subc"); in visitMul()
316 return BinaryOperator::CreateNeg(Op0BO); in visitMul()
1120 return BinaryOperator::CreateNeg(Op0); in visitSDiv()
DInstCombineAddSub.cpp1148 return BinaryOperator::CreateNeg(NewAdd); in visitAdd()
1500 Result = Builder->CreateNeg(Result, "diff.neg"); in OptimizePointerDifference()
1597 return BinaryOperator::CreateNeg(Y); in visitSub()
1601 return BinaryOperator::CreateNeg(Y); in visitSub()
DInstCombineSelect.cpp1118 NegVal = Builder->CreateNeg(SubOp->getOperand(1)); in visitSelectInst()
DInstCombineAndOrXor.cpp1283 Value *NewNeg = Builder->CreateNeg(Op0RHS); in visitAnd()
DInstCombineCompares.cpp1785 Value *Neg = Builder->CreateNeg(BOp1); in visitICmpInstWithInstAndIntCst()
/external/llvm/include/llvm/Analysis/
DTargetFolder.h118 Constant *CreateNeg(Constant *C,
/external/clang/lib/CodeGen/
DCGExprComplex.cpp514 ResR = Builder.CreateNeg(Op.first, "neg.r"); in VisitUnaryMinus()
515 ResI = Builder.CreateNeg(Op.second, "neg.i"); in VisitUnaryMinus()
529 ResI = Builder.CreateNeg(Op.second, "conj.i"); in VisitUnaryNot()
DCGClass.cpp278 Value = Builder.CreateGEP(Value, Builder.CreateNeg(NonVirtualOffset), in GetAddressOfDerivedClass()
DCGBuiltin.cpp265 Value *NegOp = Builder.CreateNeg(ArgValue, "neg"); in EmitBuiltinExpr()
4633 Ops.push_back(Builder.CreateNeg(EmitScalarExpr(E->getArg(2)))); in EmitAArch64BuiltinExpr()
5130 return Builder.CreateNeg(EmitScalarExpr(E->getArg(0)), "vnegd"); in EmitAArch64BuiltinExpr()
DMicrosoftCXXABI.cpp1830 V = CGF.Builder.CreateGEP(V, CGF.Builder.CreateNeg(VtorDisp)); in performThisAdjustment()
DCGExprScalar.cpp2447 index = CGF.Builder.CreateNeg(index, "idx.neg"); in emitPointerArithmetic()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp379 return B.CreateNeg( in optimizeStrCmp()
437 return B.CreateNeg( in optimizeStrNCmp()
1459 Value *Neg = B.CreateNeg(Op, "neg"); in optimizeAbs()
/external/llvm/lib/IR/
DInstructions.cpp1757 BinaryOperator *BinaryOperator::CreateNeg(Value *Op, const Twine &Name, in CreateNeg() function in BinaryOperator
1765 BinaryOperator *BinaryOperator::CreateNeg(Value *Op, const Twine &Name, in CreateNeg() function in BinaryOperator
DCore.cpp2410 return wrap(unwrap(B)->CreateNeg(unwrap(V), Name)); in LLVMBuildNeg()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli2191 See the method [llvm::LLVMBuilder::CreateNeg]. *)
2198 See the method [llvm::LLVMBuilder::CreateNeg]. *)
2205 See the method [llvm::LLVMBuilder::CreateNeg]. *)
/external/llvm/bindings/go/llvm/
Dir.go1410 func (b Builder) CreateNeg(v Value, name string) (rv Value) { func
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp686 Index = B.CreateNeg(Index); in transform()