reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/IR/IRBuilder.h
 1513     return CreateNeg(V, Name, false, true);
 1517     return CreateNeg(V, Name, true, false);
lib/IR/AutoUpgrade.cpp
 1257   Value *Neg = Builder.CreateNeg(Op0);
 3426       Value *Neg = Builder.CreateNeg(Arg, "neg");
lib/IR/Core.cpp
 3397   return wrap(unwrap(B)->CreateNeg(unwrap(V), Name));
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  807   Value *NEG_RCP_LO = Builder.CreateNeg(RCP_LO);
lib/Transforms/InstCombine/InstCombineAddSub.cpp
 1667     Result = Builder.CreateNeg(Result, "diff.neg");
 2003     Value *Neg = Builder.CreateNeg(A, "", I.hasNoUnsignedWrap(),
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 1094       return Builder.CreateICmpULT(Builder.CreateNeg(B), A);
 1097       return Builder.CreateICmpULT(Builder.CreateNeg(B), A);
 1100       return Builder.CreateICmpUGE(Builder.CreateNeg(B), A);
 1103       return Builder.CreateICmpUGE(Builder.CreateNeg(B), A);
 3234     Value *Neg = Builder.CreateNeg(A, "", Add->hasNoUnsignedWrap(),
lib/Transforms/InstCombine/InstCombineCompares.cpp
 2945         Value *Neg = Builder.CreateNeg(BOp1);
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  140     return Builder.CreateSelect(Cond, OtherOp, Builder.CreateNeg(OtherOp));
  146     return Builder.CreateSelect(Cond, Builder.CreateNeg(OtherOp), OtherOp);
  247             Sub = Builder.CreateSub(Builder.CreateNeg(C1), Y, "subc");
lib/Transforms/InstCombine/InstCombineSelect.cpp
  723     Result = Builder.CreateNeg(Result);
 1078     RHS = Builder.CreateNeg(LHS);
 1710         NegVal = Builder.CreateNeg(SubOp->getOperand(1));
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 2963             getShadow(PassThru), IRB.CreateSExt(IRB.CreateNeg(Mask), ShadowTy));
lib/Transforms/Scalar/Float2Int.cpp
  490     NewV = IRB.CreateNeg(NewOperands[0], I->getName());
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
  599     return Builder.CreateNeg(C.Stride);
  615     return Builder.CreateNeg(Builder.CreateShl(ExtendedStride, Exponent));
lib/Transforms/Utils/SimplifyLibCalls.cpp
  426     return B.CreateNeg(B.CreateZExt(
  501     return B.CreateNeg(B.CreateZExt(
tools/clang/lib/CodeGen/CGBuiltin.cpp
 1364     llvm::Value *NegativeResult = CGF.Builder.CreateNeg(UnsignedResult);
 1383         IsNegative, CGF.Builder.CreateNeg(UnsignedResult), UnsignedResult);
 8057     Ops.push_back(Builder.CreateNeg(EmitScalarExpr(E->getArg(2))));
 8728     return Builder.CreateNeg(EmitScalarExpr(E->getArg(0)), "vnegd");
tools/clang/lib/CodeGen/CGClass.cpp
  413   Value = Builder.CreateInBoundsGEP(Value, Builder.CreateNeg(NonVirtualOffset),
tools/clang/lib/CodeGen/CGExprComplex.cpp
  556     ResR = Builder.CreateNeg(Op.first,  "neg.r");
  557     ResI = Builder.CreateNeg(Op.second, "neg.i");
  571     ResI = Builder.CreateNeg(Op.second, "conj.i");
tools/clang/lib/CodeGen/CGExprScalar.cpp
 3213     index = CGF.Builder.CreateNeg(index, "idx.neg");
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
 2146                               CGF.Builder.CreateNeg(VtorDisp));
tools/polly/lib/CodeGen/IslExprBuilder.cpp
  627     BR->setCondition(Builder.CreateNeg(LHS));