Home
last modified time | relevance | path

Searched refs:CreateNeg (Results 1 – 20 of 20) 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,
DIRBuilder.h750 Value *CreateNeg(Value *V, const Twine &Name = "",
753 return Insert(Folder.CreateNeg(VC, HasNUW, HasNSW), Name);
754 BinaryOperator *BO = Insert(BinaryOperator::CreateNeg(V), Name);
760 return CreateNeg(V, Name, false, true);
763 return CreateNeg(V, Name, true, false);
DTargetFolder.h118 Constant *CreateNeg(Constant *C,
/external/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.cpp175 return BinaryOperator::CreateNeg(NewAdd); in visitAdd()
534 Result = Builder->CreateNeg(Result, "diff.neg"); in OptimizePointerDifference()
611 return BinaryOperator::CreateNeg(Y); in visitSub()
615 return BinaryOperator::CreateNeg(Y); in visitSub()
DInstCombineSelect.cpp823 NegVal = Builder->CreateNeg(SubOp->getOperand(1)); in visitSelectInst()
DInstCombineAndOrXor.cpp1085 Value *NewNeg = Builder->CreateNeg(Op0RHS); in visitAnd()
DInstCombineCompares.cpp1425 Value *Neg = Builder->CreateNeg(BOp1); in visitICmpInstWithInstAndIntCst()
/external/clang/lib/CodeGen/
DCGExprComplex.cpp464 ResR = Builder.CreateNeg(Op.first, "neg.r"); in VisitUnaryMinus()
465 ResI = Builder.CreateNeg(Op.second, "neg.i"); in VisitUnaryMinus()
479 ResI = Builder.CreateNeg(Op.second, "conj.i"); in VisitUnaryNot()
DCGClass.cpp253 Value = Builder.CreateGEP(Value, Builder.CreateNeg(NonVirtualOffset), in GetAddressOfDerivedClass()
DCGExprScalar.cpp1951 index = CGF.Builder.CreateNeg(index, "idx.neg"); in emitPointerArithmetic()
DCGBuiltin.cpp222 Value *NegOp = Builder.CreateNeg(ArgValue, "neg"); in EmitBuiltinExpr()
/external/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/
DReassociate.cpp465 return BinaryOperator::CreateNeg(V, V->getName() + ".neg", BI); in NegateValue()
620 V = BinaryOperator::CreateNeg(V, "neg", InsertPt); in RemoveFactorFromExpression()
DSimplifyLibCalls.cpp343 return B.CreateNeg(B.CreateZExt(B.CreateLoad(Str2P, "strcmpload"), in CallOptimizer()
408 return B.CreateNeg(B.CreateZExt(B.CreateLoad(Str2P, "strcmpload"), in CallOptimizer()
1087 Value *Neg = B.CreateNeg(Op, "neg"); in CallOptimizer()
/external/mesa3d/src/glsl/
Dir_to_llvm.cpp541 return bld.CreateNeg(ops[0]); in llvm_expression()
555 ops[0], bld.CreateNeg(ops[0], "sabs.neg"), "sabs.select"); in llvm_expression()
/external/llvm/lib/VMCore/
DInstructions.cpp1837 BinaryOperator *BinaryOperator::CreateNeg(Value *Op, const Twine &Name, in CreateNeg() function in BinaryOperator
1845 BinaryOperator *BinaryOperator::CreateNeg(Value *Op, const Twine &Name, in CreateNeg() function in BinaryOperator
DCore.cpp1969 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]. *)