Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Support/
DNoFolder.h156 Instruction *CreateNeg(Constant *C,
158 BinaryOperator *BO = BinaryOperator::CreateNeg(C);
DConstantFolder.h106 Constant *CreateNeg(Constant *C,
DTargetFolder.h118 Constant *CreateNeg(Constant *C,
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp109 return BinaryOperator::CreateNeg(Op0, I.getName()); in visitMul()
152 Sub = Builder->CreateSub(Builder->CreateNeg(C1), Y, "subc"); in visitMul()
201 return BinaryOperator::CreateNeg(Op0BO); in visitMul()
776 return BinaryOperator::CreateNeg(Op0); in visitSDiv()
DInstCombineAddSub.cpp967 return BinaryOperator::CreateNeg(NewAdd); in visitAdd()
1274 Result = Builder->CreateNeg(Result, "diff.neg"); in OptimizePointerDifference()
1356 return BinaryOperator::CreateNeg(Y); in visitSub()
1360 return BinaryOperator::CreateNeg(Y); in visitSub()
DInstCombineSelect.cpp833 NegVal = Builder->CreateNeg(SubOp->getOperand(1)); in visitSelectInst()
DInstCombineAndOrXor.cpp1082 Value *NewNeg = Builder->CreateNeg(Op0RHS); in visitAnd()
DInstCombineCompares.cpp1456 Value *Neg = Builder->CreateNeg(BOp1); in visitICmpInstWithInstAndIntCst()
/external/clang/lib/CodeGen/
DCGExprComplex.cpp474 ResR = Builder.CreateNeg(Op.first, "neg.r"); in VisitUnaryMinus()
475 ResI = Builder.CreateNeg(Op.second, "neg.i"); in VisitUnaryMinus()
489 ResI = Builder.CreateNeg(Op.second, "conj.i"); in VisitUnaryNot()
DCGClass.cpp263 Value = Builder.CreateGEP(Value, Builder.CreateNeg(NonVirtualOffset), in GetAddressOfDerivedClass()
DCGExprScalar.cpp2227 index = CGF.Builder.CreateNeg(index, "idx.neg"); in emitPointerArithmetic()
DCGBuiltin.cpp244 Value *NegOp = Builder.CreateNeg(ArgValue, "neg"); in EmitBuiltinExpr()
/external/llvm/include/llvm/IR/
DInstrTypes.h287 static BinaryOperator *CreateNeg(Value *Op, const Twine &Name = "",
289 static BinaryOperator *CreateNeg(Value *Op, const Twine &Name,
DIRBuilder.h797 Value *CreateNeg(Value *V, const Twine &Name = "",
800 return Insert(Folder.CreateNeg(VC, HasNUW, HasNSW), Name);
801 BinaryOperator *BO = Insert(BinaryOperator::CreateNeg(V), Name);
807 return CreateNeg(V, Name, false, true);
810 return CreateNeg(V, Name, true, false);
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp549 return B.CreateNeg(B.CreateZExt(B.CreateLoad(Str2P, "strcmpload"), in callOptimizer()
611 return B.CreateNeg(B.CreateZExt(B.CreateLoad(Str2P, "strcmpload"), in callOptimizer()
1282 Value *Neg = B.CreateNeg(Op, "neg"); in callOptimizer()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp819 return BinaryOperator::CreateNeg(V, V->getName() + ".neg", BI); in NegateValue()
971 V = BinaryOperator::CreateNeg(V, "neg", InsertPt); in RemoveFactorFromExpression()
/external/llvm/lib/IR/
DInstructions.cpp1850 BinaryOperator *BinaryOperator::CreateNeg(Value *Op, const Twine &Name, in CreateNeg() function in BinaryOperator
1858 BinaryOperator *BinaryOperator::CreateNeg(Value *Op, const Twine &Name, in CreateNeg() function in BinaryOperator
DCore.cpp2029 return wrap(unwrap(B)->CreateNeg(unwrap(V), Name)); in LLVMBuildNeg()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli2007 See the method [llvm::LLVMBuilder::CreateNeg]. *)
2015 See the method [llvm::LLVMBuilder::CreateNeg]. *)
2023 See the method [llvm::LLVMBuilder::CreateNeg]. *)