Home
last modified time | relevance | path

Searched refs:Neg (Results 1 – 25 of 41) sorted by relevance

12

/external/llvm/include/llvm/ADT/
DAPFloat.h564 void makeLargest(bool Neg = false);
565 void makeSmallest(bool Neg = false);
566 void makeNaN(bool SNaN = false, bool Neg = false,
570 void makeInf(bool Neg = false);
571 void makeZero(bool Neg = false);
/external/apache-xml/src/main/java/org/apache/xpath/operations/
DNeg.java30 public class Neg extends UnaryOperation class
/external/llvm/lib/Option/
DArgList.cpp223 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier Neg, bool Default) const { in hasFlag() argument
224 if (Arg *A = getLastArg(Pos, Neg)) in hasFlag()
229 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier PosAlias, OptSpecifier Neg, in hasFlag() argument
231 if (Arg *A = getLastArg(Pos, PosAlias, Neg)) in hasFlag()
/external/llvm/lib/Support/
Draw_ostream.cpp439 bool Neg = (FN.DecValue < 0); in operator <<() local
440 uint64_t N = Neg ? -static_cast<uint64_t>(FN.DecValue) : FN.DecValue; in operator <<()
447 if (Neg) in operator <<()
451 if (Neg) in operator <<()
/external/llvm/include/llvm/Option/
DArgList.h241 bool hasFlag(OptSpecifier Pos, OptSpecifier Neg, bool Default=true) const;
247 bool hasFlag(OptSpecifier Pos, OptSpecifier PosAlias, OptSpecifier Neg,
/external/clang/include/clang/Analysis/Analyses/
DThreadSafety.h175 virtual void handleNegativeNotHeld(StringRef Kind, Name LockName, Name Neg, in handleNegativeNotHeld() argument
DThreadSafetyCommon.h263 CapabilityExpr(const til::SExpr *E, bool Neg) : CapExpr(E), Negated(Neg) {} in CapabilityExpr() argument
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp387 static BinaryOperator *LowerNegateToMultiply(Instruction *Neg) { in LowerNegateToMultiply() argument
388 Type *Ty = Neg->getType(); in LowerNegateToMultiply()
392 BinaryOperator *Res = CreateMul(Neg->getOperand(1), NegOne, "", Neg, Neg); in LowerNegateToMultiply()
393 Neg->setOperand(1, Constant::getNullValue(Ty)); // Drop use of op. in LowerNegateToMultiply()
394 Res->takeName(Neg); in LowerNegateToMultiply()
395 Neg->replaceAllUsesWith(Res); in LowerNegateToMultiply()
396 Res->setDebugLoc(Neg->getDebugLoc()); in LowerNegateToMultiply()
/external/clang/lib/Analysis/
DThreadSafetyCommon.cpp169 bool Neg = false; in translateAttrExpr() local
172 Neg = true; in translateAttrExpr()
178 Neg = true; in translateAttrExpr()
193 return CapabilityExpr(CE->expr(), Neg); in translateAttrExpr()
195 return CapabilityExpr(E, Neg); in translateAttrExpr()
DThreadSafety.cpp940 Expr *BrE, bool Neg);
1290 Expr *BrE, bool Neg) { in getMutexIDs() argument
1299 if (Neg) in getMutexIDs()
/external/mesa3d/src/gallium/drivers/radeon/
DAMDGPUISelLowering.cpp155 SDValue Neg = DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, VT), in LowerIntrinsicIABS() local
158 return DAG.getNode(AMDGPUISD::SMAX, DL, VT, Neg, Op.getOperand(1)); in LowerIntrinsicIABS()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp304 Value *Neg = dyn_castNegVal(Op1C); in visitMul() local
306 (BO->getOperand(1) == Op1C || BO->getOperand(1) == Neg) && in visitMul()
659 Value *Neg = Builder->CreateFNeg(T); in visitFMul() local
660 Neg->takeName(&I); in visitFMul()
661 return ReplaceInstUsesWith(I, Neg); in visitFMul()
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DCompiler.java53 import org.apache.xpath.operations.Neg;
449 return compileUnary(new Neg(), opPos); in neg()
/external/llvm/lib/Target/R600/
DR600ISelLowering.cpp2056 FoldOperand(SDNode *ParentNode, unsigned SrcIdx, SDValue &Src, SDValue &Neg, in FoldOperand() argument
2064 if (!Neg.getNode()) in FoldOperand()
2067 Neg = DAG.getTargetConstant(1, MVT::i32); in FoldOperand()
2227 SDValue &Neg = Ops[NegIdx[i] - 1]; in PostISelFolding() local
2234 if (FoldOperand(Node, i, Src, Neg, Abs, Sel, FakeOp, DAG)) in PostISelFolding()
2278 SDValue &Neg = Ops[NegIdx[i] - 1]; in PostISelFolding() local
2290 if (FoldOperand(Node, i, Src, Neg, Abs, Sel, Imm, DAG)) in PostISelFolding()
/external/v8/src/compiler/arm64/
Dcode-generator-arm64.cc248 __ Neg(i.OutputRegister(), i.InputOperand(0)); in AssembleArchInstruction() local
251 __ Neg(i.OutputRegister32(), i.InputOperand32(0)); in AssembleArchInstruction() local
/external/v8/src/arm64/
Dlithium-codegen-arm64.cc2723 __ Neg(result, dividend); in DoDivByPowerOf2I() local
2736 if (divisor < 0) __ Neg(result, result); in DoDivByPowerOf2I() local
2758 if (divisor < 0) __ Neg(result, result); in DoDivByConstI() local
3966 if (divisor < 0) __ Neg(result, result); in DoFlooringDivByConstI() local
3978 if (divisor < 0) __ Neg(result, result); in DoFlooringDivByConstI() local
3983 if (divisor < 0) __ Neg(result, result); in DoFlooringDivByConstI() local
4262 __ Neg(dividend, dividend); in DoModByPowerOf2I() local
4357 __ Neg(result, left); in DoMulConstIS() local
4402 __ Neg(result, Operand(left, LSL, right_log2)); in DoMulConstIS() local
4421 __ Neg(result, result); in DoMulConstIS() local
[all …]
/external/v8/test/cctest/
Dtest-assembler-arm64.cc3831 __ Neg(x1, 0x123); in TEST() local
3832 __ Neg(w2, 0x123); in TEST() local
3835 __ Neg(x3, Operand(x0, LSL, 1)); in TEST() local
3836 __ Neg(w4, Operand(w0, LSL, 2)); in TEST() local
3837 __ Neg(x5, Operand(x0, LSR, 3)); in TEST() local
3838 __ Neg(w6, Operand(w0, LSR, 4)); in TEST() local
3839 __ Neg(x7, Operand(x0, ASR, 5)); in TEST() local
3840 __ Neg(w8, Operand(w0, ASR, 6)); in TEST() local
3843 __ Neg(w9, Operand(w0, UXTB)); in TEST() local
3844 __ Neg(x10, Operand(x0, SXTB, 1)); in TEST() local
[all …]
/external/llvm/utils/TableGen/
DAsmMatcherEmitter.cpp2266 bool Neg = false; in emitComputeAvailableFeatures() local
2269 Neg = true; in emitComputeAvailableFeatures()
2274 if (Neg) in emitComputeAvailableFeatures()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp1837 static bool isAbsolute(SDValue CmpOp, SDValue Pos, SDValue Neg) { in isAbsolute() argument
1838 return (Neg.getOpcode() == ISD::SUB && in isAbsolute()
1839 Neg.getOperand(0).getOpcode() == ISD::Constant && in isAbsolute()
1840 cast<ConstantSDNode>(Neg.getOperand(0))->getZExtValue() == 0 && in isAbsolute()
1841 Neg.getOperand(1) == Pos && in isAbsolute()
/external/vixl/test/
Dtest-assembler-a64.cc7625 __ Neg(x1, 0x123); in TEST() local
7626 __ Neg(w2, 0x123); in TEST() local
7629 __ Neg(x3, Operand(x0, LSL, 1)); in TEST() local
7630 __ Neg(w4, Operand(w0, LSL, 2)); in TEST() local
7631 __ Neg(x5, Operand(x0, LSR, 3)); in TEST() local
7632 __ Neg(w6, Operand(w0, LSR, 4)); in TEST() local
7633 __ Neg(x7, Operand(x0, ASR, 5)); in TEST() local
7634 __ Neg(w8, Operand(w0, ASR, 6)); in TEST() local
7637 __ Neg(w9, Operand(w0, UXTB)); in TEST() local
7638 __ Neg(x10, Operand(x0, SXTB, 1)); in TEST() local
[all …]
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp1665 void handleNegativeNotHeld(StringRef Kind, Name LockName, Name Neg, in handleNegativeNotHeld() argument
1669 << Kind << LockName << Neg); in handleNegativeNotHeld()
/external/boringssl/src/ssl/test/runner/
Dkey_agreement.go428 return new(big.Int).Neg(n)
/external/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp1202 SDValue Neg = CurDAG->getNode(ISD::SUB, dl, N.getValueType(), Zero, RHS); in MatchAddressRecursively() local
1203 AM.IndexReg = Neg; in MatchAddressRecursively()
1208 InsertDAGNode(*CurDAG, N, Neg); in MatchAddressRecursively()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1459 Value *Neg = B.CreateNeg(Op, "neg"); in optimizeAbs() local
1460 return B.CreateSelect(Pos, Op, Neg); in optimizeAbs()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp345 SDNode *MatchRotatePosNeg(SDValue Shifted, SDValue Pos, SDValue Neg,
3639 static bool matchRotateSub(SDValue Pos, SDValue Neg, unsigned OpSize) { in matchRotateSub() argument
3672 if (Neg.getOpcode() == ISD::AND && in matchRotateSub()
3674 Neg.getOperand(1).getOpcode() == ISD::Constant && in matchRotateSub()
3675 cast<ConstantSDNode>(Neg.getOperand(1))->getAPIntValue() == OpSize - 1) { in matchRotateSub()
3676 Neg = Neg.getOperand(0); in matchRotateSub()
3681 if (Neg.getOpcode() != ISD::SUB) in matchRotateSub()
3683 ConstantSDNode *NegC = dyn_cast<ConstantSDNode>(Neg.getOperand(0)); in matchRotateSub()
3686 SDValue NegOp1 = Neg.getOperand(1); in matchRotateSub()
3738 SDValue Neg, SDValue InnerPos, in MatchRotatePosNeg() argument
[all …]

12